Schema Documentation



Input for the addToCart mutation

Input FieldDescription
clientMutationId - String

This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions.

extraData - String

JSON string representation of extra cart item data

productId - Int!

Cart item product database ID or global ID

quantity - Int

Cart item quantity

variation - [ProductAttributeInput]

Cart item product variation attributes

variationId - Int

Cart item product variation database ID or global ID