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.
HTTPBearerheader
AuthorizationBearer <token>store_id*Store IdSuccessful Response
application/json- response
data*array<>List of publications
count*CountTotal number of publications
curl -X GET 'https://app.copyhero.app/api/v1/stores/0/publications'Example Response
{ "data": [ { "id": "string", "name": "string" } ], "count": 0}Get Store Locations GET
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.
Read Store GET
Get store by ID only if user is owner or employee.