MobileAddToCartInput
Adds an item to the cart.
input MobileAddToCartInput {
blurhash: String
imageUrl: String
notes: String
productId: ID!
productName: String!
quantity: Int!
unitLabel: String
unitPrice: Float!
uomId: ID
variantId: ID!
variantLabel: String
}
Fields
MobileAddToCartInput.blurhash ● String scalar
A placeholder for the image while it loads.
MobileAddToCartInput.imageUrl ● String scalar
The URL of the product image.
MobileAddToCartInput.notes ● String scalar
A note on the line.
MobileAddToCartInput.productId ● ID! non-null scalar
The ID of the product.
MobileAddToCartInput.productName ● String! non-null scalar
The name of the product, for the cart display.
MobileAddToCartInput.quantity ● Int! non-null scalar
The quantity to add.
MobileAddToCartInput.unitLabel ● String scalar
The unit of measure, for the cart display.
MobileAddToCartInput.unitPrice ● Float! non-null scalar
The price of one unit, for the cart display.
MobileAddToCartInput.uomId ● ID scalar
UOM the buyer selected on the PDP (each/case/carton). Optional; when omitted the server derives the variant sales/base UOM. Priced against this UOM and stored on the cart line so the same UOM flows to the SalesOrder (displayed == charged).
MobileAddToCartInput.variantId ● ID! non-null scalar
The ID of the product variant.
MobileAddToCartInput.variantLabel ● String scalar
The label of the variant, for the cart display.
Member Of
mobileAddToCart mutation ● MobileApplyCartChangesInput input