openapi: 3.0.3
info:
  title: api.rezio.io
  version: 1.0.0
  description: "## Version\n\n<a href=\"/docs/open-api/zh-tw/\">中文版 Traditional Chinese</a><br>\n<a href=\"/docs/open-api/en/\">英文版 English</a>\n\n## Overview\n\nRezio API allows you to read and possibly write resources linked to your Rezio account. `V1` provides the following operations:<br>\n\n<ul>   \n<li>Products: product list, details, packages, image/video.</li> \n<li>Adding products</li>\n<li>Publish: set up price/resources, add/update session setting, check calendar, update single session price/seats, turn on/off session.</li>\n<li>Orders: order list, details, adding order, update order status, adding payment note/ internal note, updateing contact/ order data.</li>\n<li>Shared Settings: includes list with filter, detailed information and add/update information.</li>\n<ul>\n<li>Pickup</li>\n<li>Booking Information</li>\n<li>Price Policy</li>\n<li>Tax & Fees</li>\n<li>Cancellation Policy</li>\n<li>Deposit Policy</li>\n<li>Extra</li>\n<li>Resources</li>\n</ul>\n\n</ul>\n\n## API\n\nRezio API is a REST based API that supports JSON formats. You must include Content-Type headers in your requests.<br>\n\n> `Content-Type`      : application/json<br>\n> `X-Lang`            : default language is `en`. Check other options in System Config::language<br>\n> `X-Auth-StoreUuid`  : Your Store UUID in [Rezio](https://www.rezio.io). Available from [Admin](https://admin.rezio.io).<br>\n> `X-Auth-Key`        : Your API Key. Obtain in [Rezio Admin](https://admin.rezio.io/myplan/token) if you are an administrator.\n\n### Versioning\n\nYou must include the version in the URL you're calling. The current version is `V1`<br>\n\n> `https://api.rezio.io/v1/product/list`\n\n### API Response\n\nThe API response is in **application/json** format. `code`, `codeMessage`, `data` and **UTF-8** should be used for all content encoding.\n\n```javascript\n{\n    \"code\": \"S0000\",\n    \"codeMessage\": \"\",\n    \"data\": {}\n}\n```\n\nYou can expect the `code` of **S0000** as SUCCESS call; otherwise, please check `data` result and <a href=\"#errorcode\">Response Codes</a>.<br>\n\n### Environments\n\n+ We have both UAT and Production environments. Use UAT environment to test your integration to make sure it is ready before connecting to the Production server.\n\n+ Production and UAT environments are currently completely independent. Accounts and data are not replicated, so you will need to get Store UUID/ Key separately from Admin.\n\n+ Only `HTTPS` accepted, non-SSL port is not available. \n<table>\n    <tr>\n        <th>Environment</th>\n        <th>Admin URL</th>\n        <th>API_URL</th>\n    </tr>\n    <tr>\n        <td>UAT</td>\n        <td>https://admin.uat.rezio.io/</td>\n        <td>https://api.uat.rezio.io/</td>\n    </tr>\n    <tr>\n        <td>Production</td>\n        <td>https://admin.rezio.io/</td>\n        <td>https://api.rezio.io/</td>\n    </tr>\n</table>\n\n### Response codes\n\n<a name=\"errorcode\" /> Possible response codes that may occur.\n\n<table>\n    <tr>\n        <th>Response code</th>\n        <th>Meaning</th>\n    </tr>\n    <tr>\n        <td colspan=2><b>service</b></td>\n    </tr>\n    <tr>\n        <td>S0000</td>\n        <td>SUCCESS</td>\n    </tr>\n    <tr>\n        <td>A0006</td>\n        <td>Missing verification parameters in the request body.</td>\n    </tr>\n    <tr>\n        <td>V0001</td>\n        <td>Parameters were not included in the request.</td>\n    </tr>\n    <tr>\n        <td>V0002</td>\n        <td>The format of parameters was not matched.</td>\n    </tr>\n    <tr>\n        <td>V0003</td>\n        <td>Parameters were incomplete.</td>\n    </tr>\n    <tr>\n        <td>V0004</td>\n        <td>The value of parameter was out of range.</td>\n    </tr>\n    <tr>\n        <td>V0005</td>\n        <td>The length of parameters was exceeded.</td>\n    </tr>\n    <tr>\n        <td>V0006</td>\n        <td>Illegal operation. There is a discontinuous time slot in one of your cancellation rules.</td>\n    </tr>\n    <tr>\n        <td>F0001</td>\n        <td>Error result: {{result}}</td>\n    </tr>\n</table>"
servers:
- url: https://api.rezio.io
  description: Production
- url: https://api.uat.rezio.io
  description: UAT
paths:
  /v1/config:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      serverTime:
                        type: string
                      unixTimestamp:
                        type: number
                      version:
                        type: string
                      language:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            code:
                              type: string
                            label:
                              type: string
                          required:
                          - uuid
                          - code
                          - label
                      storeAcceptPayType:
                        type: array
                        items:
                          type: object
                          properties:
                            value:
                              type: number
                            config:
                              type: string
                          required:
                          - value
                          - config
                      dataOption:
                        type: array
                        items:
                          type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  serverTime: '2019-05-14T06:28:47+00:00'
                  unixTimestamp: 1557815327
                  version: v1
                  language:
                  - uuid: 30eee82e-eccb-430b-9774-9a231a5f6b51
                    code: zh-TW
                    label: Traditional Chinese
                  - uuid: b13c043d-eace-400e-bb9c-ca342f1bb1f7
                    code: ja-JP
                    label: Japanese
                  - uuid: affd2a03-556b-43e5-b64b-022c0abd298f
                    code: en
                    label: English
                  - uuid: 3a76a467-7629-455e-8fd4-d88bb041a9ea
                    code: zh-CN
                    label: Simplified Chinese
                  storeAcceptPayType:
                  - value: 1
                    config: 'Please transfer money to the following account:

                      Bank: CTBC

                      Bank code: 808

                      Account name: Rezio tour inc.

                      Number: 550888066666


                      Please call or send email to inform us to make sure your money transfer succeed, thank you!'
                  - value: 2
                    config: On site cash payment is fine, TW/US Dollar are accepted, and you will need to pay the full amount before the tour begins, thank you!
                  dataOption:
                  - category
                  - country
                  - countryAll
                  - currency
                  - language
                  - languageAll
                  - languageSpoken
                  - timezone
                  - region
                  - identity
                  - resourceType
                  - feeOption
                  - feeOptionGroup
                  - tag
      summary: System Config
      operationId: get-v1-config
      description: "Get all Rezio API's config\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/config</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n#### Parameters\n\nNone\n\n#### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-config\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-config\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>serverTime</td>\n        <td>datetime</td>\n        <td>Server Time with timezone</td>\n    </tr>\n    <tr>\n        <td>unixTimestamp</td>\n        <td>unixtime</td>\n        <td>Server Unixtime</td>\n    </tr>\n    <tr>\n        <td>version</td>\n        <td>string</td>\n        <td>API version number</td>\n    </tr>\n    <tr>\n        <td>language</td>\n        <td><b>array</b></td>\n        <td>language, check<a href=\"#lang-config\"> language </a>for details</td>\n    </tr>\n    <tr>\n        <td>storeAcceptPayType</td>\n        <td><b>array</b></td>\n        <td>Accepted Payment<br>\n        <b>1: Bank Transfers/ATM</b><br>\n        <b>2: Cash</b></td>\n    </tr>    \n    <a name=\"dataoption\" /><tr></a>\n        <td>dataOption</td>\n        <td><b>array</b></td>\n        <td>System Data options:<br>\n            <b>category</b>  Product Category<br>\n            <b>currency</b>  Currency<br>\n            <b>region</b>  Region/Continent<br>\n            <b>country</b>  Available Countries to Create Product<br>\n            <b>countryAll</b>  Countries<br>\n            <b>identity</b>  Identity, for pricing, e.g., Adult<br>\n            <b>timezone</b>  Timezone<br>\n            <b>resourceType</b>  Resource Type<br>\n            <b>languageAll</b>  Languages<br>\n            <b>languageSpoken</b>  Spoken Languages<br>\n            <b>feeOption</b>  Fee Options<br>\n            <b>feeOptionGroup</b> Fee Options Group<br>\n            <b>tag</b>  Tags<br>\n            <b>landmark</b>  Landmarks\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"lang-config\" />*language*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Language code</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Language name</td>\n    </tr>\n</table>"
      tags:
      - System Parameters
  /v1/dataOption:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      option:
                        type: string
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            code:
                              type: string
                            label:
                              type: string
                            symbol:
                              type: string
                          required:
                          - uuid
                          - code
                          - label
                          - symbol
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  option: currency
                  list:
                  - uuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    code: USD
                    label: USD US Dollar
                    symbol: $
                  - uuid: 5673fd73-41d8-4464-be9f-7bc9776301ab
                    code: JPY
                    label: JPY Japanese Yen
                    symbol: ¥
                  - uuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    code: TWD
                    label: TWD Taiwan Dollar
                    symbol: $
      summary: System Data Option
      operationId: get-v1-dataOption
      description: "Get all Rezio API's Data options\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/dataOption</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>option</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Data options<br>\n            Check <b>/v1/config <a href=\"#dataoption\">dataOption</a> for details</b>\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-config-dataoption\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-config-dataoption\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>option</td>\n        <td>string</td>\n        <td>Data option name</td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Available options<br>\n        If you request <b>option=tag</b>, check<a href=\"#tag-list-config-dataoption\"> tag </a>for details.<br>\n        Other options, please check<a href=\"#list-config-dataoption\"> list </a>for more detail.</td>\n    </tr>\n</table>\n\n##### <a name=\"list-config-dataoption\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Option UUID</td>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Code, available for language/country/countryAll/currency</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Option name, language was presented by X-Lang: {Lang} in Headers.</td>\n    </tr>\n    <tr>\n        <td>symbol</td>\n        <td>string</td>\n        <td>Currency symbol, only available for currency</td>\n    </tr>\n    <tr>\n        <td>regionUuid</td>\n        <td>UUID</td>\n        <td>Region UUID, only available for country/countryAll</td>\n    </tr>\n    <tr>\n        <td>feeOptionGroupUuid</td>\n        <td>UUID</td>\n        <td>Fee Option group UUID, only available for feeOption</td>\n    </tr>\n</table>\n\n##### <a name=\"tag-list-config-dataoption\" />*tag*\n\nIf there is no tag suitable for you, please customize your tags on [Rezio Admin](https://admin.rezio.io/).\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>tagGroupUuid</td>\n        <td>UUID</td>\n        <td>Tag Group UUID</td>\n    </tr>\n    <tr>\n        <td>tagGroupLabel</td>\n        <td>string</td>\n        <td>Tag group name</td>\n    </tr>\n    <tr>\n        <td>maxSelectedCount</td>\n        <td>int</td>\n        <td>The maximum value in the same tag group, and <b>-1</b> is unlimited.</td>\n    </tr>\n    <tr>\n        <td>tags</td>\n        <td><b>array</b></td>\n        <td>Tag data, includes UUID and label name, check<a href=\"#tags-tag-list-config-dataoption\"> tags </a>for details.</td>\n    </tr>\n</table>\n\
        \n##### <a name=\"tags-tag-list-config-dataoption\" />*tag - tags*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Tag UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Tag name, language was presented by X-Lang: {Lang} in Headers.</td>\n    </tr>\n</table>"
      tags:
      - System Parameters
      parameters:
      - name: option
        in: query
        description: System Data options
        required: true
        example: currency
        schema:
          type: string
  /v1/setting/pricePolicy:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            currencyUuid:
                              type: string
                            type:
                              type: string
                            config:
                              type: array
                              items:
                                type: object
                                properties:
                                  identityUuid:
                                    type: string
                                  isGroup:
                                    type: number
                                  from:
                                    type: number
                                  to:
                                    type: number
                                  cost:
                                    type: number
                                  originalPrice:
                                    type: number
                                  price:
                                    type: number
                                required:
                                - identityUuid
                                - isGroup
                                - from
                                - to
                                - cost
                                - originalPrice
                                - price
                            bindingSalesOptionCnt:
                              type: number
                          required:
                          - uuid
                          - label
                          - currencyUuid
                          - type
                          - config
                          - bindingSalesOptionCnt
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 2
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: 66457454-6730-470a-9926-a8e2a19d8cbe
                    label: Day Tour - Weekend departures
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    type: PERSON
                    config:
                    - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                      isGroup: 0
                      from: 3
                      to: 99
                      cost: 37.99
                      originalPrice: 37.99
                      price: 37.99
                    - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                      isGroup: 0
                      from: 0
                      to: 2
                      cost: 6
                      originalPrice: 6
                      price: 6
                    bindingSalesOptionCnt: 1
                  - uuid: 33a6058e-232c-4fb1-9169-9607827d5614
                    label: Day Tour - Weekday departures
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    type: PERSON
                    config:
                    - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                      isGroup: 0
                      from: 3
                      to: 99
                      cost: 29.99
                      originalPrice: 29.99
                      price: 29.99
                    - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                      isGroup: 0
                      from: 0
                      to: 2
                      cost: 6
                      originalPrice: 6
                      price: 6
                    bindingSalesOptionCnt: 1
      summary: List Pricing Policy
      operationId: get-v1-setting-pricePolicy
      description: "<a name=\"home-setting-price-policy\" />List all existing pricing policies. Filters such as currency are available.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pricePolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Query string\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Pricing policy name</td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-pp-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-pp-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Pricing policy data, check<a href=\"#list-pp-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-pp-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Pricing Policy UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Accept Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>Pricing policy rule. Check <a href=\"#config-pricing-list\"> config </a>for details.</td>\n    </tr>\n\
        \    <tr>\n        <td>bindingSalesOptionCnt</td>\n        <td>int</td>\n        <td>Used products</td>\n    </tr>\n</table>\n\n##### <a name=\"config-pricing-list\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>Identity UUID<br>\n            i.e. Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>Single or Group rule?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single<br>\n            Available for charge type <b>PERSON</b>\n        </td>\n    </tr>\n    <tr>\n        <td>target</td>\n        <td>string</td>\n        <td>Charge target of Group rule<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n            <b>TOTAL</b>  charge by group<br>\n            <b>PERSON</b>  charge by person\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>Minimum required for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n        <td>Maximum capacity for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Minimum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Maximum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>itemUuid</td>\n        <td>UUID</td>\n        <td>Pricing Item UUID<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Pricing Item Name<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>cost</td>\n        <td>number</td>\n        <td>Cost</td>\n    </tr>\n    <tr>\n        <td>originalPrice</td>\n        <td>number</td>\n        <td>Original Price</td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Price</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pricing Policy
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: currency
        in: query
        description: ''
        example: TWD
        schema:
          type: string
      - name: type
        in: query
        description: ''
        schema:
          type: string
          enum:
          - PERSON
          - ITEM
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 33a6058e-232c-4fb1-9169-9607827d5614
      summary: Create Pricing Policy
      operationId: post-v1-setting-pricePolicy
      description: "Create a new pricing policy\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pricePolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Charge Type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Pricing policy rule, check<a href=\"#config-pp-add\"> config </a>for details.</td>\n    </tr>\n</table>\n\n##### <a name=\"config-pp-add\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Single or Group rule?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single<br>\n            <b>Required</b> field when the charge type is <b>PERSON</b>            \n        </td>\n    </tr>\n    <tr>\n        <td>target</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Charge target of Group rule<br>\n            <b>TOTAL</b>  charge by group<br>\n            <b>PERSON</b>  charge by person<br>            \n            <b>Required</b> when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Minimum required for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Maximum capacity for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Minimum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Maximum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Pricing Item Name<br>\n            Available when charge\
        \ type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n      <td>cost</td>\n      <td>number</td>\n      <td>Y</td>\n      <td>Cost</td>\n     </tr>\n    <tr>\n      <td>originalPrice</td>\n      <td>number</td>\n      <td>Y</td>\n      <td>Original Price</td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Price</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-pp-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-pp-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Pricing Policy UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pricing Policy
      requestBody:
        content:
          application/json:
            example:
              currency: USD
              label: Day Tour - Weekday departures
              type: PERSON
              config:
              - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                cost: 29.99
                originalPrice: 29.99
                price: 29.99
                seat: 1
                isGroup: 0
                from: 3
                to: 99
              - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                cost: 6
                originalPrice: 6
                price: 6
                seat: 0
                isGroup: 0
                from: 0
                to: 2
            schema:
              type: object
              properties:
                currency:
                  type: string
                label:
                  type: string
                type:
                  type: string
                config:
                  type: array
                  items:
                    type: object
                    properties:
                      identityUuid:
                        type: string
                      cost:
                        type: number
                      originalPrice:
                        type: number
                      price:
                        type: number
                      seat:
                        type: number
                      isGroup:
                        type: number
                      from:
                        type: number
                      to:
                        type: number
                    required:
                    - identityUuid
                    - cost
                    - originalPrice
                    - price
                    - seat
                    - isGroup
                    - from
                    - to
  /v1/setting/pricePolicy/{pricePolicyUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      currencyUuid:
                        type: string
                      label:
                        type: string
                      type:
                        type: string
                      config:
                        type: array
                        items:
                          type: object
                          properties:
                            identityUuid:
                              type: string
                            cost:
                              type: number
                            originalPrice:
                              type: number
                            price:
                              type: number
                            seat:
                              type: number
                            isGroup:
                              type: number
                            from:
                              type: number
                            to:
                              type: number
                          required:
                          - identityUuid
                          - cost
                          - originalPrice
                          - price
                          - seat
                          - isGroup
                          - from
                          - to
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 33a6058e-232c-4fb1-9169-9607827d5614
                  currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                  label: Day Tour - Weekday departures
                  type: PERSON
                  config:
                  - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                    cost: 29.99
                    originalPrice: 29.99
                    price: 29.99
                    seat: 1
                    isGroup: 0
                    from: 3
                    to: 99
                  - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                    cost: 6
                    originalPrice: 6
                    price: 6
                    seat: 0
                    isGroup: 0
                    from: 0
                    to: 2
      summary: Get Pricing Policy
      operationId: get-v1-setting-pricePolicy-pricePolicyUuid
      description: "Load an existing policy by pricePolicyUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pricePolicy/{pricePolicyUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Pricing Policy UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-pp-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-pp-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Pricing Policy UUID</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Accept Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>Pricing policy rule, check<a href=\"#config-pp-detail\"> config </a>for details.</td>\n    </tr>\n</table>\n\n##### <a name=\"config-pp-detail\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>Single or Group rule?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single<br>\n            Available for charge type <b>PERSON</b>\n        </td>\n    </tr>\n    <tr>\n        <td>target</td>\n        <td>string</td>\n        <td>Charge target of Group rule<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n            <b>TOTAL</b>  charge by group<br>\n            <b>PERSON</b>  charge by person\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>Minimum required for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n        <td>Maximum capacity for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Minimum\
        \ age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Maximum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>itemUuid</td>\n        <td>UUID</td>\n        <td>Pricing Item UUID<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Pricing Item Name<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>cost</td>\n        <td>number</td>\n        <td>Cost</td>\n    </tr>\n    <tr>\n        <td>originalPrice</td>\n        <td>number</td>\n        <td>Original Price</td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Price</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pricing Policy
      parameters:
      - name: pricePolicyUuid
        in: path
        description: ''
        required: true
        example: 33a6058e-232c-4fb1-9169-9607827d5614
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Pricing Policy
      operationId: put-v1-setting-pricePolicy-pricePolicyUuid
      description: "Update a pricing policy by pricePolicyUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pricePolicy/{pricePolicyUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Pricing Policy UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Pricing policy rule, check<a href=\"#config-pp-edit\"> config </a>for details.</td>        \n    </tr>\n</table>\n\n##### <a name=\"config-pp-edit\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Single or Group rule?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single<br>\n            <b>Required</b> field when the charge type is <b>PERSON</b>  \n        </td>\n    </tr>\n    <tr>\n        <td>target</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Charge target of Group rule<br>\n            <b>TOTAL</b>  charge by group<br>\n            <b>PERSON</b>  charge by person<br>            \n            <b>Required</b> when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Minimum required for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Maximum capacity for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Minimum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n     \
        \   <td>to</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Maximum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>itemUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Pricing Item UUID<br>\n            Available when charge type is <b>ITEM</b><br>\n            Leave it empty when create a new item\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Pricing Item Name<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>cost</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Cost</td>\n    </tr>\n    <tr>\n        <td>originalPrice</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Original Price</td>\n     </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Price</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pricing Policy
      parameters:
      - name: pricePolicyUuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              currency: USD
              label: Day Tour - Weekend departures
              type: PERSON
              config:
              - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                cost: 38.99
                originalPrice: 38.99
                price: 38.99
                seat: 1
                isGroup: 0
                from: 3
                to: 80
              - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                cost: 6.8
                originalPrice: 6.8
                price: 6.8
                seat: 0
                isGroup: 0
                from: 0
                to: 2
            schema:
              type: object
              properties:
                currency:
                  type: string
                label:
                  type: string
                type:
                  type: string
                config:
                  type: array
                  items:
                    type: object
                    properties:
                      identityUuid:
                        type: string
                      cost:
                        type: number
                      originalPrice:
                        type: number
                      price:
                        type: number
                      seat:
                        type: number
                      isGroup:
                        type: number
                      from:
                        type: number
                      to:
                        type: number
                    required:
                    - identityUuid
                    - cost
                    - originalPrice
                    - price
                    - seat
                    - isGroup
                    - from
                    - to
  /v1/setting/feeNdTax:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            type:
                              type: string
                            currencyUuid:
                              type: string
                            charge:
                              type: number
                            rule:
                              type: string
                            included:
                              type: number
                            bindingProductCnt:
                              type: number
                          required:
                          - uuid
                          - label
                          - type
                          - currencyUuid
                          - charge
                          - rule
                          - included
                          - bindingProductCnt
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 2
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: b350744d-2639-49d0-be0e-d05a6d524fbf
                    label: Service fee
                    type: FEE
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    charge: 10
                    rule: PERCENTAGE-ORDER
                    included: 0
                    bindingProductCnt: 0
                  - uuid: 2dbe92c2-bf7c-46f8-9566-30e313368124
                    label: Invoice Tax
                    type: TAX
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    charge: 5
                    rule: PERCENTAGE-ORDER
                    included: 1
                    bindingProductCnt: 1
      summary: List Tax & Fees
      operationId: get-v1-setting-feeNdTax
      description: "<a name=\"home-setting-fee-tax\" />List all existing tax or fee items. Filters such as currency are available.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/feeNdTax</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Query string\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Type<br>\n            <b>TAX</b>  Tax, i.e., invoice tax<br>\n            <b>FEE</b>  Fee, i.e., service fee\n        </td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-tax-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-tax-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#list-tax-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-tax-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Tax & Fees Item UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Type<br>\n            <b>TAX</b>  Tax, i.e., invoice tax<br>\n            <b>FEE</b>  Fee, i.e., service fee\n        </td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>Amount or percentage<br>\n        Example: 50%, charge = 50 AND rule = 'PERCENTAGE-ORDER'</td>\n    </tr>\n    <tr>\n        <td>rule</td>\n        <td>string</td>\n\
        \        <td>Rate rule<br>\n            <b>PERCENTAGE-ORDER</b>  Percentage of order total amount (%)<br>\n            <b>FIXED-HEAD</b>  Fix amount per person<br>\n            <b>FIXED-ORDER</b>  Fix amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>included</td>\n        <td>int</td>\n        <td>Does price include this tax or fee?<br>\n        <b>1</b>  included<br>\n        <b>0</b>  excluded (it will be added to the order during the booking process)\n        </td>\n    </tr>\n    <tr>\n        <td>bindingProductCnt</td>\n        <td>int</td>\n        <td>Used products</td>\n    </tr>\n</table>"
      tags:
      - Setting - Tax & Fees
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: type
        in: query
        description: ''
        schema:
          type: string
          enum:
          - FEE
          - TAX
      - name: currency
        in: query
        description: ''
        schema:
          type: string
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 2dbe92c2-bf7c-46f8-9566-30e313368124
      summary: Create Tax or Fees
      operationId: post-v1-setting-feeNdTax
      description: "Create a new tax or fee item\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/feeNdTax</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Type<br>\n            <b>TAX</b>  Tax, i.e., invoice tax<br>\n            <b>FEE</b>  Fee, i.e., service fee\n        </td>\n    </tr>\n    <tr>\n        <td>rule</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Rate rule<br>\n            <b>PERCENTAGE-ORDER</b>  Percentage of order total amount (%)<br>\n            <b>FIXED-HEAD</b>  Fix amount per person<br>\n            <b>FIXED-ORDER</b>  Fix amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND rule = 'PERCENTAGE-ORDER'\n        </td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>included</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Does price include this tax or fee?<br>\n        <b>1</b>  included<br>\n        <b>0</b>  excluded (it will be added to the order during the booking process)\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-tax-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-tax-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Tax & Fees item UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Tax & Fees
      requestBody:
        content:
          application/json:
            example:
              label: Invoice Tax
              type: TAX
              charge: 5
              currency: TWD
              included: 1
              rule: PERCENTAGE-ORDER
            schema:
              type: object
              properties:
                label:
                  type: string
                type:
                  type: string
                charge:
                  type: number
                currency:
                  type: string
                included:
                  type: number
                rule:
                  type: string
  /v1/setting/feeNdTax/{feeNdTaxUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      type:
                        type: string
                      charge:
                        type: number
                      currencyUuid:
                        type: string
                      included:
                        type: number
                      rule:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 2dbe92c2-bf7c-46f8-9566-30e313368124
                  label: Invoice Tax
                  type: TAX
                  charge: 5
                  currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                  included: 1
                  rule: PERCENTAGE-ORDER
      summary: Get Tax & Fees
      operationId: get-v1-setting-feeNdTax-feeNdTaxUuid
      description: "Load an existing tax or fee data by feeNdTaxUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/feeNdTax/{feeNdTaxUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>feeNdTaxUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Tax & Fees UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-tax-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-tax-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Tax & Fees item UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n         <td>Type<br>\n            <b>TAX</b>  Tax, i.e., invoice tax<br>\n            <b>FEE</b>  Fee, i.e., service fee\n        </td>\n    </tr>\n    <tr>\n        <td>rule</td>\n        <td>string</td>\n        <td>Rate rule<br>\n            <b>PERCENTAGE-ORDER</b>  Percentage of order total amount (%)<br>\n            <b>FIXED-HEAD</b>  Fix amount per person<br>\n            <b>FIXED-ORDER</b>  Fix amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND rule = 'PERCENTAGE-ORDER'\n        </td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>included</td>\n        <td>int</td>\n        <td>Does price include this tax or fee?<br>\n        <b>1</b>  included<br>\n        <b>0</b>  excluded (it will be added to the order during the booking process)\n        </td>\n    </tr>\n</table>"
      tags:
      - Setting - Tax & Fees
      parameters:
      - name: feeNdTaxUuid
        in: path
        description: ''
        required: true
        example: 2dbe92c2-bf7c-46f8-9566-30e313368124
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Tax or Fees
      operationId: put-v1-setting-feeNdTax-feeNdTaxUuid
      description: "Update a tax or fee item by feeNdTaxUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/feeNdTax/{feeNdTaxUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>feeNdTaxUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Tax & Fees item UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Type<br>\n            <b>TAX</b>  Tax, i.e., invoice tax<br>\n            <b>FEE</b>  Fee, i.e., service fee\n        </td>\n    </tr>\n    <tr>\n        <td>rule</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Rate rule<br>\n            <b>PERCENTAGE-ORDER</b>  Percentage of order total amount (%)<br>\n            <b>FIXED-HEAD</b>  Fix amount per person<br>\n            <b>FIXED-ORDER</b>  Fix amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND rule = 'PERCENTAGE-ORDER'\n        </td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>included</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Does price include this tax or fee?<br>\n        <b>1</b>  included<br>\n        <b>0</b>  excluded (it will be added to the order during the booking process)\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Tax & Fees
      parameters:
      - name: feeNdTaxUuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              label: Service fee
              type: FEE
              charge: 12
              currency: USD
              included: 0
              rule: PERCENTAGE-ORDER
            schema:
              type: object
              properties:
                label:
                  type: string
                type:
                  type: string
                charge:
                  type: number
                currency:
                  type: string
                included:
                  type: number
                rule:
                  type: string
  /v1/setting/cancelPolicy:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            currencyUuid:
                              type: string
                            policyRule:
                              type: array
                              items:
                                type: object
                                properties:
                                  from:
                                    type: number
                                  to:
                                    type: number
                                  periodUnit:
                                    type: string
                                  charge:
                                    type: number
                                  unit:
                                    type: string
                                required:
                                - from
                                - to
                                - periodUnit
                                - charge
                                - unit
                            bindingProductCnt:
                              type: number
                            currency:
                              type: string
                          required:
                          - uuid
                          - label
                          - currencyUuid
                          - policyRule
                          - bindingProductCnt
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 1
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: 0a615273-be4d-4fd7-9260-77188f81e74b
                    label: Non-refundable
                    currencyUuid: ''
                    policyRule:
                    - from: -1
                      to: -1
                      periodUnit: DAY
                      charge: 100
                      unit: PERCENTAGE
                    bindingProductCnt: 0
                  - uuid: b95838ed-4942-4250-8a05-5183be475b58
                    label: Full refund
                    currencyUuid: ''
                    policyRule:
                    - from: -1
                      to: -1
                      periodUnit: DAY
                      charge: 0
                      unit: PERCENTAGE
                    bindingProductCnt: 0
                  - uuid: 301646a7-3547-4fe9-bb50-a3c3860d895f
                    label: Day Tour Cancel Rule
                    currency: USD
                    policyRule:
                    - from: 33
                      to: -1
                      periodUnit: DAY
                      charge: 0
                      unit: PERCENTAGE
                    - from: 23
                      to: 33
                      periodUnit: DAY
                      charge: 20
                      unit: PERCENTAGE
                    - from: 16
                      to: 23
                      periodUnit: DAY
                      charge: 30
                      unit: PERCENTAGE
                    - from: 4
                      to: 16
                      periodUnit: DAY
                      charge: 50
                      unit: PERCENTAGE
                    - from: -1
                      to: 4
                      periodUnit: DAY
                      charge: 100
                      unit: PERCENTAGE
                    bindingProductCnt: 1
      summary: List Cancellation Policy
      operationId: get-v1-setting-cancelPolicy
      description: "<a name=\"home-setting-cancel\" />List all existing cancellation policies. Filters such as currency are available.<br>\nRezio provides 2 pre-defined settings: `Non-refundable` and `Full refund`\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/cancelPolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Query string\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-cancel-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-cancel-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Cancel policy data, check<a href=\"#list-cancel-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-cancel-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Cancel Policy UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>policyRule</td>\n        <td><b>array</b></td>\n        <td>The rule of cancellation policy, check<a href=\"#cancel-policy-list\"> policyRule </a> for details</td>\n    </tr>\n    <tr>\n        <td>bindingProductCnt</td>\n        <td>int</td>\n        <td>Used products</td>\n    </tr>\n</table>\n\n##### <a name=\"cancel-policy-list\" />*policyRule*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Rule\
        \ start time<br>\n            Start time is included. Example: 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 4, \"to\":-1</b> and the 4th day applied.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Rule end time<br>\n            End time is excluded. Example: 2 ~ 4 day(s) with 20%/ 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 2, \"to\":4</b> and the 4th day applied to 10%.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime            \n        </td>\n    </tr>\n    <tr>\n        <td>periodUnit</td>\n        <td>string</td>\n        <td>Rule period unit<br>\n            <b>DAY</b>  Day<br>\n            <b>HOUR</b>  Hour\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND unit = 'PERCENTAGE'\n        </td>\n    </tr>\n    <tr>\n        <td>unit</td>\n        <td>string</td>\n        <td>Charge unit<br>\n            <b>PERCENTAGE</b>  Percentage of order total amount<br>\n            <b>FIXED</b>  Fix amount\n        </td>\n    </tr> \n</table>"
      tags:
      - Setting - Cancellation Policy
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: currency
        in: query
        description: ''
        example: TWD
        schema:
          type: string
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 301646a7-3547-4fe9-bb50-a3c3860d895f
      summary: Create Cancellation Policy
      operationId: post-v1-setting-cancelPolicy
      description: "Create a new cancellation policy\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/cancelPolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>policyRule</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Cancel policy rule, check<a href=\"#cancel-policy-add\"> policyRule </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"cancel-policy-add\" />*policyRule*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Rule start time<br>\n            Start time is included. Example: 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 4, \"to\":-1</b> and the 4th day applied.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Rule end time<br>\n            End time is excluded. Example: 2 ~ 4 day(s) with 20%/ 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 2, \"to\":4</b> and the 4th day applied to 10%.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime            \n        </td>\n    </tr>\n    <tr>\n        <td>periodUnit</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Rule period unit<br>\n            <b>DAY</b>  Day<br>\n            <b>HOUR</b>  Hour\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND unit = 'PERCENTAGE'\n        </td>\n    </tr>\n    <tr>\n        <td>unit</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Charge unit<br>\n            <b>PERCENTAGE</b>  Percentage of order total amount<br>\n            <b>FIXED</b>  Fix amount\n        </td>\n    </tr> \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-cancel-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-cancel-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n\
        \        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Cancel Policy UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Cancellation Policy
      requestBody:
        content:
          application/json:
            example:
              label: Day Tour Cancel Rule
              currency: TWD
              policyRule:
              - from: 33
                to: -1
                periodUnit: DAY
                charge: 0
                unit: PERCENTAGE
              - from: 23
                to: 33
                periodUnit: DAY
                charge: 20
                unit: PERCENTAGE
              - from: 16
                to: 23
                periodUnit: DAY
                charge: 30
                unit: PERCENTAGE
              - from: 4
                to: 16
                periodUnit: DAY
                charge: 50
                unit: PERCENTAGE
              - from: -1
                to: 4
                periodUnit: DAY
                charge: 100
                unit: PERCENTAGE
            schema:
              type: object
              properties:
                label:
                  type: string
                currency:
                  type: string
                policyRule:
                  type: array
                  items:
                    type: object
                    properties:
                      from:
                        type: number
                      to:
                        type: number
                      periodUnit:
                        type: string
                      charge:
                        type: number
                      unit:
                        type: string
                    required:
                    - from
                    - to
                    - periodUnit
                    - charge
                    - unit
  /v1/setting/cancelPolicy/{cancelPolicyUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      currencyUuid:
                        type: string
                      policyRule:
                        type: array
                        items:
                          type: object
                          properties:
                            from:
                              type: number
                            to:
                              type: number
                            periodUnit:
                              type: string
                            charge:
                              type: number
                            unit:
                              type: string
                          required:
                          - from
                          - to
                          - periodUnit
                          - charge
                          - unit
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 301646a7-3547-4fe9-bb50-a3c3860d895f
                  label: Day Tour Cancel Rule
                  currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                  policyRule:
                  - from: 33
                    to: -1
                    periodUnit: DAY
                    charge: 0
                    unit: PERCENTAGE
                  - from: 23
                    to: 33
                    periodUnit: DAY
                    charge: 20
                    unit: PERCENTAGE
                  - from: 16
                    to: 23
                    periodUnit: DAY
                    charge: 30
                    unit: PERCENTAGE
                  - from: 4
                    to: 16
                    periodUnit: DAY
                    charge: 50
                    unit: PERCENTAGE
                  - from: -1
                    to: 4
                    periodUnit: DAY
                    charge: 100
                    unit: PERCENTAGE
      summary: Get Cancellation Policy
      operationId: get-v1-setting-cancelPolicy-cancelPolicyUuid
      description: "Load an existing cancellation policy by cancelPolicyUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/cancelPolicy/{cancelPolicyUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>cancelPolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Cancel Policy UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-cancel-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-cancel-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Cancel Policy UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>policyRule</td>\n        <td><b>array</b></td>\n        <td>Cancel policy rule, check<a href=\"#cancel-policy-detail\"> policyRule </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"cancel-policy-detail\" />*policyRule*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Rule start time<br>\n            Start time is included. Example: 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 4, \"to\":-1</b> and the 4th day applied.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Rule end time<br>\n            End time is excluded. Example: 2 ~ 4 day(s) with 20%/ 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 2, \"to\":4</b> and the 4th day applied to 10%.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime            \n        </td>\n    </tr>\n    <tr>\n        <td>periodUnit</td>\n        <td>string</td>\n        <td>Rule period unit<br>\n            <b>DAY</b>  Day<br>\n            <b>HOUR</b>  Hour\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND unit = 'PERCENTAGE'\n        </td>\n    </tr>\n    <tr>\n        <td>unit</td>\n        <td>string</td>\n        <td>Charge unit<br>\n            <b>PERCENTAGE</b>  Percentage of order total amount<br>\n            <b>FIXED</b>  Fix amount\n        </td>\n    </tr> \n</table>"
      tags:
      - Setting - Cancellation Policy
      parameters:
      - name: cancelPolicyUuid
        in: path
        description: ''
        required: true
        example: 301646a7-3547-4fe9-bb50-a3c3860d895f
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Cancellation Policy
      operationId: put-v1-setting-cancelPolicy-cancelPolicyUuid
      description: "Update a cancellation policy by cancelPolicyUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/cancelPolicy/{cancelPolicyUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>cancelPolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Cancel Policy UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>policyRule</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Cancel policy rule, check<a href=\"#cancel-policy-edit\"> policyRule </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"cancel-policy-edit\" />*policyRule*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Rule start time<br>\n            Start time is included. Example: 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 4, \"to\":-1</b> and the 4th day applied.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Rule end time<br>\n            End time is excluded. Example: 2 ~ 4 day(s) with 20%/ 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 2, \"to\":4</b> and the 4th day applied to 10%.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime            \n        </td>\n    </tr>\n    <tr>\n        <td>periodUnit</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Rule period unit<br>\n            <b>DAY</b>  Day<br>\n            <b>HOUR</b>  Hour\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND unit = 'PERCENTAGE'\n        </td>\n    </tr>\n    <tr>\n        <td>unit</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Charge unit<br>\n            <b>PERCENTAGE</b>  Percentage of order total amount<br>\n            <b>FIXED</b>  Fix amount\n        </td>\n    </tr> \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n\
        \        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Cancellation Policy
      parameters:
      - name: cancelPolicyUuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              label: Day Tour Cancel Rule
              currency: TWD
              policyRule:
              - from: 33
                to: -1
                periodUnit: DAY
                charge: 0
                unit: PERCENTAGE
              - from: 28
                to: 33
                periodUnit: DAY
                charge: 10
                unit: PERCENTAGE
              - from: 23
                to: 28
                periodUnit: DAY
                charge: 20
                unit: PERCENTAGE
              - from: 16
                to: 23
                periodUnit: DAY
                charge: 30
                unit: PERCENTAGE
              - from: 4
                to: 16
                periodUnit: DAY
                charge: 50
                unit: PERCENTAGE
              - from: -1
                to: 4
                periodUnit: DAY
                charge: 100
                unit: PERCENTAGE
            schema:
              type: object
              properties:
                label:
                  type: string
                currency:
                  type: string
                policyRule:
                  type: array
                  items:
                    type: object
                    properties:
                      from:
                        type: number
                      to:
                        type: number
                      periodUnit:
                        type: string
                      charge:
                        type: number
                      unit:
                        type: string
                    required:
                    - from
                    - to
                    - periodUnit
                    - charge
                    - unit
  /v1/setting/depositPolicy:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            currencyUuid:
                              type: string
                            policyType:
                              type: number
                            handlingCharge:
                              type: number
                            dueDays:
                              type: number
                            allowMinAlarm:
                              type: number
                            allowFullAmountPay:
                              type: number
                            bindingProductCnt:
                              type: number
                          required:
                          - uuid
                          - label
                          - currencyUuid
                          - policyType
                          - handlingCharge
                          - dueDays
                          - allowMinAlarm
                          - allowFullAmountPay
                          - bindingProductCnt
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 1
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: 18668dda-1a26-49c4-aea9-253eab173a7c
                    label: No charge
                    currencyUuid: ''
                    policyType: 1
                    handlingCharge: 0
                    dueDays: 0
                    allowMinAlarm: 0
                    allowFullAmountPay: 0
                    bindingProductCnt: 0
                  - uuid: b309eb3a-15cb-4ddb-8938-2f01b667840f
                    label: Full amount
                    currencyUuid: ''
                    policyType: 1
                    handlingCharge: 100
                    dueDays: 0
                    allowMinAlarm: 0
                    allowFullAmountPay: 0
                    bindingProductCnt: 1
                  - uuid: 4a957d29-f796-4f6c-8076-a4f6d6f05c4e
                    label: Day Tour $100 Deposit per person
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    policyType: 2
                    handlingCharge: 100
                    dueDays: 3
                    allowMinAlarm: 1
                    allowFullAmountPay: 0
                    bindingProductCnt: 0
      summary: List Deposit Policy
      operationId: get-v1-setting-depositPolicy
      description: "<a name=\"home-setting-deposit\" />List all existing deposit policies. Filters like currency are available.<br>\nRezio provides 2 pre-defined settings: `No charge` (customer can do reservation without prepayment), and `Full amount` (customer needs to prepay the full amount to submit a reservation).\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/depositPolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Query string\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Deposit policy data, check<a href=\"#data-deposit-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-deposit-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Deposit policy data, check<a href=\"#list-deposit-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-deposit-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Deposit Policy UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>policyType</td>\n        <td>int</td>\n        <td>Deposit policy type<br>\n            <b>1</b>  Percentage of order total amount (%)<br>\n            <b>2</b>  Fixed amount per person<br>\n            <b>3</b>  Fixed amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>handlingCharge</td>\n        <td>number</td>\n        <td>Amount or percentage<br>\n        Example: 50%, handlingCharge =\
        \ 50 AND policyType = 1\n        </td>\n    </tr>\n    <tr>\n        <td>allowMinAlarm</td>\n        <td>int</td>\n        <td>Do you need to setup the deposit cut-off date?<br>\n            <b>1</b>  Yes, thus <b>dueDays</b> is available<br>\n            <b>0</b>  No\n        </td>\n    </tr>\n    <tr>\n        <td>dueDays</td>\n        <td>int</td>\n        <td>The cut-off days of deposit policy<br>\n            Only available when <b>allowMinAlarm = 1</b><br>\n            Example, <b>dueDays = 2</b> indicates deposit policy is applicable two days before the departure date. Within two days, full amount payment is essential.\n        </td>\n    </tr>\n    <tr>\n        <td>allowFullAmountPay</td>\n        <td>int</td>\n        <td>Do you accept customer to pay full amount when deposit policy applied?<br>\n            <b>1</b>  Accepted, customer can pay full amount<br>\n            <b>0</b>  Not accepted, thus customer can only pay deposit when they do the online booking.\n        </td>\n    </tr> \n    <tr>\n        <td>bindingProductCnt</td>\n        <td>int</td>\n        <td>Used products</td>\n    </tr>\n</table>"
      tags:
      - Setting - Deposit Policy
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: currency
        in: query
        description: ''
        schema:
          type: string
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 4a957d29-f796-4f6c-8076-a4f6d6f05c4e
      summary: Create Deposit Policy
      operationId: post-v1-setting-depositPolicy
      description: "Create a new deposit policy\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/depositPolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>policyType</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Deposit policy type<br>\n            <b>1</b>  Percentage of order total amount (%)<br>\n            <b>2</b>  Fixed amount per person<br>\n            <b>3</b>  Fixed amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>handlingCharge</td>\n        <td>number</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Amount or percentage<br>\n        Example: 50%, handlingCharge = 50 AND policyType = 1\n        </td>\n    </tr>\n    <tr>\n        <td>allowMinAlarm</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Do you need to setup the deposit cut-off date?<br>\n            <b>1</b>  Yes, thus <b>dueDays</b> is available<br>\n            <b>0</b>  No\n        </td>\n    </tr>\n    <tr>\n        <td>dueDays</td>\n        <td>int</td>\n        <td>-</td>        \n        <td>-</td>\n        <td>The cut-off days of deposit policy<br>\n            Only available when <b>allowMinAlarm = 1</b><br>\n            Example: <b>dueDays = 2</b> indicates that deposit policy is appliable two days before the depatured date. Within two days, full amount payment is essential.\n        </td>\n    </tr>\n    <tr>\n        <td>allowFullAmountPay</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Do you accept customer to pay full amount when deposit policy applied?<br>\n            <b>1</b>  Accepted, customer can pay full amount<br>\n            <b>0</b>  Not accepted, thus customer can only pay deposit when they do the online booking.\n        </td>\n    </tr>     \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Deposit policy data, check<a href=\"#data-deposit-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-deposit-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Deposit Policy UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Deposit Policy
      requestBody:
        content:
          application/json:
            example:
              label: Day Tour $100 Deposit per person
              currency: USD
              policyType: 2
              handlingCharge: 100
              allowFullAmountPay: 0
              allowMinAlarm: 1
              dueDays: 3
            schema:
              type: object
              properties:
                label:
                  type: string
                currency:
                  type: string
                policyType:
                  type: number
                handlingCharge:
                  type: number
                allowFullAmountPay:
                  type: number
                allowMinAlarm:
                  type: number
                dueDays:
                  type: number
  /v1/setting/depositPolicy/{depositPolicyUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      currencyUuid:
                        type: string
                      policyType:
                        type: number
                      handlingCharge:
                        type: number
                      allowFullAmountPay:
                        type: number
                      allowMinAlarm:
                        type: number
                      dueDays:
                        type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 4a957d29-f796-4f6c-8076-a4f6d6f05c4e
                  label: Day Tour $100 Deposit per person
                  currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                  policyType: 2
                  handlingCharge: 100
                  allowFullAmountPay: 0
                  allowMinAlarm: 1
                  dueDays: 3
      summary: Get Deposit Policy
      operationId: get-v1-setting-depositPolicy-depositPolicyUuid
      description: "Load an existing deposit policy by depositPolicyUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/depositPolicy/{depositPolicyUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>depositPolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Deposit Policy UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Deposit policy data, check<a href=\"#data-deposit-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-deposit-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Deposit Policy UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>policyType</td>\n        <td>int</td>\n        <td>Deposit policy type<br>\n            <b>1</b>  Percentage of order total amount (%)<br>\n            <b>2</b>  Fixed amount per person<br>\n            <b>3</b>  Fixed amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>handlingCharge</td>\n        <td>number</td>\n        <td>Amount or percentage<br>\n        Example: 50%, handlingCharge = 50 AND policyType = 1\n        </td>\n    </tr>\n    <tr>\n        <td>allowMinAlarm</td>\n        <td>int</td>\n        <td>Do you need to setup the deposit cut-off date?<br>\n            <b>1</b>  Yes, thus <b>dueDays</b> is available<br>\n            <b>0</b>  No\n        </td>\n    </tr>\n    <tr>\n        <td>dueDays</td>\n        <td>int</td>\n        <td>The cut-off days of deposit policy<br>\n            Only available when <b>allowMinAlarm = 1</b><br>\n            Example: <b>dueDays = 2</b> indicates that deposit policy is appliable two days before the depatured date. Within two days, full amount payment is essential.\n        </td>\n    </tr>\n    <tr>\n        <td>allowFullAmountPay</td>\n        <td>int</td>\n        <td>Do you accept customer to pay full amount when deposit policy applied?<br>\n            <b>1</b>  Accepted, customer can pay full amount<br>\n            <b>0</b>  Not accepted, thus customer can only pay deposit when they do the online booking.\n        </td>\n    </tr>    \n</table>"
      tags:
      - Setting - Deposit Policy
      parameters:
      - name: depositPolicyUuid
        in: path
        description: ''
        required: true
        example: 4a957d29-f796-4f6c-8076-a4f6d6f05c4e
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Deposit Policy
      operationId: put-v1-setting-depositPolicy-depositPolicyUuid
      description: "Update a deposit policy by depositPolicyUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/depositPolicy/{depositPolicyUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>depositPolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Deposit Policy UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>policyType</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Deposit policy type<br>\n            <b>1</b>  Percentage of order total amount (%)<br>\n            <b>2</b>  Fixed amount per person<br>\n            <b>3</b>  Fixed amount per order\n        </td>\n    </tr>\n    <tr>\n        <td>handlingCharge</td>\n        <td>number</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Amount or percentage<br>\n        Example: 50%, handlingCharge = 50 AND policyType = 1\n        </td>\n    </tr>\n    <tr>\n        <td>allowMinAlarm</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Do you need to setup the deposit cut-off date?<br>\n            <b>1</b>  Yes, thus <b>dueDays</b> is available<br>\n            <b>0</b>  No\n        </td>\n    </tr>\n    <tr>\n        <td>dueDays</td>\n        <td>int</td>\n        <td>-</td>        \n        <td>-</td>\n        <td>The cut-off days of deposit policy<br>\n            Only available when <b>allowMinAlarm = 1</b><br>\n            Example: <b>dueDays = 2</b> indicates that deposit policy is appliable two days before the depatured date. Within two days, full amount payment is essential.\n        </td>\n    </tr>\n    <tr>\n        <td>allowFullAmountPay</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Do you accept customer to pay full amount when deposit policy applied?<br>\n            <b>1</b>  Accepted, customer can pay full amount<br>\n            <b>0</b>  Not accepted, thus customer can only pay deposit when they do the online booking.\n        </td>\n    </tr> \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Deposit Policy
      parameters:
      - name: depositPolicyUuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              label: Day Tour $100 Deposit per person
              currency: USD
              policyType: 2
              handlingCharge: 90
              allowFullAmountPay: 0
              allowMinAlarm: 1
              dueDays: 2
            schema:
              type: object
              properties:
                label:
                  type: string
                currency:
                  type: string
                policyType:
                  type: number
                handlingCharge:
                  type: number
                allowFullAmountPay:
                  type: number
                allowMinAlarm:
                  type: number
                dueDays:
                  type: number
  /v1/setting/bookingInfo:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            bindingProductCnt:
                              type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 1
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: 5dfa699c-bfe8-44f7-b7cb-3a53dbc423a1
                    label: Booking Data for Day Tour
                    bindingProductCnt: 1
      summary: List Booking Information
      operationId: get-v1-setting-bookingInfo
      description: "<a name=\"home-setting-booking-info\" />List all existing booking information. Filters like label name are available. This information is the required customer data. Example: passport number, shoe size, etc. Rezio provides customized booking information, so you can customize it and apply it to any product.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/bookingInfo</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Query string\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-bkinfo-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-bkinfo-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Booking information data, check<a href=\"#list-bkinfo-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-bkinfo-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Booking information rule UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name of Booking information rule</td>\n    </tr>\n    <tr>\n        <td>bindingProductCnt</td>\n        <td>int</td>\n        <td>Used products</td>\n    </tr>\n</table>"
      tags:
      - Setting - Booking Information
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 5dfa699c-bfe8-44f7-b7cb-3a53dbc423a1
      summary: Create Booking Information
      operationId: post-v1-setting-bookingInfo
      description: "Create new booking information\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/bookingInfo</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>-</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(300)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>setting</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Field setting<br>\n        Check<a href=\"#setting-bkinfo-add\"> setting </a> via <a href=\"#home-setting-booking-field\">List Booking Field</a> for details<br>\n            <b>Required field when field type = contact</b>, ask and display will be overwritten.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"setting-bkinfo-add\" />*setting*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Booking Field UUID<br>\n            Please check <a href=\"#home-setting-booking-field\">/v1/setting/bookingField</a> to get UUID and more details.\n        </td>\n    </tr>\n   <tr>\n        <td>category</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Booking filed category<br>\n        Check <a href=\"#home-setting-booking-field\">/v1/setting/bookingField</a> to get UUID<br> \n        <b>Please make sure the booking field UUID and category were matched according to <a href=\"#home-setting-booking-field\">/v1/setting/bookingField</a><b>\n        </td>\n    </tr>\n    <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Configuation or options for display usage, check<a href=\"#config-bkinfo-add\"> config </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"config-bkinfo-add\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>values</td>\n        <td><b>array</b></td>\n        <td>Values<br>\n            Available when <b>type = shoe</b>, check<a href=\"#shoe-bkinfo-add\"> shoe </a>for details\n        </td>          \n    </tr>\n    <tr>\n        <td>ask</td>\n        <td>int</td>\n        <td>Ask for everyone's data?<br>\n            <b>1</b> Ask once per order<br>\n            <b>2</b> Ask for everyone\n        </td>\n    </tr>\n    <tr>\n        <td>display</td>\n        <td><b>object</b></td>\n        <td>Display option<br>\n            Check<a href=\"#display-bkinfo-add\"> display </a>for details<br>\n            Note: The order created by Rezio API will be considered as <b>website</b>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"shoe-bkinfo-add\" />*shoe*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Shoes type<br>\n            <b>Man</b><br>\n            <b>Woman</b><br>\n            <b>Kid</b>\n        </td>        \n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>The smallest size<br>\n            Check<a href=\"#shoe-config-booking-field\"> shoe </a> via <a href=\"#home-setting-booking-field\">List Booking Field</a> to get available sizes.\n        </td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n    \
        \    <td>The largest size<br>\n            Check<a href=\"#shoe-config-booking-field\"> shoe </a> via <a href=\"#home-setting-booking-field\">List Booking Field</a> to get available sizes.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"display-bkinfo-add\" />*display*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>website</td>\n        <td>int</td>\n        <td>Is required on website?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required<br>\n            Check <a href=\"#display-bkinfo-edit\">config/display/website</a> via <a href=\"#home-setting-booking-field\"> List Booking Field </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>internal</td>\n        <td>int</td>\n        <td>Is required on internal order (via Rezio Admin)?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required<br>\n            Check <a href=\"#display-bkinfo-edit\">config/display/internal</a> via <a href=\"#home-setting-booking-field\"> List Booking Field </a>for details            \n        </td>\n    </tr>    \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-bkinfo-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-bkinfo-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Booking information UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Booking Information
      requestBody:
        content:
          application/json:
            example:
              label: Booking Data for Day Tour
              setting:
              - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 1
              - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 2
              - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 2
              - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 2
              - uuid: 57035281-8a2a-4c76-8a44-f9cfa3117654
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: b13428d9-b9ff-473c-a612-66b6637221ed
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 10662538-eef3-4171-9972-41300fa473d9
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 251a6a27-7fbc-4411-83ec-dfd1e9b93b1b
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 4e34479f-fe84-4bd3-a443-bbd7df182537
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 96e58831-e2df-453b-8a6e-4fd74da1dd64
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 496a769e-ad54-48b3-a5eb-0a5c8b83395f
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 790ebdf2-7b60-4d02-851d-7c7a680f172b
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: c570a05e-31dc-4f1c-9669-9facb038ea2e
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 3f61ae81-2738-46dd-a83d-b09bc596d763
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 9665763e-7476-470a-9a65-a0bd3e062813
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 8b2432a9-d76f-48aa-8eca-2e56a13ba6cd
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 0
              - uuid: 133786cb-0c16-4ccd-bbd8-5c6d01077e2f
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 0
              - uuid: 4646dc1b-9e03-47ab-b438-cddc40904fba
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 0
              - uuid: 3d7db803-2456-427b-9969-5b1c5d19ce3b
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 0
              - uuid: 6803a26b-4a15-435f-8b2a-b965c6657244
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 0
              - uuid: ba1b6736-2d5e-4987-8863-ed283a706a32
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 0
              - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
            schema:
              type: object
              properties:
                label:
                  type: string
                setting:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      category:
                        type: string
                      config:
                        type: object
                        properties:
                          values:
                            type: array
                            items: {}
                          ask:
                            type: number
                          display:
                            type: object
                            properties:
                              website:
                                type: number
                              internal:
                                type: number
                    required:
                    - uuid
                    - category
                    - config
  /v1/setting/bookingInfo/{bookingInfoUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      fields:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            category:
                              type: string
                            label:
                              type: string
                            type:
                              type: string
                            config:
                              type: object
                              properties:
                                values:
                                  type: array
                                  items: {}
                                ask:
                                  type: number
                                display:
                                  type: object
                                  properties:
                                    website:
                                      type: number
                                    internal:
                                      type: number
                          required:
                          - uuid
                          - category
                          - label
                          - type
                          - config
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 5dfa699c-bfe8-44f7-b7cb-3a53dbc423a1
                  label: Booking Data for Day Tour
                  fields:
                  - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                    category: contact
                    label: First Name
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                  - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                    category: contact
                    label: Last Name
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                  - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                    category: contact
                    label: Email
                    type: email
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                  - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                    category: contact
                    label: Mobile
                    type: phone
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                  - uuid: 57035281-8a2a-4c76-8a44-f9cfa3117654
                    category: contact
                    label: Phone
                    type: phone
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: b13428d9-b9ff-473c-a612-66b6637221ed
                    category: contact
                    label: Fax
                    type: phone
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 10662538-eef3-4171-9972-41300fa473d9
                    category: contact
                    label: Gender
                    type: select
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 251a6a27-7fbc-4411-83ec-dfd1e9b93b1b
                    category: contact
                    label: Date of Birth
                    type: date
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 4e34479f-fe84-4bd3-a443-bbd7df182537
                    category: contact
                    label: Preferred Language
                    type: language
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 96e58831-e2df-453b-8a6e-4fd74da1dd64
                    category: contact
                    label: Company Name
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 496a769e-ad54-48b3-a5eb-0a5c8b83395f
                    category: contact
                    label: Country/Territory
                    type: country
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 790ebdf2-7b60-4d02-851d-7c7a680f172b
                    category: contact
                    label: State/County/Region
                    type: state
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: c570a05e-31dc-4f1c-9669-9facb038ea2e
                    category: contact
                    label: City/Town/Suburb
                    type: city
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 3f61ae81-2738-46dd-a83d-b09bc596d763
                    category: contact
                    label: Postcode/ZIP
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 9665763e-7476-470a-9a65-a0bd3e062813
                    category: contact
                    label: Address
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                  - uuid: 8b2432a9-d76f-48aa-8eca-2e56a13ba6cd
                    category: contact
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 0
                  - uuid: 133786cb-0c16-4ccd-bbd8-5c6d01077e2f
                    category: contact
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 0
                  - uuid: 4646dc1b-9e03-47ab-b438-cddc40904fba
                    category: contact
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 0
                  - uuid: 3d7db803-2456-427b-9969-5b1c5d19ce3b
                    category: contact
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 0
                  - uuid: 6803a26b-4a15-435f-8b2a-b965c6657244
                    category: contact
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 0
                  - uuid: ba1b6736-2d5e-4987-8863-ed283a706a32
                    category: contact
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 0
                  - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                    category: participant
                    label: First Name
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                  - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                    category: participant
                    label: Last Name
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                  - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                    category: participant
                    label: Gender
                    type: select
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                  - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                    category: participant
                    label: Date of Birth
                    type: date
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                  - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                    category: participant
                    label: Nationality
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                  - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                    category: participant
                    label: Passport number
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
      summary: Get Booking Information
      operationId: get-v1-setting-bookingInfo-bookingInfoUuid
      description: "Load an existing booking information by bookingInfoUuid. Rezio provides various pre-defined datasets, including Contact/Delivery/Participant/Dietary/Flight fields and you can customize fields.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/bookingInfo/{bookingInfoUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>bookingInfoUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Booking information UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Booking information data, check<a href=\"#data-bkinfo-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-bkinfo-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Booking information rule UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name of Booking information rule</td>\n    </tr>    \n    <tr>\n        <td>fields</td>\n        <td><b>array</b></td>\n        <td>Field data, check<a href=\"#field-bkinfo-detail\"> fields </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"field-bkinfo-detail\" />*fields*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Booking Field UUID\n        </td>\n    </tr>\n    <tr>\n        <td>category</td>\n        <td>string</td>\n        <td>Booking field category</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Display name of booking field</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Field type, available input style:<br>\n            <b>input</b>  One-line text field<br>\n            <b>multi-line</b>  Multi-lines text field<br>\n            <b>text</b>  Text area<br>\n            <b>inline</b>  inline field<br>\n            <b>select</b>  Options. Check <b>option</b> to get list<br>\n            <b>checkbox</b>  Checkbox, <b>1</b> checked; <b>0</b> un-checked<br>\n            <b>email</b>  Email field<br>\n            <b>phone</b>  Phone field. Format is <b>array</b>, includes country code/ phone number. Check  <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</a> iti </b> for country code value<br>\n            <b>date</b>  Date picker. Format is <b>YYYY-MM-DD</b><br>\n            <b>datetime</b>  Datetime picker. Format is <b>YYYY-MM-DD HH:II:SS</b><br>\n            <b>shoe</b>  Shoes options, shoe type: Man/Woman/Kid; option provides shoe sizes<br>\n            <b>country</b>   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</b></a> for details<br>\n            <b>state</b>   string, input address of State<br>\n            <b>city</b>   string, input address of City<br>\n            <b>language</b>\
        \   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=language</b></a> for details\n        </td> \n    </tr>\n     <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>Configuation or options for display usage, check<a href=\"#config-bkinfo-detail\"> config </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"config-bkinfo-detail\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>values</td>\n        <td><b>array</b></td>\n        <td>Values<br>\n            Available when <b>type = shoe/select</b><br>\n            Check <b>shoe</b>, check<a href=\"#shoe-bkinfo-detail\"> shoe/ select </a>for details\n        </td>        \n    </tr>\n    <tr>\n        <td>ask</td>\n        <td>int</td>\n        <td>Ask for everyone's data?<br>\n            <b>1</b> Ask once per order<br>\n            <b>2</b> Ask for everyone\n        </td>\n    </tr>\n    <tr>\n        <td>display</td>\n        <td><b>object</b></td>\n        <td>Display option<br>\n            Check<a href=\"#display-bkinfo-detail\"> display </a>for details<br>\n            Note: The order created by Rezio API will be considered as <b>website</b>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"shoe-bkinfo-detail\" />*shoe*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n         <td>Shoes type<br>\n            <b>Man</b><br>\n            <b>Woman</b><br>\n            <b>Kid</b>\n        </td>\n    </tr>\n    <tr>\n        <td>size</td>\n        <td><b>array</b></td>\n        <td>Shoe sizes</td>\n    </tr>\n</table>\n\n##### <a name=\"display-bkinfo-detail\" />*display*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>website</td>\n        <td>int</td>\n        <td>Is required on website?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required\n        </td>\n    </tr>\n    <tr>\n        <td>internal</td>\n        <td>int</td>\n        <td>Is required on internal order (via Rezio Admin)?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required\n        </td>\n    </tr>\n</table>"
      tags:
      - Setting - Booking Information
      parameters:
      - name: bookingInfoUuid
        in: path
        description: ''
        required: true
        example: 5dfa699c-bfe8-44f7-b7cb-3a53dbc423a1
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Booking Information
      operationId: put-v1-setting-bookingInfo-bookingInfoUuid
      description: "Update booking information by bookingInfoUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/bookingInfo</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>bookingInfoUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Booking information UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(300)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>setting</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Field setting<br>\n        Check<a href=\"#setting-bkinfo-edit\"> setting </a> via <a href=\"#home-setting-booking-field\">List Booking Field</a> for details<br>\n            <b>Required field when field type = contact</b>, ask and display will be overwritten.\n        </td>        \n    </tr>\n</table>\n\n##### <a name=\"setting-bkinfo-edit\" />*setting*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Booking field UUID<br>\n            Check <a href=\"#home-setting-booking-field\">List Booking Field</a> to get UUID.\n        </td>\n    </tr>\n   <tr>\n        <td>category</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Booking filed category<br>\n        Check <a href=\"#home-setting-booking-field\">/v1/setting/bookingField</a> to get UUID<br> \n        <b>Please make sure the booking field UUID and category were matched according to <a href=\"#home-setting-booking-field\">/v1/setting/bookingField</a><b>\n        </td>\n    </tr>\n    <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Configuation or options for display usage, check<a href=\"#config-bkinfo-edit\"> config </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"config-bkinfo-edit\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>values</td>\n        <td><b>array</b></td>\n        <td>Values<br>\n            Available when <b>type = shoe</b>, check<a href=\"#shoe-bkinfo-edit\"> shoe </a>for details\n        </td>        \n    </tr>\n    <tr>\n        <td>ask</td>\n        <td>int</td>\n        <td>Ask for everyone's data?<br>\n            <b>1</b> Ask once per order<br>\n            <b>2</b> Ask for everyone\n        </td>        \n    </tr>\n    <tr>\n        <td>display</td>\n        <td><b>object</b></td>\n        <td>Display option<br>\n            Check<a href=\"#display-bkinfo-edit\"> display </a>for details<br>\n            Note: The order created by Rezio API will be considered as <b>website</b>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"shoe-bkinfo-edit\" />*shoe*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Shoes type<br>\n            <b>Man</b><br>\n            <b>Woman</b><br>\n            <b>Kid</b>\n        </td>\n    </tr>\n    <tr>\n\
        \        <td>min</td>\n        <td>int</td>\n        <td>The smallest size<br>\n            Check<a href=\"#shoe-config-booking-field\"> shoe </a> via <a href=\"#home-setting-booking-field\">List Booking Field</a> to get available sizes.\n        </td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n        <td>The largest size<br>\n            Check<a href=\"#shoe-config-booking-field\"> shoe </a> via <a href=\"#home-setting-booking-field\">List Booking Field</a> to get available sizes.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"display-bkinfo-edit\" />*display*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>website</td>\n        <td>int</td>\n        <td>Is required on website?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required<br>\n            Check <a href=\"#display-bkinfo-edit\">config/display/website</a> via <a href=\"#home-setting-booking-field\"> List Booking Field </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>internal</td>\n        <td>int</td>\n        <td>Is required on internal order (via Rezio Admin)?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required<br>\n            Check <a href=\"#display-bkinfo-edit\">config/display/internal</a> via <a href=\"#home-setting-booking-field\"> List Booking Field </a>for details            \n        </td>\n    </tr>    \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Booking Information
      parameters:
      - name: bookingInfoUuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              label: Booking Data for Day Tour
              setting:
              - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 1
              - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 2
              - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 2
              - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 2
                    internal: 2
              - uuid: 57035281-8a2a-4c76-8a44-f9cfa3117654
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: b13428d9-b9ff-473c-a612-66b6637221ed
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 10662538-eef3-4171-9972-41300fa473d9
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 251a6a27-7fbc-4411-83ec-dfd1e9b93b1b
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 4e34479f-fe84-4bd3-a443-bbd7df182537
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 96e58831-e2df-453b-8a6e-4fd74da1dd64
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 496a769e-ad54-48b3-a5eb-0a5c8b83395f
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 790ebdf2-7b60-4d02-851d-7c7a680f172b
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: c570a05e-31dc-4f1c-9669-9facb038ea2e
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 3f61ae81-2738-46dd-a83d-b09bc596d763
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 9665763e-7476-470a-9a65-a0bd3e062813
                category: contact
                config:
                  values: []
                  ask: 1
                  display:
                    website: 0
                    internal: 1
              - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
              - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                category: participant
                config:
                  values: []
                  ask: 2
                  display:
                    website: 2
                    internal: 1
            schema:
              type: object
              properties:
                label:
                  type: string
                setting:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      category:
                        type: string
                      config:
                        type: object
                        properties:
                          values:
                            type: array
                            items: {}
                          ask:
                            type: number
                          display:
                            type: object
                            properties:
                              website:
                                type: number
                              internal:
                                type: number
                    required:
                    - uuid
                    - category
                    - config
  /v1/setting/bookingField:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      fields:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            category:
                              type: string
                            label:
                              type: string
                            type:
                              type: string
                            config:
                              type: object
                              properties:
                                values:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      label:
                                        type: string
                                      value:
                                        type: string
                                      type:
                                        type: string
                                      size:
                                        type: array
                                        items:
                                          type: number
                                    required:
                                    - label
                                    - value
                                    - type
                                    - size
                                ask:
                                  type: array
                                  items:
                                    type: number
                                display:
                                  type: object
                                  properties:
                                    website:
                                      type: array
                                      items:
                                        type: number
                                    internal:
                                      type: array
                                      items:
                                        type: number
                          required:
                          - uuid
                          - category
                          - label
                          - type
                          - config
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  fields:
                  - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                    category: contact
                    label: First Name
                    type: input
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                    category: contact
                    label: Last Name
                    type: input
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 2
                        internal:
                        - 2
                  - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                    category: contact
                    label: Email
                    type: email
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 2
                        internal:
                        - 2
                  - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                    category: contact
                    label: Mobile
                    type: phone
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 57035281-8a2a-4c76-8a44-f9cfa3117654
                    category: contact
                    label: Phone
                    type: phone
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: b13428d9-b9ff-473c-a612-66b6637221ed
                    category: contact
                    label: Fax
                    type: phone
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 10662538-eef3-4171-9972-41300fa473d9
                    category: contact
                    label: Gender
                    type: select
                    config:
                      values:
                      - label: Male
                        value: ORDER.GENDER_MALE
                      - label: Female
                        value: ORDER.GENDER_FEMALE
                      - label: Other
                        value: ORDER.GENDER_OTHER
                      - label: Refuse to answer
                        value: ORDER.GENDER_REFUSE
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 251a6a27-7fbc-4411-83ec-dfd1e9b93b1b
                    category: contact
                    label: Date of Birth
                    type: date
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 4e34479f-fe84-4bd3-a443-bbd7df182537
                    category: contact
                    label: Preferred Language
                    type: language
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 96e58831-e2df-453b-8a6e-4fd74da1dd64
                    category: contact
                    label: Company Name
                    type: input
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 496a769e-ad54-48b3-a5eb-0a5c8b83395f
                    category: contact
                    label: Country/Territory
                    type: country
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 790ebdf2-7b60-4d02-851d-7c7a680f172b
                    category: contact
                    label: State/County/Region
                    type: state
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: c570a05e-31dc-4f1c-9669-9facb038ea2e
                    category: contact
                    label: City/Town/Suburb
                    type: city
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 3f61ae81-2738-46dd-a83d-b09bc596d763
                    category: contact
                    label: Postcode/ZIP
                    type: input
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 9665763e-7476-470a-9a65-a0bd3e062813
                    category: contact
                    label: Address
                    type: input
                    config:
                      values: []
                      ask:
                      - 1
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 1
                        - 2
                  - uuid: 6889a024-c007-4697-8041-6284c46c5aeb
                    category: delivery
                    label: Recipient's Name
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: f3692548-86fb-4f62-9e29-37c919aff31b
                    category: delivery
                    label: Contact Mobile/Phone
                    type: phone
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 3aa7ebe3-851f-452d-b620-6f1eaf67d52b
                    category: delivery
                    label: Country/Territory
                    type: country
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 149a0c53-84e2-4494-8868-a13c084acc04
                    category: delivery
                    label: State/County/Region
                    type: state
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 6f460b27-1aa0-4fba-80c8-c779518df94e
                    category: delivery
                    label: City/Town/Suburb
                    type: city
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: dd122da0-f5c9-4f23-8deb-7ccdb6263a66
                    category: delivery
                    label: Postcode/ZIP
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 08d65ff5-0a6d-4893-a61c-23276aa7ec00
                    category: delivery
                    label: Address
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                    category: participant
                    label: First Name
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                    category: participant
                    label: Last Name
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 23ada713-3198-47cd-aa17-e926f21a0833
                    category: participant
                    label: Phone
                    type: phone
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: e1533953-2e56-4788-b720-823da230f972
                    category: participant
                    label: Mobile
                    type: phone
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 26639e7f-4ad1-4899-8cd9-28efc66cfca8
                    category: participant
                    label: Fax
                    type: phone
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: cad6001e-7570-4ed4-b44a-6b82d8de6282
                    category: participant
                    label: Email
                    type: email
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                    category: participant
                    label: Gender
                    type: select
                    config:
                      values:
                      - label: Male
                        value: ORDER.GENDER_MALE
                      - label: Female
                        value: ORDER.GENDER_FEMALE
                      - label: Other
                        value: ORDER.GENDER_OTHER
                      - label: Refuse to answer
                        value: ORDER.GENDER_REFUSE
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                    category: participant
                    label: Date of Birth
                    type: date
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: bdf4e4bb-3690-497d-bc9f-e464f0d5446d
                    category: participant
                    label: Preferred Language
                    type: language
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: f379dbfc-4e0a-47f1-bb1a-d877f2765815
                    category: participant
                    label: Company Name
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                    category: participant
                    label: Nationality
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                    category: participant
                    label: Passport number
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 5dea397c-da90-49ed-a7a1-4522d3157565
                    category: participant
                    label: Body Height (cm)
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 0de5e7aa-be96-4da3-a81d-c92f4fcc8742
                    category: participant
                    label: Body Height (inch)
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 64b586ed-3ed9-43a4-88ed-e12879dbdb20
                    category: participant
                    label: Body Weight (kg)
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 50338105-4905-4ffd-8c28-8fe66c6cf755
                    category: participant
                    label: Body Weight (lb)
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 67617774-fd86-4053-8988-b2dde09b3ae1
                    category: participant
                    label: Eyeglass Prescription
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 6ff2f952-74e4-44b6-8e8e-e4be129a0017
                    category: participant
                    label: Shoe Size (mm)
                    type: shoe
                    config:
                      values:
                      - type: Man
                        size:
                        - 200
                        - 205
                        - 210
                        - 215
                        - 220
                        - 225
                        - 230
                        - 235
                        - 240
                        - 245
                        - 250
                        - 255
                        - 260
                        - 265
                        - 270
                        - 275
                        - 280
                        - 285
                        - 290
                        - 295
                        - 300
                        - 305
                        - 310
                        - 315
                        - 320
                      - type: Woman
                        size:
                        - 200
                        - 205
                        - 210
                        - 215
                        - 220
                        - 225
                        - 230
                        - 235
                        - 240
                        - 245
                        - 250
                        - 255
                        - 260
                        - 265
                        - 270
                        - 275
                        - 280
                        - 285
                        - 290
                        - 295
                        - 300
                        - 305
                        - 310
                        - 315
                        - 320
                      - type: Kid
                        size:
                        - 80
                        - 85
                        - 90
                        - 95
                        - 100
                        - 105
                        - 110
                        - 115
                        - 120
                        - 125
                        - 130
                        - 135
                        - 140
                        - 145
                        - 150
                        - 155
                        - 160
                        - 165
                        - 170
                        - 175
                        - 180
                        - 185
                        - 190
                        - 195
                        - 200
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 8f3ad124-51f7-4d99-9137-e7903dc377cf
                    category: participant
                    label: Shoe Size (US)
                    type: shoe
                    config:
                      values:
                      - type: Man
                        size:
                        - 1
                        - 1.5
                        - 2
                        - 2.5
                        - 3
                        - 3.5
                        - 4
                        - 4.5
                        - 5
                        - 5.5
                        - 6
                        - 6.5
                        - 7
                        - 7.5
                        - 8
                        - 8.5
                        - 9
                        - 9.5
                        - 10
                        - 10.5
                        - 11
                        - 11.5
                        - 12
                        - 12.5
                        - 13
                        - 13.5
                        - 14
                        - 14.5
                        - 15
                      - type: Woman
                        size:
                        - 2
                        - 2.5
                        - 3
                        - 3.5
                        - 4
                        - 4.5
                        - 5
                        - 5.5
                        - 6
                        - 6.5
                        - 7
                        - 7.5
                        - 8
                        - 8.5
                        - 9
                        - 9.5
                        - 10
                        - 10.5
                        - 11
                        - 11.5
                        - 12
                        - 12.5
                        - 13
                        - 13.5
                        - 14
                        - 14.5
                        - 15
                        - 15.5
                        - 16
                      - type: Kid
                        size:
                        - 1
                        - 1.5
                        - 2
                        - 2.5
                        - 3
                        - 3.5
                        - 4
                        - 4.5
                        - 5
                        - 5.5
                        - 6
                        - 6.5
                        - 7
                        - 7.5
                        - 8
                        - 8.5
                        - 9
                        - 9.5
                        - 10
                        - 10.5
                        - 11
                        - 11.5
                        - 12
                        - 12.5
                        - 13
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 7901ca25-b9b3-466a-a33d-e0c6156df754
                    category: participant
                    label: Shoe Size (EUR)
                    type: shoe
                    config:
                      values:
                      - type: Man
                        size:
                        - 32
                        - 33
                        - 34
                        - 35
                        - 36
                        - 37
                        - 38
                        - 39
                        - 40
                        - 41
                        - 42
                        - 43
                        - 44
                        - 45
                        - 46
                        - 47
                        - 48
                        - 49
                      - type: Woman
                        size:
                        - 32
                        - 33
                        - 34
                        - 35
                        - 36
                        - 37
                        - 38
                        - 39
                        - 40
                        - 41
                        - 42
                        - 43
                        - 44
                        - 45
                        - 46
                        - 47
                        - 48
                        - 49
                      - type: Kid
                        size:
                        - 14
                        - 15
                        - 16
                        - 17
                        - 18
                        - 19
                        - 20
                        - 21
                        - 22
                        - 23
                        - 24
                        - 25
                        - 26
                        - 27
                        - 28
                        - 29
                        - 30
                        - 31
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: e7808532-d110-48f3-842d-a9724f26a430
                    category: participant
                    label: Shoe Size (UK)
                    type: shoe
                    config:
                      values:
                      - type: Man
                        size:
                        - 0
                        - 0.5
                        - 1
                        - 1.5
                        - 2
                        - 2.5
                        - 3
                        - 3.5
                        - 4
                        - 4.5
                        - 5
                        - 5.5
                        - 6
                        - 6.5
                        - 7
                        - 7.5
                        - 8
                        - 8.5
                        - 9
                        - 9.5
                        - 10
                        - 10.5
                        - 11
                        - 11.5
                        - 12
                        - 12.5
                        - 13
                        - 13.5
                        - 14
                      - type: Woman
                        size:
                        - 0
                        - 0.5
                        - 1
                        - 1.5
                        - 2
                        - 2.5
                        - 3
                        - 3.5
                        - 4
                        - 4.5
                        - 5
                        - 5.5
                        - 6
                        - 6.5
                        - 7
                        - 7.5
                        - 8
                        - 8.5
                        - 9
                        - 9.5
                        - 10
                        - 10.5
                        - 11
                        - 11.5
                        - 12
                        - 12.5
                        - 13
                        - 13.5
                        - 14
                      - type: Kid
                        size:
                        - 0
                        - 0.5
                        - 1
                        - 1.5
                        - 2
                        - 2.5
                        - 3
                        - 3.5
                        - 4
                        - 4.5
                        - 5
                        - 5.5
                        - 6
                        - 6.5
                        - 7
                        - 7.5
                        - 8
                        - 8.5
                        - 9
                        - 9.5
                        - 10
                        - 10.5
                        - 11
                        - 11.5
                        - 12
                        - 12.5
                        - 13
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: fb05be5f-799b-4abf-a5d9-03a066c75b18
                    category: dietary
                    label: Vegan
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 4ec014c2-0711-441f-a911-991a6ad0fade
                    category: dietary
                    label: Kosher Meals
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 2ab085c6-fcc5-46ed-b8ae-6c73f0a0356a
                    category: dietary
                    label: Halal Meals
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 12e4c604-6fa3-4710-98bb-d38c42bb67f1
                    category: dietary
                    label: Gluten Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 5d2ff20b-a317-4ebf-84f6-c1951c12630f
                    category: dietary
                    label: Egg Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: e5a67d5f-f1ce-4e23-bd31-b2e9f92b5803
                    category: dietary
                    label: Fish Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: fdc7da68-740f-4ca0-9117-4e6b4712672a
                    category: dietary
                    label: Lactose Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 0dd55e40-52f5-4cbb-a6ea-4fd9b3d0c123
                    category: dietary
                    label: Peanut Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 8415e556-1653-4bba-9aca-20a6d063e944
                    category: dietary
                    label: Tree nut Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 7a6c32df-c458-45bd-9f9f-af99748cc1b1
                    category: dietary
                    label: Soy Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 8167445f-8e7d-4d7a-bd68-a504ec9b5e3a
                    category: dietary
                    label: Corn Free
                    type: checkbox
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 47bf71ff-9b9f-4fb2-aa31-41f8750c5fd3
                    category: flight
                    label: Arrival Airline
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 664e6664-b53c-49c9-8f81-646ee50271c4
                    category: flight
                    label: Arrival Flight No.
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 3284387d-1fb6-46fa-b120-ca0fa6e56e1c
                    category: flight
                    label: Arrival Date and Time
                    type: datetime
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: caf27900-8932-41fa-9737-6e87365f3b58
                    category: flight
                    label: Arrival Terminal
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 73b61be6-bd43-467b-81a0-cbaae59d8b30
                    category: flight
                    label: Departure Airline
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 23c1ab3e-d145-4921-9d10-6ea651f309db
                    category: flight
                    label: Departure Flight No.
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 15350f40-9613-42d1-a898-9cdaa41846d8
                    category: flight
                    label: Departure Date and Time
                    type: datetime
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: 20be164d-8ec4-4e60-9c6c-ffe9cf4d7a88
                    category: flight
                    label: Departure Terminal
                    type: input
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
                  - uuid: c4a816c3-45a8-404b-b970-fcb8b3a23499
                    category: custom
                    label: demo custom text field
                    type: text
                    config:
                      values: []
                      ask:
                      - 0
                      - 1
                      - 2
                      display:
                        website:
                        - 0
                        - 1
                        - 2
                        internal:
                        - 0
                        - 1
                        - 2
      summary: List Booking Field
      operationId: get-v1-setting-bookingField
      description: "<a name=\"home-setting-booking-field\" />Load all booking fields\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/bookingField</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\nNone\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-booking-field\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-booking-field\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>fields</td>\n        <td><b>array</b></td>\n        <td>Check <a href=\"#fields-booking-field\"> fields </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"fields-booking-field\" />*fields*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Booking field UUID</td>\n    </tr>\n    <tr>\n        <td>category</td>\n        <td>string</td>\n        <td>Booking field category</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Field type, available input style:<br>\n            <b>input</b>  One-line text field<br>\n            <b>multi-line</b>  Multi-lines text field<br>\n            <b>text</b>  Text area<br>\n            <b>inline</b>  inline field<br>\n            <b>select</b>  Options. Check <b>option</b> to get list<br>\n            <b>checkbox</b>  Checkbox, <b>1</b> checked; <b>0</b> un-checked<br>\n            <b>email</b>  Email field<br>\n            <b>phone</b>  Phone field. Format is <b>array</b>, includes country code/ phone number. Check  <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</a> iti </b> for country code value<br>\n            <b>date</b>  Date picker. Format is <b>YYYY-MM-DD</b><br>\n            <b>datetime</b>  Datetime picker. Format is <b>YYYY-MM-DD HH:II:SS</b><br>\n            <b>shoe</b>  Shoes options, shoe type: Man/Woman/Kid; option provides shoe sizes<br>\n            <b>country</b>   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</b></a> for details<br>\n            <b>state</b>   string, input address of State<br>\n            <b>city</b>   string, input address of City<br>\n            <b>language</b>   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=language</b></a> for details\n        </td>        \n    </tr>\n     <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>Configuration or options for display usage, check<a href=\"#config-booking-field\"> config </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"config-booking-field\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>values</td>\n        <td><b>array</b></td>\n        <td>Values<br>\n            Available when <b>type = shoe/select</b><br>\n            Check <b>shoe</b>, check<a href=\"#shoe-config-booking-field\"> shoe/ select </a>for details\n        </td>  \
        \      \n    </tr>\n    <tr>\n        <td>ask</td>\n        <td>int</td>\n        <td>Ask for everyone's data?<br>\n            <b>0</b> Hide/ Not required<br>\n            <b>1</b> Ask once per order<br>\n            <b>2</b> Ask for everyone\n        </td>        \n    </tr>\n    <tr>\n        <td>display</td>\n        <td><b>object</b></td>\n        <td>Display option<br>\n            Check<a href=\"#display-config-booking-field\"> display </a>for details<br>\n            Note: The order created by Rezio API will be considered as <b>website</b>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"shoe-config-booking-field\" />*shoe*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Shoes type<br>\n            <b>Man</b><br>\n            <b>Woman</b><br>\n            <b>Kid</b>\n        </td>\n    </tr>\n    <tr>\n        <td>size</td>\n        <td><b>array</b></td>\n        <td>Shoe sizes</td>\n    </tr>\n</table>\n\n##### <a name=\"display-config-booking-field\" />*display*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>website</td>\n        <td>int</td>\n        <td>Is required on website?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required\n        </td>\n    </tr>\n    <tr>\n        <td>internal</td>\n        <td>int</td>\n        <td>Is required on internal order (via Rezio Admin)?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required\n        </td>\n    </tr>\n</table>"
      tags:
      - Setting - Booking Information
  /v1/setting/pickup:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            locationCnt:
                              type: number
                            type:
                              type: number
                            duration:
                              type: number
                            bindingProductCnt:
                              type: number
                          required:
                          - uuid
                          - label
                          - locationCnt
                          - type
                          - duration
                          - bindingProductCnt
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 2
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: a087e0de-2cc8-40b7-adb9-2e6a01dd14b7
                    label: Day Tour City Hotels Pickup
                    locationCnt: 1
                    type: 2
                    duration: 0
                    bindingProductCnt: 0
                  - uuid: 9173c3f0-1734-4e4a-b402-293b46184205
                    label: Pickup from Taipei Train Station and Ximen MRT Station
                    locationCnt: 2
                    type: 1
                    duration: 30
                    bindingProductCnt: 1
      summary: List Pick Up
      operationId: get-v1-setting-pickup
      description: "<a name=\"home-setting-pickup\" />List all existing pickup rules. Filters like label name are available.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pickup</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Route type<br>\n            <b>1</b>  Fixed pickup route<br>\n            <b>2</b>  Allow customer to input pickup request\n        </td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-pickup-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-pickup-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Pickup data, check<a href=\"#list-pickup-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-pickup-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Pickup Rule UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Route type<br>\n            <b>1</b>  Fixed pickup route<br>\n            <b>2</b>  Allow customer to input pickup request\n        </td>       \n    </tr>\n    <tr>\n        <td>duration</td>\n        <td>int</td>\n        <td>Travel time from pickup location to meeting place or destination (in minutes)</td>\n    </tr>\n    <tr>\n        <td>locationCnt</td>\n        <td>int</td>\n        <td>Number of pickup locations</td>\n    </tr>\n    <tr>\n        <td>bindingProductCnt</td>\n        <td>int</td>\n        <td>Used products</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pick Up
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: type
        in: query
        description: ''
        schema:
          type: string
          enum:
          - '1'
          - '2'
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 9173c3f0-1734-4e4a-b402-293b46184205
      summary: Create Pick Up
      operationId: post-v1-setting-pickup
      description: "Create a new pickup rule\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pickup</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Route type<br>\n            <b>1</b>  Fixed pickup route<br>\n            <b>2</b>  Allow customer to input pickup request\n        </td>       \n    </tr>\n    <tr>\n        <td>referenceTime</td>\n        <td>string</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Reference time<br>\n        <b>Required</b> when Route type = 1<br>\n        Format is <b>HH:mm</b>. Range is <b>HH</b> 00~23; <b>mm</b> 00, 30\n        </td>\n    </tr>\n    <tr>\n        <td>timeBeforeSession</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Is pickup ahead of schedule (tour departure time)?<br>\n            <b>1</b>  Yes, ahead<br> \n            <b>0</b>  No, behind\n        </td>\n    </tr>\n    <tr>\n        <td>location</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Pickup location details<br>\n            When <b>Route type = 1</b>, check<a href=\"#add-location-type1\"> location 1</a><br>\n            When <b>Route type = 2</b>, check<a href=\"#add-location-type2\"> location 2</a>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"add-location-type1\" />*location - type1*\n\n<table>    \n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>   \n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>        \n        <td>Location name, it's the option list of pickup when customer does a booking</td>\n    </tr>\n    <tr>\n        <td>instructions</td>\n        <td>string</td>\n        <td>-</td>        \n        <td>-</td>        \n        <td>Location instructions</td>\n    </tr>\n    <tr>\n        <td>addressLine</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>        \n        <td>Real address</td>\n    </tr>\n    <tr>\n        <td>pickupTime</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Travel time to pickup from this location (in minutes)</td>\n    </tr>\n    <tr>\n        <td>latitude</td>\n        <td>number</td>\n        <td>-</td>\n        <td>-</td>        \n        <td>Location latitude</td>\n    </tr>\n    <tr>\n        <td>longitude</td>\n        <td>number</td>\n        <td>-</td>\n        <td>-</td>        \n        <td>Location longitude</td>\n    </tr>    \n</table>\n\n##### <a name=\"add-location-type2\" />*location - type2*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>  \n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>        \n        <td>Location description for pickup</td>\n    </tr>\n    <tr>\n        <td>instructions</td>\n        <td>string</td>\n        <td>-</td>        \n        <td>-</td>\n        <td>Notes for location</td>\n\
        \    </tr>\n    <tr>\n        <td>vehicle</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(50)</td>\n        <td>-</td>        \n        <td>The vehicle for pickup, i.e., mini van</td>\n    </tr>    \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Pickup data, check<a href=\"#data-pickup-add\"> data </a>for details</td>      \n    </tr>\n</table>\n\n##### <a name=\"data-pickup-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Pickup UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pick Up
      requestBody:
        content:
          application/json:
            example:
              label: Pickup from Taipei Train Station and Ximen MRT Station
              type: 1
              referenceTime: 09:00
              timeBeforeSession: 1
              location:
              - label: Ximen MRT Station
                instructions: 'Ximen MRT Exit #5, Looking for the guide with yellow T-shirt.'
                addressLine: No.32-1, Baoqing Rd., Zhongzheng Dist., Taipei, Taiwan
                pickupTime: 20
                latitude: '25.042887'
                longitude: '121.5082038'
              - label: Taipei Main Station (East Gate 3)
                instructions: Taipei Main Station, East Gate 3, Looking for the guide with yellow T-shirt.
                addressLine: No. 3, Beiping W. Rd., Zhongzheng Dist., Taipei, Taiwan
                pickupTime: 10
                latitude: '25.0475267'
                longitude: '121.5159648'
            schema:
              type: object
              properties:
                label:
                  type: string
                type:
                  type: number
                referenceTime:
                  type: string
                timeBeforeSession:
                  type: number
                location:
                  type: array
                  items:
                    type: object
                    properties:
                      label:
                        type: string
                      instructions:
                        type: string
                      addressLine:
                        type: string
                      pickupTime:
                        type: number
                      latitude:
                        type: string
                      longitude:
                        type: string
                    required:
                    - label
                    - instructions
                    - addressLine
                    - pickupTime
                    - latitude
                    - longitude
  /v1/setting/pickup/{pickupUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      type:
                        type: number
                      referenceTime:
                        type: string
                      timeBeforeSession:
                        type: number
                      location:
                        type: array
                        items:
                          type: object
                          properties:
                            pickupLocationUuid:
                              type: string
                            label:
                              type: string
                            instructions:
                              type: string
                            addressLine:
                              type: string
                            pickupTime:
                              type: number
                            latitude:
                              type: string
                            longitude:
                              type: string
                          required:
                          - pickupLocationUuid
                          - label
                          - instructions
                          - addressLine
                          - pickupTime
                          - latitude
                          - longitude
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 9173c3f0-1734-4e4a-b402-293b46184205
                  label: Pickup from Taipei Train Station and Ximen MRT Station
                  type: 1
                  referenceTime: 09:00
                  timeBeforeSession: 1
                  location:
                  - pickupLocationUuid: 060452d3-3271-49d9-bdf5-607596c63c39
                    label: Ximen MRT Station
                    instructions: 'Ximen MRT Exit #5, Looking for the guide with yellow T-shirt.'
                    addressLine: No.32-1, Baoqing Rd., Zhongzheng Dist., Taipei, Taiwan
                    pickupTime: 20
                    latitude: '25.042887'
                    longitude: '121.5082038'
                  - pickupLocationUuid: 67de4120-2cce-409b-b6ea-ae257363e258
                    label: Taipei Main Station (East Gate 3)
                    instructions: Taipei Main Station, East Gate 3, Looking for the guide with yellow T-shirt.
                    addressLine: No. 3, Beiping W. Rd., Zhongzheng Dist., Taipei, Taiwan
                    pickupTime: 10
                    latitude: '25.0475267'
                    longitude: '121.5159648'
      summary: Get Pick Up
      operationId: get-v1-setting-pickup-pickupUuid
      description: "Load an existing pickup rules by pickupUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pickup/{pickupUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Pickup UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-pickup-detail\"> data </a>for details</td>      \n    </tr>\n</table>\n\n##### <a name=\"data-pickup-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Pickup Rule UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Route type<br>\n            <b>1</b>  Relative time pickup route<br>\n            <b>2</b>  Allow customers to input pickup requests<br>\n            <b>3</b>  Fixed time pickup route<br>\n            <b>4</b>  No specified time pickup route\n        </td>\n    </tr>\n    <tr>\n        <td>referenceTime</td>\n        <td>string</td>\n        <td>Reference time<br>\n        Available when Route type = 1; format is <b>HH:mm</b>, i.e., 09:00\n        </td>\n    </tr>\n    <tr>\n        <td>timeBeforeSession</td>\n        <td>int</td>\n        <td>Is pickup ahead of schedule (tour departure time)?<br>\n            <b>1</b>  Yes, ahead<br> \n            <b>0</b>  No, behind<br>\n            Available when <b>Route type = 1</b>, for example, tour from 08:00 AM, pickup at 07:45 AM, <b>timeBeforeSession = 1</b>; pickup at 08:15 AM, <b>timeBeforeSession = 0</b>.\n        </td>\n    </tr>\n    <tr>\n        <td>location</td>\n        <td><b>array</b></td>\n        <td>Pickup location details<br>\n            When <b>Route type = 1</b>, check<a href=\"#location-type1\"> location 1</a><br>\n            When <b>Route type = 2</b>, check<a href=\"#location-type2\"> location 2</a>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"location-type1\" />*location - type1*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupLocationUuid</td>\n        <td>UUID</td>\n        <td>Pickup location UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Location name, it's the option list of pickup when customer does a booking</td>\n    </tr>\n    <tr>\n        <td>instructions</td>\n        <td>string</td>\n        <td>Location instructions</td>\n    </tr>\n    <tr>\n        <td>addressLine</td>\n        <td>string</td>\n        <td>Real address</td>\n    </tr>\n    <tr>\n        <td>pickupTime</td>\n        <td>int</td>\n        <td>Travel time to pickup from this location (in minutes)</td>\n    </tr>\n    <tr>\n        <td>latitude</td>\n        <td>string</td>\n        <td>Location latitude</td>\n\
        \    </tr>\n    <tr>\n        <td>longitude</td>\n        <td>string</td>\n        <td>Location longitude</td>\n    </tr>\n</table>\n\n##### <a name=\"location-type2\" />*location - type2*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupLocationUuid</td>\n        <td>UUID</td>\n        <td>Pickup location UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Location description for pickup</td>\n    </tr>\n    <tr>\n        <td>instructions</td>\n        <td>string</td>\n        <td>Notes for location</td>\n    </tr>\n    <tr>\n        <td>vehicle</td>\n        <td>string</td>\n        <td>The vehicle for pickup, e.g., mini van</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pick Up
      parameters:
      - name: pickupUuid
        in: path
        description: ''
        required: true
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Pick Up
      operationId: put-v1-setting-pickup-pickupUuid
      description: "Update a pickup rule by pickupUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/pickup</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Pickup Rule UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(200)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr> \n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Route type<br>\n            <b>1</b>  Fixed pickup route<br>\n            <b>2</b>  Allow customer to input pickup request\n        </td>       \n    </tr>\n    <tr>\n        <td>referenceTime</td>\n        <td>string</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Reference time<br>\n        <b>Required</b> when Route type = 1<br>\n        Format is <b>HH:mm</b>. Range is <b>HH</b> 00~23; <b>mm</b> 00, 30\n        </td>\n    </tr>\n    <tr>\n        <td>timeBeforeSession</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Is pickup ahead of schedule (tour departure time)?<br>\n            <b>1</b>  Yes, ahead<br> \n            <b>0</b>  No, behind\n        </td>\n    </tr>\n    <tr>\n        <td>location</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Pickup location details<br>\n            When <b>Route type = 1</b>, check<a href=\"#update-location-type1\"> location 1</a><br>\n            When <b>Route type = 2</b>, check<a href=\"#update-location-type2\"> location 2</a>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"update-location-type1\" />*location - type1*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupLocationUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>\n            Pickup Location UUID<br>\n            Leave it empty when create a new pickup location\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>        \n        <td>Location name, it's the option list of pickup when customer does a booking</td>\n    </tr>\n    <tr>\n        <td>instructions</td>\n        <td>string</td>\n        <td>-</td>        \n        <td>-</td>        \n        <td>Location instructions</td>\n    </tr>\n    <tr>\n        <td>addressLine</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Real address</td>\n    </tr>\n    <tr>\n        <td>pickupTime</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Travel time to pickup from this location (in minutes)</td>\n    </tr>\n    <tr>\n        <td>latitude</td>\n        <td>number</td>\n        <td>-</td>        \n        <td>-</td>        \n        <td>Location latitude</td>\n    </tr>\n    <tr>\n        <td>longitude</td>\n        <td>number</td>\n        <td>-</td>        \n        <td>-</td>        \n        <td>Location longitude</td>\n    </tr> \n\
        </table>\n\n##### <a name=\"update-location-type2\" />*location - type2*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupLocationUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>\n            Pickup Location UUID<br>\n            Leave it empty when create a new pickup location\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>        \n        <td>Location description for pickup</td>\n    </tr>\n    <tr>\n        <td>instructions</td>\n        <td>string</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Notes for location</td>\n    </tr>\n    <tr>\n        <td>vehicle</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(50)</td>\n        <td>-</td>        \n        <td>The vehicle for pickup, i.e., mini van</td>\n    </tr> \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Pick Up
      parameters:
      - name: pickupUuid
        in: path
        description: ''
        required: true
        example: 9173c3f0-1734-4e4a-b402-293b46184205
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              label: Pickup from Taipei Train Station and Ximen MRT Station
              type: 1
              referenceTime: 09:00
              timeBeforeSession: 1
              location:
              - pickupLocationUuid: 060452d3-3271-49d9-bdf5-607596c63c39
                label: Ximen MRT Station
                instructions: 'Ximen MRT Exit #5, Looking for the guide with yellow vest guide'
                addressLine: No.32-1, Baoqing Rd., Zhongzheng Dist., Taipei, Taiwan
                pickupTime: 25
                latitude: '25.042887'
                longitude: '121.5082038'
              - pickupLocationUuid: 67de4120-2cce-409b-b6ea-ae257363e258
                label: Taipei Main Station (East Gate 3)
                instructions: Taipei Main Station, East Gate 3, Looking for the guide with yellow T-shirt.
                addressLine: No. 3, Beiping W. Rd., Zhongzheng Dist., Taipei, Taiwan
                pickupTime: 10
                latitude: '25.0475267'
                longitude: '121.5159648'
            schema:
              type: object
              properties:
                label:
                  type: string
                type:
                  type: number
                referenceTime:
                  type: string
                timeBeforeSession:
                  type: number
                location:
                  type: array
                  items:
                    type: object
                    properties:
                      pickupLocationUuid:
                        type: string
                      label:
                        type: string
                      instructions:
                        type: string
                      addressLine:
                        type: string
                      pickupTime:
                        type: number
                      latitude:
                        type: string
                      longitude:
                        type: string
                    required:
                    - pickupLocationUuid
                    - label
                    - instructions
                    - addressLine
                    - pickupTime
                    - latitude
                    - longitude
  /v1/setting/extra:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            currencyUuid:
                              type: string
                            priceType:
                              type: number
                            price:
                              type: number
                            imageUrl:
                              type: string
                            bindingProductCnt:
                              type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 1
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: 82097bf2-d2a8-458a-b5f9-cc807a060c82
                    label: Tea Time Meal Set
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    priceType: 2
                    price: 9.9
                    imageUrl: https://img.box.rezio.io/cebf3f02-f2e8-4bba-bff5-af7ab303255c/98530b7a-5eea-440e-a82c-f14a39277531.png
                    bindingProductCnt: 1
      summary: List Extras
      operationId: get-v1-setting-extra
      description: "<a name=\"home-setting-extra\" />List all existing extra items. Filters like label name are available.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/extra</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Query string\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-extra-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-extra-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Extra data, check<a href=\"#list-extra-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-extra-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Extra item UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>priceType</td>\n        <td>int</td>\n        <td>Price type of extra item<br>\n            <b>1<b>  Per order (1 order charge once)<br>\n            <b>2<b>  Per quantity (customers can decide how many items they need)\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Price</td>\n    </tr>\n    <tr>\n        <td>imageUrl</td>\n        <td>string</td>\n        <td>The image URL of extra item</td>\n    </tr>\n    <tr>\n        <td>bindingProductCnt</td>\n        <td>int</td>\n        <td>Used products</td>\n    </tr>\n</table>"
      tags:
      - Setting - Extras
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: currency
        in: query
        description: ''
        example: TWD
        schema:
          type: string
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 82097bf2-d2a8-458a-b5f9-cc807a060c82
      summary: Create Extra
      operationId: post-v1-setting-extra
      description: "Create a new extra item\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/extra</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(255)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>priceType</td>\n        <td>int</td>\n        <td>-</td>        \n        <td>Y</td>        \n        <td>Price type of extra item<br>\n            <b>1<b>  Per order (1 order charge once)<br>\n            <b>2<b>  Per quantity (customers can decide how many items they need)\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Price</td>\n    </tr>\n    <tr>\n        <td>description</td>\n        <td>string</td>\n        <td>-</td>        \n        <td>-</td>        \n        <td>Item description</td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>-</td>         \n        <td>-</td>         \n        <td>Image UUID associated with extra item<br>\n            Use<a href=\"#extra-image-add\"> Upload Extra Image </a> to add image then get <b>storeMediaUsageUuid</b> in the response as parameter here.\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-extra-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-extra-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Extra item UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Extras
      requestBody:
        content:
          application/json:
            example:
              label: Tea Time Meal Set
              priceType: 2
              price: 9.9
              currency: USD
              description: Famous tea restaurant in Jiufen Old Street, get extra deal to get 20% off discount!
              storeMediaUsageUuid: d745af31-40fd-4410-a7de-1ac211fc9e30
            schema:
              type: object
              properties:
                label:
                  type: string
                priceType:
                  type: number
                price:
                  type: number
                currency:
                  type: string
                description:
                  type: string
                storeMediaUsageUuid:
                  type: string
  /v1/setting/extra/{extraUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      priceType:
                        type: number
                      price:
                        type: number
                      description:
                        type: string
                      currencyUuid:
                        type: string
                      imageUrl:
                        type: string
                      storeMediaUsageUuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 82097bf2-d2a8-458a-b5f9-cc807a060c82
                  label: Tea Time Meal Set
                  priceType: 2
                  price: 9.9
                  description: Famous tea restaurant in Jiufen Old Street, get extra deal to get 20% off discount!
                  currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                  imageUrl: https://img.box.rezio.io/cebf3f02-f2e8-4bba-bff5-af7ab303255c/98530b7a-5eea-440e-a82c-f14a39277531.png
                  storeMediaUsageUuid: d745af31-40fd-4410-a7de-1ac211fc9e30
      summary: Get Extra
      operationId: get-v1-setting-extra-extraUuid
      description: "Load an existing extra item by extraUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/extra/{extraUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>extraUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Extra item UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-extra-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-extra-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Resource UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>priceType</td>\n        <td>int</td>\n        <td>Price type of extra item<br>\n            <b>1<b>  Per order (1 order charge once)<br>\n            <b>2<b>  Per quantity (customers can decide how many items they need)\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Price</td>\n    </tr>\n    <tr>\n        <td>description</td>\n        <td>string</td>\n        <td>Item description</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>imageUrl</td>\n        <td>string</td>\n        <td>The image URL of extra item</td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Image UUID associated with extra item<br>\n            Check<a href=\"#extra-image-add\"> Upload Extra Image </a> for more detail\n        </td>\n    </tr>\n</table>"
      tags:
      - Setting - Extras
      parameters:
      - name: extraUuid
        in: path
        description: ''
        required: true
        example: 82097bf2-d2a8-458a-b5f9-cc807a060c82
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Extra
      operationId: put-v1-setting-extra-extraUuid
      description: "Update an extra item by extraUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/extra/{extraUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>extraUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Extra UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(255)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n   <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>priceType</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Price type of extra item<br>\n            <b>1<b>  Per order (1 order charge once)<br>\n            <b>2<b>  Per quantity (customers can decide how many items they need)\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Price</td>\n    </tr>\n    <tr>\n        <td>description</td>\n        <td>string</td>\n        <td>-</td>\n        <td>-</td>        \n        <td>Item description</td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>-</td>         \n        <td>Image UUID associated with extra item<br>\n            Use<a href=\"#extra-image-add\"> Upload Extra Image </a> to add image then get <b>storeMediaUsageUuid</b> in the response as parameter here.\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Extras
      parameters:
      - name: extraUuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              label: Tea Time Meal Set
              priceType: 2
              price: 7.9
              currency: USD
              description: June Limit Sale, Down to $7.9!! Famous tea restaurant in Jiufen Old Street, get extra deal to get 20% off discount!
              storeMediaUsageUuid: d745af31-40fd-4410-a7de-1ac211fc9e30
            schema:
              type: object
              properties:
                label:
                  type: string
                priceType:
                  type: number
                price:
                  type: number
                currency:
                  type: string
                description:
                  type: string
                storeMediaUsageUuid:
                  type: string
  /v1/setting/extra/image:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      file:
                        type: object
                        properties:
                          storeMediaUsageUuid:
                            type: string
                          url:
                            type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  file:
                    storeMediaUsageUuid: d745af31-40fd-4410-a7de-1ac211fc9e30
                    url: https://img.box.rezio.io/cebf3f02-f2e8-4bba-bff5-af7ab303255c/98530b7a-5eea-440e-a82c-f14a39277531.png
      summary: Upload Extra Image
      operationId: post-v1-setting-extra-image
      description: "<a name=\"extra-image-add\" />Add an image for extra item. File is mandatory and put in form-data parameter 'file'.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/extra/image</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td><b>File</b></td>\n    </tr>\n    <tr>\n        <td rowspan=3><b>Headers</b></td>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- File\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>file</td>\n        <td>file</td>\n        <td>Y</td>\n        <td>Image file\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-extra-add-image\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-extra-add-image\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>file</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"file-extra-image\"> file </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"file-extra-image\" />*file*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Image UUID</td>\n    </tr>\n    <tr>\n        <td>url</td>\n        <td>string</td>\n        <td>URL of uploaded image</td>\n    </tr>\n</table>"
      tags:
      - Setting - Extras
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
  /v1/setting/resource:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            seat:
                              type: number
                            isGroup:
                              type: number
                            groupDetail:
                              type: array
                              items:
                                type: object
                                properties:
                                  uuid:
                                    type: string
                                  label:
                                    type: string
                                  seat:
                                    type: string
                                required:
                                - uuid
                                - label
                                - seat
                          required:
                          - uuid
                          - label
                          - seat
                          - isGroup
                          - groupDetail
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 2
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: 194f23d4-06d8-4101-b902-a7ca20352d7c
                    label: Safety helmet
                    seat: 90
                    isGroup: 1
                    groupDetail:
                    - uuid: 73b021e1-5d3b-483e-bc1e-e7155dfb0a47
                      label: Safety helmet - Small
                      seat: '50'
                    - uuid: 6fa655a3-5160-4c71-a1d0-4050f0345faa
                      label: Safety helmet - Large
                      seat: '40'
                  - uuid: 6fd0646e-aeed-445c-b19f-5c0d5099ac17
                    label: Portable Translator (Multi-language)
                    seat: 100
                    isGroup: 0
                    groupDetail: []
      summary: List Resource
      operationId: get-v1-setting-resource
      description: "<a name=\"home-setting-resource\" />List all existing resources. Filters like label name are available.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/resource</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Query string\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>resourceTypeUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Resource type<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=resourceType</b> for details</a>\n        </td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-resource-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-resource-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Resource data, check<a href=\"#list-resource-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-resource-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Resource UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>Resource availability<br>\n            Skip it when <b>isGroup = 1</b>, the value will be overwritten by the sum of group's children resource seats.\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>Single or Group resource?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single<br>             \n        </td>\n    </tr>\n    <tr>\n        <td>groupDetail</td>\n        <td><b>array</b></td>\n        <td>Group resource details<br>\n            Check<a href=\"#group-detail-resource-list\"> groupDetail </a> for details</td>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"group-detail-resource-list\" />*groupDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Resource UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n\
        \    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>Resource availability<br>\n            This value was summed up with other children's resources in the same group and overwrites the upper seat value.\n        </td>\n    </tr>\n</table>"
      tags:
      - Setting - Resource
      parameters:
      - name: label
        in: query
        description: ''
        schema:
          type: string
      - name: resourceTypeUuid
        in: query
        description: ''
        schema:
          type: string
      - name: page
        in: query
        description: ''
        schema:
          type: string
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 194f23d4-06d8-4101-b902-a7ca20352d7c
      summary: Create Resource
      operationId: post-v1-setting-resource
      description: "Create a new resource\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/resource</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>resourceTypeUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Resource Type UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=resourceType</a> for details</td> \n    </tr>\n    <tr>\n        <td>interval</td>\n        <td><b>object</b></td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>The interval time of resource usage<br>\n            <b>day</b>  Day<br>\n            <b>hour</b>  Hour<br>\n            <b>min</b>  Minute\n        </td>\n    </tr>\n    <tr>\n        <td>startAt</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>First available time of resource <br>\n            Format is <b>HH:mm</b><br>\n            Range is <b>HH</b> 00~23; <b>mm</b> 00, 15, 30, 45\n        </td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Resource availability<br>\n            Skip it when <b>isGroup = 1</b>, the value will be overwritten by the sum of group's children resource seats.\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Single or Group resource?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single\n        </td>\n    </tr>\n    <tr>\n        <td>groupDetail</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Group resource details<br>\n            Check<a href=\"#group-detail-resource-add\"> groupDetail </a> for details</td>\n        </td>\n    </tr>\n    <tr>\n        <td>stockWarning</td>\n        <td><b>object</b></td>\n         <td>-</td>\n        <td>Y</td>\n        <td>Low availability display settings<br>\n            Check<a href=\"#stockWarning-resource-add\"> stockWarning </a> for details</td>\n        </td>\n    </tr>   \n</table>\n\n##### <a name=\"group-detail-resource-add\" />*groupDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Resource availability<br>\n            This value were summed up with other children resource in the same group and overwrite the upper seat value.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"stockWarning-resource-add\" />*stockWarning*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n         <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Low availability display settings type<br>\n           <b>0</b>  No specific<br>\n           <b>1</b>  By percentage<br>\n           <b>2</b>  By a specific amount<br>\n        </td>\n    </tr>\n    <tr>\n        <td>number</td>\n        <td>int</td>\n        <td>Y</td>\n      \
        \  <td>Percentage/Number<br>\n          <b>Required when type = 1 or type = 2</b>\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-resource-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-resource-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Resource UUID</td>\n    </tr>\n</table>"
      tags:
      - Setting - Resource
      requestBody:
        content:
          application/json:
            example:
              label: Safety helmet
              resourceTypeUuid: 636bd039-7486-418b-84f6-518687619c46
              seat: 90
              isGroup: 1
              startAt: 08:00
              interval:
                day: 0
                hour: 10
                min: 0
              groupDetail:
              - uuid: 73b021e1-5d3b-483e-bc1e-e7155dfb0a47
                label: Safety helmet - Small
                seat: '50'
              - uuid: 6fa655a3-5160-4c71-a1d0-4050f0345faa
                label: Safety helmet - Large
                seat: '40'
              stockWarning:
                type: 0
            schema:
              type: object
              properties:
                label:
                  type: string
                resourceTypeUuid:
                  type: string
                seat:
                  type: number
                isGroup:
                  type: number
                startAt:
                  type: string
                interval:
                  type: object
                  properties:
                    day:
                      type: number
                    hour:
                      type: number
                    min:
                      type: number
                groupDetail:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      seat:
                        type: string
                    required:
                    - uuid
                    - label
                    - seat
                stockWarning:
                  type: object
                  properties:
                    type:
                      type: number
  /v1/setting/resource/{resourceUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      resourceTypeUuid:
                        type: string
                      seat:
                        type: number
                      isGroup:
                        type: number
                      groupDetail:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            seat:
                              type: string
                          required:
                          - uuid
                          - label
                          - seat
                      startAt:
                        type: string
                      interval:
                        type: object
                        properties:
                          day:
                            type: number
                          hour:
                            type: number
                          min:
                            type: number
                      stockWarning:
                        type: object
                        properties:
                          type:
                            type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 194f23d4-06d8-4101-b902-a7ca20352d7c
                  label: Safety helmet
                  resourceTypeUuid: 636bd039-7486-418b-84f6-518687619c46
                  seat: 90
                  isGroup: 1
                  groupDetail:
                  - uuid: 73b021e1-5d3b-483e-bc1e-e7155dfb0a47
                    label: Safety helmet - Small
                    seat: '50'
                  - uuid: 6fa655a3-5160-4c71-a1d0-4050f0345faa
                    label: Safety helmet - Large
                    seat: '40'
                  startAt: 08:00
                  interval:
                    day: 0
                    hour: 10
                    min: 0
                  stockWarning:
                    type: 0
      summary: Get Resource
      operationId: get-v1-setting-resource-resourceUuid
      description: "<a name=\"home-setting-resource\" />Load an existing resource by resourceUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/resource</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>resourceUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Resource UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Ressource data, check<a href=\"#data-resource-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-resource-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Resource UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>resourceTypeUuid</td>\n        <td>UUID</td>\n        <td>Resource Type UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=resourceType</a> for details</td>\n    </tr>\n    <tr>\n        <td>interval</td>\n        <td><b>object</b></td>\n        <td>The interval time of resource usage<br>\n            <b>day</b>  Day<br>\n            <b>hour</b>  Hour<br>\n            <b>min</b>  Minute\n        </td>\n    </tr>\n    <tr>\n        <td>startAt</td>\n        <td>string</td>\n        <td>First available time of resource <br>\n            Format is <b>HH:mm</b><br>\n            Range is <b>HH</b> 00~23; <b>mm</b> 00, 15, 30, 45\n        </td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>Resource availability<br>\n            Skip it when <b>isGroup = 1</b>, the value will be overwritten by the sum of group's children resource seats.\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>Single or Group resource?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single<br>            \n        </td>\n    </tr>\n    <tr>\n        <td>groupDetail</td>\n        <td><b>array</b></td>\n        <td>Group resource details<br>\n            Check<a href=\"#group-detail-resource-detail\"> groupDetail </a> for details</td>\n        </td>\n    </tr>\n    <tr>\n        <td>stockWarning</td>\n        <td><b>object</b></td>\n        <td>Low availability display settings<br>\n            Check<a href=\"#stockWarning-resource-detail\"> stockWarning </a> for details</td>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"group-detail-resource-detail\" />*groupDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Resource UUID, group resource</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>Resource availability<br>\n            This value was\
        \ summed up with other children's resources in the same group and overwrites the upper seat value.\n        </td>        \n    </tr>\n</table>\n\n##### <a name=\"stockWarning-resource-detail\" />*stockWarning*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n         <td>Low availability display settings type<br>\n           <b>0</b>  No specific<br>\n           <b>1</b>  By percentage<br>\n           <b>2</b>  By a specific amount<br>\n        </td>\n    </tr>\n    <tr>\n        <td>number</td>\n        <td>int</td>\n        <td>Percentage/Number<br>\n          <b>Required when type = 1 or type = 2</b>\n        </td>\n    </tr>\n</table>"
      tags:
      - Setting - Resource
      parameters:
      - name: resourceUuid
        in: path
        description: ''
        required: true
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Resource
      operationId: put-v1-setting-resource-resourceUuid
      description: "Update a resource by resourceUuid (Updatable fields are restricted when the resource is applied to product)<br>\n\n> Updatable fields when the target resourceUuid</i> was applied to products:\n>   - `label`, `resourceTypeUuid`\n>   - `label` in groupDetail of Group resource (isGroup = 1)\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/setting/resource</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>resourceUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Resource UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(100)</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>resourceTypeUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Resource Type UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=resourceType</a> for details</td> \n    </tr>\n    <tr>\n        <td>interval</td>\n        <td><b>object</b></td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>The interval time of resource usage<br>\n            <b>day</b>  Day<br>\n            <b>hour</b>  Hour<br>\n            <b>min</b>  Minute\n        </td>\n    </tr>\n    <tr>\n        <td>startAt</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>First available time of resource <br>\n            Format is <b>HH:mm</b><br>\n            Range is <b>HH</b> 00~23; <b>mm</b> 00, 15, 30, 45\n        </td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Resource availability<br>\n            Skip it when <b>isGroup = 1</b>, the value will be overwritten by the sum of group's children resource seats.\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Single or Group resource?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single\n        </td>\n    </tr>\n    <tr>\n        <td>groupDetail</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Y</td>        \n        <td>Group resource details<br>\n            Check<a href=\"#group-detail-resource-edit\"> groupDetail </a> for details</td>\n        </td>\n    </tr>\n    <tr>\n        <td>stockWarning</td>\n        <td><b>object</b></td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Low availability display settings<br>\n            Check<a href=\"#stockWarning-resource-edit\"> stockWarning </a> for details</td>\n        </td>\n    </tr>   \n</table>\n\n##### <a name=\"group-detail-resource-edit\" />*groupDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Resource item UUID, item of a group resource<br>\n            Leave UUID empty will create a new group resource item. If you need to update an existing group resource, please check<a href=\"#home-setting-resource\"> Get Resource </a>to get UUIDs.\n        </td>\n    </tr>\n \
        \   <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Resource availability<br>\n            This value was summed up with other children's resources in the same group and overwrites the upper seat value.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"stockWarning-resource-edit\" />*stockWarning*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Low availability display settings type<br>\n           <b>0</b>  No specific<br>\n           <b>1</b>  By percentage<br>\n           <b>2</b>  By a specific amount<br>\n        </td>\n    </tr>\n    <tr>\n        <td>number</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Percentage/Number<br>\n          <b>Required when type = 1 or type = 2</b>\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Setting - Resource
      parameters:
      - name: resourceUuid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              label: Safety helmet (Yellow)
              resourceTypeUuid: 636bd039-7486-418b-84f6-518687619c46
              seat: 90
              isGroup: 1
              startAt: 08:00
              interval:
                day: 0
                hour: 10
                min: 0
              groupDetail:
              - uuid: 73b021e1-5d3b-483e-bc1e-e7155dfb0a47
                label: Safety helmet - Small
                seat: '50'
              - uuid: 6fa655a3-5160-4c71-a1d0-4050f0345faa
                label: Safety helmet - Large
                seat: '40'
              stockWarning:
                type: 2
                number: 10
            schema:
              type: object
              properties:
                label:
                  type: string
                resourceTypeUuid:
                  type: string
                seat:
                  type: number
                isGroup:
                  type: number
                startAt:
                  type: string
                interval:
                  type: object
                  properties:
                    day:
                      type: number
                    hour:
                      type: number
                    min:
                      type: number
                groupDetail:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      label:
                        type: string
                      seat:
                        type: string
                    required:
                    - uuid
                    - label
                    - seat
                stockWarning:
                  type: object
                  properties:
                    type:
                      type: number
                    number:
                      type: number
  /v1/product/list:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            categoryUuid:
                              type: string
                            title:
                              type: string
                            productCode:
                              type: string
                            coverUrl:
                              type: string
                            salesOptionList:
                              type: array
                              items:
                                type: string
                            status:
                              type: string
                            statusAvailableUntil:
                              type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 1
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: 597a8861-82ce-4770-892a-ab718f76a63c
                    categoryUuid: 7b191497-9ef1-4c15-9231-fc4ac70ca4d9
                    title: 'Day Tour from Taipei: Jiufen Old Street, Golden Waterfall, and Bitou Cape'
                    productCode: JIUFENA1
                    coverUrl: https://img.box.rezio.io/cebf3f02-f2e8-4bba-bff5-af7ab303255c/597a8861-82ce-4770-892a-ab718f76a63c/d46c6de8-32b6-409a-b403-318442fd0afc.png
                    salesOptionList:
                    - Day tour
                    status: AVAILABLE_UNTIL
                    statusAvailableUntil: '2019-06-25'
      summary: List Product
      operationId: get-v1-product-list
      description: "<a name=\"home-product-list\" />List all existing products. Filters like category or tag are available.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/list</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>text</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Filter text, input product name or product code</td>\n    </tr>\n    <tr>\n        <td>categoryUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Product Category UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=category</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>tagUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Product Tag UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=tag</a> for details\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Product data, check<a href=\"#data-product-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-product-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Product list, check<a href=\"#list-product-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-product-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Product UUID</td>\n    </tr>\n    <tr>\n        <td>categoryUuid</td>\n        <td>UUID</td>\n        <td>Product Category UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=category</a> for details  \n        </td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Product name</td>\n    </tr>\n    <tr>\n        <td>productCode</td>\n        <td>string</td>\n        <td>Product code</td>\n    </tr>\n    <tr>\n        <td>coverUrl</td>\n        <td>string</td>\n        <td>URL of product cover image</td>\n    </tr>\n    <tr>\n        <td>salesOptionList</td>\n        <td><b>array</b></td>\n        <td>Package list</td>\n    </tr>\n    <tr>\n        <td>status</td>\n\
        \        <td>string</td>\n        <td>Product status<br>\n            <b>IN_PROGRESS</b>  Product is in editing, missing some required settings.<br>\n            <b>END_SELLING</b>  End of sale, no available future sessions.<br>\n            <b>FULLY_BOOKED</b>  Fully booked, capacity of all sessions is full.<br>\n            <b>DISCONTINUED</b>  Sale paused, all <b>publishStatus</b> of packages were turned off.<br>\n            <b>AVAILABLE_UNTIL</b>  Available until the last session date, normal product selling status.\n        </td>\n    </tr>\n    <tr>\n        <td>statusAvailableUntil</td>\n        <td>string</td>\n        <td>Date format <b>YYYY-MM-DD</b>, the last available session date. <br>Only available when <b>status = 'AVAILABLE_UNTIL'</b></td>\n    </tr>\n</table>"
      tags:
      - Product List
      parameters:
      - name: page
        in: query
        description: ''
        example: '1'
        schema:
          type: string
          default: '1'
      - name: itemPerPage
        in: query
        description: ''
        example: '20'
        schema:
          type: string
          default: '20'
      - name: text
        in: query
        description: filter by product name, code
        schema:
          type: string
      - name: categoryUuid
        in: query
        description: product category UUID
        schema:
          type: string
      - name: tagUuid
        in: query
        description: product tag UUID
        schema:
          type: string
  /v1/product/{productUuid}/detail:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      title:
                        type: string
                      brief:
                        type: string
                      description:
                        type: string
                      itinerary:
                        type: array
                        items:
                          type: object
                          properties:
                            content:
                              type: array
                              items:
                                type: object
                                properties:
                                  uuid:
                                    type: string
                                  hour:
                                    type: string
                                  min:
                                    type: string
                                  type:
                                    type: number
                                  title:
                                    type: string
                                  storeMediaUsageUuid:
                                    type: string
                                required:
                                - uuid
                                - hour
                                - min
                                - type
                                - title
                                - storeMediaUsageUuid
                      warnings:
                        type: string
                      countryUuid:
                        type: string
                      currencyUuid:
                        type: string
                      priceStartAt:
                        type: number
                      categoryUuid:
                        type: string
                      languageUuid:
                        type: string
                      timezoneUuid:
                        type: string
                      productCode:
                        type: string
                      pickup:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            direction:
                              type: number
                            type:
                              type: number
                            referenceTime:
                              type: string
                            timeBeforeSession:
                              type: number
                            location:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                  instructions:
                                    type: string
                                  addressLine:
                                    type: string
                                  pickupTime:
                                    type: number
                                  latitude:
                                    type: string
                                  longitude:
                                    type: string
                                  pickupLocationUuid:
                                    type: string
                                required:
                                - label
                                - instructions
                                - addressLine
                                - pickupTime
                                - latitude
                                - longitude
                                - pickupLocationUuid
                          required:
                          - uuid
                          - label
                          - type
                          - direction
                          - referenceTime
                          - timeBeforeSession
                          - location
                      translationLanguagesUuids:
                        type: array
                        items: {}
                      guideLanguagesUuids:
                        type: array
                        items:
                          type: string
                      audioHeadsetLanguagesUuids:
                        type: array
                        items: {}
                      writtenLanguagesUuids:
                        type: array
                        items: {}
                      regionUuid:
                        type: string
                      duration:
                        type: object
                        properties:
                          day:
                            type: number
                          hour:
                            type: number
                          min:
                            type: number
                      feeNdTax:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            type:
                              type: string
                            charge:
                              type: number
                            included:
                              type: number
                            rule:
                              type: string
                      depositPolicy:
                        type: object
                        properties:
                          uuid:
                            type: string
                          label:
                            type: string
                          policyType:
                            type: number
                          handlingCharge:
                            type: number
                          allowFullAmountPay:
                            type: number
                          allowMinAlarm:
                            type: number
                          dueDays:
                            type: number
                      cancelPolicy:
                        type: object
                        properties:
                          uuid:
                            type: string
                          label:
                            type: string
                          policyRule:
                            type: array
                            items:
                              type: object
                              properties:
                                from:
                                  type: number
                                to:
                                  type: number
                                periodUnit:
                                  type: string
                                charge:
                                  type: number
                                unit:
                                  type: string
                              required:
                              - from
                              - to
                              - periodUnit
                              - charge
                              - unit
                      feeDetail:
                        type: object
                        properties:
                          include:
                            type: object
                            properties:
                              systemUuids:
                                type: array
                                items:
                                  type: string
                              custom:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    uuid:
                                      type: string
                                    label:
                                      type: string
                          exclude:
                            type: object
                            properties:
                              systemUuids:
                                type: array
                                items:
                                  type: string
                              custom:
                                type: array
                                items: {}
                      bookingInfo:
                        type: object
                        properties:
                          uuid:
                            type: string
                          label:
                            type: string
                          storeUuid:
                            type: string
                          fields:
                            type: array
                            items:
                              type: object
                              properties:
                                uuid:
                                  type: string
                                category:
                                  type: string
                                label:
                                  type: string
                                type:
                                  type: string
                                config:
                                  type: object
                                  properties:
                                    values:
                                      type: array
                                      items: {}
                                    ask:
                                      type: number
                                    display:
                                      type: object
                                      properties:
                                        website:
                                          type: number
                                        internal:
                                          type: number
                              required:
                              - uuid
                              - category
                              - label
                              - type
                              - config
                      bookingCutline:
                        type: object
                        properties:
                          bySessionTime:
                            type: string
                          type:
                            type: string
                          day:
                            type: number
                          time:
                            type: string
                      saleable:
                        type: object
                        properties:
                          type:
                            type: string
                          day:
                            type: number
                          time:
                            type: string
                      location:
                        type: object
                        properties:
                          destination:
                            type: array
                            items:
                              type: object
                              properties:
                                uuid:
                                  type: string
                                title:
                                  type: string
                                address:
                                  type: string
                                note:
                                  type: string
                                display:
                                  type: number
                                geo:
                                  type: object
                                  properties:
                                    lat:
                                      type: number
                                    lng:
                                      type: number
                                storeMediaUsageUuid: {}
                                regionUuid:
                                  type: string
                                countryUuid:
                                  type: string
                                landmarkUuid:
                                  type: string
                                businessPhoneITI:
                                  type: number
                                businessPhone:
                                  type: string
                                businessWording:
                                  type: string
                                isAllDay:
                                  type: boolean
                                weekdays:
                                  type: object
                                  properties:
                                    Sun:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Mon:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Tue:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Wed:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Thu:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Fri:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Sat:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                placeId:
                                  type: string
                                placeIdTag:
                                  type: string
                                mapSnapshotImage:
                                  type: string
                              required:
                              - uuid
                              - title
                              - address
                              - note
                              - display
                              - geo
                              - storeMediaUsageUuid
                              - regionUuid
                              - countryUuid
                              - landmarkUuid
                              - businessPhoneITI
                              - businessPhone
                              - businessWording
                              - isAllDay
                              - weekdays
                              - placeId
                              - placeIdTag
                              - mapSnapshotImage
                          meetPlace:
                            type: array
                            items:
                              type: object
                              properties:
                                uuid:
                                  type: string
                                title:
                                  type: string
                                address:
                                  type: string
                                note:
                                  type: string
                                display:
                                  type: number
                                geo:
                                  type: object
                                  properties:
                                    lat:
                                      type: number
                                    lng:
                                      type: number
                                storeMediaUsageUuid: {}
                                regionUuid:
                                  type: string
                                countryUuid:
                                  type: string
                                landmarkUuid:
                                  type: string
                                businessPhoneITI:
                                  type: number
                                businessPhone:
                                  type: string
                                businessWording:
                                  type: string
                                isAllDay:
                                  type: boolean
                                weekdays:
                                  type: object
                                  properties:
                                    Sun:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Mon:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Tue:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Wed:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Thu:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Fri:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                    Sat:
                                      type: object
                                      properties:
                                        from:
                                          type: string
                                        to:
                                          type: string
                                        last:
                                          type: string
                                placeId:
                                  type: string
                                placeIdTag:
                                  type: string
                                mapSnapshotImage:
                                  type: string
                          exchange:
                            type: array
                            items: {}
                      extra:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            priceType:
                              type: number
                            price:
                              type: number
                            description:
                              type: string
                            imageUrl:
                              type: string
                            storeMediaUsageUuid:
                              type: string
                      acceptPayType:
                        type: array
                        items:
                          type: number
                      confirmType:
                        type: number
                      confirmHour:
                        type: number
                      confirmMode:
                        type: number
                      status:
                        type: string
                      statusAvailableUntil:
                        type: string
                      mainLandmarkUuid:
                        type: string
                      mainLandmark:
                        type: string
                      landmarkUuids:
                        type: array
                        items: {}
                      voucherOptionUuid:
                        type: string
                      voucherDesc:
                        type: string
                      sendVoucherType:
                        type: number
                      sendVoucherHour:
                        type: number
                      sendVoucherMode:
                        type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 597a8861-82ce-4770-892a-ab718f76a63c
                  title: 'Day Tour from Taipei: Jiufen Old Street, Golden Waterfall, and Bitou Cape'
                  brief: Escape Taipei for a day to see Taiwan’s rugged beauty. Discover unique landscapes at Bitou Cape and Golden Waterfalls. Admire the historic Jiufen village and its rural charms.
                  description: "－ Highlights － \n\n• Explore Bitou Cape, Nanya Rock Formations, and Golden Waterfalls\n• Delight in the mix of yellow and blue bay colors at Yin Yang Sea\n• Learn about the famous gold rush at the Gold Museum\n• Indulge in local delicacies along Jiufen’s ancient streets\n\n\n－ What You Can Expect － \n\nHead to Taiwan's northeastern coast for a day of scenic wonders. Visit Nanya Rock Formations and its sea-eroded coral shore. Check out charming stone patterns made by weathered sandstone. Observe steep cliffs, marine fossils, mushroom and honeycomb-shaped rocks at Bitou Cape. \n\nGaze upon the curious bay where yellow waters meet the blue ocean at Yin Yang Sea. Be mesmerized by Golden Waterfall’s waves cascading in spectacular fashion. This region was also once home to gold. Gain insight into the history of the gold rush, mining techniques, and tools,\n\nStroll the traditional village of Jiufen. Get surrounded by buildings and old streets bursting with character and culture. Browse stalls selling tasty delicacies to taste and interesting knick knacks. Discover Taiwan’s northern paradise today!\n\n\n－ Important Info －\n\n・Meeting Time: 8:50am - 9:00am\n・Last Departure Point: Taipei Main Station (East Gate 3)\n(Please look for our staff wearing Taiwan Tour Bus vests to confirm your attendance)\n・Duration: ~8 hrs\n・Returning Point: Taipei Main Station\n\n\n－ Additional Info －\n\n・The Gold Museum is closed on the first Monday of every month\n・Free admission for children under age 3, must be traveling with an adult and must not occupy a seat. Insurance must be purchased separately\n・Ages 3 and up will be charged an adult admission fee"
                  itinerary:
                  - content:
                    - uuid: 816d6ec8-aece-435a-9524-7a1da5e44918
                      hour: 08
                      min: '40'
                      type: 1
                      title: 'Pick up at Ximen MRT Exit #5 (Leave at 08:45)'
                    - uuid: a9b02132-17bf-4692-8a2e-0482bbbd5558
                      hour: 08
                      min: '50'
                      type: 1
                      title: Meet up at Taipei Main Station (East Gate 3)
                    - uuid: 891d3a20-1cf0-44ba-955e-409f3606bc4d
                      hour: 09
                      min: '00'
                      type: 1
                      title: Depart to Bitou Cape
                      storeMediaUsageUuid: ''
                    - uuid: 7200bffb-7092-4fb2-87a7-7aa291a08e5c
                      hour: ''
                      min: ''
                      type: 2
                      title: Stop at Bitou Cape
                      storeMediaUsageUuid: ''
                    - uuid: 4c8e517e-f188-4110-afc7-db6e27b9b9f0
                      hour: ''
                      min: ''
                      type: 2
                      title: Nan Ya Rock Formations
                      storeMediaUsageUuid: 702b05c5-92ef-4694-ab11-2680bfbb4065
                    - uuid: 36c044b1-da9d-4928-86d4-4e1077103172
                      hour: ''
                      min: ''
                      type: 2
                      title: Yin Yang Sea
                      storeMediaUsageUuid: 87f71476-3b35-4804-87c5-0085d903b5bc
                    - uuid: b2f33b5e-6cb4-4fd3-b3dc-057a67b72cdf
                      hour: ''
                      min: ''
                      type: 2
                      title: The Golden Waterfall
                      storeMediaUsageUuid: a54007b7-8090-4c0f-a7f4-e283ce62376f
                    - uuid: 609a7aab-7632-4027-887c-dfacd085f90d
                      hour: ''
                      min: ''
                      type: 2
                      title: Gold Museum
                      storeMediaUsageUuid: ''
                    - uuid: 02d6ab27-2f11-4d67-b2ba-737cd21e0229
                      hour: ''
                      min: ''
                      type: 2
                      title: Lunch Time
                      storeMediaUsageUuid: ''
                    - uuid: 707194fc-5f80-4b68-bee0-4d8c0baac14c
                      hour: ''
                      min: ''
                      type: 2
                      title: Jiufen Old Street
                      storeMediaUsageUuid: 4dc2e817-cdbd-4f3c-9ab8-e8d5fa0e0c53
                    - uuid: 929db453-8530-40fc-8ee9-ab3ce6bbfbd8
                      hour: '17'
                      min: '00'
                      type: 1
                      title: Return to Taipei Main Station
                      storeMediaUsageUuid: ''
                  warnings: '・If total number of passengers is below 4 (the minimum requirement for this trip), you will be informed 3 days prior to departure

                    ・Contact our customer service for refunds from schedule changes/cancellations due to traffic, weather, and other unexpected conditions

                    ・Actual itinerary is dependent on weather/transportation conditions

                    ・We will not provide refunds for missed tours due to late arrival

                    ・Visitors to Taiwan must provide copies of their identification cards or passports for insurance purposes

                    ・For English and Japanese service, there are tour guides and iPad guides available. The specific service cannot be selected by traveler, and is dependent on on-site availability'
                  countryUuid: 23fdb4b8-0a8a-46aa-957a-e4d938d9866d
                  currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                  priceStartAt: 29.99
                  categoryUuid: 7b191497-9ef1-4c15-9231-fc4ac70ca4d9
                  languageUuid: affd2a03-556b-43e5-b64b-022c0abd298f
                  timezoneUuid: 6bda40f7-5e0c-4dbb-8c3f-63ef6db73363
                  productCode: JIUFENA1
                  pickup:
                  - uuid: 9173c3f0-1734-4e4a-b402-293b46184205
                    label: Pickup from Taipei Train Station and Ximen MRT Station
                    direction: 1
                    type: 1
                    referenceTime: 09:00
                    timeBeforeSession: 1
                    location:
                    - label: Ximen MRT Station
                      instructions: 'Ximen MRT Exit #5, Looking for the guide with yellow T-shirt.'
                      addressLine: No.32-1, Baoqing Rd., Zhongzheng Dist., Taipei, Taiwan
                      pickupTime: 20
                      latitude: '25.042887'
                      longitude: '121.5082038'
                    - label: Taipei Main Station (East Gate 3)
                      instructions: Taipei Main Station, East Gate 3, Looking for the guide with yellow T-shirt.
                      addressLine: No. 3, Beiping W. Rd., Zhongzheng Dist., Taipei, Taiwan
                      pickupTime: 10
                      latitude: '25.0475267'
                      longitude: '121.5159648'
                  - uuid: 755e0377-e54b-4ea5-8039-7fd6e64fd533
                    label: Return to Taipei Main Station and Ximen MRT Station
                    type: 1
                    direction: 2
                    referenceTime: '15:00'
                    timeBeforeSession: 1
                    location:
                    - pickupLocationUuid: 31e2bcd4-5613-4126-b619-c0e5eec10f55
                      label: Ximen MRT Station
                      instructions: 'Ximen MRT Exit #5, Looking for the guide with yellow T-shirt.'
                      addressLine: No.32-1, Baoqing Rd., Zhongzheng Dist., Taipei, Taiwan
                      pickupTime: 20
                      latitude: '25.042887'
                      longitude: '121.5082038'
                    - pickupLocationUuid: defda692-e26b-4c82-b927-d78a2e37c44c
                      label: Taipei Main Station (East Gate 3)
                      instructions: Taipei Main Station, East Gate 3, Looking for the guide with yellow T-shirt.
                      addressLine: No. 3, Beiping W. Rd., Zhongzheng Dist., Taipei, Taiwan
                      pickupTime: 10
                      latitude: '25.034711'
                      longitude: '121.521825'
                  translationLanguagesUuids: []
                  guideLanguagesUuids:
                  - 7e8eaa1f-330d-436a-b17d-bdbefe83ab20
                  - 18bf6598-1711-4296-b0b2-023479a016a8
                  - 8a6cc5a7-3890-4d73-b338-7eb209aa4b82
                  audioHeadsetLanguagesUuids: []
                  writtenLanguagesUuids: []
                  regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
                  duration:
                    day: 0
                    hour: 8
                    min: 0
                  feeNdTax:
                  - uuid: 2dbe92c2-bf7c-46f8-9566-30e313368124
                    label: Invoice Tax
                    type: TAX
                    charge: 5
                    included: 1
                    rule: PERCENTAGE-ORDER
                  depositPolicy:
                    uuid: 4a957d29-f796-4f6c-8076-a4f6d6f05c4e
                    label: Day Tour $100 Deposit per person
                    policyType: 2
                    handlingCharge: 100
                    allowFullAmountPay: 0
                    allowMinAlarm: 1
                    dueDays: 3
                  cancelPolicy:
                    uuid: 301646a7-3547-4fe9-bb50-a3c3860d895f
                    label: Day Tour Cancel Rule
                    policyRule:
                    - from: 33
                      to: -1
                      periodUnit: DAY
                      charge: 0
                      unit: PERCENTAGE
                    - from: 23
                      to: 33
                      periodUnit: DAY
                      charge: 20
                      unit: PERCENTAGE
                    - from: 16
                      to: 23
                      periodUnit: DAY
                      charge: 30
                      unit: PERCENTAGE
                    - from: 4
                      to: 16
                      periodUnit: DAY
                      charge: 50
                      unit: PERCENTAGE
                    - from: -1
                      to: 4
                      periodUnit: DAY
                      charge: 100
                      unit: PERCENTAGE
                  feeDetail:
                    include:
                      systemUuids:
                      - 2075baca-e1d3-4ca0-ae1b-3c77068e017a
                      - 2a509272-0b12-498c-aa45-ea13fb38c30c
                      custom:
                      - uuid: 82534fee-89b0-41a0-863f-42b3cfe6d7cd
                        label: Travel insurance (NT$2 million and medical fees at NT$30 thousand)
                    exclude:
                      systemUuids:
                      - fa5e65c0-d5cc-4a77-a5c3-a2b2dd405446
                      - b2656af1-2bc8-4f2a-9fb9-6c3f545093fb
                      custom: []
                  bookingInfo:
                    uuid: 5dfa699c-bfe8-44f7-b7cb-3a53dbc423a1
                    label: Booking Data for Day Tour
                    storeUuid: cebf3f02-f2e8-4bba-bff5-af7ab303255c
                    fields:
                    - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                      category: contact
                      label: First Name
                      type: input
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 2
                          internal: 1
                    - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                      category: contact
                      label: Last Name
                      type: input
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 2
                          internal: 1
                    - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                      category: contact
                      label: Email
                      type: email
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 2
                          internal: 1
                    - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                      category: contact
                      label: Mobile
                      type: phone
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 2
                          internal: 1
                    - uuid: 57035281-8a2a-4c76-8a44-f9cfa3117654
                      category: contact
                      label: Phone
                      type: phone
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: b13428d9-b9ff-473c-a612-66b6637221ed
                      category: contact
                      label: Fax
                      type: phone
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 10662538-eef3-4171-9972-41300fa473d9
                      category: contact
                      label: Gender
                      type: select
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 251a6a27-7fbc-4411-83ec-dfd1e9b93b1b
                      category: contact
                      label: Date of Birth
                      type: date
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 4e34479f-fe84-4bd3-a443-bbd7df182537
                      category: contact
                      label: Preferred Language
                      type: language
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 96e58831-e2df-453b-8a6e-4fd74da1dd64
                      category: contact
                      label: Company Name
                      type: input
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 496a769e-ad54-48b3-a5eb-0a5c8b83395f
                      category: contact
                      label: Country/Territory
                      type: country
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 790ebdf2-7b60-4d02-851d-7c7a680f172b
                      category: contact
                      label: State/County/Region
                      type: state
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: c570a05e-31dc-4f1c-9669-9facb038ea2e
                      category: contact
                      label: City/Town/Suburb
                      type: city
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 3f61ae81-2738-46dd-a83d-b09bc596d763
                      category: contact
                      label: Postcode/ZIP
                      type: input
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 9665763e-7476-470a-9a65-a0bd3e062813
                      category: contact
                      label: Address
                      type: input
                      config:
                        values: []
                        ask: 1
                        display:
                          website: 0
                          internal: 1
                    - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                      category: participant
                      label: First Name
                      type: input
                      config:
                        values: []
                        ask: 2
                        display:
                          website: 2
                          internal: 1
                    - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                      category: participant
                      label: Last Name
                      type: input
                      config:
                        values: []
                        ask: 2
                        display:
                          website: 2
                          internal: 1
                    - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                      category: participant
                      label: Gender
                      type: select
                      config:
                        values: []
                        ask: 2
                        display:
                          website: 2
                          internal: 1
                    - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                      category: participant
                      label: Date of Birth
                      type: date
                      config:
                        values: []
                        ask: 2
                        display:
                          website: 2
                          internal: 1
                    - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                      category: participant
                      label: Nationality
                      type: input
                      config:
                        values: []
                        ask: 2
                        display:
                          website: 2
                          internal: 1
                    - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                      category: participant
                      label: Passport number
                      type: input
                      config:
                        values: []
                        ask: 2
                        display:
                          website: 2
                          internal: 1
                  bookingCutline:
                    bySessionTime: START
                    type: ABSOLUTE
                    day: 2
                    time: '18:00'
                  saleable:
                    type: ABSOLUTE
                    day: 30
                    time: '18:00'
                  location:
                    destination:
                    - uuid: 404dfd5c-ab60-4c4c-a263-90516e0e2852
                      title: Jiufen
                      address: Ruifang District, New Taipei City
                      note: 九份老街
                      display: 1
                      geo:
                        lat: 25.02622730382695
                        lng: 121.55901986176264
                      storeMediaUsageUuid: null
                      regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
                      countryUuid: 23fdb4b8-0a8a-46aa-957a-e4d938d9866d
                      landmarkUuid: 9169c01f-54f4-4c44-936d-0dab6088ae4a
                      businessPhoneITI: 886
                      businessPhone: '12334567'
                      businessWording: 'Business hours: 10:00-17:00.'
                      isAllDay: false
                      weekdays:
                        Sun:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Mon:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Tue:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Wed:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Thu:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Fri:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Sat:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                      placeId: ChIJcZT7-hdFXTQR0qekplqCFV8
                      placeIdTag: 九份老街
                      mapSnapshotImage: ''
                    - uuid: 3e4f05f3-f91f-4447-98dd-77d6494c9a4d
                      title: The Golden Waterfall
                      address: Jinshui Rd., Ruifang Dist., New Taipei City
                      note: ''
                      display: 1
                      geo:
                        lat: 25.013471245634832
                        lng: 121.55864331058858
                      storeMediaUsageUuid: null
                      regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
                      countryUuid: 23fdb4b8-0a8a-46aa-957a-e4d938d9866d
                      landmarkUuid: 9169c01f-54f4-4c44-936d-0dab6088ae4a
                      businessPhoneITI: 886
                      businessPhone: '12334567'
                      businessWording: 'Business hours: 10:00-17:00.'
                      isAllDay: false
                      weekdays:
                        Sun:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Mon:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Tue:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Wed:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Thu:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Fri:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Sat:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                      placeId: ChIJcZT7-hdFXTQR0qekplqCFV8
                      placeIdTag: 九份老街
                      mapSnapshotImage: ''
                    meetPlace:
                    - uuid: 046a152e-b6ed-4037-a856-4ad669cd199c
                      title: Taipei Main Station
                      address: No. 3, Beiping W. Rd., Zhongzheng Dist., Taipei, Taiwan
                      note: East Gate 3
                      display: 1
                      geo:
                        lat: 25.03396870000002
                        lng: 121.56228350000004
                      storeMediaUsageUuid: null
                      regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
                      countryUuid: 23fdb4b8-0a8a-46aa-957a-e4d938d9866d
                      landmarkUuid: 9169c01f-54f4-4c44-936d-0dab6088ae4a
                      businessPhoneITI: 886
                      businessPhone: '12334567'
                      businessWording: 'Business hours: 10:00-17:00.'
                      isAllDay: false
                      weekdays:
                        Sun:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Mon:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Tue:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Wed:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Thu:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Fri:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                        Sat:
                          from: '10:00'
                          to: '17:00'
                          last: '16:00'
                      placeId: ChIJcZT7-hdFXTQR0qekplqCFV8
                      placeIdTag: 九份老街
                      mapSnapshotImage: ''
                    exchange: []
                  extra:
                  - uuid: 82097bf2-d2a8-458a-b5f9-cc807a060c82
                    label: Tea Time Meal Set
                    priceType: 2
                    price: 9.9
                    description: Famous tea restaurant in Jiufen Old Street, get extra deal to get 20% off discount!
                    imageUrl: https://img.box.rezio.io/cebf3f02-f2e8-4bba-bff5-af7ab303255c/98530b7a-5eea-440e-a82c-f14a39277531.png
                    storeMediaUsageUuid: d745af31-40fd-4410-a7de-1ac211fc9e30
                  acceptPayType:
                  - 1
                  - 2
                  confirmType: 1
                  confirmHour: 48
                  confirmMode: 1
                  status: AVAILABLE_UNTIL
                  statusAvailableUntil: '2019-06-25'
                  mainLandmarkUuid: b1585f86-2a47-4ece-959c-4d720a0bb4c
                  mainLandmark: 台北101
                  landmarkUuids: []
                  voucherOptionUuid: 2929d51e-64f5-4b46-87dc-4890c5ad39c2
                  voucherDesc: Voucher will be sent via email. Please show your e-voucher at designated location.
                  sendVoucherType: 1
                  sendVoucherHour: 0
                  sendVoucherMode: 0
      summary: Get Product
      operationId: get-v1-product-productUuid-detail
      description: "Load an existing product detail by productUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/detail</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>        \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-product-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-product-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Product UUID</td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Product name</td>\n    </tr>\n    <tr>\n        <td>brief</td>\n        <td>string</td>\n        <td>Product brief</td>\n    </tr>\n    <tr>\n        <td>feature</td>\n        <td>string</td>\n        <td>Product highlight</td>\n    </tr>\n    <tr>\n        <td>description</td>\n        <td>string</td>\n        <td>Product description, introduce the product's attractions</td>\n    </tr>\n    <tr>\n        <td>itinerary</td>\n        <td><b>array</b></td>\n        <td>Product itinerary, check<a href=\"#itinerary-product-detail\"> itinerary </a> for details</td>\n    </tr>\n    <tr>\n        <td>warnings</td>\n        <td>string</td>\n        <td>Product special terms and conditions, all warnings to be noted</td>\n    </tr>\n    <tr>\n        <td>purchaseSummary</td>\n        <td>string</td>\n        <td>The purchase notice</td>\n    </tr>\n    <tr>\n        <td>userRestrictions</td>\n        <td>array</td>\n        <td>Specific user restrictions, check<a href=\"#userRestrictions-product-detail\"> userRestrictions </a> for details</td>\n    </tr>\n    <tr>\n        <td>countryUuid</td>\n        <td>UUID</td>\n        <td>Country UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=country</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>priceStartAt</td>\n        <td>number</td>\n        <td>The advertising price. It's the lowest adult price or your customized price.</td>\n    </tr>\n    <tr>\n        <td>categoryUuid</td>\n        <td>UUID</td>\n        <td>Product Category UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=category</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>languageUuid</td>\n        <td>UUID</td>\n        <td>Language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=language</a> to get UUID\n        </td>\n    </tr>\n\
        \    <tr>\n        <td>timezoneUuid</td>\n        <td>UUID</td>\n        <td>Timezone UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=timezone</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>productCode</td>\n        <td>string</td>\n        <td>Product code, allowed customized or unique 6 chars generated by Rezio<br>\n        Note: customized code cannot be duplicated in your store</td>\n    </tr>\n    <tr>\n        <td>pickup</td>\n        <td><b>array</b></td>\n        <td>Applied pickup rule<br>\n            Check <a href=\"#product-pickup-detail\">pickup</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>onsiteLanguageUuids</td>\n        <td><b>array</b></td>\n        <td>On-site guide language UUIDs<br>\n            Accept multiple spoken languages. Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>guideLanguageUuids</td>\n        <td><b>array</b></td>\n        <td>Guide language UUIDs<br>\n            Accept multiple spoken languages. Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>deviceLanguageUuids</td>\n        <td><b>array</b></td>\n        <td>Audio guide device language UUIDs<br>\n            Accept multiple spoken languages. Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>materialLanguageUuids</td>\n        <td><b>array</b></td>\n        <td>Printed material language UUIDs<br>\n            Accept multiple languages. Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageAll</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>regionUuid</td>\n        <td>UUID</td>\n        <td>Region UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=region</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>duration</td>\n        <td><b>object</b></td>\n        <td>Duration time of product<br>\n            <b>day</b>  Day<br>\n            <b>hour</b>  Hour<br>\n            <b>min</b>  Minute\n        </td>\n    </tr>\n    <tr>\n        <td>feeNdTax</td>\n        <td><b>array</b></td>\n        <td>Applied tax & fees items<br>\n            Check <a href=\"#data-tax-detail\">/v1/setting/feeNdTax ::data</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>depositPolicy</td>\n        <td><b>object</b></td>\n        <td>Applied deposit policy<br>\n            Check <a href=\"#data-deposit-detail\">/v1/setting/deposit ::data</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>cancelPolicy</td>\n        <td><b>object</b></td>\n        <td>Applied cancellation policy<br>\n            Check <a href=\"#data-cancel-detail\">/v1/setting/cancelPolicy ::data</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>feeDetail</td>\n        <td><b>object</b></td>\n        <td>Included and excluded fees, check<a href=\"#feedetail-product-detail\"> feeDetail </a> for details</td>\n    </tr>\n    <tr>\n        <td>bookingInfo</td>\n        <td><b>object</b></td>\n        <td>Applied booking information rule<br>\n            Check <a href=\"#data-bkinfo-detail\">/v1/setting/bookingInfo ::data</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>bookingCutline</td>\n        <td><b>object</b></td>\n        <td>Booking cut-off time<br>\n            Check <a href=\"#booking-cutline-product-detail\"> bookingCutline </a> for details</td>\n    </tr>\n    <tr>\n        <td>saleable</td>\n        <td><b>object</b></td>\n        <td>Available Booking Setting<br>\n            Check<a href=\"#saleable-product-detail\"> saleable </a> for details</td>\n    </tr>\n    <tr>\n        <td>location</td>\n        <td><b>object</b></td>\n        <td>Support multiple locations, including destination, meeting point, exchange point, check<a\
        \ href=\"#location-product-detail\"> location </a> for details</td>\n    </tr>\n    <tr>\n        <td>extra</td>\n        <td><b>array</b></td>\n        <td>Applied sellable extra items<br>\n            Check <a href=\"#data-extra-detail\">/v1/setting/extra ::data</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>acceptPayType</td>\n        <td><b>array</b></td>\n        <td>Accepted payment type (for official website)<br>\n            <b>1</b>  ATM/Bank Transfer<br>\n            <b>2</b>  Cash/On-site payment<br>\n            <b>4</b>  Online payment\n        </td>\n    </tr>\n    <tr>\n        <td>confirmType</td>\n        <td>int</td>\n        <td>Order confirmation<br>\n            <b>1</b>  Automatically confirmed<br>\n            <b>2</b>  Manually confirmed\n        </td>\n    </tr>\n    <tr>\n        <td>confirmMode</td>\n        <td>int</td>\n        <td>Confirmed dates baseline<br>\n            <b>1</b>  By booking date<br>\n            <b>2</b>  Before departure date\n        </td>\n    </tr>\n    <tr>\n        <td>confirmHour</td>\n        <td>int</td>\n        <td>Confirmation required time<br>\n            Unit is hour, range: 0 ~ 72 hours<br>\n            Note: when <b>confirmType = 1 AND confirmHour = 0</b>, it is an <b>Instant Confirmation</b> \n        </td>\n    </tr>\n    <tr>\n        <td>status</td>\n        <td>string</td>\n        <td>Product status<br>\n            <b>IN_PROGRESS</b>  Product is in editing, missing some required settings.<br>\n            <b>ARCHIVED</b>  Product in this status will not appear in the product list, no longer sellable and archived.<br>\n            <b>END_SELLING</b>  End of sale, no available future sessions<br>\n            <b>FULLY_BOOKED</b>  Fully booked, capacity of all sessions is full.<br>\n            <b>DISCONTINUED</b>  Sale paused, all <b>publishStatus</b> of packages were turned off.<br>\n            <b>AVAILABLE_UNTIL</b>  Available until the last session date, normal product selling status\n        </td>\n    </tr>\n    <tr>\n        <td>statusAvailableUntil</td>\n        <td>string</td>\n        <td>Available until the last session date, it's shown when <b>status = 'AVAILABLE_UNTIL'</b></td>\n    </tr>\n    <tr>\n        <td>mainLandmarkUuid</td>\n        <td>UUID</td>\n        <td>Main Landmark UUID <br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=landmark</a>\n        </td>\n    </tr>\n    <tr>\n        <td>mainLandmark</td>\n        <td>string</td>\n        <td>Main landmark label</td>\n    </tr>\n    <tr>\n        <td>landmarkUuids</td>\n        <td><b>array</b></td>\n        <td>Landmark UUID <br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=landmark</a>\n        </td>\n    </tr>\n    <tr>\n        <td>voucherOptionUuid</td>\n        <td>UUID</td>\n        <td>Voucher option UUID for instructions on how to use the voucher<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=voucherOption</a>\n        </td>\n    </tr>\n    <tr>\n        <td>voucherDesc</td>\n        <td>string</td>\n        <td>Voucher usage instructions</td>\n    </tr>\n    <tr>\n        <td>sendVoucherType</td>\n        <td>int</td>\n        <td>Voucher delivery method<br>\n            <b>1</b>  Automatically send - sent together with the order confirmation email<br>\n            <b>2</b>  Automatically send - specified time<br>\n            <b>3</b>  Manual send\n        </td>\n    </tr>\n    <tr>\n        <td>sendVoucherHour</td>\n        <td>int</td>\n        <td>Time required for voucher delivery, in hours<br>When sendVoucherType is 0, it is fixed at 0</td>\n    </tr>\n    <tr>\n        <td>sendVoucherMode</td>\n        <td>int</td>\n        <td>Voucher delivery date calculation baseline<br>\n            <b>1</b>  Based on the order creation date<br>\n            <b>2</b>  Based on the departure date<br>\n            When sendVoucherType is 0, it is fixed at 0\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"itinerary-product-detail\"\
        \ />*itinerary*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>breakfast</td>\n        <td>int</td>\n        <td>\n            <b>1</b>  Breakfast is included<br>\n            <b>0</b>  Breakfast is not included\n        </td>\n    </tr>\n    <tr>\n        <td>lunch</td>\n        <td>int</td>\n        <td>\n            <b>1</b>  Lunch is included<br>\n            <b>0</b>  Lunch is not included\n        </td>\n    </tr>\n    <tr>\n        <td>dinner</td>\n        <td>int</td>\n        <td>\n            <b>1</b>  Dinner is included<br>\n            <b>0</b>  Dinner is not included\n        </td>\n    </tr>\n    <tr>\n        <td>content</td>\n        <td><b>array</b></td>\n        <td>Itinerary content, check<a href=\"#itinerary-content-product-detail\"> content </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"itinerary-content-product-detail\" />*itinerary - content*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Listing UUID</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Listing type<br>\n            <b>1</b>  With time slot<br>\n            <b>2</b>  Bullet points\n        </td>\n    </tr>\n    <tr>\n        <td>hour</td>\n        <td>int</td>\n        <td>Hour, range: 00~23<br><b>Required when type = 1</b></td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>Minute(s)<br><b>Required when type = 1</b></td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Content name about what to do, i.e., Lunch Time</td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>string</td>\n        <td>Image UUID</td>\n    </tr>\n</table>\n\n##### <a name=\"userRestrictions-product-detail\" />*userRestrictions*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>include</td>\n        <td>array</td>\n        <td>For the travelers of the nationalities only. Country UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=countryAll</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>exclude</td>\n        <td>array</td>\n        <td>For the travelers who are not the nationalities. Country UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=countryAll</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>custom</td>\n        <td>array</td>\n        <td>Custom user restrictions.Check<a href=\"#userRestrictions-custom-product-detail\"> custom </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"userRestrictions-custom-product-detail\" />*userRestrictions - custom*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Custom user restrictions UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Custom user restrictions label</td>\n    </tr>\n</table>\n\n##### <a name=\"feedetail-product-detail\" />*feeDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>include</td>\n        <td><b>object</b></td>\n        <td>Fees included, check<a href=\"#feedetail-type-product-detail\"> type </a> for details</td>\n    </tr>\n    <tr>\n        <td>exclude</td>\n        <td><b>object</b></td>\n        <td>Fees excluded, check<a href=\"#feedetail-type-product-detail\"> type </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"feedetail-type-product-detail\" />*feeDetail - type*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>systemUuids</td>\n        <td><b>array</b></td>\n        <td>Fee UUID\
        \ by system defined <br>\n            Rezio provides various fees, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=feeOption</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>custom</td>\n        <td><b>array</b></td>\n        <td>Customized your own fees, check<a href=\"#feedetail-custom-product-detail\"> custom </a></td>\n    </tr>\n</table>\n\n##### <a name=\"feedetail-custom-product-detail\" />*feeDetail - custom*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Custom item UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Custom item label</td>\n    </tr>\n</table>\n\n##### <a name=\"location-product-detail\" />*location*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>destination</td>\n        <td><b>array</b></td>\n        <td>Destination<br>\n            Accept multiple destinations, check<a href=\"#location-content-product-detail\"> content </a> for details</td>\n    </tr>\n    <tr>\n        <td>meetPlace</td>\n        <td><b>array</b></td>\n        <td>Meeting Point<br>\n            Accept multiple meeting points, check<a href=\"#location-content-product-detail\"> content </a> for details</td>\n    </tr>\n    <tr>\n        <td>exchange</td>\n        <td><b>array</b></td>\n        <td>Accept multiple exchange point, check<a href=\"#location-content-product-detail\"> content </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"location-content-product-detail\" />*location - content*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Location UUID</td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Location name</td>\n    </tr>\n    <tr>\n        <td>address</td>\n        <td>string</td>\n        <td>Location real address</td>\n    </tr>\n    <tr>\n        <td>note</td>\n        <td>string</td>\n        <td>Supplementary note for location</td>\n    </tr>\n    <tr>\n        <td>display</td>\n        <td>int</td>\n        <td>Location display mode, using bitwise comparison<br>\n            <b>1</b>  Use Google Maps<br>\n            <b>2</b>  Use uploaded image<br>\n            <b>4</b>  Display business phone number<br>\n            <b>8</b>  Display business hours schedule<br>\n            <b>16</b>  Display business hours textual description\n        </td>\n    </tr>\n    <tr>\n        <td>geo</td>\n        <td>object</td>\n        <td>Geographic information<br>\n            Available for Google Maps when <b>\"display\"</b> contains 1, check<a href=\"#location-content-geo-product-detail\"> geo </a> for detail.\n        </td>\n    </tr>\n    <tr>\n        <td>mapSnapshotImage</td>\n        <td>string</td>\n        <td>URL of the image when the location is displayed on Google Maps, can be used when <b>\"display\"</b> contains 1</td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Image UUID<br>\n            Available for uploaded image when <b>\"display\"</b> contains 2</td>\n    </tr>\n    <tr>\n        <td>businessPhoneITI</td>\n        <td>int</td>\n        <td>Business phone ITI<br>\n            Country code can be obtained from <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</b></a> with <b>iti</b> as the value option<br>\n            Can be used when <b>\"display\"</b> contains 4</td>\n    </tr>\n    <tr>\n        <td>businessPhone</td>\n        <td>string</td>\n        <td>Business phone number, can be used when <b>\"display\"</b> contains 4</td>\n    </tr>\n    <tr>\n        <td>isAllDay</td>\n        <td>bool</td>\n        <td>Whether the business hours are not divided into sessions, can be used when <b>\"display\"</b> contains 8</td>\n    </tr>\n    <tr>\n        <td>weekdays</td>\n\
        \        <td>object</td>\n        <td>Business hours schedule<br>Can be set based on weekdays, keys allowed are <b>Sun</b>, <b>Mon</b>, <b>Tue</b>, <b>Wed</b>, <b>Thu</b>, <b>Fri</b>, <b>Sat</b><br>\n            Please refer to <a href=\"#location-content-weekdays-product-detail\"> weekdays description</a> for details<br>\n            Can be used when <b>\"display\"</b> contains 8</td>\n    </tr>\n    <tr>\n        <td>businessWording</td>\n        <td>string</td>\n        <td>Textual description of the business hours, can be used when <b>\"display\"</b> contains 16</td>\n    </tr>\n    <tr>\n        <td>regionUuid</td>\n        <td>UUID</td>\n        <td>Region UUID<br>\n            check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=region</a>\n        </td>\n    </tr>\n    <tr>\n        <td>countryUuid</td>\n        <td>UUID</td>\n        <td>Country UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=country</a>\n        </td>\n    </tr>\n    <tr>\n        <td>landmarkUuid</td>\n        <td>UUID</td>\n        <td>Landmark UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=landmark</a>\n        </td>\n    </tr>\n    <tr>\n        <td>placeId</td>\n        <td>string</td>\n        <td>Unique value of the Google location information</td>\n    </tr>\n    <tr>\n        <td>placeIdTag</td>\n        <td>string</td>\n        <td>Tag of the Google location information</td>\n    </tr>\n</table>\n\n##### <a name=\"location-content-geo-product-detail\" />*location - content - geo*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>lat</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Latitude</td>\n    </tr>\n    <tr>\n        <td>lng</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Longitude</td>\n    </tr>\n</table>\n\n##### <a name=\"location-content-weekdays-product-detail\" />*location - content - weekdays*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>string</td>\n        <td>Opening time, formatted as <b>HH:mm</b></td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>string</td>\n        <td>Closing time, formatted as <b>HH:mm</b></td>\n    </tr>\n    <tr>\n        <td>last</td>\n        <td>string</td>\n        <td>Last entry time, formatted as <b>HH:mm</b></td>\n    </tr>\n</table>\n\n##### <a name=\"booking-cutline-product-detail\" />*bookingCutline*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>bySessionTime</td>\n        <td>string</td>\n        <td>Session time baseline type<br>\n            <b>START</b>  Session start time<br>\n            <b>END</b>  Session end time\n        </td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Cut-off time baseline type<br>\n            <b>ABSOLUTE</b>  Specific time<br>\n            <b>RELATIVE</b>  Relative time\n        </td>\n    </tr>\n    <tr>\n        <td>day</td>\n        <td>int</td>\n        <td>Cut-off baseline, Day<br>\n            Minimum value is 0\n        </td>\n    </tr>\n    <tr>\n        <td>hour</td>\n        <td>int</td>\n        <td>Cut-off baseline, Hour<br>\n            <b>Required when \"type\": \"RELATIVE\"</b><br>\n            Range: 0~23\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>Cut-off baseline, Minute, with 5-minute intervals.<br>\n            <b>Required when \"type\": \"RELATIVE\"</b><br>\n            Value: 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55\n        </td>\n    </tr>\n    <tr>\n        <td>time</td>\n        <td>string</td>\n        <td>Specific cut-off time<br>\n            <b>Required when \"type\": \"ABSOLUTE\"</b><br>\n            Format is <b>HH:mm</b><br>\n            <b>HH</b> Range: 00~23<br>\n           \
        \ <b>mm</b> Range: 00~59\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"saleable-product-detail\" />*saleable*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Available Booking time baseline type<br>\n            <b>UNLIMITED</b> Unlimited<br>\n            <b>CURRENTDAY</b> Only sessions on the day of booking<br>\n            <b>ABSOLUTE</b>  Specified<br>\n            <b>RELATIVE</b>  Relative\n        </td>\n    </tr>\n    <tr>\n        <td>day</td>\n        <td>int</td>\n        <td>Available Booking time baseline, Day<br>\n            <b>Required when \"type\": \"ABSOLUTE\" or \"RELATIVE\"</b>\n        </td>\n    </tr>\n    <tr>\n        <td>hour</td>\n        <td>int</td>\n        <td>Available Booking time baseline, Hour<br>\n            <b>Required when \"type\": \"RELATIVE\"</b><br>\n            Range: 0~23\n        </td>\n    </tr>\n    <tr>\n        <td>time</td>\n        <td>string</td>\n        <td>Specific time<br>\n            <b>Required when \"type\": \"ABSOLUTE\"</b><br>\n            Format is <b>HH:mm</b><br>\n            <b>HH</b> Range: 00~23<br>\n            <b>mm</b> Range: 00~59\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"product-pickup-detail\" />*pickup*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Pickup Rule UUID</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Route type<br>\n            <b>1</b>  Fixed pickup route<br>\n            <b>2</b>  Allow customer to input pickup request\n        </td>\n    </tr>\n    <tr>\n        <td>direction</td>\n        <td>int</td>\n        <td>Direction<br>\n            <b>1</b>  Outbound Pickup Route<br>\n            <b>2</b>  Return Pickup Route\n        </td>\n    </tr>\n    <tr>\n        <td>referenceTime</td>\n        <td>string</td>\n        <td>ReferenceTime<br>\n            Available when Route type = 1; format is <b>HH:mm</b>, i.e., 09:00\n        </td>\n    </tr>\n    <tr>\n        <td>timeBeforeSession</td>\n        <td>int</td>\n        <td>Is pickup ahead of schedule (tour departure time)?<br>\n            <b>1</b>  Yes, ahead<br> \n            <b>0</b>  No, behind<br>\n            Available when <b>Route type = 1</b>.\n        </td>\n    </tr>\n    <tr>\n        <td>location</td>\n        <td><b>array</b></td>\n        <td>Pickup location details<br>\n            When <b>Route type = 1</b>, check<a href=\"#location-type1\"> location 1</a><br>\n            When <b>Route type = 2</b>, check<a href=\"#location-type2\"> location 2</a>\n        </td>\n    </tr>\n</table>"
      tags:
      - Product List
      parameters:
      - name: productUuid
        in: path
        required: true
        schema:
          type: string
  /v1/product/{productUuid}/salesOption:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        uuid:
                          type: string
                        title:
                          type: string
                        description:
                          type: string
                        publishStatus:
                          type: number
                        mysiteIsPublished:
                          type: number
                        sort:
                          type: number
                        storeMediaUsageUuid:
                          type: string
                        imageUrl:
                          type: string
                        priceStartAt:
                          type: number
                        ticketValidity: {}
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                - uuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                  title: Day tour
                  description: ''
                  publishStatus: 1
                  mysiteIsPublished: 1
                  sort: 1
                  storeMediaUsageUuid: 497e52a7-5934-4cd0-88f8-acd6b8d442ac
                  imageUrl: https://img.box.rezio.io/368d9a4d-06fc-41d6-a505-a982640d027f/40719e5e-877d-42a7-909a-853fb83403ad.jpeg
                  priceStartAt: 650
                  ticketValidity: null
      summary: Get Product Packages
      operationId: get-v1-product-productUuid-salesOption
      description: "<a name=\"home-product-sale-option\" />Load the existing product's packages by productUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/salesOption</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n            <td>productUuid</td>\n            <td>UUID</td>\n            <td>Y</td>\n            <td>Product UUID</td>\n        </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-product-so-get\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-product-so-get\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Package name</td>\n    </tr>\n    <tr>\n        <td>description</td>\n        <td>string</td>\n        <td>Package description</td>\n    </tr>\n    <tr>\n        <td>publishStatus</td>\n        <td>int</td>\n        <td>Publish status of package<br>\n            <b>1</b>  Sale turned ON<br>\n            <b>0</b>  Sale turned OFF\n        </td>\n    </tr>\n    <tr>\n        <td>mysiteIsPublished</td>\n        <td>int</td>\n        <td>Publish status of MySite<br>\n            <b>1</b>  Sale turned ON<br>\n            <b>0</b>  Sale turned OFF\n        </td>\n    </tr>\n    <tr>\n        <td>sort</td>\n        <td>int</td>\n        <td>Sorting of packages in ascending order</td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>string</td>\n        <td>Image usage UUID</td>\n    </tr>\n    <tr>\n        <td>imageUrl</td>\n        <td>string</td>\n        <td>Package representative image URL</td>\n    </tr>\n    <tr>\n        <td>priceStartAt</td>\n        <td>float</td>\n        <td>Custom advertising price</td>\n    </tr>\n    <tr>\n        <td>ticketValidity</td>\n        <td>object</td>\n        <td>When the product type is a ticket, it provides information about package tickets, otherwise it is <b>null</b>.<br>\n            Check <a href=\"#ticket-validity-data-product-so-get\">ticketValidity</a> for detail.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"ticket-validity-data-product-so-get\" />*ticketValidity*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Ticket validity type<br>\n            <b>LIMIT</b> - Can only be used during selected session time, cannot be used outside of specified session time<br>\n            <b>ABSOLUTE</b> - Valid until a specified date<br>\n            <b>RANGE</b> - Valid within a specified date range<br>\n            <b>RELATIVE</b> - Valid for a certain period of time after purchase\n        </td>\n    </tr>\n    <tr>\n        <td>allowExpiredRedemption</td>\n        <td>bool</td>\n        <td>Handling of expired\
        \ tickets<br>\n            <b>true</b> - Allow redemption<br>\n            <b>false</b> - Do not allow redemption\n        </td>\n    </tr>\n</table>"
      tags:
      - Product List
      parameters:
      - name: productUuid
        in: path
        description: Product UUID
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      salesOptionUuids:
                        type: array
                        items:
                          type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  salesOptionUuids:
                  - c15d3c20-c548-42be-aa7b-b6ba53a41962
      summary: Update Product Package
      operationId: put-v1-product-productUuid-salesOption
      description: "*` REQUIRED ` step of  creating a product* <br>Update a product's package. In Rezio, package is the real field of pricing rule and session (availability).\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/salesOption</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>salesOption</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Packages<br>\n            Check<a href=\"#sale-option-product-add\"> salesOption </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"sale-option-product-add\" />*salesOption*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Package UUID<br>\n            Leave it empty when create a new package.<br>\n            Update an existing package by package UUID.<br>\n            Create a new package will retrieve UUID or use <a href=\"#home-product-sale-option\">Get Product Packages</a> to get UUID.\n        </td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(300)</td>\n        <td>Y</td>\n        <td>Package name</td>\n    </tr>\n    <tr>\n        <td>description</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Package description</td>\n    </tr>\n    <tr>\n        <td>publishStatus</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Publish status of package<br>\n            <b>1</b>  Sale turned ON<br>\n            <b>0</b>  Sale turned OFF\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-product-so-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-product-so-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>salesOptionUuids</td>\n        <td><b>array</b></td>\n        <td>Package UUID</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              salesOption:
              - uuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                title: Day tour
                description: ''
                publishStatus: 1
            schema:
              type: object
              properties:
                salesOption:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      title:
                        type: string
                      description:
                        type: string
                      publishStatus:
                        type: number
  /v1/product/{productUuid}/mediaInfo:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      cover:
                        type: array
                        items:
                          type: object
                          properties:
                            storeMediaUsageUuid:
                              type: string
                            url:
                              type: string
                            sort:
                              type: number
                      image:
                        type: object
                        properties:
                          itinerary:
                            type: array
                            items:
                              type: object
                              properties:
                                storeMediaUsageUuid:
                                  type: string
                                url:
                                  type: string
                                sort:
                                  type: number
                          location:
                            type: array
                            items:
                              type: object
                              properties:
                                storeMediaUsageUuid:
                                  type: string
                                url:
                                  type: string
                                sort:
                                  type: number
                          extra:
                            type: array
                            items:
                              type: object
                              properties:
                                storeMediaUsageUuid:
                                  type: string
                                url:
                                  type: string
                                sort:
                                  type: number
                          salesOption:
                            type: array
                            items:
                              type: object
                              properties:
                                storeMediaUsageUuid:
                                  type: string
                                url:
                                  type: string
                                sort:
                                  type: number
                      video:
                        type: array
                        items:
                          type: object
                          properties:
                            storeMediaUsageUuid:
                              type: string
                            url:
                              type: string
                            sort:
                              type: number
                            languageUuids:
                              type: array
                              items:
                                type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  cover:
                  - storeMediaUsageUuid: 87f71476-3b35-4804-87c5-0085d903b5bc
                    url: https://img.box.rezio.io/cebf3f02-f2e8-4bba-bff5-af7ab303255c/597a8861-82ce-4770-892a-ab718f76a63c/d46c6de8-32b6-409a-b403-318442fd0afc.png
                    sort: 0
                  image:
                    itinerary:
                    - storeMediaUsageUuid: 497e52a7-5934-4cd0-88f8-acd6b8d442ac
                      url: https://img.box.rezio.io/368d9a4d-06fc-41d6-a505-a982640d027f/40719e5e-877d-42a7-909a-853fb83403ad.jpeg
                      sort: 1
                    location:
                    - storeMediaUsageUuid: 497e52a7-5934-4cd0-88f8-acd6b8d442ac
                      url: https://img.box.rezio.io/368d9a4d-06fc-41d6-a505-a982640d027f/40719e5e-877d-42a7-909a-853fb83403ad.jpeg
                      sort: 1
                    extra:
                    - storeMediaUsageUuid: 6af3e37c-d681-4ad5-8874-6d9d2abcc5bd
                      url: https://img.box.rezio.io/368d9a4d-06fc-41d6-a505-a982640d027f/2e96b75a-d7a6-4784-8884-b72a0c4cb38f.jpeg
                      sort: 1
                    salesOption:
                    - storeMediaUsageUuid: 497e52a7-5934-4cd0-88f8-acd6b8d442ac
                      url: https://img.box.rezio.io/368d9a4d-06fc-41d6-a505-a982640d027f/40719e5e-877d-42a7-909a-853fb83403ad.jpeg
                      sort: 1
                  video:
                  - storeMediaUsageUuid: 89c4e617-fb7e-4b1b-87ce-9d7d32c12f2c
                    url: https://youtu.be/_hlZMQZF4E0
                    sort: 1
                    languageUuids:
                    - 30eee82e-eccb-430b-9774-9a231a5f6b51
      summary: Get Media Items
      operationId: get-v1-product-productUuid-mediaInfo
      description: "Load the existing product's media items by productUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/mediaInfo</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-product-media-get\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-product-media-get\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>cover</td>\n        <td><b>array</b></td>\n        <td>The cover image will show as the thumbnail and first image in product page of official website. Check<a href=\"#media-cover-product-detail\"> cover </a> for details</td>\n    </tr>\n    <tr>\n        <td>image</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#media-image-product-detail\"> image </a> for details</td>\n    </tr>\n    <tr>\n        <td>video</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#media-video-product-detail\"> video </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"media-cover-product-detail\" />*cover*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Image UUID</td>\n    </tr>\n    <tr>\n        <td>url</td>\n        <td>string</td>\n        <td>URL of uploaded image</td>\n    </tr>\n    <tr>\n        <td>sort</td>\n        <td>int</td>\n        <td>Sorting order</td>\n    </tr>\n</table>\n\n##### <a name=\"media-image-product-detail\" />*image*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>itinerary</td>\n        <td>array</td>\n        <td>Itinerary images, check<a href=\"#media-image-other-product-detail\">description</a> for format</td>\n    </tr>\n    <tr>\n        <td>location</td>\n        <td>array</td>\n        <td>Location images, check<a href=\"#media-image-other-product-detail\">description</a> for format</td>\n    </tr>\n    <tr>\n        <td>extra</td>\n        <td>array</td>\n        <td>Extra items images, check<a href=\"#media-image-other-product-detail\">description</a> for format</td>\n    </tr>\n    <tr>\n        <td>salesOption</td>\n        <td>array</td>\n        <td>Package images, check<a href=\"#media-image-other-product-detail\">description</a> for format</td>\n    </tr>\n</table>\n\n##### <a name=\"media-image-other-product-detail\" />*image - detail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Image UUID</td>\n    </tr>\n    <tr>\n        <td>url</td>\n        <td>string</td>\n      \
        \  <td>URL of uploaded image</td>\n    </tr>\n    <tr>\n        <td>sort</td>\n        <td>int</td>\n        <td>Sorting order</td>\n    </tr>\n</table>\n\n##### <a name=\"media-video-product-detail\" />*video*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Video UUID</td>\n    </tr>\n    <tr>\n        <td>url</td>\n        <td>string</td>\n        <td>URL link of YouTube video</td>\n    </tr>\n    <tr>\n        <td>sort</td>\n        <td>int</td>\n        <td>Sorting of video, in ascending order</td>\n    </tr>\n    <tr>\n        <td>languageUuids</td>\n        <td><b>array</b></td>\n        <td>Video language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageAll</a> to get UUID\n        </td>\n    </tr>\n</table>"
      tags:
      - Product List
      parameters:
      - name: productUuid
        in: path
        description: Product countryUuid
        required: true
        schema:
          type: string
  /v1/product/create:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      productPcode:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 690bec2c-cd52-47e7-b237-c2ead2966499
                  productPcode: JOUPZC
      summary: Create Product
      operationId: post-v1-product-create
      description: "Create a new product\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/create</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>categoryUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Product Category UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=category</a> for details  \n        </td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(300)</td>\n        <td>Y</td>\n        <td>Product name</td>\n    </tr>\n    <tr>\n        <td>productCode</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(6~30)</td>\n        <td>-</td>        \n        <td>Product code, allowed customized or unique 6 chars generated by Rezio<br>\n        Note: customized code cannot be duplicated in your store</td>\n    </tr>\n    <tr>\n        <td>mainLandmarkUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Main Landmark UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=landmark</a>\n        </td>\n    </tr>\n    <tr>\n        <td>timezoneUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Timezone UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=timezone</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>language</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Language<br>\n            Accept <a href=\"https://en.wikipedia.org/wiki/ISO_639-1\" target=\"_blank\"> ISO639-1 Code</a> or Rezio Language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=language</a> to get <b>code/ UUID</b>\n        </td>\n    </tr>\n    <tr>\n        <td>regionUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Region (Continent) UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=region</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>country</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Country<br>\n            Accept <a href=\"https://en.wikipedia.org/wiki/ISO_3166-1\" target=\"_blank\"> ISO3166-1 Code</a> or Rezio Country UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=country</a> to get <b>code/ UUID</b><br>\n            <b>Note: country needs to match the region setting</b>\n        </td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td>         \n    </tr>\n    <tr>\n        <td>alias</td>\n        <td>string</td>\n        <td>Length limit：<br>10 halfwidth forms char</td>\n        <td>-</td>\n        <td>Product alias</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n\
        \        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-product-create\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-product-create\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Product UUID</td>\n    </tr>\n    <tr>\n        <td>productCode</td>\n        <td>string</td>\n        <td>Product code</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      requestBody:
        content:
          application/json:
            example:
              categoryUuid: 7b191497-9ef1-4c15-9231-fc4ac70ca4d9
              title: product.sample
              timezoneUuid: 6bda40f7-5e0c-4dbb-8c3f-63ef6db73363
              language: zh-TW
              regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
              country: TW
              productCode: ''
              currency: TWD
              mainLandmarkUuid: 48a6d747-528b-416b-a04c-d37622282b9a
              alias: ps
            schema:
              type: object
              properties:
                categoryUuid:
                  type: string
                title:
                  type: string
                timezoneUuid:
                  type: string
                language:
                  type: string
                regionUuid:
                  type: string
                country:
                  type: string
                productCode:
                  type: string
                currency:
                  type: string
                mainLandmarkUuid:
                  type: string
                alias:
                  type: string
  /v1/product/{productUuid}/intro:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Introduction
      operationId: put-v1-product-productUuid-intro
      description: "*` REQUIRED ` step of  creating a product* <br>Update product's introduction, including brief, description, special terms and conditions.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/intro</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>brief</td>\n        <td>string</td>\n        <td>Y</td>        \n        <td>Product brief, highlights<br>（Include Markdown Syntax）</td>\n    </tr>\n    <tr>\n        <td>description</td>\n        <td>string</td>\n        <td>Y</td>        \n        <td>Product description, introduce the product's attractions<br>（Include Markdown Syntax）</td>\n    </tr>\n    <tr>\n        <td>warnings</td>\n        <td>string</td>\n        <td>-</td>        \n        <td>Product special terms and conditions, all warnings to be noted<br>（Include Markdown Syntax）</td>\n    </tr>        \n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              brief: Escape Taipei for a day to see Taiwan’s rugged beauty. Discover unique landscapes at Bitou Cape and Golden Waterfalls. Admire the historic Jiufen village and its rural charms.
              description: "－ Highlights － \n\n• Explore Bitou Cape, Nanya Rock Formations, and Golden Waterfalls\n• Delight in the mix of yellow and blue bay colors at Yin Yang Sea\n• Learn about the famous gold rush at the Gold Museum\n• Indulge in local delicacies along Jiufen’s ancient streets\n\n\n－ What You Can Expect － \n\nHead to Taiwan's northeastern coast for a day of scenic wonders. Visit Nanya Rock Formations and its sea-eroded coral shore. Check out charming stone patterns made by weathered sandstone. Observe steep cliffs, marine fossils, mushroom and honeycomb-shaped rocks at Bitou Cape. \n\nGaze upon the curious bay where yellow waters meet the blue ocean at Yin Yang Sea. Be mesmerized by Golden Waterfall’s waves cascading in spectacular fashion. This region was also once home to gold. Gain insight into the history of the gold rush, mining techniques, and tools,\n\nStroll the traditional village of Jiufen. Get surrounded by buildings and old streets bursting with character and culture. Browse stalls selling tasty delicacies to taste and interesting knick knacks. Discover Taiwan’s northern paradise today!\n\n\n－ Important Info －\n\n・Meeting Time: 8:50am - 9:00am\n・Last Departure Point: Taipei Main Station (East Gate 3)\n(Please look for our staff wearing Taiwan Tour Bus vests to confirm your attendance)\n・Duration: ~8 hrs\n・Returning Point: Taipei Main Station\n\n\n－ Additional Info －\n\n・The Gold Museum is closed on the first Monday of every month\n・Free admission for children under age 3, must be traveling with an adult and must not occupy a seat. Insurance must be purchased separately\n・Ages 3 and up will be charged an adult admission fee"
              warnings: '・If total number of passengers is below 4 (the minimum requirement for this trip), you will be informed 3 days prior to departure

                ・Contact our customer service for refunds from schedule changes/cancellations due to traffic, weather, and other unexpected conditions

                ・Actual itinerary is dependent on weather/transportation conditions

                ・We will not provide refunds for missed tours due to late arrival

                ・Visitors to Taiwan must provide copies of their identification cards or passports for insurance purposes

                ・For English and Japanese service, there are tour guides and iPad guides available. The specific service cannot be selected by traveler, and is dependent on on-site availability'
            schema:
              type: object
              properties:
                brief:
                  type: string
                description:
                  type: string
                warnings:
                  type: string
  /v1/product/{productUuid}/feeNdTax:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Product Tax or Fee
      operationId: put-v1-product-productUuid-feeNdTax
      description: "*` REQUIRED ` step of  creating a product* <br>Apply multiple tax or fee items with feeNdTaxUuids.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/feeNdTax</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>feeNdTaxUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Tax & Fee UUID<br>\n            Check <a href=\"#home-setting-fee-tax\">/v1/setting/feeNdTax</a> to get UUID\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              feeNdTaxUuids:
              - 2dbe92c2-bf7c-46f8-9566-30e313368124
            schema:
              type: object
              properties:
                feeNdTaxUuids:
                  type: array
                  items:
                    type: string
  /v1/product/{productUuid}/cancelPolicy:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Product Cancellation Policy
      operationId: put-v1-product-productUuid-cancelPolicy
      description: "*` REQUIRED ` step of  creating a product* <br>Apply 1 cancellation policy with cancelPolicyUuid.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/cancelPolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>cancelPolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Cancel Policy UUID<br>\n            Check <a href=\"#home-setting-cancel\">/v1/setting/cancelPolicy</a> to get UUID<br>\n            <b>Note: the currency of cancellation policy and product MUST be consistent.</b>\n        </td>      \n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              cancelPolicyUuid: 301646a7-3547-4fe9-bb50-a3c3860d895f
            schema:
              type: object
              properties:
                cancelPolicyUuid:
                  type: string
  /v1/product/{productUuid}/depositPolicy:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Product Deposit Policy
      operationId: put-v1-product-productUuid-depositPolicy
      description: "*` REQUIRED ` step of  creating a product* <br>Apply 1 deposit policy with depositPolicyUuid.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/depositPolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>depositPolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Deposit Policy UUID<br>\n            Check <a href=\"#home-setting-deposit\">/v1/setting/deposit</a> to get UUID<br>\n            <b>Note: the currency of deposit policy and product MUST be consistent.</b>\n        </td>       \n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              depositPolicyUuid: b309eb3a-15cb-4ddb-8938-2f01b667840f
            schema:
              type: object
              properties:
                depositPolicyUuid:
                  type: string
  /v1/product/{productUuid}/bookingInfo:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Product Booking Information
      operationId: put-v1-product-productUuid-bookingInfo
      description: "*` REQUIRED ` step of  creating a product* <br>Apply 1 deposit policy with bookingInfoUuid.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/bookingInfo</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>bookingInfoUuid</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Booking information UUID<br>\n            Check <a href=\"#home-setting-booking-info\">/v1/setting/bokkingInfo</a> to get UUID\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              bookingInfoUuid: 5dfa699c-bfe8-44f7-b7cb-3a53dbc423a1
            schema:
              type: object
              properties:
                bookingInfoUuid:
                  type: string
  /v1/product/{productUuid}/feeDetail:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Fees
      operationId: put-v1-product-productUuid-feeDetail
      description: "*Optional step in creating a product* <br>Update a product's fee detail, including both included and excluded fees. Rezio provides pre-defined fees items, apply it with systemUuids.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/feeDetail</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>include</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Fees included, check<a href=\"#type-fee-product-add\"> type </a> for details</td>\n    </tr>\n    <tr>\n        <td>exclude</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Fees excluded, check<a href=\"#type-fee-product-add\"> type </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"type-fee-product-add\" />*feeDetail - type*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>systemUuids</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Fee UUID by system defined <br>\n            Rezio provides various fees, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=feeOption</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>custom</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Customized your own fees, check<a href=\"#custom-fee-product-add\"> custom </a></td>\n    </tr>\n</table>\n\n##### <a name=\"custom-fee-product-add\" />*feeDetail - custom*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Custom item UUID. Leave it empty when create a new item.</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Custom item label</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              include:
                systemUuids:
                - 2075baca-e1d3-4ca0-ae1b-3c77068e017a
                - 2a509272-0b12-498c-aa45-ea13fb38c30c
                custom:
                - uuid: ''
                  label: Travel insurance (NT$2 million and medical fees at NT$30 thousand)
              exclude:
                systemUuids:
                - fa5e65c0-d5cc-4a77-a5c3-a2b2dd405446
                - b2656af1-2bc8-4f2a-9fb9-6c3f545093fb
                custom: []
            schema:
              type: object
              properties:
                include:
                  type: object
                  properties:
                    systemUuids:
                      type: array
                      items:
                        type: string
                    custom:
                      type: array
                      items:
                        type: object
                        properties:
                          uuid:
                            type: string
                          label:
                            type: string
                exclude:
                  type: object
                  properties:
                    systemUuids:
                      type: array
                      items:
                        type: string
                    custom:
                      type: array
                      items: {}
  /v1/product/{productUuid}/publish:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Publish Rule
      operationId: put-v1-product-productUuid-publish
      description: "*` REQUIRED ` step of  creating a product* <br>Update a product's publish rule, including confirmation method, cut-off time, available booking setting, payment type, etc.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/publish</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>confirmType</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Order confirmation<br>\n            <b>1</b>  Automatically confirmed<br>\n            <b>2</b>  Manually confirmed\n        </td>\n    </tr>\n    <tr>\n        <td>confirmMode</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Confirmed dates baseline<br>\n            <b>1</b>  By booking date<br>\n            <b>2</b>  Before departure date\n        </td>\n    </tr>\n    <tr>\n        <td>confirmHour</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Confirmation required time<br>\n            Unit is hour, range: 0 ~ 72 hours<br>\n            Note: when <b>confirmType = 1 AND confirmHour = 0</b>, it is an <b>Instant Confirmation</b> \n        </td>\n    </tr>\n    <tr>\n        <td>bookingCutline</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Booking cut-off time<br>\n            Check<a href=\"#booking-cutline-product-add\"> bookingCutline </a> for details</td>\n    </tr>\n    <tr>\n        <td>saleable</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Available Booking Setting<br>\n            Check<a href=\"#saleable-product-detail\"> saleable </a> for details</td>\n    </tr>\n    <tr>\n        <td>acceptPayType</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Accepted payment type<br>\n           <b>1</b>  ATM/Bank Transfer<br>\n           <b>2</b>  Cash/On-site payment<br>\n        </td>\n   </tr>\n    <tr>\n        <td>voucherDesc</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>voucher rule</td>\n    </tr>\n</table>\n\n##### <a name=\"booking-cutline-product-add\" />*bookingCutline*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>bySessionTime</td>\n        <td>string</td>\n        <td>Session time baseline type<br>\n            <b>START</b>  Session start time<br>\n            <b>END</b>  Session end time\n        </td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Cut-off time baseline type<br>\n            <b>ABSOLUTE</b>  Specific time<br>\n            <b>RELATIVE</b>  Relative time\n        </td>\n    </tr>\n    <tr>\n        <td>day</td>\n        <td>int</td>\n        <td>Cut-off baseline, Day<br>\n            Minimum value is 0\n        </td>\n    </tr>\n    <tr>\n        <td>hour</td>\n        <td>int</td>\n        <td>Cut-off baseline, Hour<br>\n            Range: 0~23\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>Cut-off baseline, Minute, with 5-minute intervals.<br>\n            Value: 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55\n        </td>\n    </tr>\n    <tr>\n        <td>time</td>\n     \
        \   <td>string</td>\n        <td>Specific cut-off time<br>\n            <b>Required when \"type\": \"ABSOLUTE\"</b><br>\n            Format is <b>HH:mm</b><br>\n            <b>HH</b> Range: 00~23<br>\n            <b>mm</b> Range: 00~59\n        </td>\n    </tr>   \n</table>\n\n##### <a name=\"saleable-product-add\" />*saleable*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Available Booking time baseline type<br>\n            <b>UNLIMITED</b> Unlimited<br>\n            <b>CURRENTDAY</b> Only sessions on the day of booking<br>\n            <b>ABSOLUTE</b>  Specified<br>\n            <b>RELATIVE</b>  Relative\n        </td>\n    </tr>\n    <tr>\n        <td>day</td>\n        <td>int</td>\n        <td>Available Booking time baseline, Day<br>\n            <b>Required when \"type\": \"ABSOLUTE\" or \"RELATIVE\"</b>\n        </td>\n    </tr>\n    <tr>\n        <td>hour</td>\n        <td>int</td>\n        <td>Available Booking time baseline, Hour<br>\n            <b>Required when \"type\": \"RELATIVE\"</b><br>\n            Range: 0~23\n        </td>\n    </tr>\n    <tr>\n        <td>time</td>\n        <td>string</td>\n        <td>Specific time<br>\n            <b>Required when \"type\": \"ABSOLUTE\"</b><br>\n            Format is <b>HH:mm</b><br>\n            <b>HH</b> Range: 00~23<br>\n            <b>mm</b> Range: 00~59\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              confirmType: 1
              confirmMode: 1
              confirmHour: 48
              bookingCutline:
                bySessionTime: START
                type: ABSOLUTE
                day: 2
                time: '18:00'
              saleable:
                type: ABSOLUTE
                day: 30
                time: '18:00'
              acceptPayType:
              - 1
              - 2
            schema:
              type: object
              properties:
                confirmType:
                  type: number
                confirmMode:
                  type: number
                confirmHour:
                  type: number
                bookingCutline:
                  type: object
                  properties:
                    bySessionTime:
                      type: string
                    type:
                      type: string
                    day:
                      type: number
                    time:
                      type: string
                saleable:
                  type: object
                  properties:
                    type:
                      type: string
                    day:
                      type: number
                    time:
                      type: string
                acceptPayType:
                  type: array
                  items:
                    type: number
  /v1/product/{productUuid}/image:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      file:
                        type: object
                        properties:
                          storeMediaUsageUuid:
                            type: string
                          url:
                            type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  file:
                    storeMediaUsageUuid: 87f71476-3b35-4804-87c5-0085d903b5bc
                    url: https://img.box.rezio.io/cebf3f02-f2e8-4bba-bff5-af7ab303255c/597a8861-82ce-4770-892a-ab718f76a63c/d46c6de8-32b6-409a-b403-318442fd0afc.png
      summary: Upload Product Image
      operationId: post-v1-product-productUuid-image
      description: "<a name=\"image-product-add\" />*Optional step in creating a product*<br>Add an image for product. File is mandatory and put in form-data parameter 'file'.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/image</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td><b>File</b></td>\n    </tr>\n    <tr>\n        <td rowspan=3><b>Headers</b></td>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- File\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>file</td>\n        <td>file</td>\n        <td>Y</td>\n        <td>Image file</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-product-image-get\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-product-image-get\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>file</td>\n        <td><b>array</b></td>\n        <td>Image file, check<a href=\"#file-media-product-add\"> file </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"file-media-product-add\" />*file*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Image UUID</td>\n    </tr>\n    <tr>\n        <td>url</td>\n        <td>string</td>\n        <td>URL of image</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        required: true
        content:
          multipart/form-data:
            schema:
              type: object
              required:
              - file
              properties:
                file:
                  type: string
                  format: binary
  /v1/product/{productUuid}/cover:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Product Cover Photo
      operationId: put-v1-product-productUuid-cover
      description: "*Optional step in creating a product*<br>Assign one image as the product's cover photo with storeMediaUsageUuid. The cover will show as the thumbnail and first image in product page of official website.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/cover</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Image UUID<br>\n            Use<a href=\"#image-product-add\"> Upload Product Image </a> to add image then get <b>storeMediaUsageUuid</b> in the response as parameter here.\n        </td>        \n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              storeMediaUsageUuid: 87f71476-3b35-4804-87c5-0085d903b5bc
            schema:
              type: object
              properties:
                storeMediaUsageUuid:
                  type: string
  /v1/product/{productUuid}/video:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Video URL
      operationId: put-v1-product-productUuid-video
      description: "*Optional step in creating a product*<br>Update a product's YouTube link URL and set the video lanaguage.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/video</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID, pass it in uri</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>video</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Accept multiple video data, check<a href=\"#video-product-add\"> video </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"video-product-add\" />*video*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>url</td>\n        <td>string</td>\n        <td>\n            Format request: https://youtu.be/{code}<br>\n            Length limit of {code} <br>varchar(11)\n        </td>\n        <td>Y</td>\n        <td>URL link of YouTube video</td>\n    </tr>\n    <tr>\n        <td>languageUuids</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>-</td>\n        <td>Video language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=language</a> to get UUID\n        </td>      \n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              video:
              - url: https://youtu.be/_hlZMQZF4E0
                languageUuids:
                - 30eee82e-eccb-430b-9774-9a231a5f6b51
            schema:
              type: object
              properties:
                video:
                  type: array
                  items:
                    type: object
                    properties:
                      url:
                        type: string
                      languageUuids:
                        type: array
                        items:
                          type: string
  /v1/product/{productUuid}/itinerary:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Itinerary
      operationId: put-v1-product-productUuid-itinerary
      description: "*Optional step in creating a product*<br>Update a product's itinerary.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/itinerary</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>duration</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Duration time of product<br>\n            <b>day</b>  Day<br>\n            <b>hour</b>  Hour<br>\n            <b>min</b>  Minute\n        </td>\n    </tr>\n    <tr>\n        <td>itinerary</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Itinerary data, check<a href=\"#itinerary-product-add\"> itinerary </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"itinerary-product-add\" />*itinerary*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>breakfast</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>\n            <b>1</b>  Breakfast is included<br>\n            <b>0</b>  Breakfast is not included\n        </td>\n    </tr>\n    <tr>\n        <td>lunch</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>\n            <b>1</b>  Lunch is included<br>\n            <b>0</b>  Lunch is not included\n        </td>\n    </tr>\n    <tr>\n        <td>dinner</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>\n            <b>1</b>  Dinner is included<br>\n            <b>0</b>  Dinner is not included\n        </td>\n    </tr>\n    <tr>\n        <td>content</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Itinerary content, check<a href=\"#itinerary-content-product-add\"> content </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"itinerary-content-product-add\" />*itinerary - content*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Listing UUID. Leave it empty when create a new item.</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Listing type<br>\n            <b>1</b>  With time slot<br>\n            <b>2</b>  Bullet points\n        </td>\n    </tr>\n    <tr>\n        <td>hour</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Hour, range: 00~23<br><b>Required when type = 1</b></td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Minute(s)<br><b>Required when type = 1</b></td>\n    </tr>\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Content name about what to do, i.e., Lunch Time</td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Image UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a\
        \ href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              duration:
                day: 0
                hour: 8
                min: 0
              itinerary:
              - breakfast: 1
                lunch: 1
                dinner: 1
                content:
                - uuid: ''
                  hour: 08
                  min: '40'
                  type: 1
                  title: 'Pick up at Ximen MRT Exit #5 (Leave at 08:45)'
                - uuid: ''
                  hour: 08
                  min: '50'
                  type: 1
                  title: Meet up at Taipei Main Station (East Gate 3)
                - uuid: ''
                  hour: 09
                  min: '00'
                  type: 1
                  title: Depart to Bitou Cape
                  storeMediaUsageUuid: null
                - uuid: ''
                  hour: ''
                  min: ''
                  type: 2
                  title: Stop at Bitou Cape
                  storeMediaUsageUuid: null
                - uuid: ''
                  hour: ''
                  min: ''
                  type: 2
                  title: Nan Ya Rock Formations
                  storeMediaUsageUuid: 702b05c5-92ef-4694-ab11-2680bfbb4065
                - uuid: ''
                  hour: ''
                  min: ''
                  type: 2
                  title: Yin Yang Sea
                  storeMediaUsageUuid: 87f71476-3b35-4804-87c5-0085d903b5bc
                - uuid: ''
                  hour: ''
                  min: ''
                  type: 2
                  title: The Golden Waterfall
                  storeMediaUsageUuid: a54007b7-8090-4c0f-a7f4-e283ce62376f
                - uuid: ''
                  hour: ''
                  min: ''
                  type: 2
                  title: Gold Museum
                  storeMediaUsageUuid: null
                - uuid: ''
                  hour: ''
                  min: ''
                  type: 2
                  title: Lunch Time
                  storeMediaUsageUuid: null
                - uuid: ''
                  hour: ''
                  min: ''
                  type: 2
                  title: Jiufen Old Street
                  storeMediaUsageUuid: 4dc2e817-cdbd-4f3c-9ab8-e8d5fa0e0c53
                - uuid: ''
                  hour: '17'
                  min: '00'
                  type: 1
                  title: Return to Taipei Main Station
                  storeMediaUsageUuid: null
            schema:
              type: object
              properties:
                duration:
                  type: object
                  properties:
                    day:
                      type: number
                    hour:
                      type: number
                    min:
                      type: number
                itinerary:
                  type: array
                  items:
                    type: object
                    properties:
                      breakfast:
                        type: number
                      lunch:
                        type: number
                      dinner:
                        type: number
                      content:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            hour:
                              type: string
                            min:
                              type: string
                            type:
                              type: number
                            title:
                              type: string
                            storeMediaUsageUuid:
                              type: string
                              nullable: true
                          required:
                          - uuid
                          - hour
                          - min
                          - type
                          - title
                          - storeMediaUsageUuid
  /v1/product/{productUuid}/location:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Location
      operationId: put-v1-product-productUuid-location
      description: "*Optional step in creating a product*<br>Update a product's destination location, meeting place or redeem point. Rezio allows multiple locations.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/location</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>destination</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Destination<br>\n            Accept multiple destinations, check<a href=\"#content-location-product-add\"> content </a> for more detail</td>\n    </tr>\n    <tr>\n        <td>meetPlace</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Meeting Point<br>\n            Accept multiple meeting points, check<a href=\"#content-location-product-add\"> content </a> for more detail</td>\n    </tr>\n    <tr>\n        <td>exchange</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Redeem Point<br>\n            Accept multiple redeem points, check<a href=\"#content-location-product-add\"> content </a> for more detail</td>\n    </tr>\n</table>\n\n##### <a name=\"content-location-product-add\" />*content*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>\n            Location UUID<br>\n            Leave it empty when create a new pickup location\n        </td>\n    </tr>w\n    <tr>\n        <td>title</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Location name</td>\n    </tr>\n    <tr>\n        <td>address</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Location real address</td>\n    </tr>\n    <tr>\n        <td>note</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Supplementary note for location</td>\n    </tr>\n    <tr>\n        <td>geo</td>\n        <td>object</td>\n        <td>-</td>\n        <td>Geographic information<br>\n            Available when you want to use Google Maps, check<a href=\"#content-geo-location-product-add\"> geo </a>for detail.\n        </td>\n    </tr>\n    <tr>\n        <td>storeMediaUsageUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Image UUID<br>\n            Available when you use uploaded image of location</td>\n    </tr>\n    <tr>\n        <td>regionUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Region UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=region</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>countryUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Country UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=country</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>landmarkUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Landmark UUID <br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=landmark</a>\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"content-geo-location-product-add\"\
        \ />*location - content - geo*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>lat</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Latitude</td>\n    </tr>\n    <tr>\n        <td>lng</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Longitude</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              destination:
              - uuid: 404dfd5c-ab60-4c4c-a263-90516e0e2852
                title: Jiufen
                address: Ruifang District, New Taipei City
                note: ''
                geo:
                  lat: 25.02622730382695
                  lng: 121.55901986176264
                storeMediaUsageUuid: ''
                regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
                countryUuid: 23fdb4b8-0a8a-46aa-957a-e4d938d9866d
                landmarkUuid: 53323777-1112-4e27-850d-8d2df973d454
              - uuid: 3e4f05f3-f91f-4447-98dd-77d6494c9a4d
                title: The Golden Waterfall
                address: Jinshui Rd., Ruifang Dist., New Taipei City
                note: ''
                display: 1
                geo:
                  lat: 25.013471245634832
                  lng: 121.55864331058858
                storeMediaUsageUuid: ''
                regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
                countryUuid: 23fdb4b8-0a8a-46aa-957a-e4d938d9866d
                landmarkUuid: 53323777-1112-4e27-850d-8d2df973d454
              meetPlace:
              - uuid: 046a152e-b6ed-4037-a856-4ad669cd199c
                title: Taipei Main Station
                address: No. 3, Beiping W. Rd., Zhongzheng Dist., Taipei, Taiwan
                note: East Gate 3
                geo:
                  lat: 25.03396870000002
                  lng: 121.56228350000004
                storeMediaUsageUuid: ''
                regionUuid: 8fefe93b-abdc-1778-7266-f2cdec9a00bb
                countryUuid: 23fdb4b8-0a8a-46aa-957a-e4d938d9866d
                landmarkUuid: 53323777-1112-4e27-850d-8d2df973d454
              exchange: []
            schema:
              type: object
              properties:
                destination:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      title:
                        type: string
                      address:
                        type: string
                      note:
                        type: string
                      geo:
                        type: object
                        properties:
                          lat:
                            type: number
                          lng:
                            type: number
                      storeMediaUsageUuid:
                        type: string
                      regionUuid:
                        type: string
                      countryUuid:
                        type: string
                      landmarkUuid:
                        type: string
                      display:
                        type: number
                    required:
                    - uuid
                    - title
                    - address
                    - note
                    - geo
                    - storeMediaUsageUuid
                    - regionUuid
                    - countryUuid
                    - landmarkUuid
                meetPlace:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      title:
                        type: string
                      address:
                        type: string
                      note:
                        type: string
                      geo:
                        type: object
                        properties:
                          lat:
                            type: number
                          lng:
                            type: number
                      storeMediaUsageUuid:
                        type: string
                      regionUuid:
                        type: string
                      countryUuid:
                        type: string
                      landmarkUuid:
                        type: string
                exchange:
                  type: array
                  items: {}
  /v1/product/{productUuid}/pickup:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Product Pick Up
      operationId: put-v1-product-productUuid-pickup
      description: "*Optional step in creating a product*<br>Apply pickup rules with pickupUuid.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/pickup</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Pickup Type<br>\n            <b>0</b>  None<br>\n            <b>1</b>  Reach the designated location by yourself.<br>\n            <b>2</b>  Pickup services included in the itinerary.\n        </td>\n    </tr>\n    <tr>\n        <td>location</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Reach the designated location by yourself. Required when pickup type is <b>1</b><br>\n            <b>destination</b>  Destination<br>\n            <b>meetPlace</b>  Meeting Point<br>\n            <b>exchange</b>  Redeem Point\n        </td>\n    </tr>\n    <tr>\n        <td>pickup</td>\n        <td>object</td>\n        <td>-</td>\n        <td>Pickup services included in the itinerary. Required when pickup type is <b>2</b><br>\n            Check <a href=\"#pickup-pickup-product-add\"> pickup </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"pickup-pickup-product-add\" />*pickup - pickup*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>departureUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Outbound Pickup Route - Pickup UUID<br>\n            Check <a href=\"#home-setting-pickup\">/v1/setting/pickup</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>returnUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Return Pickup Route - Pickup UUID<br>\n            Check <a href=\"#home-setting-pickup\">/v1/setting/pickup</a> for details\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              type: 2
              pickup:
                departureUuid: 9173c3f0-1734-4e4a-b402-293b46184205
                returnUuid: 9173c3f0-1734-4e4a-b402-293b46184205
            schema:
              type: object
              properties:
                type:
                  type: number
                pickup:
                  type: object
                  properties:
                    departureUuid:
                      type: string
                    returnUuid:
                      type: string
  /v1/product/{productUuid}/guide:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Guide Service
      operationId: put-v1-product-productUuid-guide
      description: "*Optional step in creating a product*<br>Update a product's guide service, including  language provided by guides, audio guide device, on-site guide and printed materials (booklet).\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/guide</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>guideLanguagesUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Language of guide<br>\n            Accept <a href=\"https://en.wikipedia.org/wiki/ISO_639-1\" target=\"_blank\"> ISO-639-1 Code</a>, <a href=\"https://en.wikipedia.org/wiki/ISO_639-3\" target=\"_blank\"> ISO-639-3 Code</a> or Rezio Language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> to get <b>code/ UUID</b>\n        </td>\n    </tr>\n    <tr>\n        <td>deviceLanguagesUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Language of audio guide device<br>\n            Accept <a href=\"https://en.wikipedia.org/wiki/ISO_639-1\" target=\"_blank\"> ISO639-1 Code</a> or Rezio Language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> to get <b>code/ UUID</b>\n        </td>\n    </tr>\n    <tr>\n        <td>onsiteLanguagesUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Language of on-sute guide<br>\n            Accept <a href=\"https://en.wikipedia.org/wiki/ISO_639-1\" target=\"_blank\"> ISO639-1 Code</a> or Rezio Language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> to get <b>code/ UUID</b>\n        </td>\n    </tr>\n    <tr>\n        <td>materialLanguagesUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Language of printed materials, i.e., booklet<br>\n            Accept <a href=\"https://en.wikipedia.org/wiki/ISO_639-1\" target=\"_blank\"> ISO639-1 Code</a> or Rezio Language UUID<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageAll</a> to get <b>code/ UUID</b>\n        </td>            \n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              guideLanguagesUuids:
              - 7e8eaa1f-330d-436a-b17d-bdbefe83ab20
              - 18bf6598-1711-4296-b0b2-023479a016a8
              - 8a6cc5a7-3890-4d73-b338-7eb209aa4b82
              deviceLanguagesUuids: []
              onsiteLanguagesUuids: []
              materialLanguagesUuids: []
            schema:
              type: object
              properties:
                guideLanguagesUuids:
                  type: array
                  items:
                    type: string
                deviceLanguagesUuids:
                  type: array
                  items: {}
                onsiteLanguagesUuids:
                  type: array
                  items: {}
                materialLanguagesUuids:
                  type: array
                  items: {}
  /v1/product/{productUuid}/tag:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Product Tag
      operationId: put-v1-product-productUuid-tag
      description: "*Optional step in creating a product*<br>Update a product's tags, for example, activity type, intensity, suitable age, etc.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/tag</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>tags</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Tags<br>\n            Check<a href=\"#tag-product-add\"> tags </a> for details</td>\n    </tr>\n    <tr>\n        <td>landmarkUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>\n            Landmark UUID<br>\n            Check <a href=\"#home-setting-cancel\"><b>/v1/dataOption?option=landmark</b></a> for details\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"tag-product-add\" />*tags*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>tagGroupUuid</td>\n        <td><b>UUID</b></td>\n        <td>Y</td>\n        <td>Tag group UUID<br>\n            Check <a href=\"#home-setting-cancel\"><b>/v1/dataOption?option=tag</b></a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>tagUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Tag UUIDs<br>\n        Note: tags in the same group may limit by <b>maxSelectedCount</b><br>\n        Check<a href=\"#home-setting-cancel\"><b>/v1/dataOption?option=tag</b></a> for limitation and details\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              tags:
              - tagGroupUuid: a957ecc8-5efd-4159-8dae-6e60827f2efb
                tagUuids:
                - 87d7a0c9-88ae-4fb8-9c3b-b52740b45e96
                - f7507a18-11cf-4c91-982c-086efc2e00d5
              landmarkUuids:
              - 48a6d747-528b-416b-a04c-d37622282b9a
            schema:
              type: object
              properties:
                tags:
                  type: array
                  items:
                    type: object
                    properties:
                      tagGroupUuid:
                        type: string
                      tagUuids:
                        type: array
                        items:
                          type: string
                landmarkUuids:
                  type: array
                  items:
                    type: string
  /v1/product/{productUuid}/extra:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Product Extra
      operationId: put-v1-product-productUuid-extra
      description: "*Optional step in creating a product*<br>Apply multiple extra items with extraUuids.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/extra</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>extraUuids</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Extra UUID<br>\n            Check <a href=\"#home-setting-extra\">/v1/setting/extra</a> to get UUID\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Create Product
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              extraUuids:
              - 82097bf2-d2a8-458a-b5f9-cc807a060c82
            schema:
              type: object
              properties:
                extraUuids:
                  type: array
                  items:
                    type: string
  /v1/publish/{productUuid}/pricePolicy:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Apply Pricing Policy
      operationId: put-v1-publish-productUuid-pricePolicy
      description: "<a name=\"home-publish-price\" />*` REQUIRED ` step of  creating a product*<br>Apply an existing policing policy to product\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/{productUuid}/pricePolicy</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>priceStartAt</td>\n        <td>number</td>\n        <td>-</td>        \n        <td>The advertising price. You can enter a price for advertising purpose. Or leave it blank, system will generate the lowest price from binding prices (adult first).</td>\n    </tr>    \n    <tr>\n        <td>salesOption</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Apply pricing policy to package<br>\n            Check<a href=\"#sale-option-publish-pp\"> salesOption </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"sale-option-publish-pp\" />*salesOption*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>applyTo</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Time which will be applied to<br>\n            Check<a href=\"#sale-option-applyto-publish-pp\"> applyTo </a> for details\n        </td>\n    </tr>    \n    <tr>\n        <td>maxQuotaPerBooking</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Limited quantity for single order<br>\n            <b>-1</b>  indicates no limitation\n        </td>\n    </tr>\n    <tr>\n        <td>limit</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Limited quantity of each identity<br>\n            Check<a href=\"#sale-option-limit-publish-pp\"> limit</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>constraint</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Booking constraints. Leave empty if there are no constraints.<br>\n            This setting only works when identity data with <b>isConstraint</b><br>\n            Check<a href=\"#sale-option-constraint-publish-pp\"> constraint </a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>singular</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Item alias - singular</td>\n    </tr>\n    <tr>\n        <td>plural</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Item alias - plural</td>\n    </tr>\n</table>\n\n##### <a name=\"sale-option-applyto-publish-pp\" />*salesOption - applyTo*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Pricing Policy UUID</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Apply type<br>\n            <b>WEEKDAYS</b>  Repeated by weekdays<br>\n            <b>DATES</b>  By specific date\n        </td>\n    </tr>\n    <tr>\n        <td>period</td>\n        <td><b>array</b></td>\n \
        \       <td>Y</td>\n        <td>Period. Check<a href=\"#sale-option-applyto-period-publish-pp\"> period </a>for details\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"sale-option-applyto-publish-pp\" />*salesOption - applyTo - period*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>multiple</td>\n        <td>Y</td>\n        <td>When <b>type = WEEKDAYS</b>, weekday value list: <br>\n            <b>Mon</b>  Monday<br>\n            <b>Tue</b>  Tuesday<br>\n            <b>Wed</b>  Wednesday<br>\n            <b>Thu</b>  Thursday<br>\n            <b>Fri</b>  Friday<br>\n            <b>Sat</b>  Saturday<br>\n            <b>Sun</b>  Sunday<br>            \n            <br>\n            When <b>type = DATES</b>, specific dates<br>\n            Accept array, date format is <b>YYYY-MM-DD</b>, i.e., 2019-05-20\n        </td>\n    </tr>\n    <tr>\n        <td>startTime</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Start from, the price applied time. Format is <b>HH:mm</b>, i.e., 09:00</td>\n    </tr>\n    <tr>\n        <td>endTime</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>End to, the price applied time. Format is <b>HH:mm</b>, i.e., 18:00</td>\n    </tr>\n</table>\n\n##### <a name=\"sale-option-limit-publish-pp\" />*salesOption - limit*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Identity UUID<br>\n            <b>Required</b> when charge type is <b>PERSON</b>\n        </td>        \n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Item label name<br>\n            <b>Required</b> when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Minimum required quantity of this identity. Value was included</td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Maximum quantity of this identity. Value was <b>NOT</b> included</td>\n    </tr>\n</table>\n\n##### <a name=\"sale-option-constraint-publish-pp\" />*salesOption - constraint*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>targetIdentityUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Constraint target identity UUID<br>\n            Example: 1 child needs 1 adult, target identity is <b>Child</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> to get identity UUID.\n        </td>        \n    </tr>\n    <tr>\n        <td>targetNum</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Quantity of constraint target</td>\n    </tr>\n    <tr>\n        <td>needIdentityUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Constraint needed identity UUID<br>\n            Example: 1 child needs 1 adult, needed identity is <b>Adult</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> to get identity UUID.\n        </td>           \n    </tr>\n    <tr>\n        <td>needNum</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Quantity of Constraint needed</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n\
        \        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      parameters:
      - name: productUuid
        in: path
        description: Product UUID
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              priceStartAt: 29.99
              salesOption:
              - uuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                maxQuotaPerBooking: -1
                applyTo:
                - pricePolicyUuid: 33a6058e-232c-4fb1-9169-9607827d5614
                  type: WEEKDAYS
                  period:
                  - value: Mon
                    startTime: 08:00
                    endTime: '17:00'
                  - value: Tue
                    startTime: 08:00
                    endTime: '17:00'
                  - value: Wed
                    startTime: 08:00
                    endTime: '17:00'
                  - value: Thu
                    startTime: 08:00
                    endTime: '17:00'
                  - value: Fri
                    startTime: 08:00
                    endTime: '17:00'
                limit:
                - type: PERSON
                  identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                  min: 1
                  max: 20
                - type: PERSON
                  identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                  min: 0
                  max: 20
                constraint:
                - targetIdentityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                  targetNum: 1
                  needIdentityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                  needNum: 1
                plural: participant
                singular: participants
            schema:
              type: object
              properties:
                priceStartAt:
                  type: number
                salesOption:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      maxQuotaPerBooking:
                        type: number
                      applyTo:
                        type: array
                        items:
                          type: object
                          properties:
                            pricePolicyUuid:
                              type: string
                            type:
                              type: string
                            period:
                              type: array
                              items:
                                type: object
                                properties:
                                  value:
                                    type: string
                                  startTime:
                                    type: string
                                  endTime:
                                    type: string
                                required:
                                - value
                                - startTime
                                - endTime
                      limit:
                        type: array
                        items:
                          type: object
                          properties:
                            type:
                              type: string
                            identityUuid:
                              type: string
                            min:
                              type: number
                            max:
                              type: number
                          required:
                          - type
                          - identityUuid
                          - min
                          - max
                      constraint:
                        type: array
                        items:
                          type: object
                          properties:
                            targetIdentityUuid:
                              type: string
                            targetNum:
                              type: number
                            needIdentityUuid:
                              type: string
                            needNum:
                              type: number
                      plural:
                        type: string
                      singular:
                        type: string
  /v1/publish/sessionSetting/{sessionSettingUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      productUuid:
                        type: string
                      salesOptionUuid:
                        type: string
                      quotaTotal:
                        type: number
                      periodStartDate:
                        type: string
                      periodEndDate:
                        type: string
                      time:
                        type: array
                        items:
                          type: object
                          properties:
                            start:
                              type: string
                            days:
                              type: number
                            hours:
                              type: number
                            mins:
                              type: number
                      weekdays:
                        type: array
                        items:
                          type: object
                          properties:
                            value:
                              type: string
                            from:
                              type: string
                            to:
                              type: string
                          required:
                          - value
                          - from
                          - to
                      resourceUuids:
                        type: array
                        items:
                          type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: e1c135dc-47ec-4d05-9c66-0eb4d73ef115
                  productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
                  salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                  quotaTotal: 10
                  periodStartDate: '2019-06-01'
                  periodEndDate: '2019-12-31'
                  time:
                  - start: 09:00
                    days: 0
                    hours: 8
                    mins: 0
                  weekdays:
                  - value: Mon
                    from: 08:00
                    to: '17:00'
                  - value: Tue
                    from: 08:00
                    to: '17:00'
                  - value: Wed
                    from: 08:00
                    to: '17:00'
                  - value: Thu
                    from: 08:00
                    to: '17:00'
                  - value: Fri
                    from: 08:00
                    to: '17:00'
                  - value: Sat
                    from: 08:00
                    to: '17:00'
                  - value: Sun
                    from: 08:00
                    to: '17:00'
                  resourceUuids:
                  - 6fd0646e-aeed-445c-b19f-5c0d5099ac17
      summary: Get Session Setting
      operationId: get-v1-publish-sessionSetting-sessionSettingUuid
      description: "Load an existing session setting by sessionSettingUuid.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/sessionSetting/{sessionSettingUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>sessionSettingUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Session Setting UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-ss-get\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-ss-get\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Session Setting UUID</td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Product UUID</td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>quotaTotal</td>\n        <td>int</td>\n        <td>Total available seats</td>\n    </tr>\n    <tr>\n        <td>periodStartDate</td>\n        <td>string</td>\n        <td>Period start date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>periodEndDate</td>\n        <td>string</td>\n        <td>Period end date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>time</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#time-publish-ss-detail\"> time </a> for details</td>\n    </tr> \n    <tr>\n        <td>weekdays</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#weekdays-publish-ss-detail\"> weekdays </a> for details</td>\n    </tr>\n    <tr>\n        <td>resourceUuids</td>\n        <td><b>array</b></td>\n        <td>Resource UUID<br>\n            Check <a href=\"#home-setting-resource\">/v1/setting/resource</a> for details\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"time-publish-ss-detail\" />*time*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>start</td>\n        <td>string</td>\n        <td>Start time slot in a day. Format is <b>HH:mm</b>, i.e., 09:00</td>\n    </tr>\n    <tr>\n        <td>days</td>\n        <td>int</td>\n        <td>Duration in days from start time slot</td>\n    </tr>\n    <tr>\n        <td>hours</td>\n        <td>int</td>\n        <td>Duration in hours from start time slot</td>\n    </tr>\n    <tr>\n        <td>mins</td>\n        <td>int</td>\n        <td>Duration in minutes from start time slot</td>\n    </tr>\n</table>\n\n##### <a name=\"weekdays-publish-ss-detail\" />*weekdays*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>string</td>\n        <td>Weekday list: <br>\n            <b>Mon</b>  Monday<br>\n            <b>Tue</b>  Tuesday<br>\n            <b>Wed</b>  Wednesday<br>\n            <b>Thu</b>\
        \  Thursday<br>\n            <b>Fri</b>  Friday<br>\n            <b>Sat</b>  Saturday<br>\n            <b>Sun</b>  Sunday\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>string</td>\n         <td>Start time, from. Format is <b>HH:mm</b>, i.e., 09:00</td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>string</td>\n        <td>End time, to. Format is <b>HH:mm</b>, i.e., 18:00</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      parameters:
      - name: sessionSettingUuid
        in: path
        description: ''
        required: true
        example: e1c135dc-47ec-4d05-9c66-0eb4d73ef115
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Session Setting
      operationId: put-v1-publish-sessionSetting-sessionSettingUuid
      description: "Update a session setting by sessionSettingUuid.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/sessionSetting/{sessionSettingUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>sessionSettingUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Session Setting UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Session UUID</td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>target</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Range of editing operation for the same Session Setting<br>\n            <b>1</b>  This and the following sessions<br>\n            <b>2</b>  All sessions\n        </td>\n    </tr>\n    <tr>\n        <td>quotaTotal</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Total available seats</td>\n    </tr>\n    <tr>\n        <td>periodStartDate</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Start selling date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>periodEndDate</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>End of selling date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>time</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Check<a href=\"#time-publish-ss-edit\"> time </a> for details</td>\n    </tr>\n    <tr>\n        <td>weekdays</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Check<a href=\"#weekdays-publish-ss-edit\"> weekdays </a> for details</td>\n    </tr>\n    <tr>\n        <td>resourceUuids</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Resource UUID<br>\n            Check <a href=\"#home-setting-resource\">/v1/setting/resource</a> for details\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"time-publish-ss-edit\" />*time*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>start</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Start time slot in a day. Format is <b>HH:mm</b>, i.e., 09:00</td>\n    </tr>\n    <tr>\n        <td>days</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Duration in days</td>\n    </tr>\n    <tr>\n        <td>hours</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Duration in hours</td>\n    </tr>\n    <tr>\n        <td>mins</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Duration in minutes</td>\n    </tr>\n</table>\n\n##### <a name=\"weekdays-publish-ss-edit\" />*weekdays*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Weekday value list: <br>\n            <b>Mon</b>  Monday<br>\n            <b>Tue</b>  Tuesday<br>\n            <b>Wed</b>  Wednesday<br>\n            <b>Thu</b>  Thursday<br>\n            <b>Fri</b>  Friday<br>\n            <b>Sat</b>  Saturday<br>\n            <b>Sun</b>  Sunday\n     \
        \   </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Start time, from. Format is <b>HH:mm</b>, i.e., 09:00</td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>End time, to. Format is <b>HH:mm</b>, i.e., 18:00</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      parameters:
      - name: sessionSettingUuid
        in: path
        description: ''
        required: true
        example: e1c135dc-47ec-4d05-9c66-0eb4d73ef115
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              sessionUuid: 3c83a3d9-dffe-4898-a234-2ffb52a9dcee
              salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
              target: 1
              quotaTotal: 10
              periodStartDate: '2019-06-01'
              periodEndDate: '2019-12-31'
              time:
              - start: 09:00
                days: 0
                hours: 8
                mins: 0
              weekdays:
              - value: Mon
                from: 08:00
                to: '17:00'
              - value: Tue
                from: 08:00
                to: '17:00'
              - value: Wed
                from: 08:00
                to: '17:00'
              - value: Thu
                from: 08:00
                to: '17:00'
              - value: Fri
                from: 08:00
                to: '17:00'
              - value: Sat
                from: 08:00
                to: '17:00'
              - value: Sun
                from: 08:00
                to: '17:00'
              resourceUuids:
              - 6fd0646e-aeed-445c-b19f-5c0d5099ac17
            schema:
              type: object
              properties:
                sessionUuid:
                  type: string
                salesOptionUuid:
                  type: string
                target:
                  type: number
                quotaTotal:
                  type: number
                periodStartDate:
                  type: string
                periodEndDate:
                  type: string
                time:
                  type: array
                  items:
                    type: object
                    properties:
                      start:
                        type: string
                      days:
                        type: number
                      hours:
                        type: number
                      mins:
                        type: number
                weekdays:
                  type: array
                  items:
                    type: object
                    properties:
                      value:
                        type: string
                      from:
                        type: string
                      to:
                        type: string
                    required:
                    - value
                    - from
                    - to
                resourceUuids:
                  type: array
                  items:
                    type: string
  /v1/publish/sessionSetting:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: e1c135dc-47ec-4d05-9c66-0eb4d73ef115
      summary: Create Session Setting
      operationId: post-v1-publish-sessionSetting
      description: "*` REQUIRED ` step of  creating a product*<br>Create a new session setting for product\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/sessionSetting</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID<br>\n            Check <a href=\"#home-product-list\">/v1/product/list</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Package UUID<br>\n            Use Product UUID to get related packages by <a href=\"#home-product-sales-option\">/v1/product/{productUuid}/salesOption</a>\n        </td>\n    </tr>\n    <tr>\n        <td>quotaTotal</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Total available seats</td>\n    </tr>\n    <tr>\n        <td>periodStartDate</td>\n        <td>string</td>\n        <td>Y</td>\n       <td>Period start date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>periodEndDate</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Period end date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>time</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Check<a href=\"#time-publish-ss-detail\"> time </a> for details</td>\n    </tr>\n    <tr>\n        <td>weekdays</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Check<a href=\"#weekdays-publish-ss-add\"> weekdays </a> for details</td>            \n    </tr>\n    <tr>\n        <td>resourceUuids</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Resource UUID<br>\n            Check <a href=\"#home-setting-resource\">/v1/setting/resource</a> for details\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"time-publish-ss-add\" />*time*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>start</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Start time slot in a day<br>\n            Format is <b>HH:mm</b><br>\n            Range: <b>HH</b> 00~23; <b>mm</b> 00, 30\n        </td>\n    </tr>\n    <tr>\n        <td>days</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Duration in days. Range is 0~7 </td>\n    </tr>\n    <tr>\n        <td>hours</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Duration in hours. Range is 0~23 </td>\n    </tr>\n    <tr>\n        <td>mins</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Duration in minutes, with 5-minute intervals. Value: 0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"weekdays-publish-ss-add\" />*weekdays*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Weekday value list: <br>\n            <b>Mon</b>  Monday<br>\n            <b>Tue</b>  Tuesday<br>\n            <b>Wed</b>  Wednesday<br>\n            <b>Thu</b>  Thursday<br>\n            <b>Fri</b>  Friday<br>\n            <b>Sat</b>  Saturday<br>\n            <b>Sun</b>  Sunday\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Start time, from.\
        \ Format is <b>HH:mm</b>, i.e., 09:00</td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>End time, to. Format is <b>HH:mm</b>, i.e., 18:00</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-publish-ss-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-publish-ss-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Session Setting UUID</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      requestBody:
        content:
          application/json:
            example:
              productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
              salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
              quotaTotal: 10
              periodStartDate: '2019-06-01'
              periodEndDate: '2019-12-31'
              time:
              - start: 09:00
                days: 0
                hours: 8
                mins: 0
              weekdays:
              - value: Mon
                from: 08:00
                to: '17:00'
              - value: Tue
                from: 08:00
                to: '17:00'
              - value: Wed
                from: 08:00
                to: '17:00'
              - value: Thu
                from: 08:00
                to: '17:00'
              - value: Fri
                from: 08:00
                to: '17:00'
              - value: Sat
                from: 08:00
                to: '17:00'
              - value: Sun
                from: 08:00
                to: '17:00'
              resourceUuids:
              - 6fd0646e-aeed-445c-b19f-5c0d5099ac17
            schema:
              type: object
              properties:
                productUuid:
                  type: string
                salesOptionUuid:
                  type: string
                quotaTotal:
                  type: number
                periodStartDate:
                  type: string
                periodEndDate:
                  type: string
                time:
                  type: array
                  items:
                    type: object
                    properties:
                      start:
                        type: string
                      days:
                        type: number
                      hours:
                        type: number
                      mins:
                        type: number
                weekdays:
                  type: array
                  items:
                    type: object
                    properties:
                      value:
                        type: string
                      from:
                        type: string
                      to:
                        type: string
                    required:
                    - value
                    - from
                    - to
                resourceUuids:
                  type: array
                  items:
                    type: string
  /v1/publish/session/{sessionUuid}:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      sessionSettingUuid:
                        type: string
                      productUuid:
                        type: string
                      salesOptionUuid:
                        type: string
                      sessionStartDate:
                        type: string
                      sessionStartTime:
                        type: string
                      sessionWeekday:
                        type: string
                      sessionEndDate:
                        type: string
                      sessionEndTime:
                        type: string
                      resourceUuids:
                        type: array
                        items:
                          type: string
                      sessionPrice:
                        type: array
                        items:
                          type: object
                          properties:
                            pricePolicyUuid:
                              type: string
                            pricePolicyLabel:
                              type: string
                            type:
                              type: string
                            currencyUuid:
                              type: string
                            policy:
                              type: object
                              properties:
                                identityUuid:
                                  type: string
                                itemUuid:
                                  type: string
                                label:
                                  type: string
                                price:
                                  type: number
                          required:
                          - pricePolicyUuid
                          - pricePolicyLabel
                          - type
                          - currencyUuid
                          - policy
                      quotaTotal:
                        type: number
                      quotaBooked:
                        type: number
                      active:
                        type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 3c83a3d9-dffe-4898-a234-2ffb52a9dcee
                  sessionSettingUuid: e1c135dc-47ec-4d05-9c66-0eb4d73ef115
                  productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
                  salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                  sessionStartDate: '2019-06-10'
                  sessionStartTime: 09:00
                  sessionWeekday: Mon
                  sessionEndDate: '2019-06-10'
                  sessionEndTime: '17:00'
                  resourceUuids:
                  - 6fd0646e-aeed-445c-b19f-5c0d5099ac17
                  sessionPrice:
                  - pricePolicyUuid: 33a6058e-232c-4fb1-9169-9607827d5614
                    pricePolicyLabel: Day Tour - Weekday departures
                    type: PERSON
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    policy:
                      identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                      itemUuid: ''
                      label: ''
                      price: 29.99
                  - pricePolicyUuid: 33a6058e-232c-4fb1-9169-9607827d5614
                    pricePolicyLabel: Day Tour - Weekday departures
                    type: PERSON
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    policy:
                      identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                      itemUuid: ''
                      label: ''
                      price: 6
                  quotaTotal: 0
                  quotaBooked: 0
                  active: 1
      summary: Get Session
      operationId: get-v1-publish-session-sessionUuid
      description: "Load an existing session by sessionUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/session/{sessionUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Query String</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Session UUID</td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-session-get\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-session-get\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Session UUID</td>\n    </tr>\n    <tr>\n        <td>sessionSettingUuid</td>\n        <td>UUID</td>\n        <td>Session Setting UUID</td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Product UUID<br>\n            Check <a href=\"#home-product-list\">/v1/product/list</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>sessionStartDate</td>\n        <td>string</td>\n        <td>Session start date. Format is <b>YYYY-MM-DD</b> (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionStartTime</td>\n        <td>string</td>\n        <td>Start time of session. Format is <b>HH:mm</b>, i.e., 09:00 (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionWeekday</td>\n        <td>string</td>\n        <td>Weekday of session, value list:<br>\n            <b>Mon</b>  Monday<br>\n            <b>Tue</b>  Tuesday<br>\n            <b>Wed</b>  Wednesday<br>\n            <b>Thu</b>  Thursday<br>\n            <b>Fri</b>  Friday<br>\n            <b>Sat</b>  Saturday<br>\n            <b>Sun</b>  Sunday\n        </td>\n    </tr>\n    <tr>\n        <td>sessionEndDate</td>\n        <td>string</td>\n        <td>Session end date. Format is <b>YYYY-MM-DD</b> (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionEndTime</td>\n        <td>string</td>\n        <td>End time of session. Format is <b>HH:mm</b>, i.e., 18:00 (product timezone)</td>\n    </tr>\n    <tr>\n        <td>resourceUuids</td>\n        <td><b>array</b></td>\n        <td>Resource UUID<br>\n            Check <a href=\"#home-setting-resource\">/v1/setting/resource</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>sessionPrice</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#session-price-session-get\"> sessionPrice </a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>quotaTotal</td>\n        <td>int</td>\n        <td>Total\
        \ available seats</td>\n    </tr>\n    <tr>\n        <td>quotaBooked</td>\n        <td>int</td>\n        <td>Seats booked</td>\n    </tr>\n    <tr>\n        <td>active</td>\n        <td>int</td>\n        <td>Is this session activated?<br>\n            <b>1</b>  Yes, active, available for booking<br>\n            <b>0</b>  No, inactive\n        </td>        \n    </tr>\n</table>\n\n##### <a name=\"session-price-session-get\" />*sessionPrice*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Pricing Policy UUID<br>\n            Check <a href=\"#home-setting-price-policy\">/v1/setting/pricePolicy</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>pricePolicyLabel</td>\n        <td>string</td>\n        <td>Label name of price policy</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>policy</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#session-price-policy-session-get\"> policy </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"session-price-policy-session-get\" />*sessionPrice - policy*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>itemUuid</td>\n        <td>UUID</td>\n        <td>Pricing Item UUID<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Item label name<br>\n            Available and required when <b>identity.type = ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Price</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      parameters:
      - name: sessionUuid
        in: path
        description: ''
        required: true
        example: 3c83a3d9-dffe-4898-a234-2ffb52a9dcee
        schema:
          type: string
      - name: productUuid
        in: query
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Session Availability or Price
      operationId: put-v1-publish-session-sessionUuid
      description: "Update a session availability or price by sessionUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/session/{sessionUuid}</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Session UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n    <tr>\n        <td>quotaTotal</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Total available seats</td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Pricing rule, check<a href=\"#-publish-ss-add\"> price </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"price-session-edit\" />*price*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Pricing Policy UUID<br>\n            Check <a href=\"#home-setting-price-policy\">/v1/setting/pricePolicy</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Price Setting<br>\n            Check<a href=\"#price-value-publish-ss-add\"> value </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"price-value-session-edit\" />*price - value*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Item label name<br>\n            Available and required when <b>identity.type = ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Y</td>\n        <td>Price</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      parameters:
      - name: sessionUuid
        in: path
        description: ''
        required: true
        example: 3c83a3d9-dffe-4898-a234-2ffb52a9dcee
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
              quotaTotal: 10
              price:
              - type: PERSON
                pricePolicyUuid: 33a6058e-232c-4fb1-9169-9607827d5614
                value:
                - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                  price: 29.99
                - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                  price: 6
            schema:
              type: object
              properties:
                productUuid:
                  type: string
                quotaTotal:
                  type: number
                price:
                  type: array
                  items:
                    type: object
                    properties:
                      type:
                        type: string
                      pricePolicyUuid:
                        type: string
                      value:
                        type: array
                        items:
                          type: object
                          properties:
                            identityUuid:
                              type: string
                            price:
                              type: number
                          required:
                          - identityUuid
                          - price
  /v1/publish/session/{sessionUuid}/active:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Active Session
      operationId: put-v1-publish-session-sessionUuid-active
      description: "Turn on or turn off a session by sessionUuid\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/session/{sessionUuid}/active</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Session UUID</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n    <tr>\n        <td>target</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Range of editing operation for the same Session Setting<br>\n            <b>1</b>  This and the following sessions<br>\n            <b>2</b>  All sessions<br>\n            <b>3</b>  This session\n        </td>\n    </tr>\n    <tr>\n        <td>active</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Is this session activated?<br>\n            <b>1</b>  Yes, active, available for booking<br>\n            <b>0</b>  No, inactive\n        </td> \n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      parameters:
      - name: sessionUuid
        in: path
        description: ''
        required: true
        example: 3c83a3d9-dffe-4898-a234-2ffb52a9dcee
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
              target: 3
              active: 0
            schema:
              type: object
              properties:
                productUuid:
                  type: string
                target:
                  type: number
                active:
                  type: number
  /v1/publish/calendar:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      availableDate:
                        type: array
                        items:
                          type: string
                      availableTimeInDate:
                        type: object
                        properties:
                          '2019-06-10':
                            type: array
                            items:
                              type: string
                          '2019-06-11':
                            type: array
                            items:
                              type: string
                      sessionData:
                        type: object
                        properties:
                          '201906100900':
                            type: array
                            items:
                              type: object
                              properties:
                                productUuid:
                                  type: string
                                productTitle:
                                  type: string
                                salesOptionUuid:
                                  type: string
                                salesOptionTitle:
                                  type: string
                                publishStatus:
                                  type: number
                                sessionUuid:
                                  type: string
                                sessionStartDate:
                                  type: string
                                sessionStartTime:
                                  type: string
                                sessionEndDate:
                                  type: string
                                sessionEndTime:
                                  type: string
                                sessionPrice:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      pricePolicyUuid:
                                        type: string
                                      pricePolicyLabel:
                                        type: string
                                      type:
                                        type: string
                                      policy:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            identityUuid:
                                              type: string
                                            itemUuid:
                                              type: string
                                            label:
                                              type: string
                                            price:
                                              type: number
                                          required:
                                          - identityUuid
                                          - itemUuid
                                          - label
                                          - price
                                      currencyUuid:
                                        type: string
                                quotaTotal:
                                  type: number
                                quotaBooked:
                                  type: number
                                quotaAvailable:
                                  type: number
                                active:
                                  type: number
                          '201906110900':
                            type: array
                            items:
                              type: object
                              properties:
                                productUuid:
                                  type: string
                                productTitle:
                                  type: string
                                salesOptionUuid:
                                  type: string
                                salesOptionTitle:
                                  type: string
                                publishStatus:
                                  type: number
                                sessionUuid:
                                  type: string
                                sessionStartDate:
                                  type: string
                                sessionStartTime:
                                  type: string
                                sessionEndDate:
                                  type: string
                                sessionEndTime:
                                  type: string
                                sessionPrice:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      pricePolicyUuid:
                                        type: string
                                      pricePolicyLabel:
                                        type: string
                                      type:
                                        type: string
                                      policy:
                                        type: array
                                        items:
                                          type: object
                                          properties:
                                            identityUuid:
                                              type: string
                                            itemUuid:
                                              type: string
                                            label:
                                              type: string
                                            price:
                                              type: number
                                          required:
                                          - identityUuid
                                          - itemUuid
                                          - label
                                          - price
                                      currencyUuid:
                                        type: string
                                quotaTotal:
                                  type: number
                                quotaBooked:
                                  type: number
                                quotaAvailable:
                                  type: number
                                active:
                                  type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  availableDate:
                  - '2019-06-10'
                  - '2019-06-11'
                  availableTimeInDate:
                    '2019-06-10':
                    - 09:00
                    '2019-06-11':
                    - 09:00
                  sessionData:
                    '201906100900':
                    - productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
                      productTitle: 'Day Tour from Taipei: Jiufen Old Street, Golden Waterfall, and Bitou Cape'
                      salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                      salesOptionTitle: Day tour
                      publishStatus: 1
                      sessionUuid: 3c83a3d9-dffe-4898-a234-2ffb52a9dcee
                      sessionStartDate: '2019-06-10'
                      sessionStartTime: 09:00
                      sessionEndDate: '2019-06-10'
                      sessionEndTime: '17:00'
                      sessionPrice:
                      - pricePolicyUuid: 33a6058e-232c-4fb1-9169-9607827d5614
                        pricePolicyLabel: Day Tour - Weekday departures
                        type: PERSON
                        policy:
                        - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                          itemUuid: ''
                          label: ''
                          price: 29.99
                        - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                          itemUuid: ''
                          label: ''
                          price: 6
                        currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                      quotaTotal: 10
                      quotaBooked: 0
                      quotaAvailable: 10
                      active: 1
                    '201906110900':
                    - productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
                      productTitle: 'Day Tour from Taipei: Jiufen Old Street, Golden Waterfall, and Bitou Cape'
                      salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                      salesOptionTitle: Day tour
                      publishStatus: 1
                      sessionUuid: f69e8340-a31a-4fe4-9d41-cdd61205b6d1
                      sessionStartDate: '2019-06-11'
                      sessionStartTime: 09:00
                      sessionEndDate: '2019-06-11'
                      sessionEndTime: '17:00'
                      sessionPrice:
                      - pricePolicyUuid: 33a6058e-232c-4fb1-9169-9607827d5614
                        pricePolicyLabel: Day Tour - Weekday departures
                        type: PERSON
                        policy:
                        - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                          itemUuid: ''
                          label: ''
                          price: 29.99
                        - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                          itemUuid: ''
                          label: ''
                          price: 6
                        currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                      quotaTotal: 10
                      quotaBooked: 0
                      quotaAvailable: 10
                      active: 1
      summary: Get Calendar - Availability
      operationId: get-v1-publish-calendar
      description: "<a name=\"home-publish-calendar\" />\nLoad availability calendar with a specific date range by `startDate` and `endDate`. This will return a list of sessions, including their availability, pricing policy and details. Rezio allows specific price or availability changes in a single session, so be sure to use the correct session for making a booking.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/publish/calendar</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>startDate</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Query period, start date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>endDate</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Query period, end date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Product UUID<br>\n            Check <a href=\"#home-product-list\">/v1/product/list</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Package UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-calendar-get\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-calendar-get\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>availableDate</td>\n        <td><b>array</b></td>\n        <td>All available session date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>availableTimeInDate</td>\n        <td><b>array</b></td>\n        <td>All available session time. Format is <b>HH:mm</b>, i.e., 09:00<br>\n            Use session date as key. Format is <b>YYYY-MM-DD</b><br>\n            Example: { \"2019-05-24\": [\"09:00\", \"14:00\"] }\n        </td>\n    </tr>\n    <tr>\n        <td>sessionData</td>\n        <td><b>array</b></td>\n        <td>Session data<br>\n            Check<a href=\"#session-data-publish-calendar\"> sessionData </a>for details<br>\n            Use session start time as key. Format is <b>YYYYMMDDHHmm</b>, i.e., 201905240900\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"session-data-publish-calendar\" />*sessionData*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Product UUID<br>\n            Check <a href=\"#home-product-list\">/v1/product/list</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>productTitle</td>\n        <td>string</td>\n        <td>Product name</td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>salesOptionTitle</td>\n        <td>string</td>\n        <td>Name of package</td>\n    </tr>\n    <tr>\n        <td>publishStatus</td>\n\
        \        <td>int</td>\n        <td>Publish status of package<br>\n            <b>1</b>  Sale turned ON<br>\n            <b>0</b>  Sale turned OFF\n        </td>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Session UUID</td>\n    </tr>\n    <tr>\n        <td>sessionEndDate</td>\n        <td>string</td>\n        <td>Session end date. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>sessionEndTime</td>\n        <td>string</td>\n        <td>End time of session. Format is <b>HH:mm</b>, i.e., 18:00</td>\n    </tr>\n    <tr>\n        <td>sessionPrice</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#session-price-publish-calendar\"> sessionPrice </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>quotaTotal</td>\n        <td>int</td>\n        <td>Total available seats</td>\n    </tr>\n    <tr>\n        <td>quotaBooked</td>\n        <td>int</td>\n        <td>Seats booked</td>\n    </tr>\n    <tr>\n        <td>quotaAvailable</td>\n        <td>int</td>\n        <td>Seats available</td>\n    </tr>\n    <tr>\n        <td>active</td>\n        <td>int</td>\n        <td>Is this session activated?<br>\n            <b>1</b>  Yes, active, available for booking<br>\n            <b>0</b>  No, inactive\n        </td> \n    </tr>\n</table>\n\n##### <a name=\"session-price-publish-calendar\" />*sessionPrice*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Pricing Policy UUID<br>\n            Check <a href=\"#home-setting-price-policy\">/v1/setting/pricePolicy</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>pricePolicyLabel</td>\n        <td>string</td>\n        <td>Pricing policy label name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>policy</td>\n        <td><b>array</b></td>\n        <td>Rule<br>\n            Check<a href=\"#session-price-policy-publish-calendar\"> policy </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"session-price-policy-publish-calendar\" />*sessionPrice - policy*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>itemUuid</td>\n        <td>UUID</td>\n        <td>Pricing Item UUID<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Item label name<br>\n            Available and required when <b>identity.type = ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Price</td>\n    </tr>\n</table>"
      tags:
      - Publish Settings
      parameters:
      - name: startDate
        in: query
        description: query period, start date
        required: true
        example: '2019-06-10'
        schema:
          type: string
      - name: endDate
        in: query
        description: query period, end date
        required: true
        example: '2019-06-11'
        schema:
          type: string
      - name: productUuid
        in: query
        description: ''
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
      - name: salesOptionUuid
        in: query
        description: ''
        example: c15d3c20-c548-42be-aa7b-b6ba53a41962
        schema:
          type: string
  /v1/order/list:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            productUuid:
                              type: string
                            salesOptionUuid:
                              type: string
                            sessionUuid:
                              type: string
                            amount:
                              type: number
                            orderStatus:
                              type: number
                            createdAt:
                              type: string
                            sessionStartDate:
                              type: string
                            sessionStartTime:
                              type: string
                            orderNo:
                              type: string
                            productCode:
                              type: string
                            productName:
                              type: string
                            balance:
                              type: number
                            contactFirstName:
                              type: string
                            contactLastName:
                              type: string
                            sourceOrderNo:
                              type: string
                            orderSource:
                              type: string
                            orderSubSource:
                              type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 1
                  page: 1
                  itemPerPage: 20
                  list:
                  - uuid: aeaeb7d4-ab8b-4e73-9fab-80a7e966ad58
                    productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
                    salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                    sessionUuid: e3f55be9-5f47-4ad1-8ae6-1ed5968ea42c
                    amount: 43.99
                    orderStatus: 4
                    createdAt: '2019-06-05 12:10:34+00'
                    sessionStartDate: '2019-06-07'
                    sessionStartTime: 09:00
                    orderNo: TT190605ST0003
                    productCode: JIUFENA1
                    productName: 'Day Tour from Taipei: Jiufen Old Street, Golden Waterfall, and Bitou Cape'
                    balance: 0
                    contactFirstName: John
                    contactLastName: Doe
                    sourceOrderNo: ''
                    orderSource: Admin
                    orderSubSource: ''
      summary: List Orders
      operationId: get-v1-order-list
      description: "List all existing orders. Available filters are order status, booking date, depature date, etc.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/list</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query string</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>text</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Filter text, query in order number, product name, product code, package name</td>\n    </tr>\n    <tr>\n        <td>status</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Filter by order status</td>\n    </tr>\n    <tr>\n        <td>dateType</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Filter by date range<br>\n            <b>1</b>  Booking date<br>\n            <b>2</b>  Departure date\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Filter date range, start from. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Filter date range, end to. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-order-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-order-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Orders, check<a href=\"#list-order-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-order-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Order UUID</td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Product UUID<br>\n            Check <a href=\"#home-product-list\">/v1/product/list</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Session UUID</td>\n    </tr>\n    <tr>\n        <td>amout</td>\n        <td>number</td>\n        <td>Total amount</td>\n    </tr>\n    <tr>\n  \
        \      <td>orderStatus</td>\n        <td>int</td>\n        <td>Order status<br>\n            <b>-2</b>  Expired<br>\n            <b>0</b>  Cancelled<br>\n            <b>1</b>  New & Unpaid<br>\n            <b>2</b>  New & Paid<br>\n            <b>3</b>  Pending<br>\n            <b>4</b>  Confirmed<br>\n            <b>5</b>  Check-in & Redeem<br>\n            <b>6</b>  No-show<br>\n            <b>7</b>  Canceling<br>\n            <b>8</b>  Cancel Requested<br>\n            <b>9</b>  Departed<br>\n            <b>10</b>  Channel Redeemed<br>\n            <b>11</b>  Cancelled by Channel<br>\n            <b>12</b>  Completed in Channel<br>\n        </td>\n    </tr>\n    <tr>\n        <td>createdAt</td>\n        <td>string</td>\n        <td>Order created date. Format is <b>YYYY-MM-DD'T'HH:mm:ss'Z'</b></td>\n    </tr>\n    <tr>\n        <td>sessionStartDate</td>\n        <td>string</td>\n        <td>Order departure date, which is session start date. Format is <b>YYYY-MM-DD</b> (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionStartTime</td>\n        <td>string</td>\n        <td>Order departure time, which is start time of session. Format is <b>HH:mm</b>, i.e., 09:00 (product timezone)</td>\n    </tr>\n    <tr>\n        <td>contactFirstName</td>\n        <td>string</td>\n        <td>Contact, first name</td>\n    </tr>\n    <tr>\n        <td>contactLastName</td>\n        <td>string</td>\n        <td>Contact, last name</td>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Order number</td>\n    </tr>\n    <tr>\n        <td>productName</td>\n        <td>string</td>\n        <td>Product name</td>\n    </tr>\n    <tr>\n        <td>productCode</td>\n        <td>string</td>\n        <td>Product code</td>\n    </tr>\n    <tr>\n        <td>balance</td>\n        <td>number</td>\n        <td>Balance, unpaid amount</td>\n    </tr>\n    <tr>\n        <td>sourceOrderNo</td>\n        <td>string</td>\n        <td>Channel Order No.</td>\n    </tr>\n    <tr>\n        <td>orderSource</td>\n        <td>string</td>\n        <td>Order Source<br>\n            <b>MySite</b>  MySite<br>\n            <b>Admin</b>  Admin<br>\n            <b>Widget</b>  Widget<br>\n            <b>Machine</b>  Machine<br>\n            <b>KKday</b>  KKday<br>\n            <b>KKdayMkp</b>  KKday Marketplace<br>\n            <b>activityJapan</b>  Activity Japan<br>\n            <b>Viator</b>  Viator<br>\n            <b>Jalan</b>  Jalan<br>\n            <b>GYG</b>  GetYourGuide<br>\n            Names that are not listed above are Distributor names.<br>\n        </td>\n    </tr>\n    <tr>\n        <td>orderSubSource</td>\n        <td>string</td>\n        <td>Order sub Source<br>\n            This field could be null.<br>\n            <b>POS</b>  POS<br>\n            <b>KIOSK</b>  Kiosk<br>\n            <b>TTD</b>  Google TTD<br>\n            Names that are not listed above are either Custom Order Sources or special product pages cooperated with KKday, displayed as \"Website\".\n        </td>\n    </tr>\n</table>"
      tags:
      - Orders
      parameters:
      - name: page
        in: query
        description: ''
        example: '1'
        schema:
          type: string
          default: '1'
      - name: itemPerPage
        in: query
        description: ''
        example: '20'
        schema:
          type: string
          default: '20'
      - name: text
        in: query
        description: ''
        schema:
          type: string
      - name: status
        in: query
        description: ''
        schema:
          type: string
          enum:
          - '-2'
          - '0'
          - '1'
          - '2'
          - '3'
          - '4'
          - '5'
          - '6'
          - '7'
          - '8'
          - '9'
          - '10'
          - '11'
          - '12'
      - name: dateType
        in: query
        description: ''
        schema:
          type: string
          enum:
          - booking
          - departure
      - name: from
        in: query
        description: ''
        schema:
          type: string
      - name: to
        in: query
        description: ''
        schema:
          type: string
  /v1/order/{orderNo}/detail:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      orderNo:
                        type: string
                      productUuid:
                        type: string
                      salesOptionUuid:
                        type: string
                      sessionUuid:
                        type: string
                      currencyUuid:
                        type: string
                      amount:
                        type: number
                      orderStatus:
                        type: number
                      saleFrom:
                        type: string
                      orderTs:
                        type: number
                      sessionsettingUuid:
                        type: string
                      purchaseContent:
                        type: array
                        items:
                          type: object
                          properties:
                            pricePolicyUuid:
                              type: string
                            type:
                              type: string
                            identityUuid:
                              type: string
                            itemUuid:
                              type: string
                            label:
                              type: string
                            quantity:
                              type: number
                          required:
                          - pricePolicyUuid
                          - type
                          - identityUuid
                          - itemUuid
                          - label
                          - quantity
                      extras:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            quantity:
                              type: number
                      specialRequirement:
                        type: string
                      priceConfig:
                        type: array
                        items:
                          type: object
                          properties:
                            pricePolicyUuid:
                              type: string
                            pricePolicyLabel:
                              type: string
                            type:
                              type: string
                            identityUuid:
                              type: string
                            isGroup:
                              type: number
                            seat:
                              type: number
                            isConstraint:
                              type: number
                            quantityWeight:
                              type: number
                            price:
                              type: number
                            from:
                              type: number
                            to:
                              type: number
                          required:
                          - pricePolicyUuid
                          - pricePolicyLabel
                          - type
                          - identityUuid
                          - isGroup
                          - seat
                          - isConstraint
                          - quantityWeight
                          - price
                          - from
                          - to
                      sessionStartDate:
                        type: string
                      sessionStartTime:
                        type: string
                      sessionWeekday:
                        type: string
                      sessionEndDate:
                        type: string
                      sessionEndTime:
                        type: string
                      resourceAllocation:
                        type: array
                        items: {}
                      resourceUuids:
                        type: array
                        items:
                          type: string
                      contactInfo:
                        type: object
                        properties:
                          5b9256e0-0442-470f-8e80-4587703c4470:
                            type: string
                          adefb4ec-b408-4f5e-b71d-d1c79599cdbc:
                            type: string
                          bb3b43f7-996d-4e86-97b3-ffff35032e9a:
                            type: string
                          2a3536a5-a94a-4619-9af7-a93e0110874b:
                            type: array
                            items:
                              oneOf:
                              - type: number
                              - type: number
                              - type: string
                          57035281-8a2a-4c76-8a44-f9cfa3117654: {}
                          b13428d9-b9ff-473c-a612-66b6637221ed: {}
                          10662538-eef3-4171-9972-41300fa473d9:
                            type: string
                          251a6a27-7fbc-4411-83ec-dfd1e9b93b1b:
                            type: string
                          4e34479f-fe84-4bd3-a443-bbd7df182537:
                            type: string
                          96e58831-e2df-453b-8a6e-4fd74da1dd64:
                            type: string
                          496a769e-ad54-48b3-a5eb-0a5c8b83395f:
                            type: string
                          790ebdf2-7b60-4d02-851d-7c7a680f172b:
                            type: string
                          c570a05e-31dc-4f1c-9669-9facb038ea2e:
                            type: string
                          3f61ae81-2738-46dd-a83d-b09bc596d763:
                            type: string
                          9665763e-7476-470a-9a65-a0bd3e062813:
                            type: string
                      bookingInfoDetail:
                        type: object
                        properties:
                          ORDER:
                            type: array
                            items: {}
                          PARTICIPANT:
                            type: array
                            items:
                              type: object
                              properties:
                                3adfb028-3db6-46d9-920f-9234a1c2b8b5:
                                  type: string
                                1d154db9-f77a-4233-9526-4aeba23efe69:
                                  type: string
                                0774fe06-9d14-4d88-bd36-4eebe638f5b6:
                                  type: string
                                8bac68fc-1711-4377-bd4f-8e1790d528c4:
                                  type: string
                                0dabee8f-50fb-4114-b368-7c15a0604f37:
                                  type: string
                                235b964b-7b1f-4cf3-b322-541079f0b333:
                                  type: string
                              required:
                              - 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                              - 1d154db9-f77a-4233-9526-4aeba23efe69
                              - 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                              - 8bac68fc-1711-4377-bd4f-8e1790d528c4
                              - 0dabee8f-50fb-4114-b368-7c15a0604f37
                              - 235b964b-7b1f-4cf3-b322-541079f0b333
                      productName:
                        type: string
                      productCode:
                        type: string
                      salesOptionName:
                        type: string
                      purchaseQuantity:
                        type: number
                      seatQuantity:
                        type: number
                      resourceSessionUuids:
                        type: array
                        items:
                          type: string
                      bookingInfoUuid:
                        type: string
                      amountDetail:
                        type: object
                        properties:
                          purchaseContent:
                            type: array
                            items:
                              type: object
                              properties:
                                identityUuid:
                                  type: string
                                unitPrice:
                                  type: number
                                subtotal:
                                  type: number
                              required:
                              - identityUuid
                              - unitPrice
                              - subtotal
                          extras:
                            type: array
                            items:
                              type: object
                              properties:
                                productExtraUuid:
                                  type: string
                                label:
                                  type: string
                                unitPrice:
                                  type: string
                                subtotal:
                                  type: number
                          feeNdTax:
                            type: array
                            items:
                              type: object
                              properties:
                                type:
                                  type: string
                                feeNdTaxUuid:
                                  type: string
                                label:
                                  type: string
                                subtotal:
                                  type: string
                          total:
                            type: number
                      bookingInfoConfig:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            category:
                              type: string
                            label:
                              type: string
                            type:
                              type: string
                            config:
                              type: object
                              properties:
                                values:
                                  type: array
                                  items:
                                    type: object
                                    properties:
                                      label:
                                        type: string
                                      value:
                                        type: string
                                    required:
                                    - label
                                    - value
                                ask:
                                  type: number
                                display:
                                  type: object
                                  properties:
                                    website:
                                      type: number
                                    internal:
                                      type: number
                            sort:
                              type: number
                          required:
                          - uuid
                          - category
                          - label
                          - type
                          - config
                          - sort
                      paid:
                        type: number
                      refund:
                        type: number
                      balance:
                        type: number
                      pickupRequest:
                        type: object
                        properties:
                          pickupLocationUuid:
                            type: string
                          returnPickupLocationUuid:
                            type: string
                          customerRequest:
                            type: string
                          returnCustomerRequest:
                            type: string
                          detail:
                            type: object
                            properties:
                              departure:
                                type: object
                                properties:
                                  type:
                                    type: number
                                  fixedPickupTime:
                                    type: string
                                  waitingTime:
                                    type: number
                                  label:
                                    type: string
                                  addressLine:
                                    type: string
                                  latitude:
                                    type: string
                                  longitude:
                                    type: string
                                  instructions:
                                    type: string
                              return:
                                type: object
                                properties:
                                  type:
                                    type: number
                                  label:
                                    type: string
                                  addressLine:
                                    type: string
                                  latitude:
                                    type: string
                                  longitude:
                                    type: string
                                  instructions:
                                    type: string
                      preferLanguage:
                        type: object
                        properties:
                          guideLanguageUuid:
                            type: string
                          deviceLanguageUuid:
                            type: string
                          onsiteLanguageUuid:
                            type: string
                          materialLanguageUuid:
                            type: string
                      payType:
                        type: number
                      depositAmount:
                        type: number
                      depositDetail:
                        type: object
                        properties: {}
                      cancelFeeDetail:
                        type: object
                        properties: {}
                      paymentDetail:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            currencyUuid:
                              type: string
                            paymentType:
                              type: number
                            note:
                              type: string
                            paidDate:
                              type: string
                            amount:
                              type: number
                      noteDetail:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            note:
                              type: string
                            createdAt:
                              type: string
                            firstName:
                              type: string
                            lastName:
                              type: string
                      sourceOrderNo:
                        type: string
                      orderSource:
                        type: string
                      orderSubSource:
                        type: string
                      voucherInfo:
                        type: object
                        properties:
                          voucherType:
                            type: number
                          voucherUrl:
                            type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: aeaeb7d4-ab8b-4e73-9fab-80a7e966ad58
                  orderNo: TT190605ST0003
                  productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
                  salesOptionUuid: c15d3c20-c548-42be-aa7b-b6ba53a41962
                  sessionUuid: e3f55be9-5f47-4ad1-8ae6-1ed5968ea42c
                  currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                  amount: 43.99
                  orderStatus: 4
                  saleFrom: Admin
                  orderTs: 1559736634
                  sessionsettingUuid: e1c135dc-47ec-4d05-9c66-0eb4d73ef115
                  purchaseContent:
                  - pricePolicyUuid: 66457454-6730-470a-9926-a8e2a19d8cbe
                    type: PERSON
                    identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                    itemUuid: ''
                    label: ''
                    quantity: 1
                  - pricePolicyUuid: 66457454-6730-470a-9926-a8e2a19d8cbe
                    type: PERSON
                    identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                    itemUuid: ''
                    label: ''
                    quantity: 1
                  extras:
                  - uuid: 82097bf2-d2a8-458a-b5f9-cc807a060c82
                    quantity: 0
                  specialRequirement: Will need a babe seat, please
                  priceConfig:
                  - pricePolicyUuid: 66457454-6730-470a-9926-a8e2a19d8cbe
                    pricePolicyLabel: Day Tour - Weekend departures
                    type: PERSON
                    identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                    isGroup: 0
                    seat: 1
                    isConstraint: 1
                    quantityWeight: 1
                    price: 37.99
                    from: 3
                    to: 99
                  - pricePolicyUuid: 66457454-6730-470a-9926-a8e2a19d8cbe
                    pricePolicyLabel: Day Tour - Weekend departures
                    type: PERSON
                    identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                    isGroup: 0
                    seat: 0
                    isConstraint: 1
                    quantityWeight: 1
                    price: 6
                    from: 0
                    to: 2
                  sessionStartDate: '2019-06-07'
                  sessionStartTime: 09:00
                  sessionWeekday: Fri
                  sessionEndDate: '2019-06-07'
                  sessionEndTime: ':'
                  resourceAllocation: []
                  resourceUuids:
                  - 6fd0646e-aeed-445c-b19f-5c0d5099ac17
                  contactInfo:
                    5b9256e0-0442-470f-8e80-4587703c4470: John
                    adefb4ec-b408-4f5e-b71d-d1c79599cdbc: Doe
                    bb3b43f7-996d-4e86-97b3-ffff35032e9a: johndoe_xxxxxxxxxxx@gmail.com
                    2a3536a5-a94a-4619-9af7-a93e0110874b:
                    - 886
                    - 0912345678
                    57035281-8a2a-4c76-8a44-f9cfa3117654: null
                    b13428d9-b9ff-473c-a612-66b6637221ed: null
                    10662538-eef3-4171-9972-41300fa473d9: ''
                    251a6a27-7fbc-4411-83ec-dfd1e9b93b1b: ''
                    4e34479f-fe84-4bd3-a443-bbd7df182537: ''
                    96e58831-e2df-453b-8a6e-4fd74da1dd64: ''
                    496a769e-ad54-48b3-a5eb-0a5c8b83395f: ''
                    790ebdf2-7b60-4d02-851d-7c7a680f172b: ''
                    c570a05e-31dc-4f1c-9669-9facb038ea2e: ''
                    3f61ae81-2738-46dd-a83d-b09bc596d763: ''
                    9665763e-7476-470a-9a65-a0bd3e062813: ''
                  bookingInfoDetail:
                    ORDER: []
                    PARTICIPANT:
                    - 3adfb028-3db6-46d9-920f-9234a1c2b8b5: John
                      1d154db9-f77a-4233-9526-4aeba23efe69: Doe
                      0774fe06-9d14-4d88-bd36-4eebe638f5b6: ORDER.GENDER_MALE
                      8bac68fc-1711-4377-bd4f-8e1790d528c4: '1981-01-01'
                      0dabee8f-50fb-4114-b368-7c15a0604f37: Taiwan
                      235b964b-7b1f-4cf3-b322-541079f0b333: '300012345'
                    - 3adfb028-3db6-46d9-920f-9234a1c2b8b5: John Jr.
                      1d154db9-f77a-4233-9526-4aeba23efe69: Doe
                      0774fe06-9d14-4d88-bd36-4eebe638f5b6: ORDER.GENDER_MALE
                      8bac68fc-1711-4377-bd4f-8e1790d528c4: '2017-12-30'
                      0dabee8f-50fb-4114-b368-7c15a0604f37: Taiwan
                      235b964b-7b1f-4cf3-b322-541079f0b333: '300012346'
                  productName: 'Day Tour from Taipei: Jiufen Old Street, Golden Waterfall, and Bitou Cape'
                  productCode: JIUFENA1
                  salesOptionName: Day tour
                  purchaseQuantity: 2
                  seatQuantity: 1
                  resourceSessionUuids:
                  - d11c90f9-9deb-4aa0-bd93-4181348662bb
                  bookingInfoUuid: 5dfa699c-bfe8-44f7-b7cb-3a53dbc423a1
                  amountDetail:
                    purchaseContent:
                    - identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                      unitPrice: 37.99
                      subtotal: 37.99
                    - identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                      unitPrice: 6
                      subtotal: 6
                    extras:
                    - productExtraUuid: 82097bf2-d2a8-458a-b5f9-cc807a060c82
                      label: Tea Time Meal Set
                      unitPrice: '9.9'
                      subtotal: 0
                    feeNdTax:
                    - type: inclusive
                      feeNdTaxUuid: 2dbe92c2-bf7c-46f8-9566-30e313368124
                      label: Invoice Tax
                      subtotal: '-'
                    total: 43.99
                  bookingInfoConfig:
                  - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                    category: contact
                    label: First Name
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                    sort: 1
                  - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                    category: contact
                    label: Last Name
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                    sort: 2
                  - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                    category: contact
                    label: Email
                    type: email
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                    sort: 3
                  - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                    category: contact
                    label: Mobile
                    type: phone
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 2
                        internal: 1
                    sort: 4
                  - uuid: 57035281-8a2a-4c76-8a44-f9cfa3117654
                    category: contact
                    label: Phone
                    type: phone
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 5
                  - uuid: b13428d9-b9ff-473c-a612-66b6637221ed
                    category: contact
                    label: Fax
                    type: phone
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 6
                  - uuid: 10662538-eef3-4171-9972-41300fa473d9
                    category: contact
                    label: Gender
                    type: select
                    config:
                      values:
                      - label: Male
                        value: ORDER.GENDER_MALE
                      - label: Female
                        value: ORDER.GENDER_FEMALE
                      - label: Other
                        value: ORDER.GENDER_OTHER
                      - label: Refuse to answer
                        value: ORDER.GENDER_REFUSE
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 7
                  - uuid: 251a6a27-7fbc-4411-83ec-dfd1e9b93b1b
                    category: contact
                    label: Date of Birth
                    type: date
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 8
                  - uuid: 4e34479f-fe84-4bd3-a443-bbd7df182537
                    category: contact
                    label: Preferred Language
                    type: language
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 9
                  - uuid: 96e58831-e2df-453b-8a6e-4fd74da1dd64
                    category: contact
                    label: Company Name
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 10
                  - uuid: 496a769e-ad54-48b3-a5eb-0a5c8b83395f
                    category: contact
                    label: Country/Territory
                    type: country
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 11
                  - uuid: 790ebdf2-7b60-4d02-851d-7c7a680f172b
                    category: contact
                    label: State/County/Region
                    type: state
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 12
                  - uuid: c570a05e-31dc-4f1c-9669-9facb038ea2e
                    category: contact
                    label: City/Town/Suburb
                    type: city
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 13
                  - uuid: 3f61ae81-2738-46dd-a83d-b09bc596d763
                    category: contact
                    label: Postcode/ZIP
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 14
                  - uuid: 9665763e-7476-470a-9a65-a0bd3e062813
                    category: contact
                    label: Address
                    type: input
                    config:
                      values: []
                      ask: 1
                      display:
                        website: 0
                        internal: 1
                    sort: 15
                  - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                    category: participant
                    label: First Name
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                    sort: 23
                  - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                    category: participant
                    label: Last Name
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                    sort: 24
                  - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                    category: participant
                    label: Gender
                    type: select
                    config:
                      values:
                      - label: Male
                        value: ORDER.GENDER_MALE
                      - label: Female
                        value: ORDER.GENDER_FEMALE
                      - label: Other
                        value: ORDER.GENDER_OTHER
                      - label: Refuse to answer
                        value: ORDER.GENDER_REFUSE
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                    sort: 29
                  - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                    category: participant
                    label: Date of Birth
                    type: date
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                    sort: 30
                  - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                    category: participant
                    label: Nationality
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                    sort: 33
                  - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                    category: participant
                    label: Passport number
                    type: input
                    config:
                      values: []
                      ask: 2
                      display:
                        website: 2
                        internal: 1
                    sort: 34
                  paid: 43.99
                  refund: 0
                  balance: 0
                  pickupRequest:
                    pickupLocationUuid: 67de4120-2cce-409b-b6ea-ae257363e258
                    returnPickupLocationUuid: 0095e05f-e83a-477a-97da-6393bfb89ef4
                    customerRequest: ''
                    returnCustomerRequest: ''
                    detail:
                      departure:
                        type: 3
                        fixedPickupTime: 08:30
                        waitingTime: 5
                        label: 台中高鐵站2號出口
                        addressLine: 台中市烏日區站區一路
                        latitude: '24.1477358'
                        longitude: '120.6736482'
                        instructions: ''
                      return:
                        type: 4
                        label: 台中高鐵站2號出口
                        addressLine: 台中市烏日區站區一路
                        latitude: '24.1477358'
                        longitude: '120.6736482'
                        instructions: ''
                  preferLanguage:
                    guideLanguageUuid: 7e8eaa1f-330d-436a-b17d-bdbefe83ab20
                    deviceLanguageUuid: ''
                    onsiteLanguageUuid: ''
                    materialLanguageUuid: ''
                  payType: 0
                  depositAmount: -1
                  depositDetail: {}
                  cancelFeeDetail: {}
                  paymentDetail:
                  - uuid: 6665bf5d-6e89-47b3-82d2-4d5bb2f94d1a
                    currencyUuid: b5317f07-b5a0-4525-8ff7-3fe55b4d96ec
                    paymentType: 1
                    note: Paid on shop counter
                    paidDate: '2019-06-05'
                    amount: 43.99
                  noteDetail:
                  - uuid: b0c5b799-9e4c-4933-9dbe-10388f52af07
                    note: Mary, please confirm with Mr. Doe, because we don't have the babe seat for infant, only available for kid.
                    createdAt: '2019-06-05 12:14:46+00'
                    firstName: Money
                    lastName: Yi
                  sourceOrderNo: ''
                  orderSource: Admin
                  orderSubSource: ''
                  voucherInfo:
                    voucherType: 1
                    voucherUrl: ''
      summary: Get Order Detail
      operationId: get-v1-order-orderNo-detail
      description: "Load an existing order detail by orderNo\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/{orderNo}/detail</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Order number</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-order-detail\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-order-detail\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Order UUID</td>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Order number</td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Product UUID</td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Session UUID</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>amount</td>\n        <td>number</td>\n        <td>Total amount</td>\n    </tr>\n    <tr>\n        <td>orderStatus</td>\n        <td>int</td>\n        <td>Order status<br>\n            <b>-2</b>  Expired<br>\n            <b>0</b>  Cancelled<br>\n            <b>1</b>  New & Unpaid<br>\n            <b>2</b>  New & Paid<br>\n            <b>3</b>  Pending<br>\n            <b>4</b>  Confirmed<br>\n            <b>5</b>  Check-in & Redeem<br>\n            <b>6</b>  No-show<br>\n            <b>7</b>  Canceling<br>\n            <b>8</b>  Cancel Requested<br>\n            <b>9</b>  Departed<br>\n            <b>10</b>  Channel Redeemed<br>\n            <b>11</b>  Cancelled by Channel<br>\n            <b>12</b>  Completed in Channel<br>\n        </td>\n    </tr>\n    <tr>\n        <td>saleFrom</td>\n        <td>string</td>\n        <td>Channel which sold the order</td>\n    </tr>\n    <tr>\n        <td>orderCreateDatetime</td>\n        <td>string</td>\n        <td>Order created time. Format is <b>YYYY-MM-DD'T'HH:mm:ss'Z'</b> Timezone is UTC+0</td>\n    </tr>\n    <tr>\n        <td>sessionSettingUuid</td>\n        <td>UUID</td>\n        <td>Session Setting UUID</td>\n    </tr>\n    <tr>\n        <td>purchaseContent</td>\n        <td><b>array</b></td>\n        <td>Purchase content indicates the booked seats and the related identity information.<br>\n            Check<a href=\"#purchase-content-order-detail-get\"> purchaseContent </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>extras</td>\n        <td><b>array</b></td>\n        <td>Extra data<br>\n        Check<a href=\"\
        #extras-order-detail-get\"> extras </a> for details</td>\n    </tr>\n    <tr>\n        <td>specialRequirement</td>\n        <td>string</td>\n        <td>Customer requested context, note field to customer</td>\n    </tr>\n    <tr>\n        <td>priceConfig</td>\n        <td><b>array</b></td>\n        <td>Config indicates the pricing policy rules of booked session.<br>\n            Check<a href=\"#price-config-order-detail-get\"> priceConfig </a> for details</td>\n    </tr>\n    <tr>\n        <td>sessionStartDate</td>\n        <td>string</td>\n        <td>Departure date, which is session start date. Format is <b>YYYY-MM-DD</b> (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionStartTime</td>\n        <td>string</td>\n        <td>Departure time, which is start time of session. Format is <b>HH:mm</b>, i.e., 09:00 (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionWeekday</td>\n        <td>string</td>\n        <td>Weekday of order departure date, options:<br>\n            <b>Mon</b>  Monday<br>\n            <b>Tue</b>  Tuesday<br>\n            <b>Wed</b>  Wednesday<br>\n            <b>Thu</b>  Thursday<br>\n            <b>Fri</b>  Friday<br>\n            <b>Sat</b>  Saturday<br>\n            <b>Sun</b>  Sunday\n        </td>\n    </tr>\n    <tr>\n        <td>sessionEndDate</td>\n        <td>string</td>\n        <td>Finish date, which is session end date. Format is <b>YYYY-MM-DD</b> (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionEndTime</td>\n        <td>string</td>\n        <td>Finish time, which is the end time of session. Format is <b>HH:mm</b>, i.e., 18:00 (product timezone)</td>\n    </tr>\n    <tr>\n        <td>resourceAllocation</td>\n        <td><b>array</b></td>\n        <td>Resource allocation<br>\n            Check<a href=\"#resource-allocation-order-detail-get\"> resourceAllocation </a> for details</td>\n    </tr>\n    <tr>\n        <td>resourceUuids</td>\n        <td><b>array</b></td>\n        <td>Resource UUID<br>\n            Check <a href=\"#home-setting-resource\">/v1/setting/resource</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>contactInfo</td>\n        <td><b>object</b></td>\n        <td>Contact information<br>\n            Check<a href=\"#contact-info-order-detail-get\"> contactInfo </a> for details</td>        \n    </tr>\n    <tr>\n        <td>bookingInfoDetail</td>\n        <td><b>object</b></td>\n        <td>Booking information detail<br>\n            Check<a href=\"#bknfo-detail-order-detail-get\"> bookingInfoDetail </a> for details</td>\n    </tr>\n    <tr>\n        <td>productName</td>\n        <td>string</td>\n        <td>Product name</td>\n    </tr>\n    <tr>\n        <td>productCode</td>\n        <td>string</td>\n        <td>Product code</td>\n    </tr>\n    <tr>\n        <td>salesOptionName</td>\n        <td>string</td>\n        <td>Package name</td>\n    </tr>\n    <tr>\n        <td>purchaseQuantity</td>\n        <td>int</td>\n        <td>Total booked quantity</td>\n    </tr>\n    <tr>\n        <td>seatQuantity</td>\n        <td>int</td>\n        <td>Total occupied seats</td>\n    </tr>\n    <tr>\n        <td>resourceSessionUuids</td>\n        <td><b>array</b></td>\n        <td>Resource Session UUID</td>\n    </tr>\n    <tr>\n        <td>bookingInfoUuid</td>\n        <td>UUID</td>\n        <td>Booking information UUID<br>\n            Check<a href=\"#home-setting-booking-info\">/v1/setting/bookingInfo</a>\n        </td>\n    </tr>\n    <tr>\n        <td>amountDetail</td>\n        <td><b>object</b></td>\n        <td>Amount detail<br>\n            Check<a href=\"#amount-detail-order-detail-get\"> amountDetail </a> for details</td>\n    </tr>\n    <tr>\n        <td>bookingInfoConfig</td>\n        <td><b>array</b></td>\n        <td>Config of booking information, all traveler data<br>\n            Check<a href=\"#bkinfo-config-order-detail-get\"> bookingInfoConfig </a> for details</td>\n    </tr>\n    <tr>\n        <td>paid</td>\n        <td>number</td>\n        <td>Paid amount</td>\n    </tr>\n    <tr>\n        <td>refund</td>\n\
        \        <td>number</td>\n        <td>Refunded amount</td>\n    </tr>\n    <tr>\n        <td>balance</td>\n        <td>number</td>\n        <td>Balance, unpaid amount<br>\n        <b>balance = amount - (paid - refund)</b>\n        </td>\n    </tr>\n    <tr>\n        <td>pickupRequest</td>\n        <td><b>object</b></td>\n        <td>Selected pickup location<br>\n        Pickup location which customer selected, check<a href=\"#pickup-request-data-order-get\"> pickupRequest </a>for details</td>\n    </tr>\n    <tr>\n        <td>preferLanguage</td>\n        <td><b>object</b></td>\n        <td>Preferred language of guide service<br>\n        Customer preferred language of guide service (several options available). Check<a href=\"#prefer-language-data-order-get\"> preferLanguage </a>for details</td>\n    </tr>\n    <tr>\n        <td>payType</td>\n        <td>int</td>\n        <td>Payment type<br>\n            <b>1</b>  ATM/Bank Transfer<br>\n            <b>2</b>  Cash/On-site payment<br>\n            When <b>payType = 0</b>, it indicates this is an internal order and the payment type is not decided yet.\n        </td>\n    </tr>\n    <tr>\n        <td>depositAmount</td>\n        <td>number</td>\n        <td>Deposit amount for this order<br>\n        When <b>depositAmount = -1</b>, it indicates this is an internal order and the amount is not decided yet.\n    </tr>\n    <tr>\n        <td>depositDetail</td>\n        <td><b>object</b></td>\n        <td>Deposit policy detail<br>\n        Check<a href=\"#deposit-detail-data-order-get\"> depositDetail </a>for details</td>\n    </tr>\n    <tr>\n        <td>cancelFeeDetail</td>\n        <td><b>array</b></td>\n        <td>Cancel fee detail<br>\n        Check<a href=\"#cancel-fee-detail-data-order-get\"> cancelFeeDetail </a>for details</td>\n    </tr>\n    <tr>\n        <td>paymentDetail</td>\n        <td><b>array</b></td>\n        <td>Payment detail<br>\n        Check<a href=\"#payment-detail-data-order-get\"> paymentDetail </a>for details</td>\n    </tr>\n    <tr>\n        <td>noteDetail</td>\n        <td><b>array</b></td>\n        <td>Note Detail<br>\n        Check<a href=\"#note-detail-data-order-get\"> noteDetail </a>for details</a></td>\n    </tr>\n    <tr>\n        <td>sourceOrderNo</td>\n        <td>string</td>\n        <td>Channel Order No.</td>\n    </tr>\n    <tr>\n        <td>orderSource</td>\n        <td>string</td>\n        <td>Order Source<br>\n            <b>MySite</b>  MySite<br>\n            <b>Admin</b>  Admin<br>\n            <b>Widget</b>  Widget<br>\n            <b>Machine</b>  Machine<br>\n            <b>KKday</b>  KKday<br>\n            <b>KKdayMkp</b>  KKday Marketplace<br>\n            <b>ActivityJapan</b>  Activity Japan<br>\n            <b>Viator</b>  Viator<br>\n            <b>Jalan</b>  Jalan<br>\n            <b>GYG</b>  GetYourGuide<br>\n            Names that are not listed above are Distributor names.<br>\n        </td>\n    </tr>\n    <tr>\n        <td>orderSubSource</td>\n        <td>string</td>\n        <td>Order sub Source<br>\n            This field could be null.<br>\n            <b>POS</b>  POS<br>\n            <b>KIOSK</b>  Kiosk<br>\n            <b>TTD</b>  Google TTD<br>\n            Names that are not listed above are either Custom Order Sources or special product pages cooperated with KKday, displayed as \"Website\".\n        </td>\n    </tr>\n    <tr>\n        <td>voucherInfo</td>\n        <td>object</td>\n        <td>Voucher information<br>\n        Please refer to the <a href=\"#voucher-info-data-order-get\">voucherInfo</a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"purchase-content-order-detail-get\" />*purchaseContent*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Pricing Policy UUID</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n  \
        \      </td>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>itemUuid</td>\n        <td>UUID</td>\n        <td>Pricing Item UUID<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Item label name<br>\n            Available and required when <b>identity.type = ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>quantity</td>\n        <td>int</td>\n        <td>Quantity</td>\n    </tr>\n</table>\n\n##### <a name=\"extras-order-detail-get\" />*extras*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Extra item UUID<br>\n            Check<a href=\"#home-setting-extra\">/v1/setting/extra</a>\n        </td>\n    </tr>\n    <tr>\n        <td>quantity</td>\n        <td>int</td>\n        <td>Quantity</td>\n    </tr>\n</table>\n\n##### <a name=\"price-config-order-detail-get\" />*priceConfig*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Pricing Policy UUID<br>\n            Check <a href=\"#home-setting-price-policy\">/v1/setting/pricePolicy</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>pricePolicyLabel</td>\n        <td>string</td>\n        <td>Pricing policy label name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item\n        </td>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>string</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>isGroup</td>\n        <td>int</td>\n        <td>Single or Group rule?<br>\n            <b>1</b>  Yes, Group<br>\n            <b>0</b>  No, Single<br>\n            Available for charge type <b>PERSON</b>\n        </td>\n    </tr>\n    <tr>\n        <td>seat</td>\n        <td>int</td>\n        <td>Seat occupied (unit)<br>\n            Available for charge type <b>PERSON</b>\n        </td>\n    </tr>\n    <tr>\n        <td>min</td>\n        <td>int</td>\n        <td>Minimum required for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>max</td>\n        <td>int</td>\n        <td>Maximum capacity for a Group<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 1</b>\n        </td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Minimum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Maximum age for the PERSON identity<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>isConstraint</td>\n        <td>int</td>\n        <td>Booking constraints between identities<br>\n            Available when charge type is <b>PERSON</b> AND <b>isGroup = 0</b><br>\n            <b>1</b>  Yes, with constraints<br>\n            <b>2</b>  No constraint or not appliable\n        </td>\n    </tr>\n    <tr>\n        <td>quantityWeight</td>\n        <td>string</td>\n        <td>Total weighted quantity<br>\n            Available for charge type <b>PERSON</b>\n        </td>\n    </tr>\n    <tr>\n     \
        \   <td>itemUuid</td>\n        <td>UUID</td>\n        <td>Pricing Item UUID<br>\n            Available when charge type is <b>ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Item label name<br>\n            Available and required when <b>identity.type = ITEM</b>\n        </td>\n    </tr>\n    <tr>\n        <td>price</td>\n        <td>number</td>\n        <td>Price</td>\n    </tr>\n</table>\n\n##### <a name=\"resource-allocation-order-detail-get\" />*resourceAllocation*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>resourceUuid</td>\n        <td>UUID</td>\n        <td>Resource UUID<br>\n            Check <a href=\"#home-setting-resource\">/v1/setting/resource</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>groupDetail</td>\n        <td><b>array</b></td>\n        <td>Group resource detail<br>\n            Check<a href=\"#group-detail-order-detail-get\"> groupDetail </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"group-detail-order-detail-get\" />*resourceAllocation - groupDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Resource UUID. One item belongs to a group type resource</td>\n    </tr>\n    <tr>\n        <td>quantity</td>\n        <td>int</td>\n        <td>Quantity, allocation of group resource items can be handled in Admin</td>\n    </tr>\n</table>\n\n##### <a name=\"contact-info-order-detail-get\" />*contactInfo*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Order contact information UUID</td>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>multiple</td>\n        <td>Value<br>\n            When <b>fields.type = shoe</b>, the response is <b>array</b>, which includes shoe type and sizes, e.g., [\"Man\", 220]<br>\n            When <b>fields.type = phone</b>, the response is <b>array</b>, which includes country code and phone number, e.g., [\"886\", \"0912345678\"]<br>\n            Other fields.type are text or number. Check <a href=\"#home-order-contact-field\">Get Order Contact Field</a> for details.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"order-detail-get\" />*bookingInfoDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>order</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#order-order-detail-get\"> order </a> for details</td>\n    </tr>\n    <tr>\n        <td>participant</td>\n        <td><b>array</b></td>\n        <td>Check<a href=\"#participant-order-detail-get\"> participant </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"order-order-detail-get\" />*bookingInfoDetail - order*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderUuid</td>\n        <td>Order field UUID</td>\n        <td>Contact field UUID of order</td>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>multiple</td>\n        <td>Value<br>\n            When <b>fields.type = shoe</b>, the response is <b>array</b>, which includes shoe type and sizes, e.g., [\"Man\", 220]<br>\n            When <b>fields.type = phone</b>, the response is <b>array</b>, which includes country code and phone number, e.g., [\"886\", \"0912345678\"]<br>\n            Other fields.type are text or number. Check <a href=\"#home-order-contact-field\">Get Order Contact Field</a> for details.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"participant-order-detail-get\" />*bookingInfoDetail - participant*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>participantUuid</td>\n        <td>UUID</td>\n        <td>Participants UUID</td>\n\
        \    </tr>\n    <tr>\n        <td>value</td>\n        <td>multiple</td>\n        <td>Value<br>\n            When <b>fields.type = shoe</b>, the response is <b>array</b>, which includes shoe type and sizes, e.g., [\"Man\", 220]<br>\n            When <b>fields.type = phone</b>, the response is <b>array</b>, which includes country code and phone number, e.g., [\"886\", \"0912345678\"]<br>\n            Other fields.type are text or number. Check <a href=\"#home-order-contact-field\">Get Order Contact Field</a> for details.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"amount-detail-order-detail-get\" />*amountDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>purchaseContent</td>\n        <td><b>array</b></td>\n        <td>Purchase content indicates the booked seats and the related identity information.<br>\n            Check<a href=\"#amount-detail-purchase-content-order-detail-get\"> purchaseContent </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>extras</td>\n        <td><b>array</b></td>\n        <td>Extra items<br>\n            Check<a href=\"#amount-detail-extras-order-detail-get\"> extras </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>feeNdTax</td>\n        <td><b>array</b></td>\n        <td>Tax or fee items<br>\n            Check<a href=\"#amount-detail-fee-order-detail-get\"> feeNdTax </a> for details</td>\n    </tr>\n    <tr>\n        <td>total</td>\n        <td>number</td>\n        <td>Total amount</td>\n    </tr>\n</table>\n\n##### <a name=\"amount-detail-purchase-content-order-detail-get\" />*purchaseContent*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>Identity UUID<br>\n            i.e., Adult, available for charge type <b>PERSON</b><br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=identity</a> for details\n            Available in <b>purchaseContent</b>\n        </td>\n    </tr>\n    <tr>\n        <td>unitPrice</td>\n        <td>number</td>\n        <td>Unit price</td>\n    </tr>\n    <tr>\n        <td>subtotal</td>\n        <td>number</td>\n        <td>Subtotal amount</td>\n    </tr>\n</table>\n\n##### <a name=\"amount-detail-extras-order-detail-get\" />*amountDetail - extras*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Extra item UUID<br>\n            Check<a href=\"#home-setting-extra\">/v1/setting/extra</a>\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>unitPrice</td>\n        <td>number</td>\n        <td>Unit price</td>\n    </tr>\n    <tr>\n        <td>subtotal</td>\n        <td>number</td>\n        <td>Subtotal amount</td>\n    </tr>\n</table>\n\n##### <a name=\"amount-detail-fee-order-detail-get\" />*amountDetail - feeNdTax*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>feeNdTaxUuid</td>\n        <td>UUID</td>\n        <td>Tax & Fee UUID<br>\n            Check <a href=\"#home-setting-fee-tax\">/v1/setting/feeNdTax</a> to get UUID\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>included</td>\n        <td>int</td>\n        <td>Does price include this tax or fee?<br>\n        <b>1</b>  included<br>\n        <b>0</b>  excluded (it will be added to the order during the booking process)\n        </td>        \n    </tr>    \n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>Amount or percentage<br>\n            Available for <b>included = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>chargeMode</td>\n        <td>string</td>\n        <td>Charge mode<br>\n          \
        \  <b>FIXED</b>  Fix amount<br>\n            <b>PERCENTAGE</b>  Percentage of order total amount<br>\n            Available for <b>included = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>unit</td>\n        <td>string</td>\n        <td>Charge unit<br>\n            <b>HEAD</b>  Charge by person<br>\n            <b>ORDER</b>  Charge by order<br>\n            Available for <b>included = 0</b>\n        </td>\n    </tr>\n    <tr>\n        <td>subtotal</td>\n        <td>multiple</td>\n        <td>Subtotal amount<br>\n            When <b>included = 1</b>, it will be \"-\".<br>\n            When <b>included = 0</b>, it will be a <b>number</b> field.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"bkinfo-config-order-detail-get\" />*bookingInfoConfig*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Booking field UUID from booking informaiton</td>\n    </tr>\n    <tr>\n        <td>category</td>\n        <td>string</td>\n        <td>Booking field category</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Display name for booking field</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Field type:<br>\n            <b>input</b>  One-line text field<br>\n            <b>multi-line</b>  Multi-lines text field<br>\n            <b>text</b>  Text area<br>\n            <b>inline</b>  inline field<br>\n            <b>select</b>  Options. Check <b>option</b> to get list<br>\n            <b>checkbox</b>  Checkbox, <b>1</b> checked; <b>0</b> un-checked<br>\n            <b>email</b>  Email field<br>\n            <b>phone</b>  Phone field. Format is <b>array</b>, includes country code/ phone number. Check  <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</a> iti </b> for country code value<br>\n            <b>date</b>  Date picker. Format is <b>YYYY-MM-DD</b><br>\n            <b>datetime</b>  Datetime picker. Format is <b>YYYY-MM-DD HH:II:SS</b><br>\n            <b>shoe</b>  Shoes options, shoe type: Man/Woman/Kid; option provides shoe sizes<br>\n            <b>country</b>   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</b></a> for details<br>\n            <b>state</b>   string, text field of address State<br>\n            <b>city</b>   string, text field of address City<br>\n            <b>language</b>   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=language</b></a> for details\n        </td>         \n    </tr>\n     <tr>\n        <td>config</td>\n        <td><b>array</b></td>\n        <td>Configuation or options for display usage, check<a href=\"#config-order-detail-get\"> config </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"config-order-detail-get\" />*config*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>values</td>\n        <td><b>array</b></td>\n        <td>Values<br>\n            Available when <b>type = shoe/select</b><br>\n            Check <b>shoe</b>, check<a href=\"#shoe-bkinfo-detail\"> shoe/ select </a>for details\n        </td>\n    </tr>\n    <tr>\n        <td>ask</td>\n        <td>int</td>\n        <td>Ask for everyone's data?<br>\n            <b>1</b> Ask once per order<br>\n            <b>2</b> Ask for everyone\n        </td>\n    </tr>\n    <tr>\n        <td>display</td>\n        <td><b>object</b></td>\n        <td>Display option<br>\n            Check<a href=\"#display-order-detail\"> display </a>for details<br>\n            Note: The order created by Rezio API will be considered as <b>website</b>        \n        </td>\n    </tr>\n</table>\n\n##### <a name=\"shoe-order-detail\" />*shoe*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Shoes type<br>\n         \
        \   <b>Man</b><br>\n            <b>Woman</b><br>\n            <b>Kid</b>\n        </td>\n    </tr>\n    <tr>\n        <td>size</td>\n        <td><b>array</b></td>\n        <td>Shoe sizes</td>\n    </tr>\n</table>\n\n##### <a name=\"display-order-detail\" />*display*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>website</td>\n        <td>int</td>\n        <td>Is required on website?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required\n        </td>\n    </tr>\n    <tr>\n        <td>internal</td>\n        <td>int</td>\n        <td>Is required on internal order (via Rezio Admin)?<br>\n            <b>0</b>  Hide field/ Not required<br>\n            <b>1</b>  Optional<br>\n            <b>2</b>  Required\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"pickup-request-data-order-get\" />*pickupRequest*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupLocationUuid</td>\n        <td>UUID</td>\n        <td>Outbound Pickup Route - Pickup location UUID<br>\n        <b>Available</b> field when <b>pickup::type = 1</b></td>\n    </tr>\n    <tr>\n        <td>returnPickupLocationUuid</td>\n        <td>UUID</td>\n        <td>Return Pickup Route - Pickup location UUID<br>\n        <b>Available</b> field when <b>pickup::type = 1</b></td>\n    </tr>\n    <tr>\n        <td>customerRequest</td>\n        <td>string</td>\n        <td>The pickup request from customer<br>\n        <b>Available</b> when <b>pickup::type = 2</b></td>\n    </tr>\n    <tr>\n        <td>returnCustomerRequest</td>\n        <td>string</td>\n        <td>Return customer's custom pickup request<br>\n        <b>Available</b> when <b>pickup::type = 2</b></td>\n    </tr>\n    <tr>\n        <td>detail</td>\n        <td>object</td>\n        <td>Detail，Check<a href=\"#detail-pickup-request-data-order-get\"> pickupRequest detail</a></td>\n    </tr>\n</table>\n\n##### <a name=\"detail-pickup-request-data-order-get\" />*pickupRequest detail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>departure</td>\n        <td>object</td>\n        <td>Details of the departure pickup, please refer to the <a href=\"#content-detail-pickup-request-data-order-get\">pickupRequest detail - content</a></td>\n    </tr>\n    <tr>\n        <td>return</td>\n        <td>object</td>\n        <td>Details of the return pickup, please refer to the <a href=\"#content-detail-pickup-request-data-order-get\">pickupRequest detail - content</a></td>\n    </tr>\n</table>\n\n##### <a name=\"content-detail-pickup-request-data-order-get\" />*pickupRequest detail - content*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>int</td>\n        <td>Pickup type<br>\n            <b>1</b>  Relative time pickup route<br>\n            <b>2</b>  Allow customers to input pickup requests<br>\n            <b>3</b>  Fixed time pickup route<br>\n            <b>4</b>  No specified time pickup route\n        </td>\n    </tr>\n    <tr>\n        <td>pickupLocationUuid</td>\n        <td>UUID</td>\n        <td>Location UUID identifier<br>\n            Provided when pickup type is 1, 3, 4</td>\n    </tr>\n    <tr>\n        <td>referenceTime</td>\n        <td>string</td>\n        <td>Reference time, format <b>HH:mm</b>, for example: 09:00<br>\n            Provided when pickup type is 1</td>\n        </td>\n    </tr>\n    <tr>\n        <td>timeBeforeSession</td>\n        <td>int</td>\n        <td>Pickup before session start time<br>\n            <b>1</b>  Yes\n            <b>0</b>  No<br>\n            Provided when pickup type is 1\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>When pickup type is 1, 3, 4, it represents the location label.<br>\n            When\
        \ pickup type is 2, it represents the available pickup area.</td>\n    </tr>\n    <tr>\n        <td>instructions</td>\n        <td>string</td>\n        <td>Location instructions</td>\n    </tr>\n    </tr>\n    <tr>\n        <td>addressLine</td>\n        <td>string</td>\n        <td>Address<br>Provided when pickup type is 1, 3, 4</td>\n    </tr>\n    <tr>\n        <td>pickupTime</td>\n        <td>int</td>\n        <td>Pickup time (minutes)<br>Provided when pickup type is 1</td>\n    </tr>\n    <tr>\n        <td>waitingTime</td>\n        <td>int</td>\n        <td>Waiting time (minutes)<br>Provided when pickup type is 1, 3</td>\n    </tr>\n    <tr>\n        <td>fixedPickupTime</td>\n        <td>string</td>\n        <td>Fixed pickup time, format <b>HH:mm</b>, for example: 09:00<br>Provided when pickup type is 3</td>\n    </tr>\n    <tr>\n        <td>latitude</td>\n        <td>string</td>\n        <td>Location latitude<br>Provided when pickup type is 1, 3, 4</td>\n    </tr>\n    </tr>\n    <tr>\n        <td>longitude</td>\n        <td>string</td>\n        <td>Location longitude<br>Provided when pickup type is 1, 3, 4</td>\n    </tr>\n    <tr>\n        <td>vehicle</td>\n        <td>string</td>\n        <td>Vehicle used for pickup<br>Provided when pickup type is 2</td>\n    </tr>\n    <tr>\n        <td>availableStartTime</td>\n        <td>string</td>\n        <td>Start time of availability, format <b>HH:mm</b><br>Provided when pickup type is 2</td>\n    </tr>\n    <tr>\n        <td>availableEndTime</td>\n        <td>string</td>\n        <td>End time of availability, format <b>HH:mm</b><br>Provided when pickup type is 2</td>\n    </tr>\n    <tr>\n        <td>customerRequest</td>\n        <td>string</td>\n        <td>Customer's customized pickup request<br>Provided when pickup type is 2</td>\n    </tr>\n    <tr>\n        <td>customerPickupTime</td>\n        <td>string</td>\n        <td>Customer's customized pickup time, format <b>HH:mm</b>, for example: 09:00<br>Provided when pickup type is 2</td>\n    </tr>\n</table>\n\n##### <a name=\"prefer-language-data-order-get\" />*preferLanguage*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>guideLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>Selected language UUID of guide<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>deviceLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>Selected language UUID of audio guide device<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>onsiteLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>Selected language UUID of on-site guide<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>materialLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>Selected language UUID of the printed material<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageAll</a> for details\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"deposit-detail-data-order-get\" />*depositDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Name</td>\n    </tr>\n    <tr>\n        <td>handlingCharge</td>\n        <td>number</td>\n        <td>Amount or percentage<br>\n        Example: 50%, handlingCharge = 50 AND policyType = 1\n        </td>\n    </tr>\n    <tr>\n        <td>policyType</td>\n        <td>int</td>\n        <td>Deposit policy type<br>\n            <b>1</b>  Percentage of order total amount (%)<br>\n            <b>2</b>  Fixed amount per person<br>\n            <b>3</b>  Fixed amount per order\n        </td>\n  \
        \  </tr>\n    <tr>\n        <td>depositDeadlineDatetime</td>\n        <td>string</td>\n        <td>Deposit deadline. Format is <b>YYYY-MM-DD'T'HH:mm:ss'Z'</b></td>\n    </tr>\n    <tr>\n        <td>depositOption</td>\n        <td>array</td>\n        <td>Available deposit amount</td>\n    </tr>\n</table>\n\n##### <a name=\"cancel-fee-detail-data-order-get\" />*cancelFeeDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>int</td>\n        <td>Rule start time<br>\n            Start time is included. Example: 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 4, \"to\":-1</b> and the 4th day applied.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime\n        </td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>int</td>\n        <td>Rule end time<br>\n            End time is excluded. Example: 2 ~ 4 day(s) with 20%/ 4 day(s) or more with 10% cancellation charge, then <b>\"from\": 2, \"to\":4</b> and the 4th day applied to 10%.<br>\n            {from} <= Cancellation Date < {to}<br>\n            Note: when <b>from = -1</b> and <b>to = -1</b>, this rule can apply to anytime            \n        </td>\n    </tr>\n    <tr>\n        <td>periodUnit</td>\n        <td>string</td>\n        <td>Rule period unit<br>\n            <b>DAY</b>  Day<br>\n            <b>HOUR</b>  Hour\n        </td>\n    </tr>\n    <tr>\n        <td>charge</td>\n        <td>number</td>\n        <td>amount or percentage<br>\n        Example: 50%, charge = 50 AND unit = 'PERCENTAGE'\n        </td>\n    </tr>\n    <tr>\n        <td>unit</td>\n        <td>string</td>\n        <td>Charge unit<br>\n            <b>PERCENTAGE</b>  Percentage of order total amount<br>\n            <b>FIXED</b>  Fix amount\n        </td>\n    </tr> \n</table>\n\n##### <a name=\"payment-detail-data-order-get\" />*paymentDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Payment note UUID</td>\n    </tr>\n    <tr>\n        <td>currencyUuid</td>\n        <td>UUID</td>\n        <td>Currency UUID<br>\n            Rezio Currency UUID, check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> <b>UUID</b> for details\n        </td>\n    </tr>\n    <tr>\n        <td>paymentType</td>\n        <td>int</td>\n        <td>Payment type<br>\n            <b>1</b>  ATM/Bank Transfer<br>\n            <b>2</b>  Cash/On-site payment<br>\n            <b>3</b>  Credit card<br>\n            <b>4</b>  From channels\n        </td>\n    </tr>\n    <tr>\n        <td>note</td>\n        <td>string</td>\n        <td>Notes for this payment record</td>\n    </tr>\n    <tr>\n        <td>paidDate</td>\n        <td>string</td>\n        <td>Transaction date of payment note. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>amount</td>\n        <td>number</td>\n        <td>Amount<br>\n            When <b>amount > 0</b>, a paid transaction<br>\n            When <b>amount < 0</b>, an refund transaction\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"note-detail-data-order-get\" />*noteDetail*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Note UUID</td>\n    </tr>\n    <tr>\n        <td>note</td>\n        <td>string</td>\n        <td>Contents for this note record</td>\n    </tr>\n    <tr>\n        <td>createdAt</td>\n        <td>string</td>\n        <td>Create Date</td>\n    </tr>\n    <tr>\n        <td>firstName</td>\n        <td>string</td>\n        <td>Note taker's first name</td>\n    </tr>\n    <tr>\n        <td>lastName</td>\n        <td>string</td>\n        <td>Note taker's last name</td>\n    </tr>\n</table>\n\n##### <a name=\"voucher-info-data-order-get\" />*voucherInfo*\n\n\
        <table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>voucherType</td>\n        <td>int</td>\n        <td>Voucher type<br>\n            <b>1</b>  No Rezio voucher<br>\n            <b>2</b>  Web version voucher<br>\n            <b>3</b>  PDF voucher<br>\n        </td>\n    </tr>\n    <tr>\n        <td>voucherUrl</td>\n        <td>string</td>\n        <td>Voucher URL, empty if voucherType is <b>1</b></td>\n    </tr>\n</table>"
      tags:
      - Orders
      parameters:
      - name: orderNo
        in: path
        description: ''
        required: true
        example: TT190605ST0003
        schema:
          type: string
  /v1/order/create:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
                      orderNo:
                        type: string
                      amount:
                        type: number
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: aeaeb7d4-ab8b-4e73-9fab-80a7e966ad58
                  orderNo: TT190605ST0003
                  amount: 43.99
      summary: Create Order
      operationId: post-v1-order-create
      description: "Create a new order. Order in Rezio indicates a booking.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/create</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID for this order</td>\n    </tr>\n    <tr>\n        <td>sessionUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Session UUID for this order<br>\n        Check <a href=\"#home-publish-calendar\">Publish Settings/ Get Calendar - Availability</a> for more detail</td>\n    </tr>\n    <tr>\n        <td>purchaseContent</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Purchase content indicates the booked seats and the related identity information.<br>\n            Check<a href=\"#purchase-content-order-add\"> purchaseContent </a>for details\n        </td>        \n    </tr>\n    <tr>\n        <td>extras</td>\n        <td><b>array</b></td>\n        <td>-</td>\n        <td>Extra items<br>\n        Check<a href=\"#extras-order-add\"> extras </a> for details</td>\n    </tr>\n    <tr>\n        <td>specialRequirement</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Customer requested context, note field to customer</td>\n    </tr>\n</table>\n\n##### <a name=\"purchase-content-order-add\" />*purchaseContent*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pricePolicyUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Pricing Policy UUID<br>\n            Check <a href=\"#session-price-publish-calendar\"> sessionPrice </a> via <a href=\"#home-publish-calendar\">Publish Settings/ Get Calendar - Availability</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Charge type<br>\n            <b>PERSON</b>  Charge by person<br>\n            <b>ITEM</b>  Charge by item            \n            Check <a href=\"#session-price-publish-calendar\"> sessionPrice </a> via <a href=\"#home-publish-calendar\">Publish Settings/ Get Calendar - Availability</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>identityUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Identity UUID<br>\n            Check <a href=\"#session-price-policy-session-get\"> sessionPrice::policy </a> via <a href=\"#home-publish-calendar\">Publish Settings/ Get Calendar - Availability</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Item label name<br>\n            Check <a href=\"#session-price-policy-session-get\"> sessionPrice::policy </a> via <a href=\"#home-publish-calendar\">Publish Settings/ Get Calendar - Availability</a> for more detail\n        </td>\n    </tr>\n    <tr>\n        <td>quantity</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Booked quantity</td>\n    </tr>\n</table>\n\n##### <a name=\"extras-order-add\" />*extras*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Extra item UUID<br>\n            Check<a href=\"#home-setting-extra\">/v1/setting/extra</a>\n        </td>\n    </tr>\n\
        \    <tr>\n        <td>quantity</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Quantity of sold extra items</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-order-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-order-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Order UUID</td>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Order number</td>\n    </tr>\n    <tr>\n        <td>amount</td>\n        <td>number</td>\n        <td>Total amount</td>\n    </tr>\n</table>"
      tags:
      - Orders
      requestBody:
        content:
          application/json:
            example:
              productUuid: 597a8861-82ce-4770-892a-ab718f76a63c
              sessionUuid: e3f55be9-5f47-4ad1-8ae6-1ed5968ea42c
              purchaseContent:
              - pricePolicyUuid: 66457454-6730-470a-9926-a8e2a19d8cbe
                type: PERSON
                identityUuid: d6871da2-c391-468e-ad9b-f8d5148fe0cd
                quantity: 1
              - pricePolicyUuid: 66457454-6730-470a-9926-a8e2a19d8cbe
                type: PERSON
                identityUuid: 175087ec-03a7-4aa4-a288-29f65bb8966e
                quantity: 1
              extras:
              - uuid: 82097bf2-d2a8-458a-b5f9-cc807a060c82
                quantity: 0
              specialRequirement: Will need a babe seat, please
            schema:
              type: object
              properties:
                productUuid:
                  type: string
                sessionUuid:
                  type: string
                purchaseContent:
                  type: array
                  items:
                    type: object
                    properties:
                      pricePolicyUuid:
                        type: string
                      type:
                        type: string
                      identityUuid:
                        type: string
                      quantity:
                        type: number
                    required:
                    - pricePolicyUuid
                    - type
                    - identityUuid
                    - quantity
                extras:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      quantity:
                        type: number
                specialRequirement:
                  type: string
  /v1/order/{orderNo}/status:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      newStatus:
                        type: number
                      voucherInfo:
                        type: object
                        properties:
                          voucherType:
                            type: number
                          voucherUrl:
                            type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  newStatus: 4
                  voucherInfo:
                    voucherType: 1
                    voucherUrl: ''
      summary: Update Order Status
      operationId: put-v1-order-orderNo-status
      description: "Update an order status by orderNo\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/{orderNo}/status</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Order number</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderStatus</td>\n        <td>int</td>\n        <td>Y</td>\n        <td>Order status<br>\n            <b>0</b>  Cancelled<br>\n            <b>1</b>  On Hold<br>\n            <b>2</b>  New Order<br>\n            <b>3</b>  Pending<br>\n            <b>4</b>  Confirmed<br>\n            <b>5</b>  Check In<br>\n            <b>6</b>  No Show\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check <a href=\"#data-order-status-put\">data</a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-order-status-put\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>newStatus</td>\n        <td>int</td>\n        <td>The updated order status<br>\n            <b>0</b>  Cancelled<br>\n            <b>1</b>  On Hold<br>\n            <b>2</b>  New Order<br>\n            <b>3</b>  Pending<br>\n            <b>4</b>  Confirmed<br>\n            <b>5</b>  Check In<br>\n            <b>6</b>  No Show\n        </td>\n    </tr>\n    <tr>\n        <td>voucherInfo</td>\n        <td>object</td>\n        <td>Voucher information<br>\n        Please refer to the <a href=\"#voucher-info-data-order-status-put\">voucherInfo</a> description</td>\n    </tr>\n</table>\n\n##### <a name=\"voucher-info-data-order-status-put\" />*voucherInfo*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>voucherType</td>\n        <td>int</td>\n        <td>Voucher type<br>\n            <b>1</b>  No Rezio voucher<br>\n            <b>2</b>  Web version voucher<br>\n            <b>3</b>  PDF voucher<br>\n        </td>\n    </tr>\n    <tr>\n        <td>voucherUrl</td>\n        <td>string</td>\n        <td>Voucher URL, empty if voucherType is <b>1</b></td>\n    </tr>\n</table>"
      tags:
      - Orders
      parameters:
      - name: orderNo
        in: path
        description: ''
        required: true
        example: TT190605ST0003
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              orderStatus: 4
            schema:
              type: object
              properties:
                orderStatus:
                  type: number
  /v1/order/{orderNo}/payment:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: 6665bf5d-6e89-47b3-82d2-4d5bb2f94d1a
      summary: Create Payment Note
      operationId: post-v1-order-orderNo-payment
      description: "Create a new order's payment note by orderNo\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/{orderNo}/payment</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: en\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Order number</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>    \n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Limit</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>paidDate</td>\n        <td>string</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Transaction date of payment note. Format is <b>YYYY-MM-DD</b></td>\n    </tr>\n    <tr>\n        <td>currency</td>\n        <td>string/ UUID</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Currency<br>\n            Accept<a href=\"https://en.wikipedia.org/wiki/ISO_4217\" target=\"_blank\"> ISO-4217 Code</a> or Rezio Currency UUID<br>\n            Check<a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=currency</a> to get <b>code/ UUID</b>\n        </td> \n    </tr>\n    <tr>\n        <td>amount</td>\n        <td>number</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Amount<br>\n            When <b>amount > 0</b>, a paid transaction<br>\n            When <b>amount < 0</b>, an refund transaction\n        </td>\n    </tr>\n    <tr>\n        <td>paymentType</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Y</td>\n        <td>Payment type<br>\n            <b>1</b>  ATM/Bank Transfer<br>\n            <b>2</b>  Cash/On-site payment<br>\n            <b>3</b>  Credit card<br>\n            <b>4</b>  From channels\n        </td>\n    </tr>\n    <tr>\n        <td>note</td>\n        <td>string</td>\n        <td>Length limit<br>varchar(500)</td>\n        <td>-</td>\n        <td>Notes for this payment record</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-order-payment-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-order-payment-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Payment note UUID</td>\n    </tr>\n</table>"
      tags:
      - Orders
      parameters:
      - name: orderNo
        in: path
        description: ''
        required: true
        example: TT190605ST0003
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              paidDate: '2019-06-05'
              currency: USD
              amount: 43.99
              paymentType: 1
              note: Paid on shop counter
            schema:
              type: object
              properties:
                paidDate:
                  type: string
                currency:
                  type: string
                amount:
                  type: number
                paymentType:
                  type: number
                note:
                  type: string
  /v1/order/{orderNo}/note:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      uuid:
                        type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  uuid: b0c5b799-9e4c-4933-9dbe-10388f52af07
      summary: Create Internal Note
      operationId: post-v1-order-orderNo-note
      description: "Create internal note for order by orderNo\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/{orderNo}/note</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: en\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Order number</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table> \n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>note</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Notes for this payment record</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-payment-add\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-payment-add\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Internal note UUID</td>\n    </tr>\n</table>"
      tags:
      - Orders
      parameters:
      - name: orderNo
        in: path
        description: ''
        required: true
        example: TT190605ST0003
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              note: Write down some note about this order, only shown internally, will not send it to customers.
            schema:
              type: object
              properties:
                note:
                  type: string
  /v1/product/{productUuid}/contactField:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      fields:
                        type: array
                        items:
                          type: object
                          properties:
                            uuid:
                              type: string
                            label:
                              type: string
                            type:
                              type: string
                            mandatory:
                              type: number
                          required:
                          - uuid
                          - label
                          - type
                          - mandatory
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  fields:
                  - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                    label: First Name
                    type: input
                    mandatory: 1
                  - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                    label: Last Name
                    type: input
                    mandatory: 1
                  - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                    label: Email
                    type: email
                    mandatory: 1
                  - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                    label: Mobile
                    type: phone
                    mandatory: 1
      summary: Get Order Contact Field
      operationId: get-v1-product-productUuid-contactField
      description: "<a name=\"home-order-contact-field\" />Get the contact field by productUuid to fill out the existing order's contact information.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/product/{productUuid}/contactField</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Product UUID</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-order-contact-field-get\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-order-contact-field-get\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>fields</td>\n        <td><b>array</b></td>\n        <td>Field data for booking informaiton::contact<br>\n        Check<a href=\"#fields-order-product-contact-field\"> fields </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"fields-order-product-contact-field\" />*fields*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Contact Field UUID<br>\n        Check <a href=\"#home-setting-booking-field\"> Booking Field </a>for more detail</td>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Field label name</td>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>string</td>\n        <td>Field type, available input style:<br>\n            <b>input</b>  One-line text field<br>\n            <b>multi-line</b>  Multi-lines text field<br>\n            <b>text</b>  Text area<br>\n            <b>inline</b>  inline field<br>\n            <b>select</b>  Options. Check <b>option</b> to get list<br>\n            <b>checkbox</b>  Checkbox, <b>1</b> checked; <b>0</b> un-checked<br>\n            <b>email</b>  Email field<br>\n            <b>phone</b>  Phone field. Format is <b>array</b>, includes country code/ phone number. Check  <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</a> iti </b> for country code value<br>\n            <b>date</b>  Date picker. Format is <b>YYYY-MM-DD</b><br>\n            <b>datetime</b>  Datetime picker. Format is <b>YYYY-MM-DD HH:II:SS</b><br>\n            <b>shoe</b>  Shoes options, shoe type: Man/Woman/Kid; option provides shoe sizes<br>\n            <b>country</b>   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=countryAll</b></a> for details<br>\n            <b>state</b>   string, text field of address State<br>\n            <b>city</b>   string, text field of address City<br>            \n            <b>language</b>   UUID. Check <a href=\"#reference/0/1/try:-getdataoption\"><b>/v1/dataOption?option=language</b></a> for details\n        </td>        \n    </tr>\n    <tr>\n        <td>mandatory</td>\n        <td>int</td>\n        <td>Is mandatory?<br>\n        <b>1</b>\
        \  Required\n        <b>0</b>  Optional\n        </td>\n    </tr>\n    <tr>\n        <td>option</td>\n        <td><b>array</b></td>\n        <td>Options value<br>\n            Available for <b>select</b> AND <b>field::type = shoe</b>\n        </td>\n    </tr>\n</table>"
      tags:
      - Update Order
      parameters:
      - name: productUuid
        in: path
        description: ''
        required: true
        example: 597a8861-82ce-4770-892a-ab718f76a63c
        schema:
          type: string
  /v1/order/{orderNo}/contact:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Order Contact Data
      operationId: put-v1-order-orderNo-contact
      description: "Update contact information for the order by orderNo. Use <a href=\"#home-order-contact-field\">Get Order Contact Field</a> for field and format details.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/{orderNo}/contact</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Order number</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>contact</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Contact data of order<br>\n        Check<a href=\"#contact-order-contact\"> contact </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"contact-order-contact\" />*contact*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Booking field UUID from booking informaiton::contact</td>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>multiple</td>\n        <td>Y</td>\n        <td>Value<br>\n            When <b>fields.type = shoe</b>, the response is <b>array</b>, which includes shoe type and sizes, e.g., [\"Man\", 220]<br>\n            When <b>fields.type = phone</b>, the response is <b>array</b>, which includes country code and phone number, e.g., [\"886\", \"0912345678\"]<br>\n            Other fields.type are text or number. Check <a href=\"#home-order-contact-field\">Get Order Contact Field</a> for details.\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Update Order
      parameters:
      - name: orderNo
        in: path
        description: ''
        required: true
        example: TT190605ST0003
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              contact:
              - uuid: 5b9256e0-0442-470f-8e80-4587703c4470
                value: John
              - uuid: adefb4ec-b408-4f5e-b71d-d1c79599cdbc
                value: Doe
              - uuid: bb3b43f7-996d-4e86-97b3-ffff35032e9a
                value: johndoe_xxxxxxxxxxx@gmail.com
              - uuid: 2a3536a5-a94a-4619-9af7-a93e0110874b
                label: Mobile
                value:
                - 886
                - 0912345678
            schema:
              type: object
              properties:
                contact:
                  type: array
                  items:
                    type: object
                    properties:
                      uuid:
                        type: string
                      value:
                        type: array
                        items:
                          oneOf:
                          - type: number
                          - type: number
                          - type: string
                      label:
                        type: string
                    required:
                    - uuid
                    - value
  /v1/order/{orderNo}/bookingInfo:
    put:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
              example:
                code: S0000
                codeMessage: SUCCESS
      summary: Update Order Data
      operationId: put-v1-order-orderNo-bookingInfo
      description: "Update details of order by orderNo, including traveler's data, selected pickup location, preferred language of guide service.<br>\nGet field and format details by `productUuid` via <a href=\"#home-product-detail\">Get Product</a> to update the existing order data.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/order/{orderNo}/bookingInfo</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>PUT</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>In Uri & Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n##### Parameters- In Uri\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Order number</td>\n    </tr>\n</table>\n\n##### Parameters- Raw Body\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>order</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Order data<br>\n        Check<a href=\"#order-order-bkinfo\"> order </a>for details</td>\n    </tr>\n    <tr>\n        <td>participant</td>\n        <td><b>array</b></td>\n        <td>Y</td>\n        <td>Participant data indicates the required booking information<br>\n        Check<a href=\"#participant-order-bkinfo\"> participant </a>for details</td>\n    </tr>\n    <tr>\n        <td>pickupRequest</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>The pickup location customer selected<br>\n        Check<a href=\"#pickup-request-order-bkinfo\"> pickupRequest </a>for details</td>\n    </tr>\n    <tr>\n        <td>preferLanguage</td>\n        <td><b>object</b></td>\n        <td>Y</td>\n        <td>Preferred language of guide service<br>\n        Check<a href=\"#prefer-language-order-bkinfo\"> preferLanguage </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"order-order-bkinfo\" />*order*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Booking field UUID from booking informaiton::contact</td>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>multiple</td>\n        <td>Y</td>\n        <td>Value<br>\n            When <b>fields.type = shoe</b>, the response is <b>array</b>, which includes shoe type and sizes, e.g., [\"Man\", 220]<br>\n            When <b>fields.type = phone</b>, the response is <b>array</b>, which includes country code and phone number, e.g., [\"886\", \"0912345678\"]<br>\n            Other fields.type are text or number. Check <a href=\"#home-order-contact-field\">Get Order Contact Field</a> for details.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"participant-order-bkinfo\" />*participant*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>uuid</td>\n        <td>UUID</td>\n        <td>Y</td>\n        <td>Booking field UUID from booking informaiton</td>\n    </tr>\n    <tr>\n        <td>value</td>\n        <td>multiple</td>\n        <td>Y</td>\n        <td>Value<br>\n            When <b>fields.type = shoe</b>, the response is <b>array</b>, which includes shoe type and sizes, e.g., [\"Man\", 220]<br>\n            When <b>fields.type = phone</b>, the response is <b>array</b>, which includes country code and phone number, e.g., [\"886\", \"0912345678\"]<br>\n            Other fields.type are text or number. Check <a href=\"#home-order-contact-field\"\
        >Get Order Contact Field</a> for details.\n        </td>\n    </tr>\n</table>\n\n##### <a name=\"pickup-request-order-bkinfo\" />*pickupRequest*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>pickupLocationUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Pickup location UUID<br>\n        <b>Required</b> field when <b>pickup::type = 1</b></td>\n    </tr>\n    <tr>\n        <td>customerRequest</td>\n        <td>string</td>\n        <td>-</td>\n        <td>The pickup request from customer<br>\n        <b>Available</b> when <b>pickup::type = 2</b></td>\n    </tr>\n</table>\n\n##### <a name=\"prefer-language-order-bkinfo\" />*preferLanguage*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>guideLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>-</td>\n        <td>Selected language UUID of guide<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>deviceLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>-</td>\n        <td>Selected language UUID of audio guide device<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>onsiteLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>-</td>\n        <td>Selected language UUID of on-site guide<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageSpoken</a> for details\n        </td>\n    </tr>\n    <tr>\n        <td>materialLanguageUuid</td>\n        <td><b>UUID</b></td>\n        <td>-</td>\n        <td>Selected language UUID of the printed material<br>\n            Check <a href=\"#reference/0/1/try:-getdataoption\">/getDataOption?option=languageAll</a> for details\n        </td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n</table>"
      tags:
      - Update Order
      parameters:
      - name: orderNo
        in: path
        description: ''
        required: true
        example: TT190605ST0003
        schema:
          type: string
      requestBody:
        content:
          application/json:
            example:
              order: []
              participant:
              - - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                  value: John
                - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                  value: Doe
                - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                  value: ORDER.GENDER_MALE
                - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                  value: '1981-01-01'
                - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                  value: Taiwan
                - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                  value: '300012345'
              - - uuid: 3adfb028-3db6-46d9-920f-9234a1c2b8b5
                  value: John Jr.
                - uuid: 1d154db9-f77a-4233-9526-4aeba23efe69
                  value: Doe
                - uuid: 0774fe06-9d14-4d88-bd36-4eebe638f5b6
                  value: ORDER.GENDER_MALE
                - uuid: 8bac68fc-1711-4377-bd4f-8e1790d528c4
                  value: '2017-12-30'
                - uuid: 0dabee8f-50fb-4114-b368-7c15a0604f37
                  value: Taiwan
                - uuid: 235b964b-7b1f-4cf3-b322-541079f0b333
                  value: '300012346'
              pickupRequest:
                pickupLocationUuid: 67de4120-2cce-409b-b6ea-ae257363e258
                customerRequest: ''
              preferLanguage:
                guideLanguageUuid: 7e8eaa1f-330d-436a-b17d-bdbefe83ab20
                deviceLanguageUuid: ''
                onsiteLanguageUuid: ''
                materialLanguageUuid: ''
            schema:
              type: object
              properties:
                order:
                  type: array
                  items: {}
                participant:
                  type: array
                  items:
                    type: array
                    items: {}
                pickupRequest:
                  type: object
                  properties:
                    pickupLocationUuid:
                      type: string
                    customerRequest:
                      type: string
                preferLanguage:
                  type: object
                  properties:
                    guideLanguageUuid:
                      type: string
                    deviceLanguageUuid:
                      type: string
                    onsiteLanguageUuid:
                      type: string
                    materialLanguageUuid:
                      type: string
  /v1/redeem/list:
    get:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  codeMessage:
                    type: string
                  data:
                    type: object
                    properties:
                      totalCount:
                        type: number
                      page:
                        type: number
                      itemPerPage:
                        type: number
                      list:
                        type: array
                        items:
                          type: object
                          properties:
                            voucherNo:
                              type: string
                            itemLabel:
                              type: string
                            orderNo:
                              type: string
                            productUuid:
                              type: string
                            productName:
                              type: string
                            productCode:
                              type: string
                            salesOptionUuid:
                              type: string
                            salesOptionName:
                              type: string
                            purchaseContent:
                              type: array
                              items:
                                type: object
                                properties:
                                  label:
                                    type: string
                                  quantity:
                                    type: number
                            sessionStartDate:
                              type: string
                            sessionStartTime:
                              type: string
                            redeemDate:
                              type: string
                            redeemTime:
                              type: string
                            redeemAccountFirstName:
                              type: string
                            redeemAccountLastName:
                              type: string
              example:
                code: S0000
                codeMessage: SUCCESS
                data:
                  totalCount: 1
                  page: 1
                  itemPerPage: 20
                  list:
                  - voucherNo: RZ221111OV9172-1
                    itemLabel: Adult
                    orderNo: RZ221111OV9172
                    productUuid: 8df15fa1-8aed-4243-9a92-3394ba4acf5e
                    productName: 'Day Tour from Taipei: Jiufen Old Street,Golden Waterfall, and Bitou Cape'
                    productCode: 6XUPDQ
                    salesOptionUuid: b5f505a7-29bf-45b3-b002-6a9e5083bdd2
                    salesOptionName: Day tour
                    purchaseContent:
                    - label: Adult
                      quantity: 3
                    sessionStartDate: '2022-11-11'
                    sessionStartTime: 09:00
                    redeemDate: '2022-11-11'
                    redeemTime: 08:30
                    redeemAccountFirstName: John
                    redeemAccountLastName: Doe
      summary: List Redemption Record
      operationId: get-v1-redeem-list
      description: "List all redemption record.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>/v1/redeem/list</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>GET</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Query String</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json\n        </td>\n    </tr>\n    <tr>\n        <td>X-Lang: {Lang}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-StoreUuid: {StoreUuid}\n        </td>\n    </tr>\n    <tr>\n        <td>X-Auth-Key: {Key}\n        </td>\n    </tr>\n</table>\n\n#### Parameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Pages. Default/minimum value is <b>1</b></td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>-</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>from</td>\n        <td>string</td>\n        <td>Y</td>\n         <td>Filter date range, start from. Format is <b>YYYY-MM-DD</b> (Timezone is UTC+0)<br>The query date range is up to 31 days.</td>\n    </tr>\n    <tr>\n        <td>to</td>\n        <td>string</td>\n        <td>Y</td>\n        <td>Filter date range, end to. Format is <b>YYYY-MM-DD</b> (Timezone is UTC+0)</td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>-</td>\n        <td>Product UUID for this record</td>\n    </tr>\n    <tr>\n        <td>sort</td>\n        <td>string</td>\n        <td>-</td>\n        <td>The sorting options include: <b>redeemDESC</b> (Redemption Time, New to Old), and <b>redeemASC</b> (Redemption Time, Old to New).<br>The default option is: redeemDESC (Redemption Time, New to Old).</td>\n    </tr>\n</table>\n\n##### Response\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>code</td>\n        <td>string</td>\n        <td>Status code<br>Check <a href=\"#errorcode\">Response Codes</a> for details</td>\n    </tr>\n    <tr>\n        <td>codeMessage</td>\n        <td>string</td>\n        <td>Status message</td>\n    </tr>\n    <tr>\n        <td>data</td>\n        <td><b>object</b></td>\n        <td>Response data, check<a href=\"#data-redeem-list\"> data </a>for details</td>\n    </tr>\n</table>\n\n##### <a name=\"data-redeem-list\" />*data*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>totalCount</td>\n        <td>int</td>\n        <td>Record counts</td>\n    </tr>\n    <tr>\n        <td>page</td>\n        <td>int</td>\n        <td>Current page number</td>\n    </tr>\n    <tr>\n        <td>itemPerPage</td>\n        <td>int</td>\n        <td>Record counts per page. Default/maximum value is <b>20</b></td>\n    </tr>\n    <tr>\n        <td>list</td>\n        <td><b>array</b></td>\n        <td>Redemption record, check<a href=\"#list-redeem-list\"> list </a> for details</td>\n    </tr>\n</table>\n\n##### <a name=\"list-redeem-list\" />*list*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>voucherNo</td>\n        <td>string</td>\n        <td>Voucher Number</td>\n    </tr>\n    <tr>\n        <td>itemLabel</td>\n        <td>string</td>\n        <td>Ticket Type</td>\n    </tr>\n        <tr>\n        <td>orderNo</td>\n        <td>string</td>\n        <td>Order Number</td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>UUID</td>\n        <td>Product UUID<br>\n            <a href=\"#home-product-list\">/v1/product/list</a></td>\n    </tr>\n        <tr>\n        <td>productName</td>\n        <td>string</td>\n        <td>Product name</td>\n    </tr>\n    <tr>\n        <td>productCode</td>\n        <td>string</td>\n        <td>Product\
        \ code</td>\n    </tr>\n    <tr>\n        <td>salesOptionUuid</td>\n        <td>UUID</td>\n        <td>Package UUID</td>\n    </tr>\n    <tr>\n        <td>salesOptionName</td>\n        <td>string</td>\n        <td>Package name</td>\n    </tr>\n    <tr>\n        <td>purchaseContent</td>\n        <td><b>array</b></td>\n        <td>Purchase content indicates the booked seats and the related identity information.<br>\n        Check<a href=\"#purchase-content-redeem-detail-get\"> purchaseContent </a>for details\n        </td>\n    </tr>\n        <tr>\n        <td>sessionStartDate</td>\n        <td>string</td>\n        <td>Departure date, which is session start date. Format is <b>YYYY-MM-DD</b> (product timezone)</td>\n    </tr>\n    <tr>\n        <td>sessionStartTime</td>\n        <td>string</td>\n        <td>Departure time, which is start time of session. Format is <b>HH:mm</b>, i.e., 09:00 (product timezone)</td>\n    </tr>\n    </tr>\n        <td>redeemDate</td>\n        <td>string</td>\n        <td>Redemption date. Format is<b>YYYY-MM-DD</b> (Timezone is UTC+0)</td>\n    </tr>\n    <tr>\n        <td>redeemTime</td>\n        <td>string</td>\n        <td>Redemption time. Format is <b>HH:mm</b>, i.e., 09:00 (Timezone is UTC+0)</td>\n    </tr>\n    <tr>\n        <td>redeemAccountFirstName</td>\n        <td>string</td>\n        <td>User First Name</td>\n    </tr>\n    <tr>\n        <td>redeemAccountLastName</td>\n        <td>string</td>\n        <td>User Last Name</td>\n    </tr>\n</table>\n\n##### <a name=\"purchase-content-redeem-list\" />*purchaseContent*\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>label</td>\n        <td>string</td>\n        <td>Item label name</td>\n    </tr>\n    <tr>\n        <td>quantity</td>\n        <td>int</td>\n        <td>Quantity</td>\n    </tr>\n</table>"
      tags:
      - Redemption Record
      parameters:
      - name: page
        in: query
        description: ''
        example: '1'
        schema:
          type: string
          default: '1'
      - name: itemPerPage
        in: query
        description: ''
        example: '20'
        schema:
          type: string
          default: '20'
      - name: from
        in: query
        description: ''
        required: true
        schema:
          type: string
      - name: to
        in: query
        description: ''
        required: true
        schema:
          type: string
      - name: productUuid
        in: query
        description: ''
        schema:
          type: string
      - name: sort
        in: query
        description: ''
        schema:
          type: string
          enum:
          - redeemDESC
          - redeemASC
  /webhook:
    post:
      responses:
        '200':
          description: OK
          headers: {}
          content:
            text/plain:
              example: 'SUCCESS

                '
      summary: Product Webhook
      operationId: post-webhook
      description: "The webhook is triggered when a product or sales option is created, or any content changes occur. Any related inventory changes will also be included.\n\n<table>\n    <tr>\n        <th><b>URI</b></th>\n        <th>The user must provide a Webhook URL to receive notifications.</th>\n    </tr>\n    <tr>\n        <td><b>HTTP Method</b></td>\n        <td>POST</td>\n    </tr>\n    <tr>\n        <td><b>Parameters</b></td>\n        <td>Raw Body</td>\n    </tr>\n    <tr>\n        <td rowspan=4><b>Headers</b></td>\n        <td>Content-Type: application/json</td>\n    </tr>\n</table>\n\nParameters\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Required</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>type</td>\n        <td>String</td>\n        <td>Y</td>\n        <td>Notification type:<br/>\n<b>PRODUCT_NEW</b>: New product<br/>\n<b>PRODUCT_UPDATE</b>: Product updated<br/>\n<b>CALENDAR_NEW</b>: New Packages<br/>\n<b>CALENDAR_UPDATE</b>: Packages updated\n</td>\n    </tr>\n    <tr>\n        <td>productUuid</td>\n        <td>String</td>\n        <td>Y</td>\n        <td>Product UUID<br>For product details, please refer to <a href=\"#home-product-detail\">Get Product</a>.</td>\n    </tr>\n    <tr>\n        <td>saleOptionUuid</td>\n        <td>String</td>\n        <td>N</td>\n        <td>Package UUID \n        <br>Only present when <b>type</b> is <b>CALENDAR_NEW</b> or <b>CALENDAR_UPDATE</b>.\n        <br>For package details, please refer to <a href=\"#home-product-sale-option\">Get Product Packages</a>.\n        </td>\n    </tr>\n</table>\n\nResponse\n\n<table>\n    <tr>\n        <th>Name</th>\n        <th>Type</th>\n        <th>Description</th>\n    </tr>\n    <tr>\n        <td>SUCCESS</td>\n        <td>String</td>\n        <td>After receiving the Webhook, in addition to the HTTP status code (e.g., 200 for success), you must return the string 'SUCCESS' to indicate successful receipt; otherwise, the system will resend the request after 30 seconds.</td>\n    </tr>\n</table>"
      tags:
      - Webhook（Addon for ENTERPRISE plan）
      requestBody:
        content:
          application/json:
            example:
              type: PRODUCT_NEW
              productUuid: fc1fd163-b940-4550-a3ba-b340a3df7e03
              saleOptionUuid: null
            schema:
              type: object
              properties:
                type:
                  type: string
                productUuid:
                  type: string
                saleOptionUuid: {}
      security: []
components:
  schemas: {}
  securitySchemes:
    StoreUuid:
      type: apiKey
      in: header
      name: X-Auth-StoreUuid
      description: Store UUID (obtain from rezio admin)
    ApiKey:
      type: apiKey
      in: header
      name: X-Auth-Key
      description: 'API Key (apply at rezio admin: My Plan > API Token)'
tags:
- name: System Parameters
- name: Setting - Pricing Policy
- name: Setting - Tax & Fees
- name: Setting - Cancellation Policy
- name: Setting - Deposit Policy
- name: Setting - Booking Information
- name: Setting - Pick Up
- name: Setting - Extras
- name: Setting - Resource
- name: Product List
- name: Create Product
- name: Publish Settings
- name: Orders
- name: Update Order
- name: Redemption Record
- name: Webhook（Addon for ENTERPRISE plan）
security:
- StoreUuid: []
  ApiKey: []
