Skip to content

List products variants for an offer (GET /preorders/offers/{id}/products/variants/{shopify_variant_id})

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

GET/preorders/offers/{id}/products/variants/{shopify_variant_id}

Costs 1 rate-limit point · Rate limits

Read one variant on a preorder offer: its row in the offer's Products table.

:shopify_variant_id is the Shopify variant gid (a numeric id also works).

Also searched asshow variant settings on offerview per-variant overridesget variant on offervariant settings

Path parameters

  • idstringRequired
  • shopify_variant_idstringRequired

Errors

401

Missing or invalid X-Auth-Token.

404

The resource does not exist for this shop, or the action path is not registered.

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/offers/{id}/products/variants/{shopify_variant_id}
curl "https://app.stoqapp.com/api/v2/external/preorders/offers/73a74948-2b57-4cc3-971f-2b441828c977/products/variants/{shopify_variant_id}" \
  -H "X-Auth-Token: $STOQ_API_KEY"
Response
No body