Mutations
updateCartBuyerIdentity
Updates the buyer’s identity if it was not provided in the createCart mutation.
Arguments
input
CartBuyerIdentityUpdateInput!
requiredThe input
object contains the unique identifier (ID
) for the cart and the buyer identity details that need to be associated with the cart.
fetchBuyerIdentity
Boolean
Set to false
by default.
If set to true
, the buyerIdentity
field will be fetched in the response.
fetchCartLines
Boolean
Set to false
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?