storefront_endpoints

Notify about store hours configuration change

Rate limit: 16 requests per minute.

post/v1/storefront/hours

Request

Headers

X-Store-Idstring required

The unique identifier of the store in your app. This ID, along with the Application ID, will be used to match the correct store when performing operations. It cannot be longer than 255 characters and must only contain printable ASCII characters. During on-boarding, this ID will be similar to onboarding:905bb725-b141-4a9b-832a-1f254f772c94 (where the UUID is the Internal Store ID). During off-boarding, this field will be filled with the last known Store ID, or with an empty string, in case none is found. In that case, please fall back to the provided internalStoreId (a.k.a. Sku-Sku ID).

Example:partner-store-unique-identifier
X-Event-Idstring

Optional unique identifier of the event that this callback refers to.

Example:cf0ce51b-d74e-40d3-b177-1925ab4edc0c

Request body

statusChangedAtstring date-time

The time when the store hours configuration changed.

Example request

{
  "storeHoursConfiguration": {
    "deliveryHours": {
      "regularHours": [
        {
          "timeRanges": [
            {
              "startTime": "08:00",
              "endTime": "08:00"
            }
          ]
        }
      ],
      "specialHours": [
        {
          "date": "2021-10-01T00:00:00.000Z",
          "timeRanges": [
            {
              "startTime": "08:00",
              "endTime": "08:00"
            }
          ]
        }
      ]
    },
    "pickupHours": {
      "regularHours": [
        {
          "timeRanges": [
            {
              "startTime": "08:00",
              "endTime": "08:00"
            }
          ]
        }
      ],
      "specialHours": [
        {
          "date": "2021-10-01T00:00:00.000Z",
          "timeRanges": [
            {
              "startTime": "08:00",
              "endTime": "08:00"
            }
          ]
        }
      ]
    },
    "timezone": "America/Los_Angeles"
  },
  "statusChangedAt": "2007-12-03T09:15:30.000Z",
  "eventResultMetadata": {
    "additionalInformation": "Completed without problems.",
    "operationFinishedAt": "2007-12-03T09:15:30.000Z"
  }
}

Response

The store hours configuration change was successfully processed.

Changes

No recorded changes to this operation across all 1 revision of this API.