Skip to main content

Get Opening Stock Preview

GET 

/api/shopify/:integrationInstance/inventory/opening-stock/preview/:previewId

Get a preview's summary and one page of its product rows. Each row shows Shopify's on hand and available, the units sold, returned and otherwise moved in SKU.io, the current opening count, the computed opening count, the quantity that will be loaded (never below zero), the unit cost and where it came from (opening_count, default_cost, shopify_cost_per_item or best_available:<source>), and a status.

Required scope: integrations:read

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Statuses: ready (will be written), unchanged, missing_cost (skipped unless include_missing_cost), negative (SKU.io already holds more than Shopify; skipped), no_shopify_level, untracked, not_mapped (sold in SKU.io but not linked to a Shopify variant), not_stocked (bundle or matrix).

Authentication: Requires Bearer token.

Request​

Responses​

OK

Response Headers
    Content-Type