Create a Cart
Creates a new cart.
Please be aware; The token value found in the response body is used to authorize all future operations on this cart through the Auth API Key X-Spree-Order-Token.
POST
Create a Cart
Query Parameters
Specify the related resources you would like to receive in the response body. More Information.
Specify the fields you would like returned in the response body. More information.
Body
application/vnd.api+json
Response
201 - application/vnd.api+json
200 Success - Returns the cart object.
The Cart provides a central place to collect information about an order, including line items, adjustments, payments, addresses, and shipments. Read more in Spree docs
included
(Line Item · object | Promotion · object | Variant · object | Payment · object | User · object | Shipment · object | Digital Link · object | Product · object)[]
- Line Item
- Promotion
- Variant
- Payment
- User
- Shipment
- Digital Link
- Product
Create a Cart

