POST
/
api-shipping
/
shipping
/
expectedDelivery
curl --request POST \
  --url https://prod01-apigw.{customer_name}.fabric.zone/api-shipping/shipping/expectedDelivery \
  --header 'Content-Type: application/json' \
  --header 'x-site-context: <x-site-context>' \
  --data '{
  "SLA": [
    {
      "shipMethod": 10167,
      "items": [
        "1000002448",
        "987654321"
      ]
    }
  ]
}'
[
  {
    "shipMethod": 10167,
    "items": [
      "1000002448",
      "987654321"
    ],
    "minimumDeliveryDate": "2021-09-04T14:51:12.950Z",
    "maximumDeliveryDate": "2021-09-06T14:51:12.950Z"
  }
]

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Body

application/json
SLA
object[]

Response

200
application/json
Expected delivery for items
shipMethod
number
items
number[]
minimumDeliveryDate
string
maximumDeliveryDate
string