Catalog
DeleteCatalogObject
Deletes a single CatalogObject based on the provided ID and returns the set of successfully deleted IDs in the response. Deletion is a cascading event such that all children of the targeted object are also deleted. For example, deleting a CatalogItem will also delete all of its CatalogItemVariation children.
delete/v2/catalog/object/{object_id}
Path parameters
object_idstring required
The ID of the catalog object to be deleted. When an object is deleted, other objects in the graph that depend on that object will be deleted as well (for example, deleting a catalog item will delete its catalog item variations).
Response
Success
Example response
{
"deleted_at": "2016-11-16T22:25:24.878Z",
"deleted_object_ids": [
"7SB3ZQYJ5GDMVFL7JK46JCHT",
"KQLFFHA6K6J3YQAQAWDQAL57"
]
}