Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"subtotal": 123,
"subtotalFormatted": "<string>",
"discount": 123,
"discountFormatted": "<string>",
"tax": 123,
"taxFormatted": "<string>",
"cashback": 123,
"cashbackFormatted": "<string>",
"total": 123,
"totalFormatted": "<string>",
"coupon": {
"code": "<string>"
},
"creatorCode": {
"code": "<string>",
"discount": 123,
"discountFormatted": "<string>"
},
"items": [
{
"id": 123,
"productId": 123,
"category": "<string>",
"name": "<string>",
"image": "<string>",
"quantity": 123,
"price": 123,
"priceFormatted": "<string>",
"discountedPrice": 123,
"discountedPriceFormatted": "<string>",
"total": 123,
"totalFormatted": "<string>",
"duration": 123,
"stock": 123,
"isUpgrade": true,
"disableQuantity": true,
"canGift": true,
"variables": [
{
"id": 123,
"identifier": "<string>",
"name": "<string>",
"type": "<string>",
"value": "<string>",
"price": 123
}
]
}
]
},
"message": "<string>"
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "VALIDATION_FAILED",
"message": "..."
}
}Store
Apply creator code
Creators cannot use their own code.
POST
/
cart
/
creator-code
Error
A valid request URL is required to generate request examples{
"success": true,
"data": {
"subtotal": 123,
"subtotalFormatted": "<string>",
"discount": 123,
"discountFormatted": "<string>",
"tax": 123,
"taxFormatted": "<string>",
"cashback": 123,
"cashbackFormatted": "<string>",
"total": 123,
"totalFormatted": "<string>",
"coupon": {
"code": "<string>"
},
"creatorCode": {
"code": "<string>",
"discount": 123,
"discountFormatted": "<string>"
},
"items": [
{
"id": 123,
"productId": 123,
"category": "<string>",
"name": "<string>",
"image": "<string>",
"quantity": 123,
"price": 123,
"priceFormatted": "<string>",
"discountedPrice": 123,
"discountedPriceFormatted": "<string>",
"total": 123,
"totalFormatted": "<string>",
"duration": 123,
"stock": 123,
"isUpgrade": true,
"disableQuantity": true,
"canGift": true,
"variables": [
{
"id": 123,
"identifier": "<string>",
"name": "<string>",
"type": "<string>",
"value": "<string>",
"price": 123
}
]
}
]
},
"message": "<string>"
}{
"success": false,
"error": {
"code": "UNAUTHENTICATED",
"message": "..."
}
}{
"success": false,
"error": {
"code": "FORBIDDEN",
"message": "..."
}
}{
"success": false,
"error": {
"code": "NOT_FOUND",
"message": "..."
}
}{
"success": false,
"error": {
"code": "VALIDATION_FAILED",
"message": "..."
}
}