Schema Documentation
addBundleToCart
Description
The addBundleToCart mutation
Response
Returns an AddBundleToCartPayload
Arguments
Name | Description |
---|---|
input - AddBundleToCartInput! | Input for the addBundleToCart mutation |
Example
Query
mutation addBundleToCart($input: AddBundleToCartInput!){ addBundleToCart(input: $input){ cart { ...CartFragment }cartItem { ...BundleCartItemFragment }clientMutationId }}
Variables
{"input":AddBundleToCartInput}
Response
{"data":{"addBundleToCart":{"cart":Cart,"cartItem":BundleCartItem,"clientMutationId":"abc123"}}}