Authorizations
Order token to authorize Cart and Checkout requests.
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
Additional parameters can be passed in the options hash. Each custom parameter must be registered in config/initializers/spree.rb
, eg.
Spree::PermittedAttributes.line_item_attributes << :foo
The public metadata for the added item.
The private metadata for the added item.
Additional custom options. Activate these by adding: Spree::PermittedAttributes.line_item_attributes << :foo
in config/initializers/spree.rb
Response
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