Schema Documentation
addCompositeToCart
Description
The addCompositeToCart mutation
Response
Returns an AddCompositeToCartPayload
Arguments
Name | Description |
---|---|
input - AddCompositeToCartInput! | Input for the addCompositeToCart mutation |
Example
Query
mutation addCompositeToCart($input: AddCompositeToCartInput!){ addCompositeToCart(input: $input){ cart { ...CartFragment }cartItem { ...CompositeCartItemFragment }clientMutationId }}
Variables
{"input":AddCompositeToCartInput}
Response
{"data":{"addCompositeToCart":{"cart":Cart,"cartItem":CompositeCartItem,"clientMutationId":"abc123"}}}