curl --request PATCH \
--url https://{host}/product-catalog/v1/Hierarchies/import \
--header 'Content-Type: application/json' \
--data '
[
{
"name": "Bakery",
"id": "1002",
"parentId": "1001",
"imageLink": "https://example.com/images/Bakery.png"
},
{
"name": "Bread",
"id": "1003",
"parentId": "1002",
"imageLink": "https://example.com/images/Bread.png"
}
]
'{}{
"errors": [
{
"name": "<string>",
"message": "<string>",
"details": null
}
]
}Partial upsert of hierarchies
Imports hierarchy’s nodes (upserts existing and adds new leaf nodes or leaf subtrees). Usually performed via direct integration with Data Import service
PATCH
/
v1
/
Hierarchies
/
import
curl --request PATCH \
--url https://{host}/product-catalog/v1/Hierarchies/import \
--header 'Content-Type: application/json' \
--data '
[
{
"name": "Bakery",
"id": "1002",
"parentId": "1001",
"imageLink": "https://example.com/images/Bakery.png"
},
{
"name": "Bread",
"id": "1003",
"parentId": "1002",
"imageLink": "https://example.com/images/Bread.png"
}
]
'{}{
"errors": [
{
"name": "<string>",
"message": "<string>",
"details": null
}
]
}Last modified on August 10, 2026