Authorization
string
required
Example:
Authorization | Bearer Paste-Your-API-Key-HereRequest Body
string
required
Digital product name.
string
required
Digital product description.
integer
required
Digital product price amount.
integer
Crossed-out price displayed as the original price.
string
URL where the customer will be redirected after completing payment.
string
Additional notes for the digital product.
string | datetime
Product expiration date in ISO 8601 format.
integer
Maximum purchase limit.
integer
Tax amount applied to the product.
Response
Successful ResponseMain Structure (Root)
integer
Status code from API.
string
Status message that describes the status code.
object
The created digital product data.
data Structure (Object)
string
Unique identifier of the digital product.
string
Public URL of the created digital product.
Errors
object
Returned when the request body fails validation:
{ "statusCode": 400, "messages": "Validation Error" }.object
Returned when a product with the same identifier already exists:
{ "statusCode": 409, "messages": "already exist" }.