Marketplace API / Mutations
addProductVariantToCart
Adds a product variant to the buyer's cart for its seller. Creates a cart when none exists for that seller. If the variant is already present, adds the requested quantity to the existing item.
addProductVariantToCart(
input: AddProductVariantToCartInput!
): AddProductVariantToCartPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | AddProductVariantToCartInput! | The product variant and quantity to add. |