Skip to navigation

Create Free Trial

View as Markdown
Creates a new free trial configuration for a product

Authentication

x-api-keystring
API Key authentication via header

Path parameters

product_idstringRequired
Merchant product ID

Request

This endpoint expects an object.
duration_in_daysintegerRequired
Number of days the free trial will last

Response

201
public_idstringOptional
duration_in_daysintegerOptionalDefaults to 0
createdstringOptional
last_updatedstringOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error