v1

latestOpenAPI 3.0.02026-07-14455376855.8 KB
customers/{customerId}/carts

customers/{customerId}/carts

Creates an empty cart and quote for a specified customer if customer does not have a cart yet.

post/V1/customers/{customerId}/carts

Path parameters

customerIdinteger required

The customer ID.

Response

200 Success.

integer required

new cart ID if customer did not have a cart or ID of the existing cart otherwise.