Deleting items

The catalog.delete() method allows developers to remove specific items from the Cataloglake infrastructure. It is designed for efficient catalog management, ensuring outdated or incorrect data can be quickly purged.

tem_object = {
  "items": [
    {
      "groc_item_id": "1698596981"
    }
  ]
}

catalog_delete = catalog.delete(item_object)
print("catalog_delete_data----", catalog_delete)

Example App Code

tem_object = {
  "items": [
    {
      "groc_item_id": "1698596981"
    }
  ]
}

catalog_delete = catalog.delete(item_object)
print("catalog_delete_data----", catalog_delete)

#RESPONSE FROM CATALOG DELETE

# {
#     "api_action_status": "success",
#     "status": "Items deleted successfully"
# }

Last updated