Schema Documentation
AddCompositeToCartInput
Description
Input for the addCompositeToCart mutation.
Fields
Input Field | Description |
---|---|
addons - [ProductAddonInput] | Product addons |
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. |
configuration - [CompositeProductConfigurationInput] | Composite configuration |
extraData - String | JSON string representation of bundle item data |
productId - Int! | Product ID of the bundle to add to the cart |
quantity - Int | Quantity of the bundle |
Example
{"addons":[ProductAddonInput],"clientMutationId":"xyz789","configuration":[CompositeProductConfigurationInput],"extraData":"xyz789","productId":123,"quantity":123}