Skip to content

Retrieve inventory policy conflicts

API v2 is in public beta: endpoints and fields can change before general availability. See the changelog

GET/preorders/products/inventory_policy_conflicts

Costs 1 rate-limit point · Rate limits

Name the enabled out-of-stock offers that still sell these variants, before turning 'Continue selling' off on them.

shopify_variant_ids are up to 100 Shopify variant gids (repeat the param or comma-separate). 'Continue selling' is one value per variant, and an out-of-stock offer takes preorders only while it is on, so turning it off stops preorders in every offer listed. shared_variant_count is how many of the variants are in one; each offer's variant_count is how many of them it sells. Informational: the write applies anyway.

Also searched asinventory policy conflictswhich offers need continue sellinglinked offers warningwhat breaks if I turn off continue selling

Query parameters

  • shopify_variant_idsarray

Errors

401

Missing or invalid X-Auth-Token.

422

The request failed validation.

429

Rate limited: cost-weighted per token (read 1, write 2; 360 points / 60s). Check Retry-After.

Every error has the same shape: see Errors.

GET/preorders/products/inventory_policy_conflicts
curl "https://app.stoqapp.com/api/v2/external/preorders/products/inventory_policy_conflicts" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body