# Distribution days

The /api/distributiondays/ endpoint enables you to retrieve information defined in Iteras for specific distribution days, like which days a physical product is distributed. The actual data returned depends on the setup of the distribution integration and related fields inside Iteras.

# Parameters

The endpoint uses GET and currently supports the following parameter:

  • "start_date" - e.g. 2023-01-01 (inclusive)

  • "end_date" - e.g. 2023-12-31 (inclusive)

# Return value

The data returned is an object with an array of distribution days (possibly empty array). The data field contains field definition values.

{
  "distributiondays": [
    {
        "date": "2023-05-03",
        "data": {
            "publication_day": true
        }
    },
    {
        "date": "2023-05-04",
        "data": {
            "publication_day": true,
            "interpreted_as_weekdays": [
                4,
                5
            ]
        }
    },
    {
        "date": "2023-05-05",
        "data": {
            "publication_day": false
        }
    }
  ]
}