CustomerAddBuyingListItemInput
Adds an item to a buying list.
input CustomerAddBuyingListItemInput {
listId: ID!
productId: ID!
quantity: Float!
uomId: ID
variantId: ID!
}
Fields
CustomerAddBuyingListItemInput.listId ● ID! non-null scalar
The ID of the buying list.
CustomerAddBuyingListItemInput.productId ● ID! non-null scalar
The ID of the product.
CustomerAddBuyingListItemInput.quantity ● Float! non-null scalar
The quantity to add. It is added to any existing line for the same variant and unit of measure. Must be greater than zero.
CustomerAddBuyingListItemInput.uomId ● ID scalar
Defaults to the variant's selling/base UOM (mirrors cart).
CustomerAddBuyingListItemInput.variantId ● ID! non-null scalar
The ID of the product variant.
Member Of
customerAddBuyingListItem mutation