cURL
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>" }
Adds an item to the user’s cart with optional promotion and payment type.
0
1