AlmondTill/G3N API

PromotionCartConditionsInput

input type

The cart-conditions input — ≥1 member with unique ids.

Fields

FieldTypeRequiredNotes
minQtyIntnoThe fewest matched units a cart must hold before the promotion fires — a whole number, at least 1. Optional.
minSubtotalMinorIntnoThe smallest matched subtotal a cart must reach before the promotion fires, in the minor units of the organization currency. Optional.
requiredProductIdsID [ID!]noThe ids of products that must be in the cart — any one of them suffices. Optional.
requiredCategoryIdsID [ID!]noThe ids of categories that must be in the cart, each with its subcategories — any one of them suffices. Optional.