Skip to main content
POST
Add an item to the cart

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the item to add to the cart.

Query Parameters

promoted
enum<string>

Whether the item is promoted. Possible values are '0' (no) and '1' (yes).

Available options:
0,
1
payment_type
enum<string>

The type of payment for the item. Possible values are '0' (regular) and '1' (subscription).

Available options:
0,
1

Body

application/json

Item details to be added to the cart.

promoted
enum<string>
Available options:
0,
1
payment_type
enum<string>
Available options:
0,
1

Response

Successful response indicating the item was added to the cart.

success
boolean

Indicates if the operation was successful.

message
string

A message providing additional information about the operation.