Skip to content

Variant pace

GET/admin/v1/stores/{store_id}/inventory/pace
  • inventory:read

How fast variants sell (units of the last 30 days, from the stock ledger's sales) and when they run out at that pace, for a page of the stock list.

Path parameters

  • store_idstringrequired

    The store's ID, like store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.

Query parameters

  • variant_idsstringrequired

    Comma-separated variant IDs, at most 250 (a page of the stock list).

Headers

  • shop-api-versionYYYY-MM

    The version to answer in. Without it, your app’s pinned version, else the newest.

Returns

200 Each variant's pace.

Errors

  • 403forbiddenMissing permission.
  • 422validation_failedMalformed or more than 250 IDs.