Skip to main content

Turn On Shopify Inventory Tracking

POST 

/api/shopify/:integrationInstance/inventory/enable-tracking

Turn inventory tracking on in Shopify for variants that have it switched off, then push the SKU.io quantity to them. Runs as a background job and returns tracked_job_log_id.

Required scope: integrations:write

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

Authentication: Requires Bearer token with integrations write access.

Body: either ids (up to 1,000 inventory row ids from List Inventory Comparison) or all: true, which acts on every row of the store whose variant is not tracked. Rows whose variant is already tracked are ignored. Needs the store to have granted the write_inventory scope.

The job reports variants_enabled, variants_failed, listings_pushed and per-variant errors.

Request​

Responses​

OK

Response Headers
    Content-Type