Skip to main content

Refresh Locations

POST 

/api/shopify/:integrationInstance/locations

Fetches the shop's locations live from the Shopify Admin API and returns them. Use this to re-pull locations after adding or renaming one in Shopify before assigning warehouse mappings.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token.

When Shopify refuses the request (for example the connection lost the read_locations permission), the endpoint returns 422 with Shopify's reason in message and an empty locations list with success: false — never an empty success. Reconnect the store, then retry.

Request​

Responses​

OK

Response Headers
    Content-Type