Get Location Audit Summary
GET/api/shopify/:integrationInstance/location-audit
Summary counts and the location-to-warehouse routes that disagree with the Shopify location mappings for one Shopify integration.
This endpoint currently requires session authentication; Personal Access Token scope support is in progress.
Open lines are always included; shipped lines only when shipped within the days window.
Each route groups lines by Shopify location, the warehouse that location maps to (null when the location is unmapped), and the warehouse SKU used. cause is the most common explanation among the route's lines: placed_by_hand, routing_workflow, amazon_mcf, unmapped_location, location_changed_after_routing, fulfilled_elsewhere.
summary.follow_location_changes reports whether the integration moves lines automatically when Shopify's location changes.
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 Content
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.