openapi: 3.0.1
info:
  title: Norce Management API
  version: v1
servers:
  - url: https://customer-slug.api-se.playground.norce.tech/commerce/management/1.0
paths:
  /api/category/{id}:
    get:
      tags:
        - 'Category '
      summary: Get category
      operationId: CategoryApi_Get
      parameters:
        - name: id
          in: path
          description: Category id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CategoryModel'
            text/json:
              schema:
                $ref: '#/components/schemas/CategoryModel'
    put:
      tags:
        - 'Category '
      summary: Update category
      operationId: CategoryApi_Update
      parameters:
        - name: id
          in: path
          description: Category id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Model to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CategoryModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CategoryModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CategoryModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/category:
    get:
      tags:
        - 'Category '
      summary: List categories
      operationId: CategoryApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CategoryModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CategoryModel'
    post:
      tags:
        - 'Category '
      summary: Insert category
      operationId: CategoryApi_Insert
      requestBody:
        description: Model to add
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CategoryModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CategoryModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CategoryModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/category/compact:
    get:
      tags:
        - 'Category '
      summary: List categories in compact format
      operationId: CategoryApi_Compact
      parameters:
        - name: search
          in: query
          schema:
            type: string
        - name: hasCode
          in: query
          schema:
            type: boolean
        - name: isActive
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdNameCodeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IdNameCodeModel'
  /api/category/deleted:
    get:
      tags:
        - 'Category '
      summary: List deleted categories
      operationId: CategoryApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CategoryModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CategoryModel'
  /api/category/{categoryId}/parametric:
    get:
      tags:
        - Category Parametric
      summary: List category parametrics
      operationId: CategoryParametricApi_List
      parameters:
        - name: categoryId
          in: path
          description: Category id
          required: true
          schema:
            type: integer
            format: int32
        - name: isRequired
          in: query
          description: Only required parameters. Defaults to false
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CategoryParametricModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CategoryParametricModel'
    put:
      tags:
        - Category Parametric
      summary: Update category parametrics
      operationId: CategoryParametricApi_Update
      parameters:
        - name: categoryId
          in: path
          description: Category id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Parametrics
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CategoryParametricModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CategoryParametricModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CategoryParametricModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/category/{categoryId}/parametric/copy-to-children:
    put:
      tags:
        - Category Parametric
      summary: Copy parametrics to all child categories
      operationId: CategoryParametricApi_CopyToChildren
      parameters:
        - name: categoryId
          in: path
          description: Parent category id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Parametrics that will be replaced for child categories
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CategoryParametricModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CategoryParametricModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CategoryParametricModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/customer/flag/{id}:
    get:
      tags:
        - Customer Flag
      summary: Get customer flag
      operationId: CustomerFlagApi_Get
      parameters:
        - name: id
          in: path
          description: Customer flag id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerFlagModel'
            text/json:
              schema:
                $ref: '#/components/schemas/CustomerFlagModel'
    put:
      tags:
        - Customer Flag
      summary: Update customer flag
      operationId: CustomerFlagApi_Update
      parameters:
        - name: id
          in: path
          description: Customer flag id to update
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Customer flag to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomerFlagModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/customer/flag:
    get:
      tags:
        - Customer Flag
      summary: List active customer flags
      operationId: CustomerFlagApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagModel'
    post:
      tags:
        - Customer Flag
      summary: Insert customer flag
      operationId: CustomerFlagApi_Insert
      requestBody:
        description: Customer flag to insert
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomerFlagModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/customer/flag/deleted:
    get:
      tags:
        - Customer Flag
      summary: Lists deleted customer flags
      operationId: CustomerFlagApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagModel'
  /api/customer/group/{id}:
    get:
      tags:
        - Customer FlagGroup
      summary: Get customer flag group
      operationId: CustomerFlagGroupApi_Get
      parameters:
        - name: id
          in: path
          description: Customer flag group id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomerFlagGroupModel'
            text/json:
              schema:
                $ref: '#/components/schemas/CustomerFlagGroupModel'
    put:
      tags:
        - Customer FlagGroup
      summary: Update customer flag group
      operationId: CustomerFlagGroupApi_Update
      parameters:
        - name: id
          in: path
          description: Customer flag group id to update
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Customer flag group to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomerFlagGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/customer/group:
    get:
      tags:
        - Customer FlagGroup
      summary: List active customer flag groups
      operationId: CustomerFlagGroupApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagGroupModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagGroupModel'
    post:
      tags:
        - Customer FlagGroup
      summary: Insert customer flag group
      operationId: CustomerFlagGroupApi_Insert
      requestBody:
        description: Customer flag group to create
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CustomerFlagGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomerFlagGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/customer/group/deleted:
    get:
      tags:
        - Customer FlagGroup
      summary: Lists deleted customer flag groups
      operationId: CustomerFlagGroupApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagGroupModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerFlagGroupModel'
  /api/customer/infotype/{groupId}:
    get:
      tags:
        - Customer InfoType
      summary: Lists active customer info types by group
      operationId: CustomerInfoTypeApi_ListByGroup
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Customer = 1, Store = 4, Company = 6'
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerInfoTypeModel'
    post:
      tags:
        - Customer InfoType
      summary: Insert customer info type
      operationId: CustomerInfoTypeApi_Insert
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Customer = 1, Store = 4, Company = 6'
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Customer info type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerInfoTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CustomerInfoTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomerInfoTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/customer/infotype/{groupId}/deleted:
    get:
      tags:
        - Customer InfoType
      summary: Lists deleted customer info types
      operationId: CustomerInfoTypeApi_ListDeleted
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Customer = 1, Store = 4, Company = 6'
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerInfoTypeModel'
  /api/customer/infotype/{groupId}/item/{id}:
    get:
      tags:
        - Customer InfoType
      summary: Get customer info type
      operationId: CustomerInfoTypeApi_GetItem
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Customer = 1, Store = 4, Company = 6'
          required: true
          schema:
            type: integer
            format: int32
        - name: id
          in: path
          description: Info item id to get
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CustomerInfoTypeModel'
  /api/customer/infotype/{groupId}/{id}:
    put:
      tags:
        - Customer InfoType
      summary: Update customer info type
      operationId: CustomerInfoTypeApi_Update
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Customer = 1, Store = 4, Company = 6'
          required: true
          schema:
            type: integer
            format: int32
        - name: id
          in: path
          description: Customer info type id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Customer info type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomerInfoTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/CustomerInfoTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/CustomerInfoTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/parametric/{id}:
    get:
      tags:
        - 'Parametric '
      summary: Get parametric
      operationId: ParametricApi_Get
      parameters:
        - name: id
          in: path
          description: Parametric id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParametricModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ParametricModel'
    put:
      tags:
        - 'Parametric '
      summary: Update parametric
      operationId: ParametricApi_Update
      parameters:
        - name: id
          in: path
          description: Parametric id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Parametric
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParametricModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ParametricModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ParametricModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/parametric:
    get:
      tags:
        - 'Parametric '
      summary: List active parametrics
      operationId: ParametricApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricModel'
    post:
      tags:
        - 'Parametric '
      summary: Insert parametric
      operationId: ParametricApi_Insert
      requestBody:
        description: Parametric
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParametricModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ParametricModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ParametricModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/parametric/deleted:
    get:
      tags:
        - 'Parametric '
      summary: List deleted parametrics
      operationId: ParametricApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricModel'
  /api/parametricgroup/{id}:
    get:
      tags:
        - Parametric Group
      summary: Get parametric group
      operationId: ParametricGroupApi_Get
      parameters:
        - name: id
          in: path
          description: Parametric group id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParametricGroupModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ParametricGroupModel'
    put:
      tags:
        - Parametric Group
      summary: Update parametric group
      operationId: ParametricGroupApi_Update
      parameters:
        - name: id
          in: path
          description: Parametric group id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Parametric group
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParametricGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ParametricGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ParametricGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/parametricgroup:
    get:
      tags:
        - Parametric Group
      summary: List active parametric group
      operationId: ParametricGroupApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricGroupModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricGroupModel'
    post:
      tags:
        - Parametric Group
      summary: Insert parametric group
      operationId: ParametricGroupApi_Insert
      requestBody:
        description: Parametric group
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParametricGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ParametricGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ParametricGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/parametricgroup/deleted:
    get:
      tags:
        - Parametric Group
      summary: List deleted parametric groups
      operationId: ParametricGroupApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricGroupModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricGroupModel'
  /api/parametric/{parametricId}/list:
    get:
      tags:
        - Parametric List
      summary: List list values for a parametric
      operationId: ParametricListApi_List
      parameters:
        - name: parametricId
          in: path
          description: Parametric id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricListModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricListModel'
    put:
      tags:
        - Parametric List
      summary: Update list values for a parametric
      operationId: ParametricListApi_Update
      parameters:
        - name: parametricId
          in: path
          description: Parametric id
          required: true
          schema:
            type: integer
            format: int32
        - name: useSortOrder
          in: query
          description: >-
            When true the sort order of the values will be saved and manual
            sorting will be used. Only works when values are less than 100.
            Default is false.
          schema:
            type: boolean
      requestBody:
        description: Parametric values
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ParametricListModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ParametricListModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ParametricListModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/parametric/{parametricId}/multiple:
    get:
      tags:
        - Parametric Multiple
      summary: List multiple values for a parametric
      operationId: ParametricMultipleApi_List
      parameters:
        - name: parametricId
          in: path
          description: Parametric id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricMultipleModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ParametricMultipleModel'
    put:
      tags:
        - Parametric Multiple
      summary: Update multiple values for a parametric
      operationId: ParametricMultipleApi_Update
      parameters:
        - name: parametricId
          in: path
          description: Parametric id
          required: true
          schema:
            type: integer
            format: int32
        - name: useSortOrder
          in: query
          description: >-
            When true the sort order of the values will be saved and manual
            sorting will be used. Only works when values are less than 100.
            Default is false.
          schema:
            type: boolean
      requestBody:
        description: Parametric multiple values
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ParametricMultipleModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ParametricMultipleModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/ParametricMultipleModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/pricing/pricelist/{id}:
    get:
      tags:
        - 'PriceList '
      summary: Get price list
      operationId: PriceListApi_Get
      parameters:
        - name: id
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PriceListModel'
            text/json:
              schema:
                $ref: '#/components/schemas/PriceListModel'
    put:
      tags:
        - 'PriceList '
      summary: Update price list
      operationId: PriceListApi_Update
      parameters:
        - name: id
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Price list
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PriceListModel'
          text/json:
            schema:
              $ref: '#/components/schemas/PriceListModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PriceListModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/pricing/pricelist:
    get:
      tags:
        - 'PriceList '
      summary: List price lists
      operationId: PriceListApi_List
      parameters:
        - name: filter
          in: query
          description: >-
            "open" filters on active and coming price lists that has not ended.
            "active" filters on all active pricelists within start/end dates.
            "inactive" filters on inactive or ended price lists. Default is
            "open"
          schema:
            type: string
        - name: search
          in: query
          description: Search for price lists on name or code
          schema:
            type: string
        - name: page
          in: query
          description: >-
            Sets the page to return. Default is null which will return all price
            lists
          schema:
            type: integer
            format: int32
        - name: pageSize
          in: query
          description: Sets the page size when page is set
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListModel'
    post:
      tags:
        - 'PriceList '
      summary: Insert price list
      operationId: PriceListApi_Insert
      requestBody:
        description: Price list
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PriceListModel'
          text/json:
            schema:
              $ref: '#/components/schemas/PriceListModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PriceListModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/pricing/pricelist/{priceListId}/population:
    get:
      tags:
        - PriceList Population
      summary: Get population rules for a price list
      operationId: PriceListPopulationApi_Get
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PriceListPopulationModel'
            text/json:
              schema:
                $ref: '#/components/schemas/PriceListPopulationModel'
    put:
      tags:
        - PriceList Population
      summary: Updates population rules for a price list
      operationId: PriceListPopulationApi_Update
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Population rules
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PriceListPopulationModel'
          text/json:
            schema:
              $ref: '#/components/schemas/PriceListPopulationModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PriceListPopulationModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/pricing/pricelist/{priceListId}/pricing:
    get:
      tags:
        - PriceList Pricing
      summary: List pricing rules for a price list
      operationId: PriceListPricingApi_List
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListPricingModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListPricingModel'
    put:
      tags:
        - PriceList Pricing
      summary: Update pricing rules for a price list
      operationId: PriceListPricingApi_Update
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Pricing rules
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListPricingModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListPricingModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListPricingModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/pricing/pricelist/{priceListId}/supplierpricelist:
    get:
      tags:
        - PriceList SupplierPricelist
      summary: List supplier price lists for a price list
      operationId: PriceListSupplierPricelistApi_List
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListSupplierPricelistModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListSupplierPricelistModel'
    put:
      tags:
        - PriceList SupplierPricelist
      summary: Update supplier price lists for a price list
      operationId: PriceListSupplierPricelistApi_Update
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Supplier price lists
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListSupplierPricelistModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListSupplierPricelistModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListSupplierPricelistModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/pricing/pricelist/{priceListId}/warehouse:
    get:
      tags:
        - PriceList Warehouse
      summary: List price list warehouses
      operationId: PriceListWarehouseApi_List
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListWarehouseModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PriceListWarehouseModel'
    put:
      tags:
        - PriceList Warehouse
      summary: Update price list warehouses
      operationId: PriceListWarehouseApi_Update
      parameters:
        - name: priceListId
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Warehouses
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListWarehouseModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListWarehouseModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceListWarehouseModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/product/family/{id}:
    get:
      tags:
        - Product Family
      summary: Get product family
      operationId: FamilyApi_Get
      parameters:
        - name: id
          in: path
          description: Product family id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FamilyModel'
            text/json:
              schema:
                $ref: '#/components/schemas/FamilyModel'
    put:
      tags:
        - Product Family
      summary: Update product family
      operationId: FamilyApi_Update
      parameters:
        - name: id
          in: path
          description: Product family id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product family
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FamilyModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FamilyModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FamilyModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/family:
    get:
      tags:
        - Product Family
      summary: List active product families
      operationId: FamilyApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FamilyModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FamilyModel'
    post:
      tags:
        - Product Family
      summary: Insert product family
      operationId: FamilyApi_Insert
      requestBody:
        description: Product family
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FamilyModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FamilyModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FamilyModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/family/deleted:
    get:
      tags:
        - Product Family
      summary: List deleted product families
      operationId: FamilyApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FamilyModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FamilyModel'
  /api/product/file/{id}:
    get:
      tags:
        - Product File
      summary: Get product flag
      operationId: FileApi_Get
      parameters:
        - name: id
          in: path
          description: Product flag id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FileModel'
            text/json:
              schema:
                $ref: '#/components/schemas/FileModel'
    put:
      tags:
        - Product File
      summary: Update product file
      operationId: FileApi_Update
      parameters:
        - name: id
          in: path
          description: Product file id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product file
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FileModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FileModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
    delete:
      tags:
        - Product File
      summary: Delete product file
      operationId: FileApi_Delete
      parameters:
        - name: id
          in: path
          description: File id to delete
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
  /api/product/file:
    get:
      tags:
        - Product File
      summary: List active product flags
      operationId: FileApi_List
      parameters:
        - name: isImage
          in: query
          schema:
            type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FileModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FileModel'
    post:
      tags:
        - Product File
      summary: Insert product file
      operationId: FileApi_Insert
      requestBody:
        description: Product file
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FileModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FileModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FileModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/flag/{id}:
    get:
      tags:
        - Product Flag
      summary: Get product flag
      operationId: ProductFlagApi_Get
      parameters:
        - name: id
          in: path
          description: Product flag id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlagModel'
            text/json:
              schema:
                $ref: '#/components/schemas/FlagModel'
    put:
      tags:
        - Product Flag
      summary: Update product flag
      operationId: ProductFlagApi_Update
      parameters:
        - name: id
          in: path
          description: Product flag id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product flag
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlagModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FlagModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FlagModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/flag:
    get:
      tags:
        - Product Flag
      summary: List active product flags
      operationId: ProductFlagApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagModel'
    post:
      tags:
        - Product Flag
      summary: Insert product flag
      operationId: ProductFlagApi_Insert
      requestBody:
        description: Product flag
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlagModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FlagModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FlagModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/flag/deleted:
    get:
      tags:
        - Product Flag
      summary: List deleted product flags
      operationId: ProductFlagApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagModel'
  /api/product/flaggroup/{id}:
    get:
      tags:
        - Product FlagGroup
      summary: Get product flag group
      operationId: ProductFlagGroupApi_Get
      parameters:
        - name: id
          in: path
          description: Product flag group id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FlagGroupModel'
            text/json:
              schema:
                $ref: '#/components/schemas/FlagGroupModel'
    put:
      tags:
        - Product FlagGroup
      summary: Update product flag group
      operationId: ProductFlagGroupApi_Update
      parameters:
        - name: id
          in: path
          description: Product flag group id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product flag group
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlagGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FlagGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FlagGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/flaggroup:
    get:
      tags:
        - Product FlagGroup
      summary: List active product flag groups
      operationId: ProductFlagGroupApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagGroupModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagGroupModel'
    post:
      tags:
        - Product FlagGroup
      summary: Insert product flag group
      operationId: ProductFlagGroupApi_Insert
      requestBody:
        description: Product flag group
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FlagGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/FlagGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/FlagGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/flaggroup/deleted:
    get:
      tags:
        - Product FlagGroup
      summary: List deleted product flag groups
      operationId: ProductFlagGroupApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagGroupModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FlagGroupModel'
  /api/product/infotype/{groupId}/item/{id}:
    get:
      tags:
        - Product InfoType
      summary: Get product info type
      operationId: ProductInfoTypeApi_GetItem
      parameters:
        - name: id
          in: path
          description: Info item id
          required: true
          schema:
            type: integer
            format: int32
        - name: groupId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductInfoTypeModel'
  /api/product/infotype/{groupId}:
    get:
      tags:
        - Product InfoType
      summary: List active product info types by group
      operationId: ProductInfoTypeApi_List
      parameters:
        - name: groupId
          in: path
          description: 'Group id: SkuOnHand = 2, SkuPriceList= 3'
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductInfoTypeModel'
    post:
      tags:
        - Product InfoType
      summary: Insert product info type
      operationId: ProductInfoTypeApi_Insert
      parameters:
        - name: groupId
          in: path
          description: 'Group id: SkuOnHand = 2, SkuPriceList= 3'
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product info type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductInfoTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ProductInfoTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ProductInfoTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/infotype/{groupId}/deleted:
    get:
      tags:
        - Product InfoType
      summary: List deleted product info types
      operationId: ProductInfoTypeApi_ListDeleted
      parameters:
        - name: groupId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductInfoTypeModel'
  /api/product/infotype/{groupId}/{id}:
    put:
      tags:
        - Product InfoType
      summary: Update product info type
      operationId: ProductInfoTypeApi_Update
      parameters:
        - name: groupId
          in: path
          description: 'Group id: SkuOnHand = 2, SkuPriceList= 3'
          required: true
          schema:
            type: integer
            format: int32
        - name: id
          in: path
          description: Product info type id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product info type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductInfoTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ProductInfoTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ProductInfoTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/manufacturer/{id}:
    get:
      tags:
        - Product Manufacturer
      summary: Get manufacturer
      operationId: ManufacturerApi_Get
      parameters:
        - name: id
          in: path
          description: Manufacturer id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManufacturerModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ManufacturerModel'
    put:
      tags:
        - Product Manufacturer
      summary: Update manufacturer
      operationId: ManufacturerApi_Update
      parameters:
        - name: id
          in: path
          description: Manufacturer id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Manufacturer
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManufacturerModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ManufacturerModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ManufacturerModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/manufacturer:
    get:
      tags:
        - Product Manufacturer
      summary: List active manufacturers
      operationId: ManufacturerApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ManufacturerModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ManufacturerModel'
    post:
      tags:
        - Product Manufacturer
      summary: Insert manufacturer
      operationId: ManufacturerApi_Insert
      requestBody:
        description: Manufacturer
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManufacturerModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ManufacturerModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ManufacturerModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/manufacturer/deleted:
    get:
      tags:
        - Product Manufacturer
      summary: List deleted manufacturers
      operationId: ManufacturerApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ManufacturerModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ManufacturerModel'
  /api/product/relationtype/{id}:
    get:
      tags:
        - Product RelationType
      summary: Get product flag
      operationId: RelationTypeApi_Get
      parameters:
        - name: id
          in: path
          description: Product flag id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RelationTypeModel'
            text/json:
              schema:
                $ref: '#/components/schemas/RelationTypeModel'
    put:
      tags:
        - Product RelationType
      summary: Update product relation type
      operationId: RelationTypeApi_Update
      parameters:
        - name: id
          in: path
          description: Product relation type id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product relation type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RelationTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/RelationTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RelationTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/relationtype:
    get:
      tags:
        - Product RelationType
      summary: List active product flags
      operationId: RelationTypeApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RelationTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RelationTypeModel'
    post:
      tags:
        - Product RelationType
      summary: Insert product relation type
      operationId: RelationTypeApi_Insert
      requestBody:
        description: Product relation type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RelationTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/RelationTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/RelationTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/type/{id}:
    get:
      tags:
        - Product Type
      summary: Get product type
      operationId: ProductTypeApi_Get
      parameters:
        - name: id
          in: path
          description: Product type id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductTypeModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ProductTypeModel'
    put:
      tags:
        - Product Type
      summary: Update product type
      operationId: ProductTypeApi_Update
      parameters:
        - name: id
          in: path
          description: Product type id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Product type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ProductTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ProductTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/type:
    get:
      tags:
        - Product Type
      summary: List active product types
      operationId: ProductTypeApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ProductTypeModel'
  /api/product/variant-group/{id}:
    get:
      tags:
        - Product VariantGroup
      summary: Get variant type
      operationId: VariantGroupApi_Get
      parameters:
        - name: id
          in: path
          description: Variant type id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VariantGroupModel'
            text/json:
              schema:
                $ref: '#/components/schemas/VariantGroupModel'
    put:
      tags:
        - Product VariantGroup
      summary: Update variant type
      operationId: VariantGroupApi_Update
      parameters:
        - name: id
          in: path
          description: Variant type id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Variant type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VariantGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/VariantGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/VariantGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/product/variant-group:
    get:
      tags:
        - Product VariantGroup
      summary: List active variant types
      operationId: VariantGroupApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VariantGroupModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VariantGroupModel'
    post:
      tags:
        - Product VariantGroup
      summary: Insert variant type
      operationId: VariantGroupApi_Insert
      requestBody:
        description: Variant type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VariantGroupModel'
          text/json:
            schema:
              $ref: '#/components/schemas/VariantGroupModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/VariantGroupModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/warehouse/{id}:
    get:
      tags:
        - Product Warehouse
      summary: Get warehouse
      operationId: WarehouseApi_Get
      parameters:
        - name: id
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehouseModel'
            text/json:
              schema:
                $ref: '#/components/schemas/WarehouseModel'
    put:
      tags:
        - Product Warehouse
      summary: Update warehouse
      operationId: WarehouseApi_Update
      parameters:
        - name: id
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Warehouse
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WarehouseModel'
          text/json:
            schema:
              $ref: '#/components/schemas/WarehouseModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/WarehouseModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/warehouse:
    get:
      tags:
        - Product Warehouse
      summary: List active warehouses
      operationId: WarehouseApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseModel'
    post:
      tags:
        - Product Warehouse
      summary: Insert warehouse
      operationId: WarehouseApi_Insert
      requestBody:
        description: Warehouse
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WarehouseModel'
          text/json:
            schema:
              $ref: '#/components/schemas/WarehouseModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/WarehouseModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/warehouse/deleted:
    get:
      tags:
        - Product Warehouse
      summary: List deleted warehouses
      operationId: WarehouseApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseModel'
  /api/warehouse/{warehouseId}/location:
    get:
      tags:
        - Product WarehouseLocation
      summary: List warehouse locations
      operationId: WarehouseLocationApi_List
      parameters:
        - name: warehouseId
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseLocationModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseLocationModel'
    put:
      tags:
        - Product WarehouseLocation
      summary: Update warehouse locations
      operationId: WarehouseLocationApi_Update
      parameters:
        - name: warehouseId
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Warehouse locations
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/WarehouseLocationModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/WarehouseLocationModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/WarehouseLocationModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/promotion/{id}:
    get:
      tags:
        - 'Promotion '
      summary: Get promotion
      operationId: PromotionApi_Get
      parameters:
        - name: id
          in: path
          description: Promotion id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromotionModel'
            text/json:
              schema:
                $ref: '#/components/schemas/PromotionModel'
    put:
      tags:
        - 'Promotion '
      summary: Update promotion
      operationId: PromotionApi_Update
      parameters:
        - name: id
          in: path
          description: Promotion id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Promotion
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromotionModel'
          text/json:
            schema:
              $ref: '#/components/schemas/PromotionModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PromotionModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/promotion:
    get:
      tags:
        - 'Promotion '
      summary: List promotions
      operationId: PromotionApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PromotionListModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PromotionListModel'
    post:
      tags:
        - 'Promotion '
      summary: Insert promotion
      operationId: PromotionApi_Insert
      requestBody:
        description: Promotion
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromotionModel'
          text/json:
            schema:
              $ref: '#/components/schemas/PromotionModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PromotionModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/promotion/{id}/unique-codes:
    get:
      tags:
        - 'Promotion '
      summary: Get unique checkout codes for a promotion
      operationId: PromotionApi_GetUniqueCodes
      parameters:
        - name: id
          in: path
          description: Promotion id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
    put:
      tags:
        - 'Promotion '
      summary: Updates unique checkout codes for a promotion
      operationId: PromotionApi_UpdateUniqueCodes
      parameters:
        - name: id
          in: path
          description: Promotion id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Codes to update or insert
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: codes
    post:
      tags:
        - 'Promotion '
      summary: Inserts unique checkout codes for a promotion that is not a duplicate
      operationId: PromotionApi_InsertUniqueCodes
      parameters:
        - name: id
          in: path
          description: Promotion id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Codes to insert
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PromotionUniqueDiscountCodeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: integer
                format: int32
            text/json:
              schema:
                type: integer
                format: int32
      x-codegen-request-body-name: codes
  /api/application/{id}:
    get:
      tags:
        - Settings Application
      summary: Get application
      operationId: ApplicationApi_Get
      parameters:
        - name: id
          in: path
          description: Application id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ApplicationModel'
    put:
      tags:
        - Settings Application
      summary: Update application
      operationId: ApplicationApi_Update
      parameters:
        - name: id
          in: path
          description: Application id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Application model to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ApplicationModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ApplicationModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/application/byclient:
    get:
      tags:
        - Settings Application
      summary: List applications for a client
      operationId: ApplicationApi_ListByClient
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationModel'
  /api/application/country/{id}:
    get:
      tags:
        - Settings ApplicationCountry
      summary: Get application country
      operationId: ApplicationCountryApi_Get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCountryModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ApplicationCountryModel'
    put:
      tags:
        - Settings ApplicationCountry
      summary: Update application country
      operationId: ApplicationCountryApi_Update
      parameters:
        - name: id
          in: path
          description: Country id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Country
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCountryModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ApplicationCountryModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ApplicationCountryModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
    delete:
      tags:
        - Settings ApplicationCountry
      summary: Delete application country
      operationId: ApplicationCountryApi_Delete
      parameters:
        - name: id
          in: path
          description: Country id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
  /api/application/country:
    get:
      tags:
        - Settings ApplicationCountry
      summary: List application countries
      operationId: ApplicationCountryApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationCountryModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationCountryModel'
    post:
      tags:
        - Settings ApplicationCountry
      summary: Insert application country
      operationId: ApplicationCountryApi_Insert
      requestBody:
        description: Country
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCountryModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ApplicationCountryModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ApplicationCountryModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/application/culture/{cultureCode}:
    get:
      tags:
        - Settings ApplicationCulture
      summary: Get application culture
      operationId: ApplicationCultureApi_Get
      parameters:
        - name: cultureCode
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCultureModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ApplicationCultureModel'
    put:
      tags:
        - Settings ApplicationCulture
      summary: Update application culture
      operationId: ApplicationCultureApi_Update
      parameters:
        - name: cultureCode
          in: path
          description: Culture code
          required: true
          schema:
            type: string
      requestBody:
        description: Culture
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateApplicationCultureModel'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateApplicationCultureModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateApplicationCultureModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
    delete:
      tags:
        - Settings ApplicationCulture
      summary: Delete application culture
      operationId: ApplicationCultureApi_Delete
      parameters:
        - name: cultureCode
          in: path
          description: Culture code
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
  /api/application/culture:
    get:
      tags:
        - Settings ApplicationCulture
      summary: List application cultures
      operationId: ApplicationCultureApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationCultureModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationCultureModel'
    post:
      tags:
        - Settings ApplicationCulture
      summary: Insert application culture
      operationId: ApplicationCultureApi_Insert
      requestBody:
        description: Culture
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateApplicationCultureModel'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateApplicationCultureModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/UpdateApplicationCultureModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/application/currency/{id}:
    get:
      tags:
        - Settings ApplicationCurrency
      summary: Get application currency
      operationId: ApplicationCurrencyApi_Get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationCurrencyModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ApplicationCurrencyModel'
    put:
      tags:
        - Settings ApplicationCurrency
      summary: Update application currency
      operationId: ApplicationCurrencyApi_Update
      parameters:
        - name: id
          in: path
          description: Currency id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Currency
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCurrencyModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ApplicationCurrencyModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ApplicationCurrencyModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
    delete:
      tags:
        - Settings ApplicationCurrency
      summary: Delete application currency
      operationId: ApplicationCurrencyApi_Delete
      parameters:
        - name: id
          in: path
          description: Currency id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
  /api/application/currency:
    get:
      tags:
        - Settings ApplicationCurrency
      summary: List application currencies
      operationId: ApplicationCurrencyApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationCurrencyModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationCurrencyModel'
    post:
      tags:
        - Settings ApplicationCurrency
      summary: Insert application currency
      operationId: ApplicationCurrencyApi_Insert
      requestBody:
        description: Currency
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationCurrencyModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ApplicationCurrencyModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ApplicationCurrencyModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/application/salesarea/{id}:
    get:
      tags:
        - Settings ApplicationSalesArea
      summary: Get application sales area
      operationId: ApplicationSalesAreaApi_Get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplicationSalesAreaModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ApplicationSalesAreaModel'
    put:
      tags:
        - Settings ApplicationSalesArea
      summary: Update application sales area
      operationId: ApplicationSalesAreaApi_Update
      parameters:
        - name: id
          in: path
          description: Sales area id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Sales area
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationSalesAreaModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ApplicationSalesAreaModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ApplicationSalesAreaModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
    delete:
      tags:
        - Settings ApplicationSalesArea
      summary: Delete application sales area
      operationId: ApplicationSalesAreaApi_Delete
      parameters:
        - name: id
          in: path
          description: Sales area id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
  /api/application/salesarea:
    get:
      tags:
        - Settings ApplicationSalesArea
      summary: List application sales areas
      operationId: ApplicationSalesAreaApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationSalesAreaModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ApplicationSalesAreaModel'
    post:
      tags:
        - Settings ApplicationSalesArea
      summary: Insert application sales area
      operationId: ApplicationSalesAreaApi_Insert
      requestBody:
        description: Sales area
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplicationSalesAreaModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ApplicationSalesAreaModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ApplicationSalesAreaModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/client/assortment/{id}:
    get:
      tags:
        - Settings ClientAssortment
      summary: Get assortment
      operationId: ClientAssortmentApi_Get
      parameters:
        - name: id
          in: path
          description: Assortment id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientAssortmentModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ClientAssortmentModel'
    put:
      tags:
        - Settings ClientAssortment
      summary: Update assortment
      operationId: ClientAssortmentApi_Update
      parameters:
        - name: id
          in: path
          description: Assortment id to update
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Assortment to update
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientAssortmentModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ClientAssortmentModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClientAssortmentModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
    delete:
      tags:
        - Settings ClientAssortment
      summary: Delete assortment
      operationId: ClientAssortmentApi_Delete
      parameters:
        - name: id
          in: path
          description: Assortment id to delete
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
  /api/client/assortment:
    get:
      tags:
        - Settings ClientAssortment
      summary: List active assortments
      operationId: ClientAssortmentApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientAssortmentModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientAssortmentModel'
    post:
      tags:
        - Settings ClientAssortment
      summary: Insert assortment
      operationId: ClientAssortmentApi_Insert
      requestBody:
        description: Assortment
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientAssortmentModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ClientAssortmentModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClientAssortmentModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/client/currency:
    get:
      tags:
        - Settings ClientCurrency
      summary: List client currencies
      operationId: ClientCurrencyApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientCurrencyModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientCurrencyModel'
    put:
      tags:
        - Settings ClientCurrency
      summary: Update client currencies
      operationId: ClientCurrencyApi_UpdateList
      requestBody:
        description: Currencies
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/UpdateClientCurrencyModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/UpdateClientCurrencyModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/UpdateClientCurrencyModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/client/salesarea/{id}:
    get:
      tags:
        - Settings ClientSalesArea
      summary: Get client sales area
      operationId: ClientSalesAreaApi_Get
      parameters:
        - name: id
          in: path
          description: Sales area id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientSalesAreaModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ClientSalesAreaModel'
    put:
      tags:
        - Settings ClientSalesArea
      summary: Updates client sales area or inserts it if not found
      operationId: ClientSalesAreaApi_Update
      parameters:
        - name: id
          in: path
          description: Sales area id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Sales area
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientSalesAreaModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ClientSalesAreaModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ClientSalesAreaModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/client/salesarea:
    get:
      tags:
        - Settings ClientSalesArea
      summary: List client sales areas
      operationId: ClientSalesAreaApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientSalesAreaModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ClientSalesAreaModel'
  /api/order/infotype/shopping/{groupId}/{itemId}:
    get:
      tags:
        - Shopping InfoType
      summary: Get shopping info type
      operationId: ShoppingInfoTypeApi_GetItem
      parameters:
        - name: itemId
          in: path
          description: Info item id
          required: true
          schema:
            type: integer
            format: int32
        - name: groupId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ShoppingInfoTypeModel'
            text/json:
              schema:
                $ref: '#/components/schemas/ShoppingInfoTypeModel'
    put:
      tags:
        - Shopping InfoType
      summary: Update shopping info type
      operationId: ShoppingInfoTypeApi_Update
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Basket = 1, BasketItem = 2'
          required: true
          schema:
            type: integer
            format: int32
        - name: itemId
          in: path
          description: Shopping info type id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Shopping info type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShoppingInfoTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ShoppingInfoTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ShoppingInfoTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/order/infotype/shopping/{groupId}:
    get:
      tags:
        - Shopping InfoType
      summary: List active shopping info types by group
      operationId: ShoppingInfoTypeApi_List
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Basket = 1, BasketItem = 2'
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShoppingInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShoppingInfoTypeModel'
    post:
      tags:
        - Shopping InfoType
      summary: Insert shopping info type
      operationId: ShoppingInfoTypeApi_Insert
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Basket = 1, BasketItem = 2'
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Shopping info type
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShoppingInfoTypeModel'
          text/json:
            schema:
              $ref: '#/components/schemas/ShoppingInfoTypeModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/ShoppingInfoTypeModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/order/infotype/shopping/{groupId}/deleted:
    get:
      tags:
        - Shopping InfoType
      summary: List deleted shopping info types
      operationId: ShoppingInfoTypeApi_ListDeleted
      parameters:
        - name: groupId
          in: path
          description: 'Group id: Basket = 1, BasketItem = 2'
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShoppingInfoTypeModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ShoppingInfoTypeModel'
  /api/store/{id}:
    get:
      tags:
        - 'Store '
      summary: Get store
      operationId: StoreApi_Get
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StoreModel'
            text/json:
              schema:
                $ref: '#/components/schemas/StoreModel'
    put:
      tags:
        - 'Store '
      summary: Update store
      operationId: StoreApi_Update
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Store
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreModel'
          text/json:
            schema:
              $ref: '#/components/schemas/StoreModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/StoreModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/store:
    get:
      tags:
        - 'Store '
      summary: List stores
      operationId: StoreApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreModel'
    post:
      tags:
        - 'Store '
      summary: Insert store
      operationId: StoreApi_Insert
      requestBody:
        description: Store
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StoreModel'
          text/json:
            schema:
              $ref: '#/components/schemas/StoreModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/StoreModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/store/deleted:
    get:
      tags:
        - 'Store '
      summary: List deleted stores
      operationId: StoreApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreModel'
  /api/store/{id}/application:
    get:
      tags:
        - Store Application
      summary: List store applications
      operationId: StoreApplicationApi_List
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreApplicationModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreApplicationModel'
    put:
      tags:
        - Store Application
      summary: Update store applications
      operationId: StoreApplicationApi_UpdateList
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: A list of applications
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StoreApplicationModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StoreApplicationModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StoreApplicationModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/store/{id}/pricelist:
    get:
      tags:
        - Store PriceList
      summary: List store price lists
      operationId: StorePriceListApi_List
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StorePriceListModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StorePriceListModel'
    put:
      tags:
        - Store PriceList
      summary: Update store price lists
      operationId: StorePriceListApi_UpdateList
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: A list of store price lists
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StorePriceListModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StorePriceListModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StorePriceListModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/store/{id}/warehouse:
    get:
      tags:
        - Store Warehouse
      summary: List store warehouses
      operationId: StoreWarehouseApi_List
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreWarehouseModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StoreWarehouseModel'
    put:
      tags:
        - Store Warehouse
      summary: Update store warehouses
      operationId: StoreWarehouseApi_UpdateList
      parameters:
        - name: id
          in: path
          description: Store id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: A list of store warehouses
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StoreWarehouseModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StoreWarehouseModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/StoreWarehouseModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/supplier/{id}:
    get:
      tags:
        - 'Supplier '
      summary: Get supplier
      operationId: SupplierApi_Get
      parameters:
        - name: id
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplierModel'
            text/json:
              schema:
                $ref: '#/components/schemas/SupplierModel'
    put:
      tags:
        - 'Supplier '
      summary: Update supplier
      operationId: SupplierApi_Update
      parameters:
        - name: id
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Supplier
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierModel'
          text/json:
            schema:
              $ref: '#/components/schemas/SupplierModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupplierModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/supplier:
    get:
      tags:
        - 'Supplier '
      summary: List active suppliers
      operationId: SupplierApi_List
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierModel'
    post:
      tags:
        - 'Supplier '
      summary: Insert supplier
      operationId: SupplierApi_Insert
      requestBody:
        description: Supplier
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierModel'
          text/json:
            schema:
              $ref: '#/components/schemas/SupplierModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupplierModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/supplier/deleted:
    get:
      tags:
        - 'Supplier '
      summary: List deleted suppliers
      operationId: SupplierApi_ListDeleted
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierModel'
  /api/supplier/{supplierId}/pricelist/{id}:
    get:
      tags:
        - Supplier PriceList
      summary: Get supplier price list
      operationId: SupplierPriceListApi_Get
      parameters:
        - name: id
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
        - name: supplierId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplierPriceListModel'
            text/json:
              schema:
                $ref: '#/components/schemas/SupplierPriceListModel'
    put:
      tags:
        - Supplier PriceList
      summary: Update supplier price list
      operationId: SupplierPriceListApi_Update
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
        - name: id
          in: path
          description: Price list id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Supplier price list
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierPriceListModel'
          text/json:
            schema:
              $ref: '#/components/schemas/SupplierPriceListModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupplierPriceListModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/supplier/{supplierId}/pricelist:
    get:
      tags:
        - Supplier PriceList
      summary: List active supplier price lists
      operationId: SupplierPriceListApi_ListBySupplier
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierPriceListModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierPriceListModel'
    post:
      tags:
        - Supplier PriceList
      summary: Insert supplier price list
      operationId: SupplierPriceListApi_Insert
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Supplier price list
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierPriceListModel'
          text/json:
            schema:
              $ref: '#/components/schemas/SupplierPriceListModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupplierPriceListModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/supplier/{supplierId}/pricelist/deleted:
    get:
      tags:
        - Supplier PriceList
      summary: List deleted supplier price lists
      operationId: SupplierPriceListApi_ListDeleted
      parameters:
        - name: supplierId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierPriceListModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierPriceListModel'
  /api/supplier-pricelist/{priceListId}/warehouse:
    get:
      tags:
        - Supplier PriceListWarehouse
      summary: List supplier price list warehouses
      operationId: SupplierPriceListWarehouseApi_List
      parameters:
        - name: priceListId
          in: path
          description: Supplier price list id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierPriceListWarehouseModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierPriceListWarehouseModel'
    put:
      tags:
        - Supplier PriceListWarehouse
      summary: Updates supplier price list warehouses
      operationId: SupplierPriceListWarehouseApi_UpdateList
      parameters:
        - name: priceListId
          in: path
          description: Supplier price list id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: A list of warehouses
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SupplierPriceListWarehouseModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SupplierPriceListWarehouseModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SupplierPriceListWarehouseModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
  /api/supplier/{supplierId}/warehouse/{warehouseId}:
    get:
      tags:
        - Supplier Warehouse
      summary: Get supplier warehouse
      operationId: SupplierWarehouseApi_Get
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
        - name: warehouseId
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupplierWarehouseModel'
            text/json:
              schema:
                $ref: '#/components/schemas/SupplierWarehouseModel'
    put:
      tags:
        - Supplier Warehouse
      summary: Update supplier warehouse
      operationId: SupplierWarehouseApi_Update
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
        - name: warehouseId
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Supplier warehouse
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierWarehouseModel'
          text/json:
            schema:
              $ref: '#/components/schemas/SupplierWarehouseModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupplierWarehouseModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/supplier/{supplierId}/warehouse:
    get:
      tags:
        - Supplier Warehouse
      summary: List active supplier warehouses
      operationId: SupplierWarehouseApi_List
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierWarehouseModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierWarehouseModel'
    post:
      tags:
        - Supplier Warehouse
      summary: Insert supplier warehouse
      operationId: SupplierWarehouseApi_Insert
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Supplier warehouse
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SupplierWarehouseModel'
          text/json:
            schema:
              $ref: '#/components/schemas/SupplierWarehouseModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SupplierWarehouseModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: model
  /api/supplier/{supplierId}/warehouse/deleted/warehouse:
    get:
      tags:
        - Supplier Warehouse
      summary: List deleted supplier warehouses
      operationId: SupplierWarehouseApi_ListDeleted
      parameters:
        - name: supplierId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierWarehouseModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierWarehouseModel'
  /api/supplier/{supplierId}/warehouse/{warehouseId}/location:
    get:
      tags:
        - Supplier WarehouseLocation
      summary: List supplier warehouse locations
      operationId: SupplierWarehouseLocationApi_List
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
        - name: warehouseId
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierWarehouseLocationModel'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/SupplierWarehouseLocationModel'
    put:
      tags:
        - Supplier WarehouseLocation
      summary: Update supplier warehouse locations
      operationId: SupplierWarehouseLocationApi_Update
      parameters:
        - name: supplierId
          in: path
          description: Supplier id
          required: true
          schema:
            type: integer
            format: int32
        - name: warehouseId
          in: path
          description: Warehouse id
          required: true
          schema:
            type: integer
            format: int32
      requestBody:
        description: Supplier warehouse locations
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SupplierWarehouseLocationModel'
          text/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SupplierWarehouseLocationModel'
          application/x-www-form-urlencoded:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SupplierWarehouseLocationModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
      x-codegen-request-body-name: list
