eBay · Schema

OperatingHours

This type is used to express the regular operating hours of a merchant's store during the days of the week.

AuctionsCommerceProductsMarketplaceFortune 500

Properties

Name Type Description
dayOfWeekEnum string A dayOfWeekEnum value is required for each day of the week that the store location has regular operating hours.

This field is returned if operating hours are defined for the s
intervals array This container is used to define the opening and closing times of a store's working day (defined in the dayOfWeekEnum field). An intervals container is needed for eac
View JSON Schema on GitHub

JSON Schema

ebay-operatinghours-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OperatingHours",
  "title": "OperatingHours",
  "type": "object",
  "properties": {
    "dayOfWeekEnum": {
      "type": "string",
      "description": "A <strong>dayOfWeekEnum</strong> value is required for each day of the week that the store location has regular operating hours. <br><br>This field is returned if operating hours are defined for the store location. For implementation help, refer to <a href='https://developer.ebay.com/api-docs/sell/inventory/types/api:DayOfWeekEnum'>eBay API documentation</a>"
    },
    "intervals": {
      "type": "array",
      "description": "This container is used to define the opening and closing times of a store's working day (defined in the <strong>dayOfWeekEnum</strong> field). An <strong>intervals</strong> container is needed for each day of the week that the store location is open. If a store location closes for lunch (or any other period during the day) and then reopens, multiple <strong>open</strong> and <strong>close</strong> pairs are needed <br><br>This container is returned if operating hours are defined for the store location.",
      "items": {
        "$ref": "#/components/schemas/Interval"
      }
    }
  },
  "description": "This type is used to express the regular operating hours of a merchant's store during the days of the week."
}