Skip to Content
Bhakti BaazarDevelopers
API referenceReference data

List a subcategory’s attributes

GET
/reference/subcategories/{subcategoryId}/attributes

Scope: catalog:read

The attributes a product in this subcategory can have, which are required, and their allowed values. Products and variants are checked against this list.

Authorization

sellerApiKey
headerAuthorizationBearer <bbsk_live_…>

A Seller API key, bbsk_live_…

Path Parameters

subcategoryId*string
Formatuuid

Response Body

application/json
  1. response
subcategoryId*string
Formatuuid
data*array<>
Example Request
curl -X GET 'https://api.bhaktibaazar.com/seller-api/v1/reference/subcategories/497f6eca-6276-4993-bfeb-53cbbbba6f08/attributes'
Example Response
{  "subcategoryId": "5d1d1977-a6ea-4651-9647-91e10003c846",  "data": [    {      "name": "Mukhi",      "inputType": "text",      "appliesTo": "product",      "required": true,      "unit": "mm",      "options": [        "string"      ],      "condition": {        "attribute": "Material",        "equals": "string"      },      "group": "string",      "hint": "string"    }  ]}