Docs
Dashboard

CartUpdateInput

Input

This is the input type for updating a cart.

#

Fields


billingAddress
CartAddressInput

Optional billing address for the cart. If not provided, the existing billing address will remain unchanged.

cartId
ID!

The unique identifier of the cart to be updated.

customerEmail
String

Email address of the customer associated with the cart. If not provided, the existing email will remain unchanged.

customerId
ID

The unique identifier of the customer associated with the cart. If not provided, the existing customer will remain unchanged.

marketingConsent
Boolean

Optional marketing consent preference associated with the cart. If not provided, the existing value will remain unchanged.

metadata
[KeyValuePairOfStringAndStringInput!]

Optional metadata for the cart. This can be used to store additional information about the cart.

priceChannelId
ID

Optional unique identifier of the price channel. If provided, the cart will be updated to use the specified price channel.

shippingAddress
CartAddressInput

Optional shipping address for the cart. If not provided, the existing shipping address will remain unchanged.