Skip to main content
POST
/
v1
/
store
/
{storeId}
/
cart
/
multiple
Add Multiple Items to Cart
curl --request POST \
  --url https://storekit.samarthh.me/v1/store/{storeId}/cart/multiple \
  --header 'Content-Type: application/json' \
  --data '
{
  "items": [
    {
      "productId": "550e8400-e29b-41d4-a716-446655440000",
      "quantity": 2
    },
    {
      "productId": "550e8400-e29b-41d4-a716-446655440001",
      "quantity": 1
    }
  ]
}
'

Headers

Content-Type
string

Path Parameters

storeId
string
required

Body

application/json

The body is of type object.

Response

200 - application/json

Successful response