Run in Apidog
Captures the article hierarchy at the outlet level. You can have 10 levels on your hierarchy. For e.g. 1 can be department, 2 can be category, 3 can be subcategory, 4 can be brand. Use -1 if not used.
Request Body Params application/json
[
{
"article_id" : "string" ,
"article_name" : "string" ,
"store_id" : "string" ,
"hierarchy_level_1" : "string" ,
"hierarchy_level_2" : "string" ,
"hierarchy_level_3" : "string" ,
"hierarchy_level_4" : "string" ,
"hierarchy_level_5" : "string" ,
"hierarchy_level_6" : "string" ,
"hierarchy_level_7" : "string" ,
"hierarchy_level_8" : "string" ,
"hierarchy_level_9" : "string" ,
"hierarchy_level_10" : "string"
}
]
Request Code Samples
curl --location --request POST 'https://test.your-api-server.com/master/article_hierarchy/' \
--header 'X-SYNC-TOKEN;' \
--header 'Accept-Encoding;' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"article_id": "string",
"article_name": "string",
"store_id": "string",
"hierarchy_level_1": "string",
"hierarchy_level_2": "string",
"hierarchy_level_3": "string",
"hierarchy_level_4": "string",
"hierarchy_level_5": "string",
"hierarchy_level_6": "string",
"hierarchy_level_7": "string",
"hierarchy_level_8": "string",
"hierarchy_level_9": "string",
"hierarchy_level_10": "string"
}
]'
Responses
{
"status" : "string" ,
"message" : "string"
}
Modified at 2025-02-10 12:39:04