GET /channelDisabledProducts

Get products marked out of stock.

Headers

  • Content-Type string

Query parameters

  • where string

Responses

  • default application/json

    default

    Hide headers attribute Show headers attribute
    • Content-Type string
GET /channelDisabledProducts
curl \
 --request GET 'https://api.staging.deliverect.com/channelDisabledProducts' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json"
Response examples (default)
{
  "_meta": {
    "page": 1,
    "total": 9,
    "max_results": 25
  },
  "_items": [
    {
      "_id": "612***2cf",
      "plu": "VAR-PROD-1",
      "name": "Pinapple pizza",
      "_etag": "19358d3fb0b1cdb2cf96fa71f7c21abda863b00f",
      "_links": {
        "self": {
          "href": "channelDisabledProducts/612***2cf",
          "title": "channelDisabledProducts"
        }
      },
      "account": "60e***945",
      "channel": -1,
      "isBogof": false,
      "_created": "2021-08-30T11:41:09.077000Z",
      "_updated": "2021-08-30T11:53:09.000000Z",
      "location": "60e***96a",
      "snoozeEnd": "2021-08-30T11:53:09Z",
      "isInBundle": false,
      "snoozeStart": "2021-08-30T11:41:09Z",
      "channelLinks": [
        "60e***a37"
      ],
      "deliverectProductId": "610***b73"
    },
    {
      "_id": "612***298",
      "plu": "MOD555",
      "name": "Ice",
      "_etag": "f839b4936adbaa034358bc669abe75cfdbb80964",
      "_links": {
        "self": {
          "href": "channelDisabledProducts/612***298",
          "title": "channelDisabledProducts"
        }
      },
      "account": "60e***945",
      "channel": -1,
      "isBogof": false,
      "_created": "2021-08-30T14:31:19Z",
      "_updated": "2021-08-30T14:31:19Z",
      "location": "60e***96a",
      "snoozeEnd": "2021-08-30T15:31:19Z",
      "isInBundle": false,
      "snoozeStart": "2021-08-30T14:31:19Z",
      "channelLinks": [
        "60e***a37",
        "612***204"
      ],
      "deliverectProductId": "612***e8d"
    },
    {
      "_id": "613***6a3",
      "plu": "PR2",
      "name": "Cola",
      "_etag": "6f5e942de36140f6825c7f69695f94a464bcab4e",
      "_links": {
        "self": {
          "href": "channelDisabledProducts/613***6a3",
          "title": "channelDisabledProducts"
        }
      },
      "account": "60e***945",
      "channel": -1,
      "isBogof": false,
      "_created": "2021-09-03T13:09:48Z",
      "_updated": "2021-09-03T13:09:48Z",
      "location": "60e***96a",
      "snoozeEnd": "2021-09-03T13:17:48Z",
      "isInBundle": false,
      "snoozeStart": "2021-08-18T11:13:00Z",
      "channelLinks": [
        "60e***a37",
        "612***204",
        "613***31c"
      ],
      "deliverectProductId": "60e4***f62"
    }
  ],
  "_links": {
    "self": {
      "href": "channelDisabledProducts?where={ account: {{account_id}}, location: {{location_id}}",
      "title": "channelDisabledProducts"
    },
    "parent": {
      "href": "/",
      "title": "home"
    }
  }
}