Add to cart

PUT /cart

This endpoint allows you to add products to an existing cart.

Headers

Header
Type
Description

Authorization

string

Bearer token.

customuserid

string

This is a unique identifier that you create for each of your users.

Request body

{
    "product": {"product": 123, "variantId": 123, "quantity": 1}
}

Response

{
  "status": "Cart Updated",
}

Last updated