Init Cart
The cart initialization process allows customers to start a cart session. At the start, the cart is empty. A cart is initiated by calling this endpoint. Each cart is assigned a unique identifier (cart ID).
Headers
- Type: stringApplicationrequired
White Label Application Key
Responses
- application/json
- 400
Cart could not be initialized
Request Example for post/cart/init
curl https://api-public-demo.menu.app/api/cart/init \
--request POST \
--header 'Application: '
{
"status": "OK",
"code": 200,
"data": {
"cart": {
"id": "f6ce31f7b7549cc7c3e5326661cf1dc3b5ea5c3fd89cce634667e483e23fb51a",
"is_empty": true
}
}
}