POST https://api.zoined.com/flatHierarchies?dryRun=false&separator=%3B&encoding=utf-8
Security
bearerAuth
Any of:
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"
- Mock serverhttps://zapi-api.zoined.com/_mock/flatHierarchies
- https://api.zoined.comhttps://api.zoined.com/flatHierarchies
curl -i -X POST \
'https://zapi-api.zoined.com/_mock/flatHierarchies?dryRun=false&separator=%3B&encoding=utf-8' \
-H 'Authorization: Bearer <YOUR_token_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"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 ...",
"source_system": "ABCDEF"
}'Response
{ "status": "OK", "msg": "1 entity added" }