Add to cart
PUT /cart
This endpoint lets you to add products to an existing cart.
Headers
Header
Type
Description
Authorization
string
Bearer token.
customuserid
string
This is a unique object id identifier that you create for each of your users.
Request body
{
"product": {"product": 123, "variantId": 123, "quantity": 1}
}Response
{
"status": "Cart Updated",
}{
"status": "Server Error",
}Last updated
Was this helpful?