Get Store Locations
Fetch active inventory locations from Shopify store.
This is a proxy endpoint that forwards the request to Shopify
and returns the locations directly to the frontend. Requires the
store to have the read_locations scope (part of the
inventory_levels feature); a scope-less store surfaces
Shopify's access error as a 500, mirroring the publications route.
HTTPBearerAuthorizationBearer <token>store_id*Store IdSuccessful Response
application/json- response
data*array<>List of active inventory locations
count*CountTotal number of locations
curl -X GET 'https://app.copyhero.app/api/v1/stores/0/locations'{ "data": [ { "id": "string", "name": "string" } ], "count": 0}Get Store Collections GET
Fetch all collections (custom + smart) from Shopify store. This is a proxy endpoint that forwards the request to Shopify and returns the collections directly to the frontend.
Get Store Publications GET
Fetch all publications (sales channels) from Shopify store. This is a proxy endpoint that forwards the request to Shopify and returns the publications directly to the frontend.