Catalogs

This section describes how to use the Generic API endpoint to replicate catalog data to the Business Center.

Payload description

The payload consists of "parentKey" and "childKey" element pairs. The "parentKey" element is one level higher in the category hierarchy than the "childKey". The payload also includes the internal name of the catalog and the external name of the catalog. You can specify translated text for the external name.

To receive a notification when the payload fails, add the recipientEmails element.

In the "type" element, specify Created, Updated, or Deleted.

Sample payload

{
"context": "catalogs",
"data":
"categoryTree": [
{
"childKey": "Dresses",
"parentKey": "Clothing"
},
{
"childKey": "Short Sleeves",
"parentKey": "Dresses"
},
{
"childKey": "Clothing"
"parentKey": null
},
],
"endDate": "YYYY-MM-DDTHH:MM:SS:SZ"
"internalName": "Catalog Internal Name",
"key": "catalog key",
"startDate":"YYYY-MM-DDTHH:MM:SS:SZ"
"texts": [
  {
"languageCode": "ue-EN",
"name": "Catalog name in U.S English"
}
],
"recipientEmails": [
"email address"
]
},
"dateFormatVersion": 0
"dataId": "dataid"
groupId": "groupid",
"notes": "notes",
"source": "source",
"type": "string"
}