Mutations
createCart
Creates a new shopping cart with the specified items from Amazon and/or Shopify stores. Allows users to add products (for Amazon) or product variants (for Shopify) along with their quantities to a new cart.
Arguments
The input
object contains items with their quantities and optionally the identity of the buyer.
If BuyerIdentity
is not provided upon cart creation then AmazonOffer.shippingMethods
and ShopifyOffer.shippingMethods
will contain only the preliminary estimated default shipping method. To get more accurate shipping information use updateCartBuyerIdentity
mutation to provide buyer information.
Returns
Any requested field from the CartResponse
object.
Usage
Create cart with buyer identity
Create cart without buyer identity
Was this page helpful?