Read list of deleted Items

GET /items/deleted

Read Items that were deleted from the normal list. To bring one back, use restore.

Parameters

All query parameters are optional.

  • cursor: Continue after the previous page using the cursor returned in that response.
  • limit: Maximum number of Items to return; defaults to 25.

Status codes

  • 200 on success

Response properties

  • items: The array of deleted Item objects.
  • cursor: When present, use this value to request the next page. (optional)

You can see all the Item properties on the GET /items/:id page under "Response properties".

Example response

{
  "items": [
    {
      "id": "itm_oh0IyIjqvd",
      "category": "cat_KaNDv51Gh0",
      "name": "Vodka",
      "vessel": {
        "size": 7,
        "unit": "dl",
        "type": "BO"
      },
      "bundles": [
        {
          "type": "CT",
          "size": 6
        }
      ],
      "price": 750,
      "deleted": 1701267728047
    },
    {
      "id": "itm_xAWy4N9VCg",
      "category": "cat_myTRpvnsNb",
      "name": "Chicken breast",
      "price": 990,
      "price_per": "kg",
      "order_by": "kg",
      "supplier": {
        "id": 1663919969543,
        "reference": "prd-chicken-998"
      },
      "deleted": 1701267728088
    }
  ]
}