Skip to content

List catalogs

Returns the list of commerce catalogs associated with a WABA.

Endpoint: GET /v1/catalogs/{did}

Parameters

Path

ParameterTypeRequiredDescription
didstringYesTarget ID.

Query

ParameterTypeRequiredDescription
client_idnumberNoClient. Requires BSP_CN if it differs from the token.

Request

curl --request GET \
  --url 'https://api.chattigo.com/v1/catalogs/{did}' \
  --header 'Authorization: Bearer <token>'

Response

Success (200)

{
  "data": [
    {
      "id": "1234567890",
      "name": "Main Store",
      "vertical": "commerce"
    }
  ]
}

Errors

CodeCase
400did is required, or invalid client_id
403DID outside the WABA hierarchy, or access to another client without BSP_CN
502BSP config resolution failed (upstream service unavailable)