Skip to main content
input_object

Specifies a delivery address for a cart. Provide either a deliveryAddress with full address details, or a copyFromCustomerAddressId to copy from an existing customer address. Used by CartSelectableAddressInput and CartSelectableAddressUpdateInput.

Anchor to copyFromCustomerAddressIdcopyFromCustomerAddressId
•ID

Copies details from the customer address to an address on this cart. The address is copied as-is, regardless of validationStrategy. Validation can be requested on later delivery address updates and always occurs in checkout.

•CartDeliveryAddressInput

A delivery address stored on this cart.

Show input fields

Was this section helpful?

Anchor to Input objects using this inputInput objects using this input

•INPUT OBJECT

The input fields for a selectable delivery address to present to the buyer. Used by CartDeliveryInput when creating a cart with the cartCreate mutation.

You can pre-select an address for the buyer, mark it as one-time use so it isn't saved after checkout, and specify how strictly the address should be validated.

•INPUT OBJECT

The input fields to update a line item on a cart.


Was this section helpful?