The input fields required to submit a cart with the submitCart
mutation. Provide the cart ID and billing address so Rye can place the order and initiate fulfillment. (Payment capture happens on your side before the cart is submitted.)
The ID of the cart that the user wants to submit for processing. It’s a unique identifier for the cart in the system, and it’s used to identify the cart that needs to be submitted.
The BillingAddressInput
object containing the billing address information.
The selected shipping options for each store. If multiple shipping options are selected for a store, the last one selected will be used. If a store in the cart already has a shipping option selected (via the updateCartSelectedShippingOptions
mutation), the selection specified here will override the previous one.
Field to set cart settings on cart creation.
Represents promo codes applied per store see StorePromoCodesInput
for more details.