Skip to main content
POST
/
cart
/
add
/
{id}
Add an item to the cart
curl --request POST \
  --url https://v3.minestorecms.com/api/cart/add/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "promoted": "0",
  "payment_type": "0"
}'
{
  "success": true,
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Path Parameters

id
string
required

Query Parameters

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

Body

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

Response

success
boolean
message
string