/settings/{storeid}:
  get:
    tags:
    - settings
    description: load settings for a store.
    operationId: loadSettings
    security:
    - bearerAuth: []
    parameters:
    - $ref#storeid: './parameters/storeid.yaml'
    responses:
      $ref#4xx: './responses/4xx.yaml'
      200:
        description: store settings
        content:
          application/json:
            schema:
              type: object
              properties: 
                value:
                  $ref: '#/components/schemas/Settings'
  post:
    tags:
    - settings
    description: saving store settings.
    operationId: saveSettings
    security:
    - bearerAuth: []
    parameters:
    - $ref#storeid: './parameters/storeid.yaml'
    requestBody:
      required: true
      content:
        application/json: 
          schema: 
            $ref: '#/components/schemas/Settings'
    responses:
      $ref#4xx: './responses/4xx.yaml'
      $ref#upsert: './responses/20x-upsert.yaml'

/settings/{storeid}/statusboard:
  get:
    tags:
    - settings
    description: check the order status board is applied or not.
    operationId: isAppliedStatusBoard
    security:
    - bearerAuth: []
    parameters:
    - $ref#storeid: './parameters/storeid.yaml'
    responses:
      $ref#4xx: './responses/4xx.yaml'
      200:
        description: true if the order status board is applied
        content:
          application/json:
            schema:
              type: boolean
