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.
integrations:writeGrant 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
- 200
- 401
- 403
- 404
- 422
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Not found — no record with the given identifier (or the route does not exist). Verify the ID before retrying.
Unprocessable Entity
Response Headers
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.