Schema Documentation
fillCart
Description
The payload for the fillCart mutation
Response
Returns a
FillCartPayload
Arguments
Name | Description |
---|---|
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":"abc123"}}}