Queries
getCart
Retrieve a Cart by its ID. This query can be used to retrieve information about an existing cart.
Arguments
id
ID!
requiredThe ID of the Cart
fetchBuyerIdentity
Boolean
Set to true
by default.
If set to true
, the buyerIdentity
field will be fetched in the response.
fetchCartLines
Boolean
Set to true
by default.
If set to true
, the cartLines
field will be fetched in the response.
fetchOffer
Boolean
Set to true
by default.
If set to true
, the offers
field will be fetched in the response.
fetchShippingMethods
Boolean
Set to true
by default.
If set to true
, the shippingMethods
field will be fetched in the response.
Returns
CartResponse.*
CartResponse
Any requested field from the CartResponse
object.
Usage
Was this page helpful?