Skip to main content
GET
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
product
/
{productId}
/
collections
Get Collections Mapping for Product
curl --request GET \
  --url https://api.getscale.ng/api/v1/hub/shop/{shopId}/product/{productId}/collections \
  --header 'X-Shop-API-Key: <x-shop-api-key>'
{
  "status": "success",
  "data": [
    {
      "id": 5,
      "name": "Summer Specials",
      "slug": "summer-specials"
    }
  ]
}
Retrieves list of collection entries that a specific product catalog ID is grouped under.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.
productId
number
required
The product ID to query.
{
  "status": "success",
  "data": [
    {
      "id": 5,
      "name": "Summer Specials",
      "slug": "summer-specials"
    }
  ]
}