Products Array
Theproducts array in your order request accepts multiple OrderProduct objects. Each product is processed as part of the same order.
Setting Quantities
Each product can include aquantity field to specify how many units to order. What
will be accepted by the retailer depends on the product and availability. We will return
an error code, product_quantity_unavailable if we are unable to purchase the amount
specified.
- Range: 1 to 100
- Default: 1 (if omitted)
Combining with Variants
When ordering products with variants (size, color, etc.), you can combine thevariant array with quantity:
Condition Filtering
Each product can constrain which offers are eligible by item condition usingcondition_in (an allowlist) and condition_not_in (a denylist). The agent
only buys an offer whose condition passes both lists.
Both fields take an array of canonical condition values:
Buy only new items:
Complete Example
Here’s an example ordering multiple products with different quantities and variants:Max Price Considerations
Themax_price field applies to the total order amount across all products and quantities combined.
When calculating max_price, consider:
- Unit price × quantity for each product
- Applicable taxes
- Shipping costs
- Any additional fees

