GET https://api.zoined.com/v2/download/flatHierarchies.json?limit=1000&offset=0&hierarchy_key=product
Security
bearerAuth
- Mock serverhttps://zapi-api.zoined.com/_mock/v2/download/flatHierarchies.json
- https://api.zoined.comhttps://api.zoined.com/v2/download/flatHierarchies.json
curl -i -X GET \
'https://zapi-api.zoined.com/_mock/v2/download/flatHierarchies.json?limit=1000&offset=0&hierarchy_key=product' \
-H 'Authorization: Bearer <YOUR_token_HERE>'Request has been processed successfully.
Headers
Content-Type: application/json
Type of hierarchy that is uploaded
| Enum Value | Description |
|---|---|
| product | Product category hierarchy |
| model | Product model hierarchy |
| product_group | Product group hierarchy |
| organisation | Organisation hierarchy |
| customer | Customer hierarchy |
| channel | Channel hierarchy |
| area | Area hierarchy |
| account | Bookkeeping account hierarchy |
Example:"product"
Response
{ "hierarchy_key": "product", "entity_id": "XYZ", "level1": "Clothing", "level2": "Children's clothing", "level3": "Children's outdoor clothing", "level4": "Children's outdoor headwear", "level5": "Children's caps", "level6": "Children's small caps", "level7": "Children's themed caps", "level8": "Children's disney caps", "level9": "Children's mickey caps", "level10": "Children's ..." }