Schema Documentation

fillCart

Description

The fillCart mutation

Response

Returns a FillCartPayload

Arguments
NameDescription
input - FillCartInput! Input for the fillCart mutation

Example

Query
mutation fillCart($input: FillCartInput!){  fillCart(input: $input){    added {      ...CartItemFragment    }applied {      ...AppliedCouponFragment    }cart {      ...CartFragment    }cartErrors {      ...CartErrorFragment    }chosenShippingMethodsclientMutationId  }}
Variables
{"input":FillCartInput}
Response
{"data":{"fillCart":{"added":[CartItem],"applied":[AppliedCoupon],"cart":Cart,"cartErrors":[CartError],"chosenShippingMethods":["abc123"],"clientMutationId":"xyz789"}}}