CartUpdateInput
InputThis is the input type for updating a cart.
Fields
- CartAddressInput
billingAddress Optional billing address for the cart. If not provided, the existing billing address will remain unchanged.
- ID!
cartId The unique identifier of the cart to be updated.
- String
customerEmail Email address of the customer associated with the cart. If not provided, the existing email will remain unchanged.
- ID
customerId The unique identifier of the customer associated with the cart. If not provided, the existing customer will remain unchanged.
- Boolean
marketingConsent Optional marketing consent preference associated with the cart. If not provided, the existing value will remain unchanged.
- [KeyValuePairOfStringAndStringInput!]
metadata Optional metadata for the cart. This can be used to store additional information about the cart.
- ID
priceChannelId Optional unique identifier of the price channel. If provided, the cart will be updated to use the specified price channel.
- CartAddressInput
shippingAddress Optional shipping address for the cart. If not provided, the existing shipping address will remain unchanged.