POST
/
cart
/
add
/
{id}

Authorizations

Authorization
string
headerrequired

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
promoted
enum<string>
Available options:
0,
1
payment_type
enum<string>
Available options:
0,
1

Response

200 - application/json
success
boolean

Indicates if the operation was successful.

message
string

A message providing additional information about the operation.