Cart / Other
Associate a Cart with a User
Associates a guest cart with the currently signed in user.
PATCH
/
api
/
v2
/
storefront
/
cart
/
associate
Authorizations
Authorization
string
headerrequiredUser token to authorize Cart and Checkout requests.
It is required to associate Cart with the User.
Query Parameters
guest_order_token
string
requiredToken of the guest cart to be associated with user.
include
string
Specify the related resources you would like to receive in the response body. More Information.
fields[cart]
string
Specify the fields you would like returned in the response body. More information.
Response
200 - application/vnd.api+json
data
object
requiredThe 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
object[]
Was this page helpful?