Free Trial Update

View as Markdown
Updates a given free trial configuration for a product

Authentication

x-api-keystring
API Key authentication via header

Path parameters

product_idstringRequired
Merchant product ID
free_trial_idstringRequired
Free trial configuration public id

Request

This endpoint expects an object.
duration_in_daysintegerOptional
New number of days the free trial will last

Response

200
public_idstring
Free trial configuration public id
duration_in_daysinteger
Number of days the free trial will last
createdstring
last_updatedstring

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error