Skip to main content
The Zinc API allows you to order multiple products in a single request and specify quantities for each item.

Products Array

The products array in your order request accepts multiple OrderProduct objects. Each product is processed as part of the same order.
All products in an order must be from the same retailer. You cannot mix products from different retailers in a single order request.

Setting Quantities

Each product can include a quantity 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 the variant array with quantity:

Condition Filtering

Each product can constrain which offers are eligible by item condition using condition_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:
Matching is exact and case-sensitive against these values. Omit a field, or send null / [], for no constraint.
Buy only new items:
Accept used items, but nothing below “good”:
Allow anything except acceptable-grade used items:

Complete Example

Here’s an example ordering multiple products with different quantities and variants:

Max Price Considerations

The max_price field applies to the total order amount across all products and quantities combined.
If the total order cost (including all products, quantities, taxes, and shipping) exceeds max_price, the order will fail with an error. Set your max_price high enough to account for the full order total.
When calculating max_price, consider:
  • Unit price × quantity for each product
  • Applicable taxes
  • Shipping costs
  • Any additional fees