POST
/
cart
/
create
curl --request POST \
  --url https://client-request-service-staging-wghsjlqnoa-uw.a.run.app/cart/create \
  --header 'Content-Type: application/json' \
  --data '{
  "items": [
    {
      "quantity": 1,
      "variantId": "12376205435060"
    }
  ],
  "video_slug": "<string>",
  "image_slug": "<string>"
}'
{
  "cart": 123456
}

Body

application/json
items
object[]
required
video_slug
string

Required if image_slug is not provided.

image_slug
string

Required if video_slug is not provided.

Response

200
application/json
Successfully created cart
cart
integer

The unique identifier of the created cart

Example:

123456