For the complete documentation index, see llms.txt. This page is also available as Markdown.
Availability & Promising

Availability in delivery time period

This endpoint provides all available delivery dates based on a basket of items within a defined timeframe. This information can be used to provide the user with a calendar view showing available delivery dates.

Request and response

Request

  • startDate: Start date of the requested time range. If no info is given, the default is now (timestamp of the request).

  • endDate: End date of the requested time range. If no info is given, the default is now (timestamp of the request).

  • basket: Contains all tenantArticleIds and the respective quantities that the customer is interested in buying.

  • consumerAddress: The request must include at least the consumer's country. This is important because non-delivery days are taken into account when calculating the earliest delivery date, and these vary by country and region. It is also possible to provide a postal code in the request (for example, for logged-in shop users). Doing so allows considering region-specific non-delivery days.

  • deliveryPreferences: By setting deliveryPreferences like preferredCarrier(s) or preferredCarrierProductCategories only matching carrier options are considered when evaluating which dates are possible delivery dates.

Response

  • date: Date on which the calculation took place and for which the below information applies.

  • overallStatus: The result can be ALL, NONE or PARTIAL.

    • ALL: All items of the requested basket can be delivered on the corresponding date.

    • NONE: None of the items of the requested basket can be delivered on the corresponding date.

    • PARTIAL: Some of the items of the requested basket can be delivered on the corresponding date.

  • availableCarriers:

    • name: Name of the carrier (key), for example DHL.

    • nonDeliveryDays: Regions where this particular date is a non-delivery date of the corresponding carrier (for example, DE-NW: DHL doesn't deliver on 3 March 2025 in North Rhine Westphalia due to carnival).

Expected stocks that were announced via purchase order are also considered in the response. Only purchase orders with requestedDate.type of ASAP aren't considered as these deliveries are expected to arrive as soon as possible and there's no exact date that can be used to check the potential availability of these stocks for incoming orders.

Get delivery time period

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body

CheckoutOptionsDeliveryTimePeriodRequest

endDatestring · date-timeOptional

End date-time of the period

Example: 2026-06-17T12:00:00.000Z
includeCalculationHintsbooleanOptional

Whether to include calculation hints in the response

Example: true
startDatestring · date-timeOptional

Start date-time of the period

Example: 2026-06-17T12:00:00.000Z
Responses
200

The request could be evaluated

application/json

CheckoutOptionsDeliveryTimePeriodResponse

calculationHintsstring[]Optional

Calculation hints

post/api/promises/checkoutoptions/delivery/timeperiod
POST /api/promises/checkoutoptions/delivery/timeperiod HTTP/1.1
Host: your-tenant-name.api.fulfillmenttools.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 638

{
  "basket": [
    {
      "quantity": 42,
      "tenantArticleId": "MY_ARTICLE_ID"
    }
  ],
  "consumerAddress": {
    "addressType": "POSTAL_ADDRESS",
    "city": "Yellowstone",
    "country": "DE",
    "houseNumber": 42,
    "postalCode": "42420",
    "province": "text",
    "street": "text"
  },
  "deliveryPreferences": {
    "carrierProductCategory": "STANDARD",
    "desiredDeliveryTime": "2020-02-03T09:45:51.525Z",
    "preferredCarriers": [
      "text"
    ],
    "preferredCarriersWithProduct": [
      {
        "carrierKey": "DPD",
        "carrierProduct": "WORLDWIDE",
        "carrierServices": [
          "SIGNATURE"
        ]
      }
    ],
    "preselectedFacilities": [
      null
    ],
    "serviceLevel": "DELIVERY"
  },
  "endDate": "2026-06-17T12:00:00.000Z",
  "includeCalculationHints": true,
  "startDate": "2026-06-17T12:00:00.000Z"
}
{
  "calculationHints": [
    "text"
  ],
  "checkoutOptions": [
    {
      "availableCarriers": [
        {
          "carrierRef": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
          "latestPickingStartDate": "2026-06-17T12:00:00.000Z",
          "name": "text",
          "nonDeliveryDays": [
            "text"
          ]
        }
      ],
      "availableFacilityConnections": [
        {
          "connectionRef": "0190d6e8-8c3a-7f1b-9d2e-4a6b8c0d1e2f",
          "latestPickingStartDate": "2026-06-17T12:00:00.000Z",
          "nonDeliveryDays": [
            "text"
          ]
        }
      ],
      "date": "2026-06-17T12:00:00.000Z",
      "overallStatus": "ALL"
    }
  ]
}

Last updated

Was this helpful?