components:
  schemas:
    InfoModel:
      type: object
      properties:
        Id:
          type: integer
          format: int64
        TypeId:
          type: integer
          format: int32
        Name:
          type: string
        Value:
          type: string
        Updated:
          type: string
          format: date-time
        UpdatedBy:
          type: integer
          format: int32
    CategoryModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        FullName:
          type: string
        DefaultFullName:
          type: string
        IsFullNameInherited:
          type: boolean
        ParentId:
          type: integer
          format: int32
        ParentCode:
          type: string
        ParentName:
          type: string
        SortOrder:
          type: integer
          format: int32
        IsDisplayOnly:
          type: boolean
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ImageUrl:
          type: string
        Code:
          type: string
        Synonyms:
          type: string
        DefaultSynonyms:
          type: string
        IsSynonymsInherited:
          type: boolean
        UnspcCode:
          type: string
        BusinessArea:
          type: string
        CommodityCode:
          type: string
        IntegrationPartNo:
          type: string
        FreightClassId:
          type: integer
          format: int32
        GrossWeight:
          type: number
          format: double
        VatCodeId:
          type: integer
          format: int32
        InheritedVatCodeId:
          type: integer
          format: int32
        IsVatCodeIdInherited:
          type: boolean
        InheritedVatCodeName:
          type: string
        VatCodeIdInheritedFrom:
          type: string
        VatCodeName:
          type: string
        VatCodeValue:
          type: number
          format: double
        InheritedVatCodeValue:
          type: number
          format: double
        VatCodes:
          type: array
          items:
            $ref: '#/components/schemas/SalesAreaVatCodeModel'
        UnitOfMeasurementId:
          type: integer
          format: int32
        RecommendedSalesQty:
          type: number
          format: double
        IsReturnable:
          type: boolean
        IsDropShipOnly:
          type: boolean
        PopulationRuleId:
          type: integer
          format: int32
        TrackingCodeTypeId:
          type: integer
          format: int32
        CompetitivePricingMinPercentage:
          type: number
          format: double
        CompetitivePricingTargetPercentage:
          type: number
          format: double
        HideInTopList:
          type: boolean
        StockDisplayBreakPoint:
          type: integer
          format: int32
        IsRecommendedQtyFixed:
          type: boolean
        IsRecurringOrderable:
          type: boolean
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/CategoryCultureModel'
    SalesAreaVatCodeModel:
      type: object
      properties:
        SalesAreaId:
          type: integer
          format: int32
        SalesAreaName:
          type: string
        VatCodeId:
          type: integer
          format: int32
        InheritedVatCodeId:
          type: integer
          format: int32
        IsVatCodeIdInherited:
          type: boolean
        VatCodeIdInheritedFrom:
          type: string
        VatCodeName:
          type: string
        VatCodeValue:
          type: number
          format: double
        InheritedVatCodeName:
          type: string
        InheritedVatCodeValue:
          type: number
          format: double
    CategoryCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        Synonyms:
          type: string
        IsSynonymsInherited:
          type: boolean
        FullName:
          type: string
        IsFullNameInherited:
          type: boolean
        IsTranslated:
          type: boolean
    IdNameCodeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        Code:
          type: string
    CategoryParametricModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        CategoryId:
          type: integer
          format: int32
        Name:
          type: string
        Code:
          type: string
        Uom:
          type: string
        Description:
          type: string
        Type:
          type: string
        TypeId:
          type: integer
          format: int32
        GroupId:
          type: integer
          format: int32
        GroupName:
          type: string
        SortOrder:
          type: integer
          format: int32
        FocusSortOrder:
          type: integer
          format: int32
        PrioritySortOrder:
          type: integer
          format: int32
        IsSecondary:
          type: boolean
        IsRequired:
          type: boolean
        IsHidden:
          type: boolean
        IsPublic:
          type: boolean
        DefaultIsVariantUnique:
          type: boolean
        HasListValues:
          type: boolean
        HasMultipleValues:
          type: boolean
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    IdNameModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
    IdNameChangedModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
    CustomerFlagModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Code:
          type: string
        GroupId:
          type: integer
          format: int32
        GroupName:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        AvailableOnCustomer:
          type: boolean
        AvailableOnCompany:
          type: boolean
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        IsDefault:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/CustomerFlagCultureModel'
    CustomerFlagCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    CustomerFlagGroupModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        ClientId:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsMultipleChoice:
          type: boolean
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/CustomerFlagGroupCultureModel'
    CustomerFlagGroupCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    CustomerInfoTypeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        GroupId:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/CustomerInfoTypeCultureModel'
    CustomerInfoTypeCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    PromotionListModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
          description: Read only inherited name
        IsNameInherited:
          type: boolean
        SubHeader:
          type: string
        DefaultSubHeader:
          type: string
          description: Read only inherited sub header
        IsSubHeaderInherited:
          type: boolean
        SubDescription:
          type: string
        DefaultSubDescription:
          type: string
          description: Read only inherited sub description
        IsSubDescriptionInherited:
          type: boolean
        DescriptionHeader:
          type: string
        DefaultDescriptionHeader:
          type: string
          description: Read only inherited description header
        IsDescriptionHeaderInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
          description: Read only inherited description
        IsDescriptionInherited:
          type: boolean
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ImageUrl:
          type: string
          description: Read only full image url at CDN
        Code:
          type: string
        ExclusivityType:
          type: string
          description: >-
            Exclusive promotion type: NotExclusive, Exclusive,
            IgnoreExclusivity. Default is NotExclusive
        StartDate:
          type: string
          format: date-time
        EndDate:
          type: string
          format: date-time
        CountLeft:
          type: integer
          description: Read only value that shows count left when AllowedUsageCount is set
          format: int32
        AllowedUsageCount:
          type: integer
          format: int32
        UsageCount:
          type: integer
          description: >-
            Read only value that shows how many times this promotion has been
            used
          format: int32
        UniqueUserUsageCount:
          type: integer
          format: int32
        UniqueDiscountCodeCount:
          type: integer
          description: Read only value that shows count of unique discount codes
          format: int32
        UniqueDiscountCodeUsedCount:
          type: integer
          description: Read only value that shows count of used unique discount codes
          format: int32
        TotalOrder:
          type: number
          description: >-
            Read only value that shows total order value of orders where
            promotion was used
          format: double
        TotalDiscount:
          type: number
          description: >-
            Read only value that shows total order discount of orders where
            promotion was used
          format: double
        DiscountPercentage:
          type: number
          description: >-
            Read only value that shows discount percentage for rows where
            promotion was used
          format: double
        MarginPercentage:
          type: number
          description: >-
            Read only value that shows total order margin of orders where
            promotion was used
          format: double
        IsStackable:
          type: boolean
        IsProductReq:
          type: boolean
        ExcludeFromPriceCalculation:
          type: boolean
        Status:
          type: string
          description: 'Promotion status: Inactive, Active, Draft. Default is Inactive'
        CurrencyCode:
          type: string
        StoppedDate:
          type: string
          description: Read only value that shows when a promotion was inactivated
          format: date-time
        StoppedBy:
          type: integer
          description: Read only value that shows who inactivated promotion
          format: int32
        StoppedByName:
          type: string
          description: Read only value that shows who inactivated promotion
        Created:
          type: string
          description: Read only value that shows when promotion was created
          format: date-time
        CreatedByName:
          type: string
          description: Read only value that shows who created this promotion
        Changed:
          type: string
          description: Read only value that shows when promotion was changed
        ChangedBy:
          type: string
          description: Read only value that shows who changed this promotion
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/PromotionCultureModel'
    PromotionCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        SubHeader:
          type: string
        IsSubHeaderInherited:
          type: boolean
        SubDescription:
          type: string
        IsSubDescriptionInherited:
          type: boolean
        DescriptionHeader:
          type: string
        IsDescriptionHeaderInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsTranslated:
          type: boolean
    ParametricModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        Uom:
          type: string
        DefaultUom:
          type: string
        IsUomInherited:
          type: boolean
        Type:
          type: string
        TypeName:
          type: string
        GroupId:
          type: integer
          format: int32
        GroupName:
          type: string
        IsRequired:
          type: boolean
        IsFavorite:
          type: boolean
        IsReadOnly:
          type: boolean
        IsHidden:
          type: boolean
        IsPublic:
          type: boolean
        DefaultIsVariantUnique:
          type: boolean
        IsActive:
          type: boolean
        Editor:
          type: string
        Code:
          type: string
        CodeListKey:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ParametricCultureModel'
        ShowOnTextTab:
          type: boolean
        ShowInList:
          type: boolean
    ParametricCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        Uom:
          type: string
        IsUomInherited:
          type: boolean
        IsTranslated:
          type: boolean
    ParametricGroupModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsActive:
          type: boolean
        Code:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ParametricGroupCultureModel'
    ParametricGroupCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsTranslated:
          type: boolean
    ParametricListModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        ParametricId:
          type: integer
          format: int32
        Value:
          type: string
        DefaultValue:
          type: string
        IsValueInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        Code:
          type: string
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ImageUrl:
          type: string
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ParametricListCultureModel'
    ParametricListCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Value:
          type: string
        IsValueInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsTranslated:
          type: boolean
    ParametricMultipleModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        ParametricId:
          type: integer
          format: int32
        Value:
          type: string
        DefaultValue:
          type: string
        IsValueInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        Code:
          type: string
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ImageUrl:
          type: string
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ParametricMultipleCultureModel'
    ParametricMultipleCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Value:
          type: string
        IsValueInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsTranslated:
          type: boolean
    PriceListModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        Description:
          type: string
        Code:
          type: string
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ImageUrl:
          type: string
        TypeId:
          type: integer
          format: int32
        TypeName:
          type: string
        PriceRuleName:
          type: string
        StartDate:
          type: string
          format: date-time
        EndDate:
          type: string
          format: date-time
        CurrencyId:
          type: integer
          format: int32
        CurrencyCode:
          type: string
        CurrencyName:
          type: string
        SalesAreaId:
          type: integer
          format: int32
        SalesAreaName:
          type: string
        SalesAreaIdIsInherited:
          type: boolean
        InheritedSalesAreaName:
          type: string
        DefaultPriceRuleId:
          type: integer
          format: int32
        DefaultPriceRuleValue:
          type: number
          format: double
        DefaultSupplementChargePercentage:
          type: number
          format: double
        DefaultSupplementCharge:
          type: number
          format: double
        DefaultMinimumProductMarginPercentage:
          type: number
          format: double
        DefaultLimitToPriceRecommended:
          type: boolean
        InheritStructureCalculationRule:
          type: integer
          format: int32
        ParentPriceListId:
          type: integer
          format: int32
        ParentPriceListName:
          type: string
        PopulationRuleId:
          type: integer
          format: int32
        PopulationRuleName:
          type: string
        ChosenWarehouseId:
          type: integer
          format: int32
        ChosenLocationId:
          type: integer
          format: int32
        IsPrimary:
          type: boolean
        IsPublic:
          type: boolean
        IsNotStarted:
          type: boolean
        IsEnded:
          type: boolean
        IsVirtual:
          type: boolean
        IsLimitedToStock:
          type: boolean
        IsFavorite:
          type: boolean
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    PriceListPopulationModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        ParentPriceListName:
          type: string
        IsSupplierRequired:
          type: boolean
        IsInclude:
          type: boolean
        IsChecked:
          type: boolean
        Categories:
          type: array
          items:
            $ref: '#/components/schemas/PriceListPopulationCategoryModel'
        Manufacturers:
          type: array
          items:
            $ref: '#/components/schemas/IdNameChangedModel'
        Flags:
          type: array
          items:
            $ref: '#/components/schemas/IdNameChangedModel'
    PriceListPopulationCategoryModel:
      type: object
      properties:
        CategoryId:
          type: integer
          format: int32
        Name:
          type: string
        IsChecked:
          type: boolean
        IsOpen:
          type: boolean
        Categories:
          type: array
          items:
            $ref: '#/components/schemas/PriceListPopulationCategoryModel'
        Manufacturers:
          type: array
          items:
            $ref: '#/components/schemas/IdNameChangedModel'
        Flags:
          type: array
          items:
            $ref: '#/components/schemas/IdNameChangedModel'
        Parent:
          $ref: '#/components/schemas/PriceListPopulationCategoryModel'
        Level:
          type: integer
          format: int32
        IsSupplierRequired:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    PriceListPricingModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        PriceListId:
          type: integer
          format: int32
        CategoryId:
          type: integer
          format: int32
        CategoryName:
          type: string
        CategoryPath:
          type: string
        CategoryParentCount:
          type: integer
          format: int32
        ManufacturerId:
          type: integer
          format: int32
        ManufacturerName:
          type: string
        Flags:
          type: array
          items:
            $ref: '#/components/schemas/IdNameModel'
        MinValue:
          type: number
          format: double
        MaxValue:
          type: number
          format: double
        PriceRuleId:
          type: integer
          format: int32
        PriceRuleName:
          type: string
        PriceRuleLabel:
          type: string
        PriceRuleValue:
          type: number
          format: double
        PriceRuleUnit:
          type: string
        KickbackPercentage:
          type: number
          format: double
        MinimumProductMarginPercentage:
          type: number
          format: double
        MinimumProductMarginPercentageIsInherited:
          type: boolean
        PreferredPosition:
          type: integer
          format: int32
        LimitToPriceRecommended:
          type: boolean
        SupplementCharge:
          type: number
          format: double
        SupplementChargePercentage:
          type: number
          format: double
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    PriceListSupplierPricelistModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        PriceListId:
          type: integer
          format: int32
        Name:
          type: string
        SupplierName:
          type: string
        Code:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
    PriceListWarehouseModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        PriceListId:
          type: integer
          format: int32
        Name:
          type: string
        LocationId:
          type: integer
          format: int32
        LocationName:
          type: string
        IsStandard:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    FamilyModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsActive:
          type: boolean
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/FamilyCultureModel'
    FamilyCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsTranslated:
          type: boolean
    FileModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        Code:
          type: string
        TypeId:
          type: integer
          format: int32
        TypeExtension:
          type: string
        TypeMimeType:
          type: string
        SortOrder:
          type: integer
          format: int32
        IsActive:
          type: boolean
        IsImage:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        IsSharedType:
          type: boolean
          readOnly: true
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/FileCultureModel'
    FileCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    FlagModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        TypeId:
          type: integer
          format: int32
        GroupId:
          type: integer
          format: int32
        GroupName:
          type: string
        Code:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsManuallyEditable:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        IsActive:
          type: boolean
        Changed:
          type: string
          format: date-time
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/FlagCultureModel'
    FlagCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    FlagGroupModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsMultipleChoice:
          type: boolean
        IsActive:
          type: boolean
        IsFavorite:
          type: boolean
        Changed:
          type: string
          format: date-time
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/FlagGroupCultureModel'
    FlagGroupCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    ProductInfoTypeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        GroupId:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ProductInfoTypeCultureModel'
    ProductInfoTypeCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    ManufacturerModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Key:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        Name:
          type: string
        Code:
          type: string
        OrganizationNo:
          type: string
        UniqueUrlName:
          type: string
        IsUniqueUrlNameManuallyMaintained:
          type: boolean
        Prefix:
          type: string
        Website:
          type: string
        LogoKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        LogoUrl:
          type: string
        SupportUrl:
          type: string
        DefaultSupportUrl:
          type: string
        IsSupportUrlInherited:
          type: boolean
        SupportEmailAddress:
          type: string
        DefaultSupportEmailAddress:
          type: string
        IsSupportEmailAddressInherited:
          type: boolean
        SupportPhoneNumber:
          type: string
        DefaultSupportPhoneNumber:
          type: string
        IsSupportPhoneNumberInherited:
          type: boolean
        SupportAvailableHours:
          type: string
        DefaultSupportAvailableHours:
          type: string
        IsSupportAvailableHoursInherited:
          type: boolean
        SupportPolicy:
          type: string
        DefaultSupportPolicy:
          type: string
        IsSupportPolicyInherited:
          type: boolean
        SupportDescription:
          type: string
        DefaultSupportDescription:
          type: string
        IsSupportDescriptionInherited:
          type: boolean
        IsActive:
          type: boolean
        Changed:
          type: string
          format: date-time
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ManufacturerCultureModel'
    ManufacturerCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        SupportUrl:
          type: string
        IsSupportUrlInherited:
          type: boolean
        SupportEmailAddress:
          type: string
        IsSupportEmailAddressInherited:
          type: boolean
        SupportPhoneNumber:
          type: string
        IsSupportPhoneNumberInherited:
          type: boolean
        SupportAvailableHours:
          type: string
        IsSupportAvailableHoursInherited:
          type: boolean
        SupportPolicy:
          type: string
        IsSupportPolicyInherited:
          type: boolean
        SupportDescription:
          type: string
        IsSupportDescriptionInherited:
          type: boolean
        IsTranslated:
          type: boolean
    RelationTypeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        DefaultName:
          type: string
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        DefaultDescription:
          type: string
        IsBidirectional:
          type: boolean
        IsActive:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/RelationTypeCultureModel'
    RelationTypeCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    ProductTypeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        IsNameInherited:
          type: boolean
        DefaultName:
          type: string
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        DefaultDescription:
          type: string
        GroupName:
          type: string
        SortOrder:
          type: integer
          format: int32
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ProductTypeCultureModel'
    ProductTypeCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    VariantGroupModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        Code:
          type: string
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        VariantTypes:
          type: array
          items:
            $ref: '#/components/schemas/VariantTypeModel'
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/VariantGroupCultureModel'
    VariantTypeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        Code:
          type: string
        SortOrder:
          type: integer
          format: int32
        IsActive:
          type: boolean
        ParametricId:
          type: integer
          format: int32
        ParametricName:
          type: string
        Uom:
          type: string
        Type:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/VariantTypeCultureModel'
    VariantGroupCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    VariantTypeCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    WarehouseModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        TypeId:
          type: integer
          format: int32
        TypeName:
          type: string
        Code:
          type: string
        Name:
          type: string
        Locations:
          type: array
          items:
            $ref: '#/components/schemas/WarehouseLocationModel'
        LocationId:
          type: integer
          format: int32
        LocationName:
          type: string
        IsStandard:
          type: boolean
        StandardLeadTimeDayCount:
          type: integer
          format: int32
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    WarehouseLocationModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        IsStandard:
          type: boolean
        StandardLeadTimeDayCount:
          type: integer
          format: int32
        IsIncludedInStockCalculation:
          type: boolean
        PrimaryPriceListId:
          type: integer
          format: int32
        PrimaryPriceListName:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
    PromotionModel:
      type: object
      properties:
        Requirements:
          type: array
          items:
            $ref: '#/components/schemas/PromotionRequirementSettingModel'
        Effects:
          type: array
          items:
            $ref: '#/components/schemas/PromotionEffectSettingModel'
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
          description: Read only inherited name
        IsNameInherited:
          type: boolean
        SubHeader:
          type: string
        DefaultSubHeader:
          type: string
          description: Read only inherited sub header
        IsSubHeaderInherited:
          type: boolean
        SubDescription:
          type: string
        DefaultSubDescription:
          type: string
          description: Read only inherited sub description
        IsSubDescriptionInherited:
          type: boolean
        DescriptionHeader:
          type: string
        DefaultDescriptionHeader:
          type: string
          description: Read only inherited description header
        IsDescriptionHeaderInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
          description: Read only inherited description
        IsDescriptionInherited:
          type: boolean
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ImageUrl:
          type: string
          description: Read only full image url at CDN
        Code:
          type: string
        ExclusivityType:
          type: string
          description: >-
            Exclusive promotion type: NotExclusive, Exclusive,
            IgnoreExclusivity. Default is NotExclusive
        StartDate:
          type: string
          format: date-time
        EndDate:
          type: string
          format: date-time
        CountLeft:
          type: integer
          description: Read only value that shows count left when AllowedUsageCount is set
          format: int32
        AllowedUsageCount:
          type: integer
          format: int32
        UsageCount:
          type: integer
          description: >-
            Read only value that shows how many times this promotion has been
            used
          format: int32
        UniqueUserUsageCount:
          type: integer
          format: int32
        UniqueDiscountCodeCount:
          type: integer
          description: Read only value that shows count of unique discount codes
          format: int32
        UniqueDiscountCodeUsedCount:
          type: integer
          description: Read only value that shows count of used unique discount codes
          format: int32
        TotalOrder:
          type: number
          description: >-
            Read only value that shows total order value of orders where
            promotion was used
          format: double
        TotalDiscount:
          type: number
          description: >-
            Read only value that shows total order discount of orders where
            promotion was used
          format: double
        DiscountPercentage:
          type: number
          description: >-
            Read only value that shows discount percentage for rows where
            promotion was used
          format: double
        MarginPercentage:
          type: number
          description: >-
            Read only value that shows total order margin of orders where
            promotion was used
          format: double
        IsStackable:
          type: boolean
        IsProductReq:
          type: boolean
        ExcludeFromPriceCalculation:
          type: boolean
        Status:
          type: string
          description: 'Promotion status: Inactive, Active, Draft. Default is Inactive'
        CurrencyCode:
          type: string
        StoppedDate:
          type: string
          description: Read only value that shows when a promotion was inactivated
          format: date-time
        StoppedBy:
          type: integer
          description: Read only value that shows who inactivated promotion
          format: int32
        StoppedByName:
          type: string
          description: Read only value that shows who inactivated promotion
        Created:
          type: string
          description: Read only value that shows when promotion was created
          format: date-time
        CreatedByName:
          type: string
          description: Read only value that shows who created this promotion
        Changed:
          type: string
          description: Read only value that shows when promotion was changed
        ChangedBy:
          type: string
          description: Read only value that shows who changed this promotion
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/PromotionCultureModel'
    PromotionRequirementSettingModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        RequirementType:
          type: string
          description: "Requirement type can have one of the following values: BasketTotal, ProductFilter, ProductManufacturer, ProductCategory,\r\nProductFlag, ProductPriceList, ProductType, DiscountCode, UniqueDiscountCode, CustomerFlag, CompanyFlag"
        DiscountCode:
          type: string
        ValueType:
          type: string
          description: >-
            Read only value that is set depending on if OrderSum is set or not.
            Will be OrderSum if any OrderSum value is set and Quantity when not.
        OrderSumType:
          type: string
          description: >-
            Read only vaue that is set depending on if OrderSum and/or
            OrderSumMax is set. Can be Above when only OrderSum is set, Below
            when only OrderSumMax or Between.
        OrderSum:
          type: number
          format: double
        OrderSumMax:
          type: number
          format: double
        IsIncVat:
          type: boolean
        ProductsIncluded:
          type: string
          description: "Determines how rows in ProductList is handled, default value is \"And\". All rows need to be valid when set to \"And\".\r\nAt least one row need to be valid when set to \"Or\". No row can be valid when set to \"Not\"."
        CustomerFlagId:
          type: integer
          format: int32
        CustomerFlagName:
          type: string
        IsCustomerFlagIncluded:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        ProductList:
          type: array
          items:
            $ref: '#/components/schemas/PromotionRequirementProductListModel'
        Changed:
          type: string
        ChangedBy:
          type: string
        MatchByEachPartNo:
          type: boolean
        GenericQty:
          type: number
          format: double
        GenericQtyMax:
          type: number
          format: double
    PromotionEffectSettingModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        EffectType:
          type: string
          description: "Effect type can have one of the following values: DiscountBasket, ProductFilter, ProductManufacturer,\r\nProductCategory, ProductFlag, ProductPriceList, ProductType, DiscountFreight, AddProduct, SelectProduct"
        IsDiscount:
          type: boolean
          description: Price sale discount when true and Cost plus Value when false
        IsFixedPrice:
          type: boolean
          description: Fixed price discount when true and percentage when false
        Value:
          type: number
          description: >-
            Fixed price discount when IsFixedPrice is true, percentage discount
            when IsFixedPrice is false.
          format: double
        IsIncVat:
          type: boolean
        IgnoreNonDiscountable:
          type: boolean
        DiscountMostExpensiveItems:
          type: boolean
        SortOrder:
          type: integer
          format: int32
        UseRequirementProducts:
          type: boolean
        GenericQty:
          type: number
          format: double
        ProductList:
          type: array
          items:
            $ref: '#/components/schemas/PromotionEffectProductListModel'
        Changed:
          type: string
        ChangedBy:
          type: string
    PromotionRequirementProductListModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        ManufacturerId:
          type: integer
          format: int32
        ManufacturerCode:
          type: string
        ManufacturerName:
          type: string
        CategoryId:
          type: integer
          format: int32
        CategoryCode:
          type: string
        CategoryName:
          type: string
        FlagId:
          type: integer
          format: int32
        FlagCode:
          type: string
        FlagName:
          type: string
        IsFlagInclusive:
          type: boolean
        PriceListId:
          type: integer
          format: int32
        PriceListCode:
          type: string
        PriceListName:
          type: string
        ProductTypeId:
          type: integer
          format: int32
        ProductTypeName:
          type: string
        ProductId:
          type: integer
          format: int32
        ProductHasVariants:
          type: boolean
        ProductName:
          type: string
        VariantProductId:
          type: integer
          format: int32
        VariantProductName:
          type: string
        PartNo:
          type: string
        Qty:
          type: integer
          format: int32
        Changed:
          type: string
        ChangedBy:
          type: string
    PromotionEffectProductListModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        ManufacturerId:
          type: integer
          format: int32
        ManufacturerCode:
          type: string
        ManufacturerName:
          type: string
        CategoryId:
          type: integer
          format: int32
        CategoryCode:
          type: string
        CategoryName:
          type: string
        FlagId:
          type: integer
          format: int32
        FlagCode:
          type: string
        FlagName:
          type: string
        IsFlagInclusive:
          type: boolean
        PriceListId:
          type: integer
          format: int32
        PriceListCode:
          type: string
        PriceListName:
          type: string
        ProductTypeId:
          type: integer
          format: int32
        ProductTypeName:
          type: string
        ProductId:
          type: integer
          format: int32
        ProductHasVariants:
          type: boolean
        ProductName:
          type: string
        VariantProductId:
          type: integer
          format: int32
        VariantProductName:
          type: string
        PartNo:
          type: string
          description: PartNo is only used for AddProduct and SelectProduct effect type
        Qty:
          type: integer
          format: int32
        IsDiscount:
          type: boolean
          description: Price sale discount when true and Cost plus Value when false
        IsFixedPrice:
          type: boolean
          description: Fixed price discount when true and percentage when false
        Value:
          type: number
          description: >-
            Fixed price discount when IsFixedPrice is true, percentage discount
            when IsFixedPrice is false.
          format: double
        IsIncVat:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    PromotionUniqueDiscountCodeModel:
      type: object
      properties:
        DiscountCode:
          type: string
        Created:
          type: string
          format: date-time
        IsClaimed:
          type: boolean
        DateClaimed:
          type: string
          format: date-time
        QuotationId:
          type: integer
          format: int32
        ClaimedFromSource:
          type: string
    ApplicationModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Key:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        Name:
          type: string
        Description:
          type: string
        HostClientId:
          type: integer
          format: int32
        Url:
          type: string
        ProductUrl:
          type: string
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    ApplicationCountryModel:
      type: object
      properties:
        Id:
          type: integer
          description: Country id
          format: int32
        Name:
          type: string
          description: Readonly country name
        IsPrimary:
          type: boolean
          description: >-
            Primary application country. Must be set for one of the active
            countries.
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    ApplicationCultureModel:
      type: object
      properties:
        Name:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
        CultureCode:
          type: string
        IsPrimary:
          type: boolean
        IsActive:
          type: boolean
    UpdateApplicationCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsPrimary:
          type: boolean
        IsActive:
          type: boolean
    ApplicationCurrencyModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
          description: Read only name from core
        IsActive:
          type: boolean
        IsPrimary:
          type: boolean
        ExchangeRate:
          type: number
          description: Read only exchange rate from ClientCurrency.
          format: double
        Changed:
          type: string
        ChangedBy:
          type: string
    ApplicationSalesAreaModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        IsPrimary:
          type: boolean
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    ClientAssortmentModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        Code:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ClientAssortmentCultureModel'
    ClientAssortmentCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        IsTranslated:
          type: boolean
    ClientCurrencyModel:
      type: object
      properties:
        Code:
          type: string
        Name:
          type: string
        InheritedExchangeRate:
          type: number
          format: double
        Changed:
          type: string
        ChangedBy:
          type: string
        Id:
          type: integer
          format: int32
        IsExchangeRateInherited:
          type: boolean
        ExchangeRate:
          type: number
          format: double
    UpdateClientCurrencyModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        IsExchangeRateInherited:
          type: boolean
        ExchangeRate:
          type: number
          format: double
    ClientSalesAreaModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        Code:
          type: string
        IsPrimary:
          type: boolean
        VatCodes:
          type: array
          items:
            $ref: '#/components/schemas/ClientSalesAreaVatCodeModel'
        PrimaryVatCodeId:
          type: integer
          format: int32
        Changed:
          type: string
        ChangedBy:
          type: string
    ClientSalesAreaVatCodeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        Value:
          type: number
          format: double
    ShoppingInfoTypeModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        GroupId:
          type: integer
          format: int32
        Code:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        DataType:
          type: string
        SortOrder:
          type: integer
          format: int32
        IsActive:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/ShoppingInfoTypeCultureModel'
    ShoppingInfoTypeCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        IsTranslated:
          type: boolean
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
    StoreModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        DivisionCode:
          type: string
        Name:
          type: string
        DefaultName:
          type: string
        IsNameInherited:
          type: boolean
        GroupName:
          type: string
        DefaultGroupName:
          type: string
        IsGroupNameInherited:
          type: boolean
        SubGroupName:
          type: string
        DefaultSubGroupName:
          type: string
        IsSubGroupNameInherited:
          type: boolean
        Description:
          type: string
        DefaultDescription:
          type: string
        IsDescriptionInherited:
          type: boolean
        UniqueUrlName:
          type: string
        DefaultUniqueUrlName:
          type: string
        IsUniqueUrlNameInherited:
          type: boolean
        IsUniqueUrlNameManuallyMaintained:
          type: boolean
        ImageKey:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        Key:
          type: string
          format: uuid
          example: 00000000-0000-0000-0000-000000000000
        ImageUrl:
          type: string
        IsPublic:
          type: boolean
        IsActive:
          type: boolean
        EmailAddress:
          type: string
        PhoneNumber:
          type: string
        FaxNumber:
          type: string
        AddressLine1:
          type: string
        AddressLine2:
          type: string
        ZipCode:
          type: string
        Longitude:
          type: number
          format: double
        City:
          type: string
        CountryId:
          type: integer
          format: int32
        OpenHoursWeekday:
          type: string
        OpenHoursSaturday:
          type: string
        OpenHoursSunday:
          type: string
        Region:
          type: string
        Latitude:
          type: number
          format: double
        Infos:
          type: array
          items:
            $ref: '#/components/schemas/InfoModel'
        Changed:
          type: string
        ChangedBy:
          type: string
        Cultures:
          type: array
          items:
            $ref: '#/components/schemas/DivisionCultureModel'
    DivisionCultureModel:
      type: object
      properties:
        CultureCode:
          type: string
        Name:
          type: string
        IsNameInherited:
          type: boolean
        Description:
          type: string
        IsDescriptionInherited:
          type: boolean
        GroupName:
          type: string
        IsGroupNameInherited:
          type: boolean
        SubGroupName:
          type: string
        IsSubGroupNameInherited:
          type: boolean
        UniqueUrlName:
          type: string
        IsUniqueUrlNameInherited:
          type: boolean
        IsTranslated:
          type: boolean
    StoreApplicationModel:
      type: object
      properties:
        DivisionId:
          type: integer
          format: int32
        ApplicationId:
          type: integer
          format: int32
        Name:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
    StorePriceListModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        DivisionId:
          type: integer
          format: int32
        Name:
          type: string
        Code:
          type: string
        Start:
          type: string
          format: date-time
        End:
          type: string
          format: date-time
        Changed:
          type: string
        ChangedBy:
          type: string
    StoreWarehouseModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        DivisionId:
          type: integer
          format: int32
        Name:
          type: string
        LocationId:
          type: integer
          format: int32
        LocationName:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
    SupplierModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        CorporationId:
          type: integer
          format: int32
        Name:
          type: string
        Code:
          type: string
        CountryId:
          type: integer
          format: int32
        CountryName:
          type: string
        IsPurchaseIntegrated:
          type: boolean
        IsPurchaseManual:
          type: boolean
        IsActive:
          type: boolean
        Feed:
          type: boolean
        LastDocumentImported:
          type: string
          format: date-time
        OrganizationNo:
          type: string
        CodePrefix:
          type: string
        CareOf:
          type: string
        AddressLine1:
          type: string
        AddressLine2:
          type: string
        City:
          type: string
        ZipCode:
          type: string
        Region:
          type: string
        Changed:
          type: string
        ChangedBy:
          type: string
        EmailAddress:
          type: string
        PhoneNumber:
          type: string
        AccountNo:
          type: string
        Website:
          type: string
        ChosenSupplierSupplementChargePercentage:
          type: number
          format: double
        ChosenSupplierPenaltyCharge:
          type: number
          format: double
        ChosenSupplierPenaltyChargePercentage:
          type: number
          format: double
        PurchaseCutoff:
          type: string
        CurrencyId:
          type: integer
          format: int32
        CurrencyCode:
          type: string
        CurrencyName:
          type: string
        ErrorCommunicationValue:
          type: string
        ErrorCommunicationTypeId:
          type: integer
          format: int32
        IsChosenSupplierEnabled:
          type: boolean
        AutoMapManufacturers:
          type: boolean
        AutoCreateManufacturers:
          type: boolean
        Infos:
          type: array
          items:
            $ref: '#/components/schemas/InfoModel'
    SupplierPriceListModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        SupplierId:
          type: integer
          format: int32
        SupplierName:
          type: string
        Name:
          type: string
        Code:
          type: string
        Description:
          type: string
        CurrencyId:
          type: integer
          format: int32
        CurrencyName:
          type: string
        CurrencyCode:
          type: string
        Contact:
          type: string
        Comment:
          type: string
        EndCustomer:
          type: string
        ManufacturerId:
          type: integer
          format: int32
        StartDate:
          type: string
          format: date-time
        EndDate:
          type: string
          format: date-time
        IsManuallyMaintained:
          type: boolean
        IsActive:
          type: boolean
        IsPrimary:
          type: boolean
        ManufacturerCode:
          type: string
        IsSpecialTerms:
          type: boolean
        Changed:
          type: string
        ChangedBy:
          type: string
    SupplierPriceListWarehouseModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        Name:
          type: string
        LocationId:
          type: integer
          format: int32
        LocationName:
          type: string
        SupplierId:
          type: integer
          format: int32
        PriceListId:
          type: integer
          format: int32
        Changed:
          type: string
        ChangedBy:
          type: string
    SupplierWarehouseModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        SupplierId:
          type: integer
          format: int32
        Name:
          type: string
        CostBlock:
          type: integer
          format: int32
        FreightCost:
          type: number
          format: double
        MinimumOrderValue:
          type: number
          format: double
        MinimumOrderValueCost:
          type: number
          format: double
        StandardLeadTimeDayCount:
          type: integer
          format: int32
        TransferMethodValue:
          type: string
        IgnoreStock:
          type: boolean
        IsStandard:
          type: boolean
        IsActive:
          type: boolean
        LastImported:
          type: string
          format: date-time
        NextExpectedDate:
          type: string
          format: date-time
        TransferMethodId:
          type: integer
          format: int32
        Changed:
          type: string
        ChangedBy:
          type: string
    SupplierWarehouseLocationModel:
      type: object
      properties:
        Id:
          type: integer
          format: int32
        SupplierId:
          type: integer
          format: int32
        WarehouseId:
          type: integer
          format: int32
        Name:
          type: string
        CostBlock:
          type: integer
          format: int32
        FreightCost:
          type: number
          format: double
        MinimumOrderValue:
          type: number
          format: double
        MinimumOrderValueCost:
          type: number
          format: double
        StandardLeadTimeDayCount:
          type: integer
          format: int32
        TransferMethodValue:
          type: string
        IsStandard:
          type: boolean
        IgnoreStock:
          type: boolean
        LastImported:
          type: string
          format: date-time
        NextExpectedDate:
          type: string
          format: date-time
        TransferMethodId:
          type: integer
          format: int32
        Changed:
          type: string
        ChangedBy:
          type: string
x-original-swagger-version: '2.0'
