getMerchantTimezone

get

/ccstore/v1/merchant/timezone

Get Merchant Timezone. Get the merchant selected timezone. Optionally takes the x-ccasset-language header to get translated content in another language.

Request

Supported Media Types
  • application/json
Header Parameters
X-CCAsset-Language
Type: string
The asset language of the request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : getMerchantTimezone_response
Example application/json

{
    "timezoneLabel":"(GMT+00:00) Dublin - Greenwich Mean Time (GMT) ",
    "repositoryId":"europe_dublin",
    "timezoneCode":"Europe/Dublin"
}
Default Response
The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |80021|There was an error retrieving the selected timezone.|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Response Payload returned by endpoint:

{
  "timezoneLabel": "(GMT+00:00) Dublin - Greenwich Mean Time (GMT) ",
  "repositoryId": "europe_dublin",
  "timezoneCode": "Europe/Dublin"
}