info:
  title: InkCloud API
  description: Documentation of the main Ink Cloud API
  version: 1.0.0
  x-logo:
    url: >-
      https://inkcloud9.com/static/ic-logo-clean-sm-363f63da3f3d3e2dbe43d943ca2aeb44.png
    alt: InkCloud
servers:
  - url: https://api.inkcloud9.com
    description: Production API
  - url: https://api-stg.inkcloud9.com
    description: Staging API
paths:
  /authentication:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - authentication
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /authentication/{id}:
    delete:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - authentication
      security: []
  /user/auth-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: userAuthLog
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              email:
                type: string
              authResult:
                type: boolean
              ip:
                type: string
              httpUserAgent:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - email
              - authResult
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAuthLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user/auth-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAuthLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAuthLog'
  /user/auth-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of userAuthLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - user
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/user/auth-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of userAuthLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAuthLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of userAuthLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAuthLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/user/auth-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","email":"string","authResult":true,"ip":"string","httpUserAgent":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of userAuthLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - user
      security: []
  /user:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: user
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              firstName:
                type: string
              lastName:
                type: string
              email:
                type: string
              password:
                type: string
              phone:
                type: string
              phoneExt:
                type: string
              auth0:
                type: string
              humanId:
                type: number
              type:
                type: string
                enum:
                  - dashboard
                  - artwork-transporter
                  - vendor
                  - api
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              roles:
                type: array
                items:
                  type: string
              roles2:
                type: array
                items:
                  type: string
                  x-ref: userRoles
                  description: Refers to userRoles
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - firstName
              - lastName
              - email
              - password
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user'
  /user/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of user to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - user
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/user/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of user to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of user to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/user/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","phoneExt":"string","auth0":"string","humanId":0,"type":"dashboard","vendor":"string","roles":["string"],"roles2":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of user to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - user
      security: []
  /clear-cache/calculator:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - clear-cache
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/clear-cache/calculator?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /rules-engine/definitions:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - rules-engine
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/rules-engine/definitions?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /rules-engine/definitions/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - rules-engine
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/rules-engine/definitions/%7Bid%7D
  /rules-engine/rules:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: rulesEngineRules
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              engineKey:
                type: string
                enum:
                  - production-channel
                  - imposition-sheet
                  - product-resolving
              rootOperator:
                type: string
                enum:
                  - all
                  - any
              conditions:
                type: array
                items:
                  title: itemOf_conditions
                  type: object
                  properties:
                    rootOperator:
                      type: string
                      enum:
                        - all
                        - any
                    conditions:
                      type: array
                      items:
                        title: itemOf_conditions
                        type: object
                        properties:
                          fact:
                            type: string
                          params: {}
                          path:
                            type: string
                          operator:
                            type: string
                          value: {}
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - fact
                          - operator
                          - value
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - rootOperator
              event:
                title: event
                type: object
                properties:
                  type:
                    type: string
                  params: {}
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - type
              priority:
                type: number
              deleted:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - rootOperator
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rulesEngineRules_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - rules-engine
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/rules-engine/rules?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rulesEngineRules'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rules-engine
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rulesEngineRules'
  /rules-engine/rules/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of rulesEngineRules to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rulesEngineRules'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - rules-engine
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/rules-engine/rules/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of rulesEngineRules to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rulesEngineRules'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - rules-engine
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rulesEngineRules'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of rulesEngineRules to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rulesEngineRules'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - rules-engine
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rulesEngineRules'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/rules-engine/rules/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","engineKey":"production-channel","rootOperator":"all","conditions":[{"rootOperator":"all","conditions":[{"fact":"string","params":null,"path":"string","operator":"string","value":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"event":{"type":"string","params":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"priority":0,"deleted":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of rulesEngineRules to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rulesEngineRules'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - rules-engine
      security: []
  /rules-engine:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rules-engine
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customer-link-token:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-link-token
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order_notes:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: order_notes
            type: object
            properties:
              order:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              notes:
                type: string
              uploads:
                type: array
                items:
                  title: itemOf_uploads
                  type: object
                  properties:
                    content:
                      type: string
                    flag:
                      type: string
                    userType:
                      type: string
                    noteType:
                      type: string
                    salesPersonUser:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - content
                    - flag
                    - salesPersonUser
              isComplete:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/order_notes_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - order_notes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/order_notes?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/order_notes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order_notes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/order_notes'
  /order_notes/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of order_notes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/order_notes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - order_notes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/order_notes/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of order_notes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/order_notes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - order_notes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/order_notes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of order_notes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/order_notes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - order_notes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/order_notes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/order_notes/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"order":"string","notes":"string","uploads":[{"content":"string","flag":"string","userType":"string","noteType":"string","salesPersonUser":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string"}],"isComplete":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of order_notes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/order_notes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - order_notes
      security: []
  /payments/invites:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: paymentInvites
            type: object
            properties:
              business:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              invoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              inviteKey:
                type: string
              expiresAt:
                type: string
                format: date-time
              isDeleted:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
              - customer
              - inviteKey
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentInvites_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/payments/invites?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentInvites'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentInvites'
  /payments/invites/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of paymentInvites to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentInvites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/payments/invites/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of paymentInvites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentInvites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentInvites'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of paymentInvites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentInvites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentInvites'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/payments/invites/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","invoice":"string","inviteKey":"string","expiresAt":"2019-08-24T14:15:22Z","isDeleted":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of paymentInvites to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentInvites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - payments
      security: []
  /payments/applied?invoice=:invoiceId:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: paymentAppliedRecords
            type: object
            properties:
              business:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeCustomer:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              payment:
                type: string
                x-ref: payments
                description: Refers to payments
                pattern: ^[0-9a-fA-F]{24}$
              invoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
              - customer
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/payments/applied?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE&invoice=%3AinvoiceId'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentAppliedRecords'
  /payments/applied?invoice=:invoiceId/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/payments/applied?invoice=%3AinvoiceId%2F%7B_id%7D'
    put:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentAppliedRecords'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentAppliedRecords'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url 'https://api.inkcloud9.com/payments/applied?invoice=%3AinvoiceId%2F%7B_id%7D' \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","micrositeCustomer":"string","payment":"string","invoice":"string","amount":0,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - payments
      security: []
  /payments/applied:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: paymentAppliedRecords
            type: object
            properties:
              business:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeCustomer:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              payment:
                type: string
                x-ref: payments
                description: Refers to payments
                pattern: ^[0-9a-fA-F]{24}$
              invoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
              - customer
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/payments/applied?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentAppliedRecords'
  /payments/applied/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/payments/applied/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentAppliedRecords'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/paymentAppliedRecords'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/payments/applied/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","micrositeCustomer":"string","payment":"string","invoice":"string","amount":0,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of paymentAppliedRecords to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/paymentAppliedRecords'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - payments
      security: []
  /payments:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: payments
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeCustomer:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              parentPayment:
                type: string
                x-ref: payments
                description: Refers to payments
                pattern: ^[0-9a-fA-F]{24}$
              appliedRecords:
                type: string
                x-ref: appliedRecords
                description: Refers to appliedRecords
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              adapterKey:
                type: string
              transactionId:
                type: string
              transactionTag:
                type: string
              type:
                type: string
              method:
                type: string
              description:
                type: string
              ccLastFour:
                type: string
              ccExpiryMonth:
                type: string
              ccExpiryYear:
                type: string
              ccBrand:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              verifiedStatus:
                type: string
                enum:
                  - not-verified
                  - verified
              verifiedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              verifiedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              verifiedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
              - customer
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/payments_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/payments?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/payments'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/payments'
  /payments/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of payments to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/payments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - payments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/payments/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of payments to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/payments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/payments'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of payments to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/payments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/payments'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/payments/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","humanId":"string","microsite":"string","customer":"string","micrositeCustomer":"string","parentPayment":"string","appliedRecords":"string","amount":0,"adapterKey":"string","transactionId":"string","transactionTag":"string","type":"string","method":"string","description":"string","ccLastFour":"string","ccExpiryMonth":"string","ccExpiryYear":"string","ccBrand":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","verifiedStatus":"not-verified","verifiedBy":"string","verifiedByModel":"user","verifiedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of payments to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/payments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - payments
      security: []
  /payments/controller:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payments-gateway/create-card:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payments-gateway/charge:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payments-gateway/void-refund:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payments-gateway/delete-card:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payments-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/stripe/create:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/stripe/charge:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/stripe/refund:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/stripe/delete:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/stripe/payment-intent:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/stripe/setup-intent:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/authorizeNet/create:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/authorizeNet/charge:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/authorizeNet/refund:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/authorizeNet/delete:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/firstData/charge:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/firstData/refund:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/create:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/charge:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/refund:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/delete:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /payment-gateway/v2/set-default-card:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - payment-gateway
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /credit-card-transactions:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: creditCardTransactions
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeCustomer:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
                enum:
                  - CHARGE
                  - REFUND
              amount:
                type: number
              transactionResult:
                type: boolean
              transactionId:
                type: string
              transactionType:
                type: string
              message:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
              - customer
              - type
              - amount
              - transactionResult
              - message
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditCardTransactions_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - credit-card-transactions
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/credit-card-transactions?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditCardTransactions'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - credit-card-transactions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/creditCardTransactions'
  /credit-card-transactions/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of creditCardTransactions to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - credit-card-transactions
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/credit-card-transactions/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of creditCardTransactions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - credit-card-transactions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/creditCardTransactions'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of creditCardTransactions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - credit-card-transactions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/creditCardTransactions'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/credit-card-transactions/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","customer":"string","micrositeCustomer":"string","type":"CHARGE","amount":0,"transactionResult":true,"transactionId":"string","transactionType":"string","message":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of creditCardTransactions to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - credit-card-transactions
      security: []
  /invoices:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: invoices
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              previousInvoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              appliedCoupon:
                type: string
                x-ref: promoCodes
                description: Refers to promoCodes
                pattern: ^[0-9a-fA-F]{24}$
              salesPerson:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              subtotal:
                type: number
              shipping:
                type: number
              salesTax:
                type: number
              discount:
                type: number
              total:
                type: number
              isExported:
                type: boolean
                default: false
              isClosed:
                type: boolean
                default: false
              isVoid:
                type: boolean
                default: false
              foreignId:
                type: string
              tags:
                type: array
                items:
                  type: string
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              costCenter:
                type: string
              billingAddress:
                title: billingAddress
                type: object
                properties:
                  companyName:
                    type: string
                  name:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  phoneNumber:
                    type: string
              deleted:
                type: boolean
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              openAmount:
                type: number
              paidAmount:
                type: number
                default: 0
              dueDate:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
              - customer
              - order
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoices_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - invoices
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/invoices?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoices'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoices'
  /invoices/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of invoices to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - invoices
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/invoices/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of invoices to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoices'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of invoices to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoices'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/invoices/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","order":"string","previousInvoice":"string","appliedCoupon":"string","salesPerson":"string","humanId":0,"subtotal":0,"shipping":0,"salesTax":0,"discount":0,"total":0,"isExported":false,"isClosed":false,"isVoid":false,"foreignId":"string","tags":["string"],"microsite":"string","micrositeUser":"string","costCenter":"string","billingAddress":{"companyName":"string","name":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","phoneNumber":"string"},"deleted":true,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","openAmount":0,"paidAmount":0,"dueDate":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of invoices to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - invoices
      security: []
  /invoices/adjuster:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /invoices/adjust-with-payment:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /invoices/adjust-shipping/v2:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /invoices/make-payment-multiple:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /invoices/full-refund/v2:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /invoices/email:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /invoice-line-items/unpage/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - invoice-line-items
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/invoice-line-items/unpage/%7Bid%7D
  /invoice-line-items:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: invoiceItem
            type: object
            properties:
              invoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              description:
                type: string
              amount:
                type: number
              tax:
                type: number
              isTaxable:
                type: boolean
                default: false
              referenceType:
                type: string
              referenceId:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - invoice
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoiceItem_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - invoice-line-items
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/invoice-line-items?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoiceItem'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - invoice-line-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoiceItem'
  /invoice-line-items/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of invoiceItem to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoiceItem'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - invoice-line-items
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/invoice-line-items/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of invoiceItem to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoiceItem'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - invoice-line-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoiceItem'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of invoiceItem to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoiceItem'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - invoice-line-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/invoiceItem'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/invoice-line-items/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"invoice":"string","description":"string","amount":0,"tax":0,"isTaxable":false,"referenceType":"string","referenceId":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of invoiceItem to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/invoiceItem'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - invoice-line-items
      security: []
  /customers/auth:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/reset-password:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/password:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/{customerId}/credit-card-tokens/{tokenId?}:
    post:
      parameters:
        - in: path
          name: customerId
          schema:
            type: string
          required: true
          description: customerId parameter
        - in: path
          name: tokenId?
          schema:
            type: string
          required: true
          description: tokenId? parameter
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/{customerId}/credit-card-tokens/{tokenId?}/{id}:
    patch:
      parameters:
        - in: path
          name: customerId
          schema:
            type: string
          required: true
          description: customerId parameter
        - in: path
          name: tokenId?
          schema:
            type: string
          required: true
          description: tokenId? parameter
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url 'https://api.inkcloud9.com/customers/%7BcustomerId%7D/credit-card-tokens/%7BtokenId?%7D%2F%7Bid%7D=' \
              --header 'content-type: application/json' \
              --data '{}'
    delete:
      parameters:
        - in: path
          name: customerId
          schema:
            type: string
          required: true
          description: customerId parameter
        - in: path
          name: tokenId?
          schema:
            type: string
          required: true
          description: tokenId? parameter
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customers
      security: []
  /customers/set-default-card:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customer/auth-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customerAuthLog
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              email:
                type: string
              authResult:
                type: boolean
              ip:
                type: string
              httpUserAgent:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - email
              - authResult
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerAuthLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customer
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customer/auth-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerAuthLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerAuthLog'
  /customer/auth-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customerAuthLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customer
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customer/auth-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customerAuthLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerAuthLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customerAuthLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerAuthLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/customer/auth-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","email":"string","authResult":true,"ip":"string","httpUserAgent":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customerAuthLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerAuthLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customer
      security: []
  /customers/notes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/approve:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/credit-card-tokens:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customers
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customers/credit-card-tokens?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /customers/credit-card-tokens/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customers
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customers/credit-card-tokens/%7Bid%7D
  /customers/local-delivery-addresses:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customers
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customers/local-delivery-addresses?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/local-delivery-addresses/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customers
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customers/local-delivery-addresses/%7Bid%7D
    patch:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/customers/local-delivery-addresses/%7Bid%7D \
              --header 'content-type: application/json' \
              --data '{}'
    delete:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customers
      security: []
  /customer/login-as-user:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customers
            type: object
            properties:
              organizationName:
                type: string
              primaryContact:
                title: primaryContact
                type: object
                properties:
                  firstName:
                    type: string
                  lastName:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              salesPerson:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              manager:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              countryCode:
                type: string
              coords:
                type: array
                items:
                  type: number
              phone:
                type: string
              addressGeocodeComplete:
                type: boolean
                default: false
              shipToAddress:
                title: shipToAddress
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  coords:
                    type: array
                    items:
                      type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - name
                  - address1
                  - countryCode
              shipFromAddress:
                title: shipFromAddress
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  coords:
                    type: array
                    items:
                      type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - name
                  - address1
                  - countryCode
              localDeliveryAddress:
                title: localDeliveryAddress
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  coords:
                    type: array
                    items:
                      type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - name
                  - address1
                  - countryCode
              isLocalDeliveryApproved:
                type: boolean
                default: false
              localDeliveryAddresses:
                type: array
                items:
                  title: itemOf_localDeliveryAddresses
                  type: object
                  properties:
                    name:
                      type: string
                    careOf:
                      type: string
                    address1:
                      type: string
                    address2:
                      type: string
                    city:
                      type: string
                    stateProvince:
                      type: string
                    postalCode:
                      type: string
                    countryCode:
                      type: string
                    coords:
                      type: array
                      items:
                        type: number
                    status:
                      type: string
                      enum:
                        - pending-approval
                        - approved
                        - rejected
                      default: pending-approval
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - name
                    - address1
                    - countryCode
              isApproved:
                type: boolean
              isDisabled:
                type: boolean
                default: false
              isTaxExemptApproved:
                type: boolean
                default: false
              marketingOptIn:
                type: boolean
                default: false
              resalePermitNumber:
                type: string
              abn:
                type: string
              taxCloudExemptId:
                type: string
              foreignId:
                type: string
              paymentAdapterProfileId:
                type: string
              creditCardTokens:
                type: array
                items:
                  title: itemOf_creditCardTokens
                  type: object
                  properties:
                    cardType:
                      type: string
                    lastFour:
                      type: string
                    expirationDate:
                      type: string
                      format: date-time
                    isDefault:
                      type: boolean
                      default: false
                    adapterKey:
                      type: string
                    paymentProfileId:
                      type: string
                    adapterProfileId:
                      type: string
                    stripePaymentMethod:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              email:
                type: string
              password:
                type: string
              priceListId:
                type: string
                x-ref: priceListsLegacy
                description: Refers to priceListsLegacy
                pattern: ^[0-9a-fA-F]{24}$
              billingClientName:
                type: string
              billingClientId:
                type: string
              firstOrderAt:
                type: string
                format: date-time
              lastOrderAt:
                type: string
                format: date-time
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _metadata:
                type: array
                items:
                  title: itemOf__metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              platform:
                type: string
              platformOther:
                type: string
              tags:
                type: array
                items:
                  type: string
              notificationPreference:
                type: string
                enum:
                  - email
                  - sms
                default: email
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
              id: {}
            required:
              - business
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customers_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customers
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customers?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customers'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customers'
  /customers/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customers to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customers
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customers/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customers to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customers'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customers to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customers'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/customers/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"organizationName":"string","primaryContact":{"firstName":"string","lastName":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"business":"string","salesPerson":"string","manager":"string","humanId":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"phone":"string","addressGeocodeComplete":false,"shipToAddress":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"shipFromAddress":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"localDeliveryAddress":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"isLocalDeliveryApproved":false,"localDeliveryAddresses":[{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"status":"pending-approval","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isApproved":true,"isDisabled":false,"isTaxExemptApproved":false,"marketingOptIn":false,"resalePermitNumber":"string","abn":"string","taxCloudExemptId":"string","foreignId":"string","paymentAdapterProfileId":"string","creditCardTokens":[{"cardType":"string","lastFour":"string","expirationDate":"2019-08-24T14:15:22Z","isDefault":false,"adapterKey":"string","paymentProfileId":"string","adapterProfileId":"string","stripePaymentMethod":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"email":"string","password":"string","priceListId":"string","billingClientName":"string","billingClientId":"string","firstOrderAt":"2019-08-24T14:15:22Z","lastOrderAt":"2019-08-24T14:15:22Z","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"platform":"string","platformOther":"string","tags":["string"],"notificationPreference":"email","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0,"id":null}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customers to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customers
      security: []
  /order-items/assign-designer:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items/turnaround:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items/vendor:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items/bulk-status-change:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items/status-changer/{id}:
    put:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items/create:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items/notes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items/message-thread:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /order-items:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: orderItems
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              accountManager:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              customerJobName:
                type: string
              poHumanId:
                type: string
              projectCode:
                type: string
              customerNotes:
                type: string
              isCustom:
                type: boolean
                default: false
              isCustomTrim:
                type: boolean
                default: false
              customTrimWidth:
                type:
                  - number
                  - 'null'
                default: null
              customTrimHeight:
                type:
                  - number
                  - 'null'
                default: null
              orientation:
                type: string
                enum:
                  - landscape
                  - portrait
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              description:
                type: string
              quantity:
                type:
                  - number
                  - 'null'
                default: null
              width:
                type:
                  - number
                  - 'null'
                default: null
              height:
                type:
                  - number
                  - 'null'
                default: null
              weight:
                type:
                  - number
                  - 'null'
                default: null
              length:
                type: number
              depth:
                type: number
              cartonType:
                type: string
                x-ref: cartonTypes
                description: Refers to cartonTypes
                pattern: ^[0-9a-fA-F]{24}$
              cartonTypeName:
                type: string
              isShippable:
                type: boolean
                default: true
              timeMin:
                type:
                  - number
                  - 'null'
                default: null
              timeMax:
                type:
                  - number
                  - 'null'
                default: null
              estimatedCompletionDate:
                type: string
                format: date-time
              dueDate:
                type: string
                format: date-time
              pricingMethod:
                type:
                  - number
                  - 'null'
                default: null
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              messageThread:
                type: array
                items:
                  title: itemOf_messageThread
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    attachments:
                      type: array
                      items:
                        type: string
                        x-ref: uploadsGeneral
                        description: Refers to uploadsGeneral
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    author:
                      title: author
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - customer
                            - tenant
                            - translator
                        user:
                          type: string
                          x-ref: user
                          description: Refers to user
                          pattern: ^[0-9a-fA-F]{24}$
                        customer:
                          type: string
                          x-ref: customers
                          description: Refers to customers
                          pattern: ^[0-9a-fA-F]{24}$
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                    noteToSelf:
                      type: boolean
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              isGraphicDesignRequested:
                type: boolean
                default: false
              isArtworkTemplateGenerated:
                type: boolean
                default: false
              templateFrontId:
                type: string
              templateBackId:
                type: string
              isProofAttached:
                type: boolean
                default: false
              attachedProof:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              isDeleted:
                type: boolean
                default: false
              uploadSlots:
                type: array
                items:
                  title: itemOf_uploadSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    originalFilename:
                      type: string
                    originalFileSize:
                      type: string
                    isUploaded:
                      type: boolean
                      default: false
                    url:
                      type: string
                    thumbnailUrl:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              salesPerson:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              manager:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              productKey:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              fromCompositeProduct:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              fromCompositeQuantity:
                type:
                  - number
                  - 'null'
                default: null
              isOrderItemLimitExcluded:
                type: boolean
                default: false
              assignedDesigner:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              productionStatus:
                title: productionStatus
                type: object
                properties:
                  jobStatus:
                    type: string
                    x-ref: jobStatuses
                    description: Refers to jobStatuses
                  description:
                    type: string
                  secondaryStatus:
                    type: string
                    enum:
                      - started
                      - completed
                  statusCategory:
                    type: string
                  type:
                    type: string
                    enum:
                      - pending
                      - active
                      - resolution
                      - final
                  lastChangedAt:
                    type: string
                    format: date-time
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - jobStatus
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    addOnId:
                      type: string
                    primaryData:
                      type: string
                    secondaryData:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
                    - addOnId
              translator:
                title: translator
                type: object
                properties:
                  assigned:
                    type: string
                    x-ref: translators
                    description: Refers to translators
                  state:
                    type: string
                    enum:
                      - pending
                      - assigned
                      - accepted
                      - rejected
                    default: pending
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - assigned
              tags:
                type: array
                items:
                  type: string
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              intakeChannel:
                type: string
                x-ref: intakeChannels
                description: Refers to intakeChannels
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              approvalStatus:
                type: string
                enum:
                  - approved
                  - pending
                  - rejected
              arriveBy:
                type: string
              isPriority:
                type: boolean
              createdFromRfq:
                type: string
                x-ref: rfq
                description: Refers to rfq
                pattern: ^[0-9a-fA-F]{24}$
              isDigitalDelivery:
                type: boolean
                default: false
              productionNotes:
                type: string
              designTemplate:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              designTemplateSecondary:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              designTemplateFields:
                type: array
                items:
                  title: itemOf_designTemplateFields
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              designTemplateFieldset:
                type: string
                x-ref: designTemplateFieldset
                description: Refers to designTemplateFieldset
                pattern: ^[0-9a-fA-F]{24}$
              customFields:
                type: array
                items:
                  title: itemOf_customFields
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      title: artwork
                      type: object
                      properties:
                        originalFilename:
                          type: string
                        storageUrl:
                          type: string
                        uploadLog:
                          type: string
                          x-ref: uploadLog
                          description: Refers to uploadLog
                          pattern: ^[0-9a-fA-F]{24}$
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artwork:
                type: string
              itemType:
                type: string
                enum:
                  - stock
                  - on-demand
              turnaround:
                type: string
              miscUploads:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - customer
              - order
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orderItems_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - order-items
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/order-items?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orderItems'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/orderItems'
  /order-items/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of orderItems to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orderItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - order-items
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/order-items/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of orderItems to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orderItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/orderItems'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of orderItems to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orderItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - order-items
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/orderItems'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/order-items/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","order":"string","createdBy":"string","createdByModel":"user","accountManager":"string","humanId":"string","customerJobName":"string","poHumanId":"string","projectCode":"string","customerNotes":"string","isCustom":false,"isCustomTrim":false,"customTrimWidth":null,"customTrimHeight":null,"orientation":"landscape","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"description":"string","quantity":null,"width":null,"height":null,"weight":null,"length":0,"depth":0,"cartonType":"string","cartonTypeName":"string","isShippable":true,"timeMin":null,"timeMax":null,"estimatedCompletionDate":"2019-08-24T14:15:22Z","dueDate":"2019-08-24T14:15:22Z","pricingMethod":null,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"messageThread":[{"createdAt":"2019-08-24T14:15:22Z","content":"string","attachments":["string"],"author":{"type":"customer","user":"string","customer":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"noteToSelf":true,"_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"isGraphicDesignRequested":false,"isArtworkTemplateGenerated":false,"templateFrontId":"string","templateBackId":"string","isProofAttached":false,"attachedProof":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDeleted":false,"uploadSlots":[{"sequence":"string","upload":"string","originalFilename":"string","originalFileSize":"string","isUploaded":false,"url":"string","thumbnailUrl":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"salesPerson":"string","manager":"string","product":"string","productKey":"string","category":"string","fromCompositeProduct":"string","fromCompositeQuantity":null,"isOrderItemLimitExcluded":false,"assignedDesigner":"string","productionStatus":{"jobStatus":"string","description":"string","secondaryStatus":"started","statusCategory":"string","type":"pending","lastChangedAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"addOns":[{"id":"string","addOnId":"string","primaryData":"string","secondaryData":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"translator":{"assigned":"string","state":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"tags":["string"],"productionChannel":"string","intakeChannel":"string","microsite":"string","micrositeUser":"string","vendor":"string","approvalStatus":"approved","arriveBy":"string","isPriority":true,"createdFromRfq":"string","isDigitalDelivery":false,"productionNotes":"string","designTemplate":"string","designTemplateSecondary":"string","designTemplateFields":[{"key":"string","label":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"designTemplateFieldset":"string","customFields":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":{"originalFilename":"string","storageUrl":"string","uploadLog":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","itemType":"stock","turnaround":"string","miscUploads":["string"],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of orderItems to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orderItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - order-items
      security: []
  /orders/void-shipment:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/void:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/approval:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/shipment-open:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/builder/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - orders
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/orders/builder/%7Bid%7D
  /orders/builder:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/notes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/reorder:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/stats:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/attachments:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/supplier-dispatch:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders/fulfillment-summary:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /orders:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: orders
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              accountManager:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              salesPerson:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              manager:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              invoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              shipment:
                title: shipment
                type: object
                properties:
                  id:
                    type: string
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                  providerKey:
                    type: string
                  serviceKey:
                    type: string
                  indexKey:
                    type: string
                  providerName:
                    type: string
                  serviceDescription:
                    type: string
                  amount:
                    type: string
                  actualCost:
                    type: number
                  actualCostAdjusted:
                    type: number
                  airCargoAmount:
                    type: string
                  shipToName:
                    type: string
                  shipToCareOf:
                    type: string
                  shipToAddress1:
                    type: string
                  shipToAddress2:
                    type: string
                  shipToCity:
                    type: string
                  shipToStateProvince:
                    type: string
                  shipToPostalCode:
                    type: string
                  shipToCountryCode:
                    type: string
                  shipToAirportCode:
                    type: string
                  shipToPhone:
                    type: string
                  shipToCoords:
                    type: array
                    items:
                      type: number
                  shipFromName:
                    type: string
                  shipFromCareOf:
                    type: string
                  shipFromAddress1:
                    type: string
                  shipFromAddress2:
                    type: string
                  shipFromCity:
                    type: string
                  shipFromStateProvince:
                    type: string
                  shipFromPostalCode:
                    type: string
                  shipFromCountryCode:
                    type: string
                  trackingNumber:
                    type: string
                  trackingUrl:
                    type: string
                  easypostShipmentId:
                    type: string
                  orderItems:
                    type: array
                    items:
                      title: itemOf_orderItems
                      type: object
                      properties:
                        orderItemId:
                          type: string
                          x-ref: orderItems
                          description: Refers to orderItems
                          pattern: ^[0-9a-fA-F]{24}$
                        quantity:
                          type: number
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                  isVoid:
                    type: boolean
                  deliveryInstructions:
                    type: string
                  type:
                    type: string
                    enum:
                      - shipment
                      - pickup
                      - digital
                      - local-delivery
                    default: shipment
                  vendor:
                    type: string
                    x-ref: productionVendors
                    description: Refers to productionVendors
                    pattern: ^[0-9a-fA-F]{24}$
                  payment:
                    title: payment
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - SENDER
                          - THIRD_PARTY
                          - RECEIVER
                          - COLLECT
                        default: SENDER
                      account:
                        type: string
                      countryCode:
                        type: string
                      postalCode:
                        type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
              actualShipments:
                type: array
                items:
                  title: itemOf_actualShipments
                  type: object
                  properties:
                    id:
                      type: string
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    providerKey:
                      type: string
                    serviceKey:
                      type: string
                    indexKey:
                      type: string
                    providerName:
                      type: string
                    serviceDescription:
                      type: string
                    amount:
                      type: string
                    actualCost:
                      type: number
                    actualCostAdjusted:
                      type: number
                    airCargoAmount:
                      type: string
                    shipToName:
                      type: string
                    shipToCareOf:
                      type: string
                    shipToAddress1:
                      type: string
                    shipToAddress2:
                      type: string
                    shipToCity:
                      type: string
                    shipToStateProvince:
                      type: string
                    shipToPostalCode:
                      type: string
                    shipToCountryCode:
                      type: string
                    shipToAirportCode:
                      type: string
                    shipToPhone:
                      type: string
                    shipToCoords:
                      type: array
                      items:
                        type: number
                    shipFromName:
                      type: string
                    shipFromCareOf:
                      type: string
                    shipFromAddress1:
                      type: string
                    shipFromAddress2:
                      type: string
                    shipFromCity:
                      type: string
                    shipFromStateProvince:
                      type: string
                    shipFromPostalCode:
                      type: string
                    shipFromCountryCode:
                      type: string
                    trackingNumber:
                      type: string
                    trackingUrl:
                      type: string
                    easypostShipmentId:
                      type: string
                    orderItems:
                      type: array
                      items:
                        title: itemOf_orderItems
                        type: object
                        properties:
                          orderItemId:
                            type: string
                            x-ref: orderItems
                            description: Refers to orderItems
                            pattern: ^[0-9a-fA-F]{24}$
                          quantity:
                            type: number
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    isVoid:
                      type: boolean
                    deliveryInstructions:
                      type: string
                    type:
                      type: string
                      enum:
                        - shipment
                        - pickup
                        - digital
                        - local-delivery
                      default: shipment
                    vendor:
                      type: string
                      x-ref: productionVendors
                      description: Refers to productionVendors
                      pattern: ^[0-9a-fA-F]{24}$
                    payment:
                      title: payment
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - SENDER
                            - THIRD_PARTY
                            - RECEIVER
                            - COLLECT
                          default: SENDER
                        account:
                          type: string
                        countryCode:
                          type: string
                        postalCode:
                          type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              pickupLocation:
                type: string
                x-ref: pickupLocations
                description: Refers to pickupLocations
                pattern: ^[0-9a-fA-F]{24}$
              isVoid:
                type: boolean
                default: false
              foreignId:
                type: string
              tags:
                type: array
                items:
                  type: string
              po:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              vendors:
                type: array
                items:
                  type: string
                  x-ref: productionVendors
                  description: Refers to productionVendors
                  pattern: ^[0-9a-fA-F]{24}$
              approvals:
                type: array
                items:
                  title: itemOf_approvals
                  type: object
                  properties:
                    user:
                      type: string
                      x-ref: micrositeCustomers
                      description: Refers to micrositeCustomers
                      pattern: ^[0-9a-fA-F]{24}$
                    isApproved:
                      type: boolean
                    approvedAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - user
              approvalPending:
                type: boolean
              approvalStatus:
                type: string
                enum:
                  - approved
                  - pending
                  - rejected
              approvedByMicrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              approvedByTenantUser:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              approvedAt:
                type: string
                format: date-time
              rejectionReason:
                type: string
              notification:
                type: array
                items:
                  title: itemOf_notification
                  type: object
                  properties:
                    recipientName:
                      type: string
                    recipientAccount:
                      type: string
                    notificationType:
                      type: string
                    deliveryStrategy:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - recipientName
                    - recipientAccount
                    - notificationType
                    - deliveryStrategy
              miscInfo:
                type: string
              productionStatus:
                type: string
                enum:
                  - not-started
                  - not-applicable
                  - partial
                  - in-progress
                  - complete
                default: not-started
              fulfillmentStatus:
                type: string
                enum:
                  - none
                  - partial
                  - fulfilled
                  - restocked
                default: none
              paymentStatus:
                type: string
                enum:
                  - unpaid
                  - partial-paid
                  - paid
                default: unpaid
              intakeChannel:
                type: string
                x-ref: intakeChannels
                description: Refers to intakeChannels
                pattern: ^[0-9a-fA-F]{24}$
              miscDocuments:
                type: array
                items:
                  type: string
                  x-ref: miscDocuments
                  description: Refers to miscDocuments
                  pattern: ^[0-9a-fA-F]{24}$
              customerSuppliedPackingSlip:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              attachments:
                type: array
                items:
                  title: itemOf_attachments
                  type: object
                  properties:
                    attachedAt:
                      type: string
                      format: date-time
                    filename:
                      type: string
                    size:
                      type: string
                    label:
                      type: string
                    uploadLog:
                      type: string
                      x-ref: uploadLog
                      description: Refers to uploadLog
                      pattern: ^[0-9a-fA-F]{24}$
                    attachedBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    attachedByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - uploadLog
              supplierDocsRequireReview:
                type: boolean
                default: false
              supplierDocsSentToAP:
                type: boolean
                default: false
              supplierDocsSentToAPAt:
                type: string
                format: date-time
              supplierDocsSentToBilling:
                type: boolean
                default: false
              supplierDocsSentToBillingAt:
                type: string
                format: date-time
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              arriveBy:
                type: string
              additionalRecipients:
                type: array
                items:
                  title: itemOf_additionalRecipients
                  type: object
                  properties:
                    email:
                      type: string
                    name:
                      type: string
                    type:
                      type: string
                      enum:
                        - to
                        - cc
                        - bcc
                      default: to
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - email
                    - name
              rfqNum:
                type: string
              createdFromRfq:
                type: string
                x-ref: rfq
                description: Refers to rfq
                pattern: ^[0-9a-fA-F]{24}$
              notificationPreference:
                type: string
                enum:
                  - email
                  - sms
                default: email
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
              - customer
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orders_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - orders
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/orders?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orders'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/orders'
  /orders/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of orders to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orders'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - orders
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/orders/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of orders to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orders'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/orders'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of orders to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orders'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/orders'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/orders/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","accountManager":"string","salesPerson":"string","manager":"string","humanId":"string","invoice":"string","shipment":{"id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","providerKey":"string","serviceKey":"string","indexKey":"string","providerName":"string","serviceDescription":"string","amount":"string","actualCost":0,"actualCostAdjusted":0,"airCargoAmount":"string","shipToName":"string","shipToCareOf":"string","shipToAddress1":"string","shipToAddress2":"string","shipToCity":"string","shipToStateProvince":"string","shipToPostalCode":"string","shipToCountryCode":"string","shipToAirportCode":"string","shipToPhone":"string","shipToCoords":[0],"shipFromName":"string","shipFromCareOf":"string","shipFromAddress1":"string","shipFromAddress2":"string","shipFromCity":"string","shipFromStateProvince":"string","shipFromPostalCode":"string","shipFromCountryCode":"string","trackingNumber":"string","trackingUrl":"string","easypostShipmentId":"string","orderItems":[{"orderItemId":"string","quantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isVoid":true,"deliveryInstructions":"string","type":"shipment","vendor":"string","payment":{"type":"SENDER","account":"string","countryCode":"string","postalCode":"string"},"_id":"string"},"actualShipments":[{"id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","providerKey":"string","serviceKey":"string","indexKey":"string","providerName":"string","serviceDescription":"string","amount":"string","actualCost":0,"actualCostAdjusted":0,"airCargoAmount":"string","shipToName":"string","shipToCareOf":"string","shipToAddress1":"string","shipToAddress2":"string","shipToCity":"string","shipToStateProvince":"string","shipToPostalCode":"string","shipToCountryCode":"string","shipToAirportCode":"string","shipToPhone":"string","shipToCoords":[0],"shipFromName":"string","shipFromCareOf":"string","shipFromAddress1":"string","shipFromAddress2":"string","shipFromCity":"string","shipFromStateProvince":"string","shipFromPostalCode":"string","shipFromCountryCode":"string","trackingNumber":"string","trackingUrl":"string","easypostShipmentId":"string","orderItems":[{"orderItemId":"string","quantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isVoid":true,"deliveryInstructions":"string","type":"shipment","vendor":"string","payment":{"type":"SENDER","account":"string","countryCode":"string","postalCode":"string"},"_id":"string"}],"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"pickupLocation":"string","isVoid":false,"foreignId":"string","tags":["string"],"po":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"microsite":"string","micrositeUser":"string","vendors":["string"],"approvals":[{"user":"string","isApproved":true,"approvedAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"approvalPending":true,"approvalStatus":"approved","approvedByMicrositeUser":"string","approvedByTenantUser":"string","approvedAt":"2019-08-24T14:15:22Z","rejectionReason":"string","notification":[{"recipientName":"string","recipientAccount":"string","notificationType":"string","deliveryStrategy":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"miscInfo":"string","productionStatus":"not-started","fulfillmentStatus":"none","paymentStatus":"unpaid","intakeChannel":"string","miscDocuments":["string"],"customerSuppliedPackingSlip":"string","attachments":[{"attachedAt":"2019-08-24T14:15:22Z","filename":"string","size":"string","label":"string","uploadLog":"string","attachedBy":"string","attachedByModel":"user","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"supplierDocsRequireReview":false,"supplierDocsSentToAP":false,"supplierDocsSentToAPAt":"2019-08-24T14:15:22Z","supplierDocsSentToBilling":false,"supplierDocsSentToBillingAt":"2019-08-24T14:15:22Z","createdBy":"string","createdByModel":"user","arriveBy":"string","additionalRecipients":[{"email":"string","name":"string","type":"to","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"rfqNum":"string","createdFromRfq":"string","notificationPreference":"email","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of orders to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/orders'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - orders
      security: []
  /proofs/generate:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /proofs/v2:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: proofsv2
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              requestor:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              status:
                type: string
                enum:
                  - pending
                  - pending-approval
                  - responded
                default: pending
              upload:
                title: upload
                type: object
                properties:
                  attachedAt:
                    type: string
                    format: date-time
                  filename:
                    type: string
                  size:
                    type: string
                  label:
                    type: string
                  uploadLog:
                    type: string
                    x-ref: uploadLog
                    description: Refers to uploadLog
                    pattern: ^[0-9a-fA-F]{24}$
                  attachedBy:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  attachedByModel:
                    type: string
                    enum:
                      - user
                      - commandCenterUser
                      - micrositeCustomers
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - uploadLog
              response:
                type: string
                enum:
                  - approved
                  - rejected
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _metadata:
                type: array
                items:
                  title: itemOf__metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              privateNotes:
                type: array
                items:
                  title: itemOf_privateNotes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    createdBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - createdBy
                    - createdByModel
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - order
              - orderItem
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proofsv2_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - proofs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/proofs/v2?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proofsv2'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/proofsv2'
  /proofs/v2/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of proofsv2 to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proofsv2'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - proofs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/proofs/v2/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of proofsv2 to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proofsv2'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/proofsv2'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of proofsv2 to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proofsv2'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/proofsv2'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/proofs/v2/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","customer":"string","requestor":"string","vendor":"string","humanId":0,"order":"string","orderItem":"string","status":"pending","upload":{"attachedAt":"2019-08-24T14:15:22Z","filename":"string","size":"string","label":"string","uploadLog":"string","attachedBy":"string","attachedByModel":"user","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"response":"approved","tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"privateNotes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","createdBy":"string","createdByModel":"user","_id":"string"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of proofsv2 to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proofsv2'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - proofs
      security: []
  /proofs/v2/upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /proofs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: proof
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              softProofAttachedAt:
                type: string
                format: date-time
              softProofFiles:
                type: array
                items:
                  title: itemOf_softProofFiles
                  type: object
                  properties:
                    sequence:
                      type: string
                    filename:
                      type: string
                    originalFilename:
                      type: string
                    attachedAt:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
                    - filename
                    - originalFilename
                    - attachedAt
              type:
                type: string
                enum:
                  - soft
                  - hard
              customerActionAt:
                type: string
                format: date-time
              status:
                type: string
                enum:
                  - awaiting-artwork
                  - awaiting-proof-generation
                  - pending-approval
                  - approved
                  - rejected
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - customer
              - order
              - orderItem
              - type
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proof_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - proofs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/proofs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proof'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/proof'
  /proofs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of proof to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proof'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - proofs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/proofs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of proof to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proof'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/proof'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of proof to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proof'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/proof'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/proofs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","order":"string","orderItem":"string","softProofAttachedAt":"2019-08-24T14:15:22Z","softProofFiles":[{"sequence":"string","filename":"string","originalFilename":"string","attachedAt":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"type":"soft","customerActionAt":"2019-08-24T14:15:22Z","status":"awaiting-artwork","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of proof to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/proof'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - proofs
      security: []
  /proofs/approval/{id}:
    put:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - proofs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pre-flights/from-order-item:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pre-flights/response:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pre-flights/replace-approve:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pre-flights/print-as-is:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pre-flights/download-artwork:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pre-flights/report/load:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pre-flights:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: preflight
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              orderItemHumanId:
                type: string
              status:
                type: string
                enum:
                  - pending
                  - complete
                  - in-progress
                  - canceled
              slots:
                type: array
                items:
                  title: itemOf_slots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    errorsList:
                      type: array
                      items:
                        title: itemOf_errorsList
                        type: object
                        properties:
                          key:
                            type: string
                          message:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - message
                    message:
                      type: string
                    messageImages:
                      type: array
                      items:
                        title: itemOf_messageImages
                        type: object
                        properties:
                          url:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              replacedSlots:
                type: array
                items:
                  title: itemOf_replacedSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    errorsList:
                      type: array
                      items:
                        title: itemOf_errorsList
                        type: object
                        properties:
                          key:
                            type: string
                          message:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - message
                    message:
                      type: string
                    messageImages:
                      type: array
                      items:
                        title: itemOf_messageImages
                        type: object
                        properties:
                          url:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              slaBy:
                type: string
                format: date-time
              result:
                type: string
                enum:
                  - approved
                  - rejected
              resultAt:
                type: string
                format: date-time
              resultBy:
                type: string
                x-ref: commandCenterUser
                description: Refers to commandCenterUser
                pattern: ^[0-9a-fA-F]{24}$
              allowPrintAsIs:
                type: boolean
                default: false
              printAsIs:
                type: boolean
              assignedTo:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              assignedToModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - customer
              - order
              - orderItem
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/preflight_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - pre-flights
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/pre-flights?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/preflight'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/preflight'
  /pre-flights/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of preflight to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/preflight'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - pre-flights
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/pre-flights/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of preflight to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/preflight'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/preflight'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of preflight to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/preflight'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - pre-flights
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/preflight'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/pre-flights/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","order":"string","orderItem":"string","orderItemHumanId":"string","status":"pending","slots":[{"sequence":"string","upload":"string","errorsList":[{"key":"string","message":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"message":"string","messageImages":[{"url":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"replacedSlots":[{"sequence":"string","upload":"string","errorsList":[{"key":"string","message":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"message":"string","messageImages":[{"url":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"slaBy":"2019-08-24T14:15:22Z","result":"approved","resultAt":"2019-08-24T14:15:22Z","resultBy":"string","allowPrintAsIs":false,"printAsIs":true,"assignedTo":"string","assignedToModel":"user","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of preflight to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/preflight'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - pre-flights
      security: []
  /starter-templates/upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - starter-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /starter-templates:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: starterTemplate
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              products:
                type: array
                items:
                  type: string
                  x-ref: ProductLegacy
                  description: Refers to ProductLegacy
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              desc:
                type: string
              fileType:
                type: string
              finishSize:
                title: finishSize
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - width
                  - height
              flatSize:
                title: flatSize
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - width
                  - height
              upload:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - desc
              - fileType
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/starterTemplate_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - starter-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/starter-templates?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/starterTemplate'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - starter-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/starterTemplate'
  /starter-templates/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of starterTemplate to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/starterTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - starter-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/starter-templates/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of starterTemplate to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/starterTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - starter-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/starterTemplate'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of starterTemplate to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/starterTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - starter-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/starterTemplate'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/starter-templates/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","products":["string"],"desc":"string","fileType":"string","finishSize":{"width":0,"height":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"flatSize":{"width":0,"height":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"upload":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of starterTemplate to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/starterTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - starter-templates
      security: []
  /real-time/auth:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - real-time
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/real-time/auth?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - real-time
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/settings/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/settings/%7Bid%7D
  /microsites/settings:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/custom-scripts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/custom-scripts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/custom-scripts/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/custom-scripts/%7Bid%7D
  /microsites/published-product-recipients-settings:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/order-approval-recipient-settings:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/menu-settings:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/menu-settings?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/menu-settings/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/menu-settings/%7Bid%7D
  /microsites/customers/login-as-user:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customers/login-as:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customers/credit-card-tokens/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/customers/credit-card-tokens/%7Bid%7D
  /microsites/customers:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: micrositeCustomers
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              email:
                type: string
              username:
                type: string
              password:
                type: string
              companyName:
                type: string
              firstName:
                type: string
              lastName:
                type: string
              title:
                type: string
              address:
                title: address
                type: object
                properties:
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  coords:
                    type: array
                    items:
                      type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              phone:
                type: string
              fax:
                type: string
              active:
                type: boolean
                default: true
              disabled:
                type: boolean
                default: false
              isAdmin:
                type: boolean
                default: false
              manager:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              isApproved:
                type: boolean
                default: false
              approvedDate:
                type: string
                format: date-time
              approvedByUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  title: itemOf_tags
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              groups:
                type: array
                items:
                  type: string
                  x-ref: micrositeCustomerGroups
                  description: Refers to micrositeCustomerGroups
                  pattern: ^[0-9a-fA-F]{24}$
              disabledProducts:
                type: array
                items:
                  type: string
                  x-ref: ProductLegacy
                  description: Refers to ProductLegacy
                  pattern: ^[0-9a-fA-F]{24}$
              firstOrderAt:
                type: string
                format: date-time
              lastOrderAt:
                type: string
                format: date-time
              foreignId:
                type: string
              orderApprovalRequired:
                type: boolean
              orderApprovers:
                type: array
                items:
                  type: string
                  x-ref: micrositeCustomers
                  description: Refers to micrositeCustomers
                  pattern: ^[0-9a-fA-F]{24}$
              costCenter:
                type: string
              creditCardTokens:
                type: array
                items:
                  title: itemOf_creditCardTokens
                  type: object
                  properties:
                    merchantGateway:
                      type: string
                      enum:
                        - stripe
                        - authorizeNet
                        - firstData
                    cardType:
                      type: string
                    lastFour:
                      type: string
                    expirationDate:
                      type: string
                      format: date-time
                    isDefault:
                      type: boolean
                      default: false
                    adapterKey:
                      type: string
                    paymentProfileId:
                      type: string
                    adapterProfileId:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              deleted:
                type: boolean
                default: false
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomers_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/customers?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomers'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomers'
  /microsites/customers/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomers to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/customers/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomers to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomers'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomers to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomers'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/customers/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","email":"string","username":"string","password":"string","companyName":"string","firstName":"string","lastName":"string","title":"string","address":{"address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"phone":"string","fax":"string","active":true,"disabled":false,"isAdmin":false,"manager":"string","isApproved":false,"approvedDate":"2019-08-24T14:15:22Z","approvedByUser":"string","tags":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"groups":["string"],"disabledProducts":["string"],"firstOrderAt":"2019-08-24T14:15:22Z","lastOrderAt":"2019-08-24T14:15:22Z","foreignId":"string","orderApprovalRequired":true,"orderApprovers":["string"],"costCenter":"string","creditCardTokens":[{"merchantGateway":"stripe","cardType":"string","lastFour":"string","expirationDate":"2019-08-24T14:15:22Z","isDefault":false,"adapterKey":"string","paymentProfileId":"string","adapterProfileId":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomers to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomers'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /microsites/divisions:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: micrositeDivisions
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeDivisions_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/divisions?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeDivisions'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeDivisions'
  /microsites/divisions/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeDivisions to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeDivisions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/divisions/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeDivisions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeDivisions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeDivisions'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeDivisions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeDivisions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeDivisions'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/divisions/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeDivisions to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeDivisions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /microsites/customer-approval:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customer-rejection:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customer/invite:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customers/reset-password:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customers/password:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/products/group-permissions-audit:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/products/by-category-key/{categoryKey}:
    get:
      parameters:
        - in: path
          name: categoryKey
          schema:
            type: string
          required: true
          description: categoryKey parameter
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/products/by-category-key/%7BcategoryKey%7D?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /microsites/products/by-key/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/products/by-key/%7Bid%7D
  /microsites/products-search:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/products/publish:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/products/unpublish:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/products:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: micrositeProducts
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              key:
                type: string
              name:
                type: string
              isVariant:
                type: boolean
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              groupPermission:
                type: string
                x-ref: micrositeCustomerGroups
                description: Refers to micrositeCustomerGroups
                pattern: ^[0-9a-fA-F]{24}$
              groupPermissions:
                type: array
                items:
                  type: string
                  x-ref: micrositeCustomerGroups
                  description: Refers to micrositeCustomerGroups
                  pattern: ^[0-9a-fA-F]{24}$
              priority:
                type: number
              isHidden:
                type: boolean
                default: false
              deleted:
                type: boolean
                default: false
              isPublished:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - product
              - category
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeProducts_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/products?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeProducts'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeProducts'
  /microsites/products/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeProducts to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeProducts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/products/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeProducts to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeProducts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeProducts'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeProducts to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeProducts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeProducts'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/products/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","product":"string","category":"string","key":"string","name":"string","isVariant":true,"tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"groupPermission":"string","groupPermissions":["string"],"priority":0,"isHidden":false,"deleted":false,"isPublished":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeProducts to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeProducts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /microsites/lia-dash-token:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customer/groups:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: micrositeCustomerGroups
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              globalPermissions:
                type: boolean
                default: false
              permissions:
                type: array
                items:
                  title: itemOf_permissions
                  type: object
                  properties:
                    action:
                      type: array
                      items:
                        type: string
                    resource:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - resource
              orderApprovalRequired:
                type: boolean
              orderApprovers:
                type: array
                items:
                  type: string
                  x-ref: micrositeCustomers
                  description: Refers to micrositeCustomers
                  pattern: ^[0-9a-fA-F]{24}$
              canOrderForFree:
                type: boolean
                default: false
              canOrderForFreeProductCategories:
                type: array
                items:
                  type: string
                  x-ref: productCategoryLegacy
                  description: Refers to productCategoryLegacy
                  pattern: ^[0-9a-fA-F]{24}$
              orderLimitsPerUser:
                type: array
                items:
                  title: itemOf_orderLimitsPerUser
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    products:
                      type: array
                      items:
                        type: string
                        x-ref: ProductLegacy
                        description: Refers to ProductLegacy
                        pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: number
                    period:
                      type: string
                      enum:
                        - day
                        - week
                        - month
                        - quarter
                        - year
                    enabled:
                      type: boolean
                      default: false
                    isAdminsExcluded:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              orderLimitValue:
                type: number
              orderLimitPeriod:
                type: string
                enum:
                  - day
                  - week
                  - month
                  - quarter
                  - year
              orderLimitEnabled:
                type: boolean
                default: false
              orderLimitIsAdminsExcluded:
                type: boolean
                default: false
              orderItemLimitValue:
                type: number
              orderItemLimitPeriod:
                type: string
                enum:
                  - day
                  - week
                  - month
                  - quarter
                  - year
              orderItemLimitEnabled:
                type: boolean
                default: false
              orderItemLimitIsAdminsExcluded:
                type: boolean
                default: false
              shippingMethods:
                type: array
                items:
                  type: string
              allowedShippingServicesOnCart:
                type: array
                items:
                  type: string
              paymentMethods:
                type: array
                items:
                  type: string
                  enum:
                    - CASH
                    - CREDIT_CARD
                    - CREDIT_MEMO
                    - CHECK
                    - OFFLINE
                    - INVOICE
                    - COMPANY_PAID
                    - GIFT_CARD
                    - NO_PAYMENT
              allottmentPolicies:
                type: array
                items:
                  type: string
                  x-ref: userAllotmentPolicies
                  description: Refers to userAllotmentPolicies
                  pattern: ^[0-9a-fA-F]{24}$
              shouldAutoApplyAllotments:
                type: boolean
                default: false
              shipping3rdParty:
                title: shipping3rdParty
                type: object
                properties:
                  isEnabled:
                    type: boolean
                    default: false
                  payment:
                    title: payment
                    type: object
                    properties:
                      account:
                        type: string
                      countryCode:
                        type: string
                      postalCode:
                        type: string
              isArriveByDayEnabled:
                type: boolean
              active:
                type: boolean
                default: true
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerGroups_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/customer/groups?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerGroups'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomerGroups'
  /microsites/customer/groups/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerGroups to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerGroups'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/customer/groups/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerGroups to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerGroups'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomerGroups'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerGroups to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerGroups'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomerGroups'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/customer/groups/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","name":"string","globalPermissions":false,"permissions":[{"action":["string"],"resource":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderApprovalRequired":true,"orderApprovers":["string"],"canOrderForFree":false,"canOrderForFreeProductCategories":["string"],"orderLimitsPerUser":[{"product":"string","products":["string"],"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitValue":0,"orderLimitPeriod":"day","orderLimitEnabled":false,"orderLimitIsAdminsExcluded":false,"orderItemLimitValue":0,"orderItemLimitPeriod":"day","orderItemLimitEnabled":false,"orderItemLimitIsAdminsExcluded":false,"shippingMethods":["string"],"allowedShippingServicesOnCart":["string"],"paymentMethods":["CASH"],"allottmentPolicies":["string"],"shouldAutoApplyAllotments":false,"shipping3rdParty":{"isEnabled":false,"payment":{"account":"string","countryCode":"string","postalCode":"string"}},"isArriveByDayEnabled":true,"active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerGroups to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerGroups'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /microsites/address-books:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: micrositeAddressBook
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              name:
                type: string
              phone:
                type: string
              fax:
                type: string
              email:
                type: string
              careOf:
                type: string
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              countryCode:
                type: string
              costCenter:
                type: string
              foreignId:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - address1
              - city
              - stateProvince
              - postalCode
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeAddressBook_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/address-books?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeAddressBook'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeAddressBook'
  /microsites/address-books/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeAddressBook to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/address-books/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeAddressBook to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeAddressBook'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeAddressBook to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeAddressBook'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/address-books/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","humanId":0,"name":"string","phone":"string","fax":"string","email":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","costCenter":"string","foreignId":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeAddressBook to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /microsites/customers-group-export:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/notification-settings/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/notification-settings/%7Bid%7D
  /microsites/notification-settings:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /microsites/customer-address-books:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: micrositeCustomerAddressBook
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeCustomer:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              name:
                type: string
              phone:
                type: string
              fax:
                type: string
              email:
                type: string
              careOf:
                type: string
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              countryCode:
                type: string
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - micrositeCustomer
              - address1
              - city
              - stateProvince
              - postalCode
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerAddressBook_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/customer-address-books?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerAddressBook'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomerAddressBook'
  /microsites/customer-address-books/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerAddressBook to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/customer-address-books/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerAddressBook to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomerAddressBook'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerAddressBook to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeCustomerAddressBook'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/customer-address-books/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","micrositeCustomer":"string","humanId":0,"name":"string","phone":"string","fax":"string","email":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeCustomerAddressBook to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeCustomerAddressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /microsites/contact-us-entries:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: micrositeContactUsEntries
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              email:
                type: string
              message:
                type: string
              status:
                type: string
                enum:
                  - open
                  - closed
                default: open
              customFields:
                type: array
                items:
                  title: itemOf_customFields
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - microsite
              - name
              - message
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeContactUsEntries_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites/contact-us-entries?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeContactUsEntries'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeContactUsEntries'
  /microsites/contact-us-entries/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeContactUsEntries to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeContactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/contact-us-entries/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeContactUsEntries to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeContactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeContactUsEntries'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeContactUsEntries to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeContactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/micrositeContactUsEntries'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/contact-us-entries/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","name":"string","email":"string","message":"string","status":"open","customFields":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of micrositeContactUsEntries to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/micrositeContactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /microsites:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: microsites
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              domain:
                type: string
              address:
                title: address
                type: object
                properties:
                  name:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  coords:
                    type: array
                    items:
                      type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              costCenters:
                type: array
                items:
                  type: string
              costCenters2:
                type: array
                items:
                  title: itemOf_costCenters2
                  type: object
                  properties:
                    code:
                      type: string
                    description:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              requireCostCenterForCheckout:
                type: boolean
                default: false
              requirePOForCheckout:
                type: boolean
                default: false
              settings:
                title: settings
                type: object
                properties:
                  private:
                    type: boolean
                    default: true
                  logoUrl:
                    type: string
                  logo:
                    type: string
                    x-ref: Content
                    description: Refers to Content
                    pattern: ^[0-9a-fA-F]{24}$
                  favicon:
                    type: string
                    x-ref: Content
                    description: Refers to Content
                    pattern: ^[0-9a-fA-F]{24}$
                  paymentMethods:
                    type: array
                    items:
                      type: string
                  shippingMethods:
                    type: array
                    items:
                      type: string
                  allowedShippingServicesOnCart:
                    type: array
                    items:
                      type: string
                  easypostCarrierAccounts:
                    type: array
                    items:
                      title: itemOf_easypostCarrierAccounts
                      type: object
                      properties:
                        id:
                          type: string
                          x-ref: easypostCarrierAccounts
                          description: Refers to easypostCarrierAccounts
                          pattern: ^[0-9a-fA-F]{24}$
                        isEnabled:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - id
                  shipTimeCarrierAccounts:
                    type: array
                    items:
                      title: itemOf_shipTimeCarrierAccounts
                      type: object
                      properties:
                        id:
                          type: string
                          x-ref: easypostCarrierAccounts
                          description: Refers to easypostCarrierAccounts
                          pattern: ^[0-9a-fA-F]{24}$
                        isEnabled:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - id
                  allowBackorders:
                    type: boolean
                  allowSavedItems:
                    type: boolean
                    default: true
                  profileReadOnly:
                    type: boolean
                  allowSiteSignup:
                    type: boolean
                  useAddressAsShipFrom:
                    type: boolean
                  restrictToApprovedUsers:
                    type: boolean
                  notification:
                    title: notification
                    type: object
                    properties:
                      tenantRules:
                        type: array
                        items:
                          title: itemOf_tenantRules
                          type: object
                          properties:
                            enable:
                              type: boolean
                              default: true
                            defaultEmail:
                              title: defaultEmail
                              type: object
                              properties:
                                name:
                                  type: string
                                email:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                            templateKey:
                              type: string
                            recipients:
                              type: array
                              items:
                                title: itemOf_recipients
                                type: object
                                properties:
                                  name:
                                    type: string
                                  email:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                                required:
                                  - name
                                  - email
                            cc:
                              type: array
                              items:
                                title: itemOf_cc
                                type: object
                                properties:
                                  name:
                                    type: string
                                  email:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                                required:
                                  - name
                                  - email
                            bcc:
                              type: array
                              items:
                                title: itemOf_bcc
                                type: object
                                properties:
                                  name:
                                    type: string
                                  email:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                                required:
                                  - name
                                  - email
                            replyTo:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                          required:
                            - templateKey
                      _id:
                        type: string
                        pattern: ^[0-9a-fA-F]{24}$
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                  useCostCenterFromUser:
                    type: boolean
                  orderNeedsAdminApproval:
                    type: boolean
                  orderApprovalNotificationRecipeint:
                    type: string
                    default: all-admin-user
                  isCartAddressBookEnabled:
                    type: boolean
                    default: false
                  isUseRecentAddressEnabled:
                    type: boolean
                    default: false
                  isCostCenterInputEnabled:
                    type: boolean
                    default: false
                  isCostCenterValidationEnabled:
                    type: boolean
                    default: false
                  isCostCenterDropdown:
                    type: boolean
                    default: false
                  isGuestCheckoutEnabled:
                    type: boolean
                    default: false
                  isPOInputEnabled:
                    type: boolean
                    default: false
                  allowOverLimitAndTriggerApproval:
                    type: boolean
                    default: false
                  compositeTopLevelLimit:
                    type: number
                    default: false
                  compositeTopLevelAlottment:
                    type: number
                    default: false
                  isMininumAmountPerOrderEnabled:
                    type: boolean
                    default: false
                  minimumAmountPerOrder:
                    type: number
                    default: false
                  orderApprovalNotificationRecipients:
                    title: orderApprovalNotificationRecipients
                    type: object
                    properties:
                      type:
                        type: string
                        enum:
                          - admins
                          - explicit
                        default: admins
                      email:
                        title: email
                        type: object
                        properties:
                          to:
                            type: array
                            items:
                              title: itemOf_to
                              type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - email
                                    - slack
                                  default: email
                                user:
                                  type: string
                                  x-ref: micrositeCustomers
                                  description: Refers to micrositeCustomers
                                  pattern: ^[0-9a-fA-F]{24}$
                                email:
                                  type: string
                                name:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - type
                          cc:
                            type: array
                            items:
                              title: itemOf_cc
                              type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - email
                                    - slack
                                  default: email
                                user:
                                  type: string
                                  x-ref: micrositeCustomers
                                  description: Refers to micrositeCustomers
                                  pattern: ^[0-9a-fA-F]{24}$
                                email:
                                  type: string
                                name:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - type
                          bcc:
                            type: array
                            items:
                              title: itemOf_bcc
                              type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - email
                                    - slack
                                  default: email
                                user:
                                  type: string
                                  x-ref: micrositeCustomers
                                  description: Refers to micrositeCustomers
                                  pattern: ^[0-9a-fA-F]{24}$
                                email:
                                  type: string
                                name:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - type
                      slack:
                        title: slack
                        type: object
                        properties:
                          user:
                            type: array
                            items:
                              title: itemOf_user
                              type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - email
                                    - slack
                                  default: email
                                user:
                                  type: string
                                  x-ref: micrositeCustomers
                                  description: Refers to micrositeCustomers
                                  pattern: ^[0-9a-fA-F]{24}$
                                email:
                                  type: string
                                name:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - type
                  publishedProductNotificationRecipients:
                    title: publishedProductNotificationRecipients
                    type: object
                    properties:
                      type:
                        type: string
                        default: explicit
                      email:
                        title: email
                        type: object
                        properties:
                          to:
                            type: array
                            items:
                              title: itemOf_to
                              type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - email
                                    - slack
                                  default: email
                                user:
                                  type: string
                                  x-ref: micrositeCustomers
                                  description: Refers to micrositeCustomers
                                  pattern: ^[0-9a-fA-F]{24}$
                                email:
                                  type: string
                                name:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - type
                          cc:
                            type: array
                            items:
                              title: itemOf_cc
                              type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - email
                                    - slack
                                  default: email
                                user:
                                  type: string
                                  x-ref: micrositeCustomers
                                  description: Refers to micrositeCustomers
                                  pattern: ^[0-9a-fA-F]{24}$
                                email:
                                  type: string
                                name:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - type
                          bcc:
                            type: array
                            items:
                              title: itemOf_bcc
                              type: object
                              properties:
                                type:
                                  type: string
                                  enum:
                                    - email
                                    - slack
                                  default: email
                                user:
                                  type: string
                                  x-ref: micrositeCustomers
                                  description: Refers to micrositeCustomers
                                  pattern: ^[0-9a-fA-F]{24}$
                                email:
                                  type: string
                                name:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - type
                  menu:
                    type: array
                    items:
                      title: itemOf_menu
                      type: object
                      properties:
                        key:
                          type: string
                        label:
                          type: string
                        priority:
                          type: number
                        enabled:
                          type: boolean
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - key
                        - enabled
                  internationalization:
                    title: internationalization
                    type: object
                    properties:
                      locale:
                        type: string
                        default: en-US
                      currency:
                        type: string
                        default: USD
                      countryCode:
                        type: string
                        default: US
                      _id:
                        type: string
                        pattern: ^[0-9a-fA-F]{24}$
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                  addressVerification:
                    type: string
                    enum:
                      - verify
                      - verify-strict
                    default: verify
                  shipOutAddressInputMethod:
                    type: string
                    enum:
                      - open
                      - address-book
                      - read-only
                    default: open
                  shipFromControl:
                    type: boolean
                  showShippingRates:
                    type: boolean
                    default: true
                  isFreeShippingEnabled:
                    type: boolean
                    default: false
                  isIntlShippingEnabled:
                    type: boolean
                    default: false
                  isSFShipBill3PEnabled:
                    type: boolean
                    default: false
                  shippingRatesEstimatePriceZero:
                    type: boolean
                    default: false
                  showNegotiatedRates:
                    type: boolean
                  showCostCenter:
                    type: boolean
                    default: false
                  showPO:
                    type: boolean
                    default: false
                  promoCodeInput:
                    type: boolean
                    default: false
                  approvedDomains:
                    type: array
                    items:
                      title: itemOf_approvedDomains
                      type: object
                      properties:
                        domain:
                          type: string
                        enable:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - domain
                  customCSS:
                    type: string
                  customJS:
                    type: string
                  customHTML:
                    type: string
                  theme:
                    type: string
                  signUpRequiredCaptcha:
                    type: boolean
                    default: true
                  consolidateCartItems:
                    type: boolean
                  hidePrices:
                    type: boolean
                  isMaintenanceEnabled:
                    type: boolean
                    default: false
                  userSignupDefaultGroups:
                    type: array
                    items:
                      type: string
                      x-ref: micrositeCustomerGroups
                      description: Refers to micrositeCustomerGroups
                      pattern: ^[0-9a-fA-F]{24}$
                  isOrderMiscInfoEnabled:
                    type: boolean
                  orderMiscInfoLabel:
                    type: string
                  isOrderMiscInfoRequired:
                    type: boolean
                  isArriveByDayEnabled:
                    type: boolean
                  arriveByDateLabel:
                    type: string
                  isAdditionalEmailRecipientsEnabled:
                    type: boolean
                  shipping3rdParty:
                    title: shipping3rdParty
                    type: object
                    properties:
                      isEnabled:
                        type: boolean
                        default: false
                      payment:
                        title: payment
                        type: object
                        properties:
                          account:
                            type: string
                          countryCode:
                            type: string
                          postalCode:
                            type: string
                  payment:
                    title: payment
                    type: object
                    properties:
                      methods:
                        type: array
                        items:
                          type: string
                          enum:
                            - CASH
                            - CREDIT_CARD
                            - CREDIT_MEMO
                            - CHECK
                            - OFFLINE
                            - INVOICE
                            - COMPANY_PAID
                            - GIFT_CARD
                            - NO_PAYMENT
                      merchantGateway:
                        title: merchantGateway
                        type: object
                        properties:
                          selectedAdapter:
                            type: string
                            enum:
                              - stripe
                              - authorizeNet
                          adapters:
                            title: adapters
                            type: object
                            properties:
                              stripe:
                                title: stripe
                                type: object
                                properties:
                                  key:
                                    type: string
                                    default: stripe
                                  secret:
                                    type: string
                                  publishable:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                              authorizeNet:
                                title: authorizeNet
                                type: object
                                properties:
                                  key:
                                    type: string
                                    default: authorizeNet
                                  login:
                                    type: string
                                  transaction:
                                    type: string
                                  clientKey:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                      currency:
                        type: string
                        default: usd
                      _id:
                        type: string
                        pattern: ^[0-9a-fA-F]{24}$
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                  fulfillmentFees:
                    title: fulfillmentFees
                    type: object
                    properties:
                      perOrder:
                        type: number
                        default: 0
                      perItem:
                        type: number
                        default: 0
                      perItemFirstQuantity:
                        type: number
                        default: 0
                      perItemQuantity:
                        type: number
                        default: 0
                      perShippedBoxDomestic:
                        type: number
                        default: 0
                      perShippedBoxInternational:
                        type: number
                        default: 0
                  handlingFees:
                    title: handlingFees
                    type: object
                    properties:
                      perOrder:
                        type: number
                        default: 0
                      perItem:
                        type: number
                        default: 0
                  sso:
                    title: sso
                    type: object
                    properties:
                      signingCertficate:
                        type: string
                      metadata:
                        type: string
                      justInTimeProvisioning:
                        type: boolean
                        default: true
                      isEnabled:
                        type: boolean
                        default: false
                      _id:
                        type: string
                        pattern: ^[0-9a-fA-F]{24}$
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - allowSavedItems
              isNextGenStore:
                type: boolean
                default: true
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - key
              - domain
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsites_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/microsites?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsites'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsites'
  /microsites/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of microsites to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - microsites
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/microsites/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of microsites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsites'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of microsites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - microsites
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/microsites'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/microsites/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","name":"string","key":"string","domain":"string","address":{"name":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"costCenters":["string"],"costCenters2":[{"code":"string","description":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"requireCostCenterForCheckout":false,"requirePOForCheckout":false,"settings":{"private":true,"logoUrl":"string","logo":"string","favicon":"string","paymentMethods":["string"],"shippingMethods":["string"],"allowedShippingServicesOnCart":["string"],"easypostCarrierAccounts":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"shipTimeCarrierAccounts":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"allowBackorders":true,"allowSavedItems":true,"profileReadOnly":true,"allowSiteSignup":true,"useAddressAsShipFrom":true,"restrictToApprovedUsers":true,"notification":{"tenantRules":[{"enable":true,"defaultEmail":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"templateKey":"string","recipients":[{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"cc":[{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"bcc":[{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"replyTo":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"useCostCenterFromUser":true,"orderNeedsAdminApproval":true,"orderApprovalNotificationRecipeint":"all-admin-user","isCartAddressBookEnabled":false,"isUseRecentAddressEnabled":false,"isCostCenterInputEnabled":false,"isCostCenterValidationEnabled":false,"isCostCenterDropdown":false,"isGuestCheckoutEnabled":false,"isPOInputEnabled":false,"allowOverLimitAndTriggerApproval":false,"compositeTopLevelLimit":false,"compositeTopLevelAlottment":false,"isMininumAmountPerOrderEnabled":false,"minimumAmountPerOrder":false,"orderApprovalNotificationRecipients":{"type":"admins","email":{"to":[{"type":"email","user":"string","email":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"cc":[{"type":"email","user":"string","email":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"bcc":[{"type":"email","user":"string","email":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"slack":{"user":[{"type":"email","user":"string","email":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]}},"publishedProductNotificationRecipients":{"type":"explicit","email":{"to":[{"type":"email","user":"string","email":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"cc":[{"type":"email","user":"string","email":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"bcc":[{"type":"email","user":"string","email":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]}},"menu":[{"key":"string","label":"string","priority":0,"enabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"internationalization":{"locale":"en-US","currency":"USD","countryCode":"US","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"addressVerification":"verify","shipOutAddressInputMethod":"open","shipFromControl":true,"showShippingRates":true,"isFreeShippingEnabled":false,"isIntlShippingEnabled":false,"isSFShipBill3PEnabled":false,"shippingRatesEstimatePriceZero":false,"showNegotiatedRates":true,"showCostCenter":false,"showPO":false,"promoCodeInput":false,"approvedDomains":[{"domain":"string","enable":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customCSS":"string","customJS":"string","customHTML":"string","theme":"string","signUpRequiredCaptcha":true,"consolidateCartItems":true,"hidePrices":true,"isMaintenanceEnabled":false,"userSignupDefaultGroups":["string"],"isOrderMiscInfoEnabled":true,"orderMiscInfoLabel":"string","isOrderMiscInfoRequired":true,"isArriveByDayEnabled":true,"arriveByDateLabel":"string","isAdditionalEmailRecipientsEnabled":true,"shipping3rdParty":{"isEnabled":false,"payment":{"account":"string","countryCode":"string","postalCode":"string"}},"payment":{"methods":["CASH"],"merchantGateway":{"selectedAdapter":"stripe","adapters":{"stripe":{"key":"stripe","secret":"string","publishable":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"authorizeNet":{"key":"authorizeNet","login":"string","transaction":"string","clientKey":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}},"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"currency":"usd","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"fulfillmentFees":{"perOrder":0,"perItem":0,"perItemFirstQuantity":0,"perItemQuantity":0,"perShippedBoxDomestic":0,"perShippedBoxInternational":0},"handlingFees":{"perOrder":0,"perItem":0},"sso":{"signingCertficate":"string","metadata":"string","justInTimeProvisioning":true,"isEnabled":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"isNextGenStore":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of microsites to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/microsites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - microsites
      security: []
  /inventory/movements:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: inventoryMovement
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              source:
                type: string
                x-ref: inventoryLocations
                description: Refers to inventoryLocations
                pattern: ^[0-9a-fA-F]{24}$
              destination:
                type: string
                x-ref: inventoryLocations
                description: Refers to inventoryLocations
                pattern: ^[0-9a-fA-F]{24}$
              previousMovement:
                type: string
                x-ref: inventoryMovement
                description: Refers to inventoryMovement
                pattern: ^[0-9a-fA-F]{24}$
              sourceDenormalized:
                title: sourceDenormalized
                type: object
                properties:
                  name:
                    type: string
                  virtual:
                    type: boolean
                    default: false
                  type:
                    type: string
                    enum:
                      - external
                      - internal
                  priority:
                    type: number
                  nonTrackable:
                    type: boolean
              destinationDenormalized:
                title: destinationDenormalized
                type: object
                properties:
                  name:
                    type: string
                  virtual:
                    type: boolean
                    default: false
                  type:
                    type: string
                    enum:
                      - external
                      - internal
                  priority:
                    type: number
                  nonTrackable:
                    type: boolean
              previousMovementDenormalized:
                title: previousMovementDenormalized
                type: object
                properties:
                  source:
                    type: string
                    x-ref: inventoryLocations
                    description: Refers to inventoryLocations
                    pattern: ^[0-9a-fA-F]{24}$
                  destination:
                    type: string
                    x-ref: inventoryLocations
                    description: Refers to inventoryLocations
                    pattern: ^[0-9a-fA-F]{24}$
                  operation:
                    type: string
                    enum:
                      - OPENING_AMOUNT
                      - RECEIVE
                      - RETURN
                      - FULFILL
                      - ADJUSTMENT
                      - MOVEMENT
                      - ALLOCATED
                      - BACK_ORDER
                      - VOID_ADJUSTMENT
                  amount:
                    type: number
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              direction:
                type: number
              operation:
                type: string
                enum:
                  - OPENING_AMOUNT
                  - RECEIVE
                  - RETURN
                  - FULFILL
                  - ADJUSTMENT
                  - MOVEMENT
                  - ALLOCATED
                  - BACK_ORDER
                  - VOID_ADJUSTMENT
              fulfillmentMovement:
                type: string
                x-ref: inventoryMovement
                description: Refers to inventoryMovement
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              price:
                type: number
              notes:
                type: string
              isVoid:
                type: boolean
              deleted:
                type: boolean
              tags:
                type: array
                items:
                  type: string
              requestedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              requestedByModel:
                type: string
                enum:
                  - commandCenterUser
                  - user
              nonTrackable:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - source
              - destination
              - direction
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryMovement_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - inventory
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/inventory/movements?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryMovement'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryMovement'
  /inventory/movements/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryMovement to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryMovement'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - inventory
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/inventory/movements/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryMovement to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryMovement'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryMovement'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryMovement to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryMovement'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryMovement'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/inventory/movements/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","source":"string","destination":"string","previousMovement":"string","sourceDenormalized":{"name":"string","virtual":false,"type":"external","priority":0,"nonTrackable":true},"destinationDenormalized":{"name":"string","virtual":false,"type":"external","priority":0,"nonTrackable":true},"previousMovementDenormalized":{"source":"string","destination":"string","operation":"OPENING_AMOUNT","amount":0},"product":"string","amount":0,"direction":0,"operation":"OPENING_AMOUNT","fulfillmentMovement":"string","order":"string","orderItem":"string","price":0,"notes":"string","isVoid":true,"deleted":true,"tags":["string"],"requestedBy":"string","requestedByModel":"commandCenterUser","nonTrackable":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryMovement to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryMovement'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - inventory
      security: []
  /inventory/locations:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: inventoryLocations
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              parentLocation:
                type: string
                x-ref: inventoryLocations
                description: Refers to inventoryLocations
                pattern: ^[0-9a-fA-F]{24}$
              address:
                title: address
                type: object
                properties:
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  coords:
                    type: array
                    items:
                      type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - address1
                  - city
                  - stateProvince
                  - postalCode
              virtual:
                type: boolean
                default: false
              type:
                type: string
                enum:
                  - external
                  - internal
              priority:
                type: number
              nonTrackable:
                type: boolean
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - virtual
              - type
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryLocations_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - inventory
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/inventory/locations?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryLocations'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryLocations'
  /inventory/locations/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryLocations to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - inventory
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/inventory/locations/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryLocations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryLocations'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryLocations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryLocations'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/inventory/locations/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","parentLocation":"string","address":{"address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"virtual":false,"type":"external","priority":0,"nonTrackable":true,"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryLocations to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - inventory
      security: []
  /inventory/incoming-tickets:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: inventoryIncomingTickets
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              units:
                type: number
              price:
                type: number
              notes:
                type: string
              arrivalDate:
                type: string
                format: date-time
              status:
                type: string
                enum:
                  - pending
                  - received
                  - canceled
                default: pending
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - product
              - units
              - price
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryIncomingTickets_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - inventory
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/inventory/incoming-tickets?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryIncomingTickets'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryIncomingTickets'
  /inventory/incoming-tickets/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryIncomingTickets to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryIncomingTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - inventory
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/inventory/incoming-tickets/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryIncomingTickets to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryIncomingTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryIncomingTickets'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryIncomingTickets to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryIncomingTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/inventoryIncomingTickets'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/inventory/incoming-tickets/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","product":"string","units":0,"price":0,"notes":"string","arrivalDate":"2019-08-24T14:15:22Z","status":"pending","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of inventoryIncomingTickets to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/inventoryIncomingTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - inventory
      security: []
  /inventory/operations:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /inventory:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - inventory
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /content/images:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - content
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /content:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: Content
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              filename:
                type: string
              size:
                type: string
              mimeType:
                type: string
              extension:
                type: string
              publicUrl:
                type: string
              thumbUrl:
                type: string
              isThumbComplete:
                type: boolean
              uploadLog:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - filename
              - size
              - mimeType
              - extension
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Content_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - content
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/content?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Content'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - content
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Content'
  /content/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of Content to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Content'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - content
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/content/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of Content to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Content'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - content
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Content'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of Content to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Content'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - content
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Content'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/content/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","filename":"string","size":"string","mimeType":"string","extension":"string","publicUrl":"string","thumbUrl":"string","isThumbComplete":true,"uploadLog":"string","createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of Content to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Content'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - content
      security: []
  /entity-audit-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: entityAuditLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              entityId:
                type: string
              name:
                type: string
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              tenantUser:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              byUserType:
                type: string
                enum:
                  - tenant-user
                  - microsite-user
              diff:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - entityId
              - name
              - byUserType
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/entityAuditLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - entity-audit-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/entity-audit-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/entityAuditLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - entity-audit-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/entityAuditLog'
  /entity-audit-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of entityAuditLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/entityAuditLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - entity-audit-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/entity-audit-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of entityAuditLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/entityAuditLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - entity-audit-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/entityAuditLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of entityAuditLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/entityAuditLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - entity-audit-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/entityAuditLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/entity-audit-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","entityId":"string","name":"string","micrositeUser":"string","tenantUser":"string","byUserType":"tenant-user","diff":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of entityAuditLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/entityAuditLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - entity-audit-log
      security: []
  /store-front/content/get-banners:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/get-banners?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/content/banners:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentBanners
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              startDate:
                type:
                  - string
                  - 'null'
                default: null
                format: date-time
              expireDate:
                type:
                  - string
                  - 'null'
                default: null
                format: date-time
              banner:
                type: string
              url:
                type: string
              name:
                type: string
              altText:
                type: string
              className:
                type: string
              isPublished:
                type: boolean
                default: true
              priority:
                type: number
                default: 1
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - banner
              - name
              - altText
              - isPublished
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBanners_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/banners?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBanners'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentBanners'
  /store-front/content/banners/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentBanners to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBanners'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/content/banners/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentBanners to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBanners'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentBanners'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentBanners to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBanners'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentBanners'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/content/banners/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","startDate":null,"expireDate":null,"banner":"string","url":"string","name":"string","altText":"string","className":"string","isPublished":true,"priority":1,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentBanners to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBanners'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/settings/stripe-publishable:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/settings/stripe-publishable?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/microsites/content/get-banners:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/microsites/content/get-banners?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/microsites/content/banners:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentBannerMicrosites
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsite
                description: Refers to microsite
                pattern: ^[0-9a-fA-F]{24}$
              startDate:
                type:
                  - string
                  - 'null'
                default: null
                format: date-time
              expireDate:
                type:
                  - string
                  - 'null'
                default: null
                format: date-time
              banner:
                type: string
              url:
                type: string
              name:
                type: string
              altText:
                type: string
              className:
                type: string
              isPublished:
                type: boolean
                default: true
              priority:
                type: number
                default: 1
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - microsite
              - banner
              - name
              - altText
              - isPublished
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBannerMicrosites_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/microsites/content/banners?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBannerMicrosites'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentBannerMicrosites'
  /store-front/microsites/content/banners/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentBannerMicrosites to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBannerMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/microsites/content/banners/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentBannerMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBannerMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentBannerMicrosites'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentBannerMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBannerMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentBannerMicrosites'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/microsites/content/banners/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","startDate":null,"expireDate":null,"banner":"string","url":"string","name":"string","altText":"string","className":"string","isPublished":true,"priority":1,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentBannerMicrosites to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentBannerMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/microsites/content/menus:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentMenusMicrosites
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              key:
                type: string
              name:
                type: string
              menuItems:
                type: array
                items:
                  title: itemOf_menuItems
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    url:
                      type: string
                    htmlTarget:
                      type: string
                    page:
                      type: string
                      x-ref: contentPageMicrosites
                      description: Refers to contentPageMicrosites
                      pattern: ^[0-9a-fA-F]{24}$
                    visibleToGroups:
                      type: array
                      items:
                        type: string
                        x-ref: micrositeCustomerGroups
                        description: Refers to micrositeCustomerGroups
                        pattern: ^[0-9a-fA-F]{24}$
                    priority:
                      type: number
                      default: 1
                    isHidden:
                      type: boolean
                      default: false
                    menuItems:
                      type: array
                      items:
                        title: itemOf_menuItems
                        type: object
                        properties:
                          key:
                            type: string
                          label:
                            type: string
                          url:
                            type: string
                          htmlTarget:
                            type: string
                          page:
                            type: string
                            x-ref: contentPageMicrosites
                            description: Refers to contentPageMicrosites
                            pattern: ^[0-9a-fA-F]{24}$
                          visibleToGroups:
                            type: array
                            items:
                              type: string
                              x-ref: micrositeCustomerGroups
                              description: Refers to micrositeCustomerGroups
                              pattern: ^[0-9a-fA-F]{24}$
                          priority:
                            type: number
                            default: 1
                          isHidden:
                            type: boolean
                            default: false
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - label
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - label
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - microsite
              - key
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenusMicrosites_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/microsites/content/menus?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenusMicrosites'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentMenusMicrosites'
  /store-front/microsites/content/menus/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenusMicrosites to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenusMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/microsites/content/menus/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenusMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenusMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentMenusMicrosites'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenusMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenusMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentMenusMicrosites'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/microsites/content/menus/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","key":"string","name":"string","menuItems":[{"key":"string","label":"string","url":"string","htmlTarget":"string","page":"string","visibleToGroups":["string"],"priority":1,"isHidden":false,"menuItems":[{"key":"string","label":"string","url":"string","htmlTarget":"string","page":"string","visibleToGroups":["string"],"priority":1,"isHidden":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenusMicrosites to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenusMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/microsites/content/pages/list:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/microsites/content/pages/list?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/microsites/content/pages:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentPageMicrosites
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              url:
                type: string
              name:
                type: string
              template:
                type: string
              title:
                type: string
              isHidden:
                type: boolean
                default: false
              meta:
                type: array
                items:
                  title: itemOf_meta
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - value
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              micrositeProduct:
                type: string
                x-ref: micrositeProducts
                description: Refers to micrositeProducts
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
                default: basic
              requireAuth:
                type: boolean
              productTags:
                type: array
                items:
                  type: string
              editableRegions:
                type: array
                items:
                  title: itemOf_editableRegions
                  type: object
                  properties:
                    key:
                      type: string
                    content:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - content
              querySort:
                type: array
                items:
                  title: itemOf_querySort
                  type: object
                  properties:
                    field:
                      type: string
                    direction:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - field
                    - direction
              subCategorySort:
                type: array
                items:
                  title: itemOf_subCategorySort
                  type: object
                  properties:
                    field:
                      type: string
                    direction:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - field
                    - direction
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - microsite
              - url
              - name
              - template
              - title
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPageMicrosites_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/microsites/content/pages?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPageMicrosites'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentPageMicrosites'
  /store-front/microsites/content/pages/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentPageMicrosites to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPageMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/microsites/content/pages/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentPageMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPageMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentPageMicrosites'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentPageMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPageMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentPageMicrosites'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/microsites/content/pages/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","url":"string","name":"string","template":"string","title":"string","isHidden":false,"meta":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"product":"string","micrositeProduct":"string","category":"string","type":"basic","requireAuth":true,"productTags":["string"],"editableRegions":[{"key":"string","content":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"querySort":[{"field":"string","direction":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"subCategorySort":[{"field":"string","direction":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentPageMicrosites to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPageMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/microsites/content/facade:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /store-front/microsites/content/global:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentGlobalMicrosites
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              title:
                type: string
              editableRegions:
                type: array
                items:
                  title: itemOf_editableRegions
                  type: object
                  properties:
                    key:
                      type: string
                    content:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - content
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - microsite
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobalMicrosites_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/microsites/content/global?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobalMicrosites'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentGlobalMicrosites'
  /store-front/microsites/content/global/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobalMicrosites to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobalMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/microsites/content/global/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobalMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobalMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentGlobalMicrosites'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobalMicrosites to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobalMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentGlobalMicrosites'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/microsites/content/global/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","title":"string","editableRegions":[{"key":"string","content":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobalMicrosites to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobalMicrosites'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/content/ftp-auth-v2:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /store-front/content/menus:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentMenu
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              key:
                type: string
              name:
                type: string
              menuItems:
                type: array
                items:
                  title: itemOf_menuItems
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    url:
                      type: string
                    htmlTarget:
                      type: string
                    page:
                      type: string
                      x-ref: content_pages
                      description: Refers to content_pages
                      pattern: ^[0-9a-fA-F]{24}$
                    priority:
                      type: number
                      default: 1
                    isHidden:
                      type: boolean
                      default: false
                    menuItems:
                      type: array
                      items:
                        title: itemOf_menuItems
                        type: object
                        properties:
                          key:
                            type: string
                          label:
                            type: string
                          url:
                            type: string
                          htmlTarget:
                            type: string
                          page:
                            type: string
                            x-ref: content_pages
                            description: Refers to content_pages
                            pattern: ^[0-9a-fA-F]{24}$
                          priority:
                            type: number
                            default: 1
                          isHidden:
                            type: boolean
                            default: false
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - label
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - label
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - key
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenu_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/menus?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenu'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentMenu'
  /store-front/content/menus/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenu to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenu'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/content/menus/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenu to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenu'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentMenu'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenu to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenu'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentMenu'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/content/menus/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","key":"string","name":"string","menuItems":[{"key":"string","label":"string","url":"string","htmlTarget":"string","page":"string","priority":1,"isHidden":false,"menuItems":[{"key":"string","label":"string","url":"string","htmlTarget":"string","page":"string","priority":1,"isHidden":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentMenu to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentMenu'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/content/pages/list:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/pages/list?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/content/pages/edit:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/pages/edit?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/content/pages:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentPage
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              url:
                type: string
              name:
                type: string
              template:
                type: string
              title:
                type: string
              isHidden:
                type: boolean
                default: false
              meta:
                type: array
                items:
                  title: itemOf_meta
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - value
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
                default: basic
              requireAuth:
                type: boolean
              editableRegions:
                type: array
                items:
                  title: itemOf_editableRegions
                  type: object
                  properties:
                    key:
                      type: string
                    content:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - content
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - url
              - name
              - template
              - title
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPage_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/pages?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPage'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentPage'
  /store-front/content/pages/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentPage to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/content/pages/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentPage to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentPage'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentPage to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentPage'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/content/pages/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","url":"string","name":"string","template":"string","title":"string","isHidden":false,"meta":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"product":"string","category":"string","type":"basic","requireAuth":true,"editableRegions":[{"key":"string","content":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentPage to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentPage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/request-host:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/request-host?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/content/global:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentGlobal
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              title:
                type: string
              editableRegions:
                type: array
                items:
                  title: itemOf_editableRegions
                  type: object
                  properties:
                    key:
                      type: string
                    content:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - content
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobal_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/global?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobal'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentGlobal'
  /store-front/content/global/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobal to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobal'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/content/global/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobal to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobal'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentGlobal'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobal to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobal'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentGlobal'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/content/global/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","title":"string","editableRegions":[{"key":"string","content":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentGlobal to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentGlobal'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/content/hero-stacks:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contentHeroStacks
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              heros:
                type: array
                items:
                  title: itemOf_heros
                  type: object
                  properties:
                    name:
                      type: string
                    description:
                      type: string
                    startDate:
                      type: string
                      format: date-time
                    expDate:
                      type: string
                      format: date-time
                    altText:
                      type: string
                    link:
                      type: string
                    image:
                      title: image
                      type: object
                      properties:
                        url:
                          type: string
                        contentImage:
                          type: string
                          x-ref: Content
                          description: Refers to Content
                          pattern: ^[0-9a-fA-F]{24}$
                    priority:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - name
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - key
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentHeroStacks_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/hero-stacks?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentHeroStacks'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentHeroStacks'
  /store-front/content/hero-stacks/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contentHeroStacks to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentHeroStacks'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/content/hero-stacks/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contentHeroStacks to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentHeroStacks'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentHeroStacks'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contentHeroStacks to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentHeroStacks'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contentHeroStacks'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/content/hero-stacks/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","key":"string","heros":[{"name":"string","description":"string","startDate":"2019-08-24T14:15:22Z","expDate":"2019-08-24T14:15:22Z","altText":"string","link":"string","image":{"url":"string","contentImage":"string"},"priority":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contentHeroStacks to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contentHeroStacks'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/content/facade:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /store-front/content/testimonials:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: testimonials
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              customerName:
                type: string
              isPublished:
                type: boolean
                default: false
              text:
                type: string
              rating:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - text
              - rating
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/testimonials_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/content/testimonials?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/testimonials'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/testimonials'
  /store-front/content/testimonials/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of testimonials to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/testimonials'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/content/testimonials/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of testimonials to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/testimonials'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/testimonials'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of testimonials to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/testimonials'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/testimonials'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/content/testimonials/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","customerName":"string","isPublished":false,"text":"string","rating":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of testimonials to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/testimonials'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - store-front
      security: []
  /store-front/theme-templates:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/store-front/theme-templates?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /store-front/theme-templates/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - store-front
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/store-front/theme-templates/%7Bid%7D
    patch:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - store-front
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/store-front/theme-templates/%7Bid%7D \
              --header 'content-type: application/json' \
              --data '{}'
  /download-archive:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - download-archive
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/mass-update/request-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productMassUpdaterLog
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              requestUrl:
                type: string
              requestName:
                type: string
              payload:
                type: string
              createdAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - requestUrl
              - requestName
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdaterLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/request-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdaterLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productMassUpdaterLog'
  /products-legacy/mass-update/request-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdaterLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdaterLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/request-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdaterLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdaterLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productMassUpdaterLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdaterLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdaterLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productMassUpdaterLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/request-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","user":"string","requestUrl":"string","requestName":"string","payload":"string","createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdaterLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdaterLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /upload-log/replace:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - upload-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /upload-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: uploadLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              requestThumbnail:
                type: boolean
              isPublic:
                type: boolean
              contentType:
                type: string
              size:
                type: number
              cloudBucket:
                type: string
              cloudPath:
                type: string
              cloudFilename:
                type: string
              originalFilename:
                type: string
              originalFilenameExtension:
                type: string
              fromSignedUrl:
                type: boolean
              isPersisted:
                type: boolean
              processingPipeline:
                title: processingPipeline
                type: object
                properties:
                  pipeline:
                    type: array
                    items:
                      title: itemOf_pipeline
                      type: object
                      properties:
                        action:
                          type: string
                        params: {}
                        status:
                          type: string
                          enum:
                            - pending
                            - success
                            - failure
                          default: pending
                        completedAt:
                          type: string
                          format: date-time
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - action
                  status:
                    type: string
                    enum:
                      - pending
                      - success
                      - failure
                    default: pending
                  completedAt:
                    type: string
                    format: date-time
              convertedFrom:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              thumbnails:
                type: array
                items:
                  title: itemOf_thumbnails
                  type: object
                  properties:
                    page:
                      type: number
                    url:
                      type: string
                    uploadLog:
                      type: string
                      x-ref: uploadLog
                      description: Refers to uploadLog
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - url
              classType:
                type: string
                default: legacy
              uploadSessionId:
                type: string
              hashType:
                type: string
              hash:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - size
              - cloudBucket
              - cloudPath
              - cloudFilename
              - originalFilename
              - originalFilenameExtension
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - upload-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/upload-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - upload-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploadLog'
  /upload-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of uploadLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - upload-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/upload-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of uploadLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - upload-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploadLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of uploadLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - upload-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploadLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/upload-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","requestThumbnail":true,"isPublic":true,"contentType":"string","size":0,"cloudBucket":"string","cloudPath":"string","cloudFilename":"string","originalFilename":"string","originalFilenameExtension":"string","fromSignedUrl":true,"isPersisted":true,"processingPipeline":{"pipeline":[{"action":"string","params":null,"status":"pending","completedAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"status":"pending","completedAt":"2019-08-24T14:15:22Z"},"convertedFrom":"string","thumbnails":[{"page":0,"url":"string","uploadLog":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"classType":"legacy","uploadSessionId":"string","hashType":"string","hash":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of uploadLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - upload-log
      security: []
  /activity-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: activityLog
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              module:
                type: string
              action:
                type: string
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              requestUrl:
                type: string
              requestName:
                type: string
              data:
                type: string
              createdAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - module
              - action
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - activity-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/activity-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - activity-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/activityLog'
  /activity-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of activityLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - activity-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/activity-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of activityLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - activity-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/activityLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of activityLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - activity-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/activityLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/activity-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","module":"string","action":"string","user":"string","requestUrl":"string","requestName":"string","data":"string","createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of activityLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/activityLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - activity-log
      security: []
  /auth/log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: authenticationLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              strategyType:
                type: string
                enum:
                  - jwt
                  - local
                  - global-local
                  - translator-local
                  - microsite-local
                  - customer-local
              email:
                type: string
              authResult:
                type: boolean
              ip:
                type: string
              httpUserAgent:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - strategyType
              - email
              - authResult
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authenticationLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - auth
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/auth/log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authenticationLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - auth
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/authenticationLog'
  /auth/log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of authenticationLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authenticationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - auth
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/auth/log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of authenticationLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authenticationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - auth
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/authenticationLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of authenticationLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authenticationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - auth
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/authenticationLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/auth/log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","strategyType":"jwt","email":"string","authResult":true,"ip":"string","httpUserAgent":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of authenticationLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/authenticationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - auth
      security: []
  /products-legacy/carton-types:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: cartonTypes
            type: object
            properties:
              ecmaCode:
                type: string
              name:
                type: string
              surfaceArea:
                type: string
              image3d:
                type: string
              modelOptions:
                title: modelOptions
                type: object
                properties:
                  KnifeInfo:
                    type: boolean
                  GlueZone:
                    type: boolean
                  Lock:
                    type: boolean
                  FullFlap:
                    type: boolean
                  Notch:
                    type: boolean
                  JuicePack:
                    type: boolean
                  RoundHole:
                    type: boolean
                  HangerCrease:
                    type: boolean
                  ReducedLock:
                    type: boolean
                  StrongSB:
                    type: boolean
                  FluteDir:
                    type: string
                    enum:
                      - Vertical
                      - Horizontal
                  DimensionType:
                    type: string
                    enum:
                      - In
                      - Crease
                      - Out
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              extraFields:
                type: array
                items:
                  title: itemOf_extraFields
                  type: object
                  properties:
                    name:
                      type: string
                    isNumber:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - name
                    - isNumber
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - ecmaCode
              - name
              - surfaceArea
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartonTypes_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/carton-types?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartonTypes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cartonTypes'
  /products-legacy/carton-types/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of cartonTypes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartonTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/carton-types/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of cartonTypes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartonTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cartonTypes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of cartonTypes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartonTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cartonTypes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/carton-types/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"ecmaCode":"string","name":"string","surfaceArea":"string","image3d":"string","modelOptions":{"KnifeInfo":true,"GlueZone":true,"Lock":true,"FullFlap":true,"Notch":true,"JuicePack":true,"RoundHole":true,"HangerCrease":true,"ReducedLock":true,"StrongSB":true,"FluteDir":"Vertical","DimensionType":"In","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"extraFields":[{"name":"string","isNumber":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of cartonTypes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartonTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/dieline-request:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: dielineRequest
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              cartonType:
                type: string
                x-ref: cartonTypes
                description: Refers to cartonTypes
                pattern: ^[0-9a-fA-F]{24}$
              width:
                type: number
              length:
                type: number
              depth:
                type: number
              extraFields:
                type: array
                items:
                  title: itemOf_extraFields
                  type: object
                  properties:
                    name:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - name
                    - value
              file:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
              - width
              - length
              - depth
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dielineRequest_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/dieline-request?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dielineRequest'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dielineRequest'
  /products-legacy/dieline-request/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of dielineRequest to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dielineRequest'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/dieline-request/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of dielineRequest to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dielineRequest'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dielineRequest'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of dielineRequest to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dielineRequest'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dielineRequest'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/dieline-request/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","cartonType":"string","width":0,"length":0,"depth":0,"extraFields":[{"name":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"file":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of dielineRequest to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dielineRequest'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/attributes:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productAttributeLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              entityAttribute:
                type: string
                x-ref: productAttributeTypesLegacy
                description: Refers to productAttributeTypesLegacy
              hrCode:
                type: string
              name:
                type: string
              width:
                type: number
              height:
                type: number
              thickness:
                type: number
              priority:
                type: number
              unitType:
                type: string
                enum:
                  - inch
                  - cm
                  - meter
                  - foot
                default: inch
              description:
                type: string
              shortDescription:
                type: string
              productionNotes:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              imagesSecondary:
                type: array
                items:
                  title: itemOf_imagesSecondary
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              color:
                type: string
              hideOnStoreFront:
                type: boolean
                default: false
              isOutOfStockManual:
                type: boolean
                default: false
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              tags:
                type: array
                items:
                  type: string
              isDeleted:
                type: boolean
                default: false
              upstreamAttribute:
                type: array
                items:
                  title: itemOf_upstreamAttribute
                  type: object
                  properties:
                    associatedAt:
                      type: string
                      format: date-time
                    tenant:
                      type: string
                      x-ref: tenants
                      description: Refers to tenants
                      pattern: ^[0-9a-fA-F]{24}$
                    attribute:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - tenant
                    - attribute
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - entityAttribute
              - hrCode
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/attributes?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAttributeLegacy'
  /products-legacy/attributes/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/attributes/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAttributeLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAttributeLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/attributes/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","entityAttribute":"string","hrCode":"string","name":"string","width":0,"height":0,"thickness":0,"priority":0,"unitType":"inch","description":"string","shortDescription":"string","productionNotes":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"imagesSecondary":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"color":"string","hideOnStoreFront":false,"isOutOfStockManual":false,"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"tags":["string"],"isDeleted":false,"upstreamAttribute":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","attribute":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/attributes/merge:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/categories:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productCategoryLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              pricingMethod:
                type: string
              name:
                type: string
              internalName:
                type: string
              parentCategory:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              entityAttributes:
                type: array
                items:
                  type: string
                  x-ref: productAttributeTypesLegacy
                  description: Refers to productAttributeTypesLegacy
              hrCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              media:
                type: array
                items:
                  title: itemOf_media
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - video
                        - image
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              shortDescription:
                type: string
              shortDescription2:
                type: string
              description:
                type: string
              description2:
                type: string
              description3:
                type: string
              entityAttributePriority:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              tags:
                type: array
                items:
                  type: string
              priority:
                type: number
              isOrientationEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              isHidden:
                type: boolean
              upstreamCategory:
                type: array
                items:
                  title: itemOf_upstreamCategory
                  type: object
                  properties:
                    associatedAt:
                      type: string
                      format: date-time
                    tenant:
                      type: string
                      x-ref: tenants
                      description: Refers to tenants
                      pattern: ^[0-9a-fA-F]{24}$
                    category:
                      type: string
                      x-ref: productCategoryLegacy
                      description: Refers to productCategoryLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - tenant
                    - category
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - pricingMethod
              - name
              - hrCode
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCategoryLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/categories?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCategoryLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productCategoryLegacy'
  /products-legacy/categories/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productCategoryLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCategoryLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/categories/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productCategoryLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCategoryLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productCategoryLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productCategoryLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCategoryLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productCategoryLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/categories/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","pricingMethod":"string","name":"string","internalName":"string","parentCategory":"string","entityAttributes":["string"],"hrCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"media":[{"type":"video","url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"shortDescription":"string","shortDescription2":"string","description":"string","description2":"string","description3":"string","entityAttributePriority":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"tags":["string"],"priority":0,"isOrientationEnabled":false,"isDisabled":false,"isHidden":true,"upstreamCategory":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","category":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productCategoryLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCategoryLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/attribute-types:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productAttributeTypesLegacy
            type: object
            properties:
              _id:
                type: string
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              hrCode:
                type: string
              name:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - hrCode
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeTypesLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/attribute-types?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeTypesLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAttributeTypesLegacy'
  /products-legacy/attribute-types/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeTypesLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeTypesLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/attribute-types/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeTypesLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeTypesLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAttributeTypesLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeTypesLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeTypesLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAttributeTypesLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/attribute-types/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"_id":"string","business":"string","hrCode":"string","name":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productAttributeTypesLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAttributeTypesLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/price-lists:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: priceListsLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              description:
                type: string
              defaultPercentage:
                type: number
              isFreeShippingEnabled:
                type: boolean
                default: false
              productOverrides:
                type: array
                items:
                  title: itemOf_productOverrides
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    price:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - price
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - name
              - description
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/priceListsLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/price-lists?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/priceListsLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/priceListsLegacy'
  /products-legacy/price-lists/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of priceListsLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/priceListsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/price-lists/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of priceListsLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/priceListsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/priceListsLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of priceListsLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/priceListsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/priceListsLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/price-lists/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","name":"string","description":"string","defaultPercentage":0,"isFreeShippingEnabled":false,"productOverrides":[{"product":"string","price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of priceListsLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/priceListsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/add-ons/quantity-price/{addOnId}/{quantity?}:
    get:
      parameters:
        - in: path
          name: addOnId
          schema:
            type: string
          required: true
          description: addOnId parameter
        - in: path
          name: quantity?
          schema:
            type: string
          required: true
          description: quantity? parameter
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/add-ons/quantity-price/%7BaddOnId%7D/%7Bquantity?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE&%7D='
    post:
      parameters:
        - in: path
          name: addOnId
          schema:
            type: string
          required: true
          description: addOnId parameter
        - in: path
          name: quantity?
          schema:
            type: string
          required: true
          description: quantity? parameter
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/add-ons/quantity-price/{addOnId}/{quantity?}/{id}:
    delete:
      parameters:
        - in: path
          name: addOnId
          schema:
            type: string
          required: true
          description: addOnId parameter
        - in: path
          name: quantity?
          schema:
            type: string
          required: true
          description: quantity? parameter
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/add-ons-base:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/add-ons-base?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /products-legacy/add-ons-base/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/add-ons-base/%7Bid%7D
  /products-legacy/add-ons:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productAddOnsLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              addOnId:
                type: string
              setup:
                type: number
                default: 0
              rate:
                type: number
                default: 0
              minimum:
                type: number
                default: 0
              turnaround:
                type: number
                default: 0
              sqFtRate:
                type: number
                default: 0
              quantityPrices:
                type: array
                items:
                  title: itemOf_quantityPrices
                  type: object
                  properties:
                    quantity:
                      type: number
                    price:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - addOnId
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAddOnsLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/add-ons?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAddOnsLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAddOnsLegacy'
  /products-legacy/add-ons/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productAddOnsLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAddOnsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/add-ons/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productAddOnsLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAddOnsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAddOnsLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productAddOnsLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAddOnsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productAddOnsLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/add-ons/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","addOnId":"string","setup":0,"rate":0,"minimum":0,"turnaround":0,"sqFtRate":0,"quantityPrices":[{"quantity":0,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productAddOnsLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productAddOnsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/add-ons-pricing/{id}:
    put:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/variant-types:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productVariantTypes
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              priority:
                type: number
              valueSortBy:
                type: string
                default: name
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - key
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypes_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/variant-types?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productVariantTypes'
  /products-legacy/variant-types/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/variant-types/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productVariantTypes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productVariantTypes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/variant-types/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","key":"string","priority":0,"valueSortBy":"name","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/variant-type-values:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productVariantTypeValues
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
                x-ref: productVariantTypes
                description: Refers to productVariantTypes
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              priority:
                type: number
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - type
              - name
              - key
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypeValues_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/variant-type-values?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypeValues'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productVariantTypeValues'
  /products-legacy/variant-type-values/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypeValues to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypeValues'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/variant-type-values/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypeValues to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypeValues'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productVariantTypeValues'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypeValues to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypeValues'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productVariantTypeValues'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/variant-type-values/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","type":"string","name":"string","key":"string","priority":0,"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productVariantTypeValues to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productVariantTypeValues'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/customer-prices-override:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productCustomerPricesOverrides
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: products
                description: Refers to products
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: categories
                description: Refers to categories
                pattern: ^[0-9a-fA-F]{24}$
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              turnaroundTimeStandard:
                type: number
                default: 5
              turnaroundTimeRush:
                type: number
                default: 1
              turnaroundTimeRushIsEnabled:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
              - product
              - category
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCustomerPricesOverrides_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/customer-prices-override?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCustomerPricesOverrides'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productCustomerPricesOverrides'
  /products-legacy/customer-prices-override/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productCustomerPricesOverrides to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCustomerPricesOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/customer-prices-override/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productCustomerPricesOverrides to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCustomerPricesOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productCustomerPricesOverrides'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productCustomerPricesOverrides to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCustomerPricesOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productCustomerPricesOverrides'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/customer-prices-override/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","product":"string","category":"string","price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"turnaroundTimeStandard":5,"turnaroundTimeRush":1,"turnaroundTimeRushIsEnabled":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productCustomerPricesOverrides to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productCustomerPricesOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/prices-pricelist-override:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: pricesPricelistOverrides
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              priceList:
                type: string
                x-ref: priceLists
                description: Refers to priceLists
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: products
                description: Refers to products
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: categories
                description: Refers to categories
                pattern: ^[0-9a-fA-F]{24}$
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              turnaroundTimeStandard:
                type: number
                default: 5
              turnaroundTimeRush:
                type: number
                default: 1
              turnaroundTimeRushIsEnabled:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - priceList
              - product
              - category
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pricesPricelistOverrides_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/prices-pricelist-override?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pricesPricelistOverrides'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pricesPricelistOverrides'
  /products-legacy/prices-pricelist-override/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of pricesPricelistOverrides to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pricesPricelistOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/prices-pricelist-override/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of pricesPricelistOverrides to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pricesPricelistOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pricesPricelistOverrides'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of pricesPricelistOverrides to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pricesPricelistOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pricesPricelistOverrides'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/prices-pricelist-override/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","priceList":"string","product":"string","category":"string","price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"turnaroundTimeStandard":5,"turnaroundTimeRush":1,"turnaroundTimeRushIsEnabled":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of pricesPricelistOverrides to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pricesPricelistOverrides'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update-request:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /product-mass-update-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productMassUpdateLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              filter: {}
              values: {}
              productAffected:
                type: array
                items:
                  type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - updatedBy
              - updatedByModel
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdateLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - product-mass-update-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/product-mass-update-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdateLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - product-mass-update-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productMassUpdateLog'
  /product-mass-update-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdateLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdateLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - product-mass-update-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/product-mass-update-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdateLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdateLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - product-mass-update-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productMassUpdateLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdateLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdateLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - product-mass-update-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productMassUpdateLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/product-mass-update-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","createdAt":"2019-08-24T14:15:22Z","updatedBy":"string","updatedByModel":"user","filter":null,"values":null,"productAffected":["string"],"_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productMassUpdateLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productMassUpdateLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - product-mass-update-log
      security: []
  /products-legacy/fulfillment-stats:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /webhook-subscriptions:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: webhookSubscriptions
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              url:
                type: string
              name:
                type: string
              description:
                type: string
              status:
                type: string
                enum:
                  - active
                  - disabled
                  - failing
                default: disabled
              events:
                type: array
                items:
                  type: string
                minItems: 1
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - url
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/webhookSubscriptions_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - webhook-subscriptions
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/webhook-subscriptions?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/webhookSubscriptions'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - webhook-subscriptions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/webhookSubscriptions'
  /webhook-subscriptions/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of webhookSubscriptions to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/webhookSubscriptions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - webhook-subscriptions
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/webhook-subscriptions/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of webhookSubscriptions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/webhookSubscriptions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - webhook-subscriptions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/webhookSubscriptions'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of webhookSubscriptions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/webhookSubscriptions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - webhook-subscriptions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/webhookSubscriptions'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/webhook-subscriptions/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","url":"string","name":"string","description":"string","status":"active","events":["string"],"createdBy":"string","createdByModel":"user","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of webhookSubscriptions to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/webhookSubscriptions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - webhook-subscriptions
      security: []
  /webhook-events:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - webhook-events
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/webhook-events?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /data-views:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: dataViews
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              viewType:
                type: string
                enum:
                  - list
                  - grid
              name:
                type: string
              columns:
                type: array
                items:
                  title: itemOf_columns
                  type: object
                  properties:
                    name:
                      type: string
                    id:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - name
                    - id
                    - priority
              filter: {}
              exportFields:
                type: array
                items:
                  type: string
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - viewType
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dataViews_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - data-views
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/data-views?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dataViews'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - data-views
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dataViews'
  /data-views/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of dataViews to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dataViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - data-views
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/data-views/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of dataViews to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dataViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - data-views
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dataViews'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of dataViews to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dataViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - data-views
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/dataViews'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/data-views/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","viewType":"list","name":"string","columns":[{"name":"string","id":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"filter":null,"exportFields":["string"],"vendor":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of dataViews to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/dataViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - data-views
      security: []
  /integrations/qb-online/auth-url:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - integrations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /integrations/qb-online/install:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - integrations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/integrations/qb-online/install?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /integrations/oauth-states:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: oauthState
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              value:
                type: string
              integrationType:
                type: string
              redirectAfter:
                type: string
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - integrationType
              - redirectAfter
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/oauthState_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - integrations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/integrations/oauth-states?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/oauthState'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - integrations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/oauthState'
  /integrations/oauth-states/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of oauthState to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/oauthState'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - integrations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/integrations/oauth-states/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of oauthState to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/oauthState'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - integrations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/oauthState'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of oauthState to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/oauthState'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - integrations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/oauthState'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/integrations/oauth-states/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","value":"string","integrationType":"string","redirectAfter":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of oauthState to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/oauthState'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - integrations
      security: []
  /integrations/qb-online/accounts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - integrations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/integrations/qb-online/accounts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /integrations/xero/auth-url:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - integrations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /integrations/xero/install:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - integrations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/integrations/xero/install?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /integrations/xero/accounts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - integrations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/integrations/xero/accounts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /accounting-integration-logs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: accountingIntegrationLogs
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              integrationType:
                type: string
              entityId:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              entityName:
                type: string
              serviceName:
                type: string
              method:
                type: string
              startedAt:
                type: string
                format: date-time
              completedAt:
                type: string
                format: date-time
              status:
                type: string
                enum:
                  - pending
                  - in-progress
                  - complete
                  - canceled
                  - failed
                default: pending
              errorMessage:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - integrationType
              - entityName
              - serviceName
              - method
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountingIntegrationLogs_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - accounting-integration-logs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/accounting-integration-logs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountingIntegrationLogs'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - accounting-integration-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/accountingIntegrationLogs'
  /accounting-integration-logs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of accountingIntegrationLogs to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountingIntegrationLogs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - accounting-integration-logs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/accounting-integration-logs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of accountingIntegrationLogs to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountingIntegrationLogs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - accounting-integration-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/accountingIntegrationLogs'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of accountingIntegrationLogs to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountingIntegrationLogs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - accounting-integration-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/accountingIntegrationLogs'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/accounting-integration-logs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","integrationType":"string","entityId":"string","entityName":"string","serviceName":"string","method":"string","startedAt":"2019-08-24T14:15:22Z","completedAt":"2019-08-24T14:15:22Z","status":"pending","errorMessage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of accountingIntegrationLogs to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/accountingIntegrationLogs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - accounting-integration-logs
      security: []
  /id-server-logs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: idServerLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              requestType:
                type: string
                enum:
                  - imposition
                  - design-vdp
              renderOutputType:
                type: string
                enum:
                  - preview
                  - final
              designTemplate:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              imposition:
                type: string
                x-ref: productionBatches
                description: Refers to productionBatches
                pattern: ^[0-9a-fA-F]{24}$
              status:
                type: string
                enum:
                  - pending
                  - queued
                  - complete
                  - in-progress
                  - failure
                default: queued
              resultUrls:
                type: array
                items:
                  type: string
              idServerOutput:
                type: string
              errorMessage:
                type: string
              context: {}
              expiresAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - requestType
              - renderOutputType
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/idServerLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - id-server-logs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/id-server-logs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/idServerLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - id-server-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/idServerLog'
  /id-server-logs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of idServerLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/idServerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - id-server-logs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/id-server-logs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of idServerLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/idServerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - id-server-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/idServerLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of idServerLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/idServerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - id-server-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/idServerLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/id-server-logs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","requestType":"imposition","renderOutputType":"preview","designTemplate":"string","imposition":"string","status":"pending","resultUrls":["string"],"idServerOutput":"string","errorMessage":"string","context":null,"expiresAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of idServerLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/idServerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - id-server-logs
      security: []
  /user-messages/all-read:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-messages
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /user-messages:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: userMessage
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              recipientUser:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              recipientUserModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
                  - customers
              recipientUserLabel:
                type: string
              actionBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              actionByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
                  - customers
              actionByLabel:
                type: string
              message:
                type: string
              action:
                type: string
              subject:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              subjectModel:
                type: string
                enum:
                  - orders
                  - rfq
                  - purchaseOrder
                  - proofsv2
                  - reportResults
                  - designJob
              subjectLabel:
                type: string
              isRead:
                type: boolean
                default: false
              readAt:
                type: string
                format: date-time
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _metadata:
                type: array
                items:
                  title: itemOf__metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - recipientUser
              - recipientUserModel
              - subject
              - subjectModel
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userMessage_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user-messages
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user-messages?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userMessage'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-messages
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userMessage'
  /user-messages/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of userMessage to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userMessage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - user-messages
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/user-messages/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of userMessage to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userMessage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-messages
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userMessage'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of userMessage to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userMessage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-messages
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userMessage'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/user-messages/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","vendor":"string","recipientUser":"string","recipientUserModel":"user","recipientUserLabel":"string","actionBy":"string","actionByModel":"user","actionByLabel":"string","message":"string","action":"string","subject":"string","subjectModel":"orders","subjectLabel":"string","isRead":false,"readAt":"2019-08-24T14:15:22Z","tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of userMessage to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userMessage'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - user-messages
      security: []
  /job-scheduler/jobs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: jobSchedulerJobs
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              customerName:
                type: string
              jobNumber:
                type: string
              customerJobName:
                type: string
              description:
                type: string
              quantity:
                type: number
              size:
                type: string
              stock:
                type: string
              needsPressCheck:
                type: boolean
                default: false
              dueDate:
                type: string
                format: date-time
              workflowTemplate:
                type: string
                x-ref: jobSchedulerWorkflowTemplates
                description: Refers to jobSchedulerWorkflowTemplates
                pattern: ^[0-9a-fA-F]{24}$
              workflowTemplates:
                type: array
                items:
                  title: itemOf_workflowTemplates
                  type: object
                  properties:
                    workflowTemplate:
                      type: string
                      x-ref: jobSchedulerWorkflowTemplates
                      description: Refers to jobSchedulerWorkflowTemplates
                      pattern: ^[0-9a-fA-F]{24}$
                    workflowTemplateType:
                      type: string
                      x-ref: jobSchedulerWorkflowTemplateTypes
                      description: Refers to jobSchedulerWorkflowTemplateTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    workflowTemplateTypeName:
                      type: string
                    workflowTemplateName:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - workflowTemplate
              column:
                type: string
                x-ref: jobSchedulerColumns
                description: Refers to jobSchedulerColumns
                pattern: ^[0-9a-fA-F]{24}$
              steps:
                type: array
                items:
                  title: itemOf_steps
                  type: object
                  properties:
                    column:
                      type: string
                      x-ref: jobSchedulerColumns
                      description: Refers to jobSchedulerColumns
                      pattern: ^[0-9a-fA-F]{24}$
                    workflowTemplate:
                      type: string
                      x-ref: jobSchedulerWorkflowTemplates
                      description: Refers to jobSchedulerWorkflowTemplates
                      pattern: ^[0-9a-fA-F]{24}$
                    workflowTemplateType:
                      type: string
                      x-ref: jobSchedulerWorkflowTemplateTypes
                      description: Refers to jobSchedulerWorkflowTemplateTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    resourceType:
                      type: string
                    resource:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    enteredAt:
                      type: string
                      format: date-time
                    exitedAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - column
              columnPriority:
                type: number
                default: 0
              isComplete:
                type: boolean
                default: false
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - needsPressCheck
              - isComplete
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerJobs_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/job-scheduler/jobs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerJobs'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerJobs'
  /job-scheduler/jobs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerJobs to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/job-scheduler/jobs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerJobs to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerJobs'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerJobs to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerJobs'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/job-scheduler/jobs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","customer":"string","micrositeUser":"string","order":"string","orderItem":"string","humanId":"string","customerName":"string","jobNumber":"string","customerJobName":"string","description":"string","quantity":0,"size":"string","stock":"string","needsPressCheck":false,"dueDate":"2019-08-24T14:15:22Z","workflowTemplate":"string","workflowTemplates":[{"workflowTemplate":"string","workflowTemplateType":"string","workflowTemplateTypeName":"string","workflowTemplateName":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"column":"string","steps":[{"column":"string","workflowTemplate":"string","workflowTemplateType":"string","resourceType":"string","resource":"string","enteredAt":"2019-08-24T14:15:22Z","exitedAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"columnPriority":0,"isComplete":false,"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerJobs to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - job-scheduler
      security: []
  /job-scheduler/columns:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: jobSchedulerColumns
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              name:
                type: string
              sortOrder:
                type: number
              isGlobal:
                type: boolean
                default: false
              isFinal:
                type: boolean
                default: false
              orderItemStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerColumns_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/job-scheduler/columns?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerColumns'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerColumns'
  /job-scheduler/columns/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerColumns to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerColumns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/job-scheduler/columns/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerColumns to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerColumns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerColumns'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerColumns to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerColumns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerColumns'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/job-scheduler/columns/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","humanId":"string","name":"string","sortOrder":0,"isGlobal":false,"isFinal":false,"orderItemStatus":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerColumns to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerColumns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - job-scheduler
      security: []
  /job-scheduler/workflow-templates:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: jobSchedulerWorkflowTemplates
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              name:
                type: string
              type:
                type: string
                x-ref: jobSchedulerWorkflowTemplateTypes
                description: Refers to jobSchedulerWorkflowTemplateTypes
                pattern: ^[0-9a-fA-F]{24}$
              steps:
                type: array
                items:
                  title: itemOf_steps
                  type: object
                  properties:
                    column:
                      type: string
                      x-ref: jobSchedulerColumns
                      description: Refers to jobSchedulerColumns
                      pattern: ^[0-9a-fA-F]{24}$
                    sortOrder:
                      type: number
                      default: 100
                    resourceType:
                      type: string
                      enum:
                        - digital-press
                        - offset-press
                        - wide-format-press
                        - router
                        - coater
                        - cutter
                        - die-cutter
                        - folder
                        - gluing
                        - mounting
                        - stitcher
                        - bindery
                        - coiling
                        - collating
                        - laminator
                        - wide-format-cutting
                        - wide-format-laminating
                        - wide-format-plotter
                        - other
                    resource:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - column
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - type
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplates_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/job-scheduler/workflow-templates?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
  /job-scheduler/workflow-templates/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplates to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/job-scheduler/workflow-templates/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/job-scheduler/workflow-templates/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","humanId":"string","name":"string","type":"string","steps":[{"column":"string","sortOrder":100,"resourceType":"digital-press","resource":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplates to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - job-scheduler
      security: []
  /job-scheduler/views:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: jobSchedulerViews
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              name:
                type: string
              columns:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerColumns
                  description: Refers to jobSchedulerColumns
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              filter: {}
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerViews_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/job-scheduler/views?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerViews'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerViews'
  /job-scheduler/views/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerViews to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/job-scheduler/views/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerViews to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerViews'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerViews to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerViews'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/job-scheduler/views/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","humanId":"string","name":"string","columns":["string"],"filter":null,"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerViews to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerViews'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - job-scheduler
      security: []
  /job-scheduler/workflow-template-types:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: jobSchedulerWorkflowTemplateTypes
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              name:
                type: string
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/jobSchedulerWorkflowTemplateTypes_pagination
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/job-scheduler/workflow-template-types?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
  /job-scheduler/workflow-template-types/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplateTypes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - job-scheduler
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/job-scheduler/workflow-template-types/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplateTypes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplateTypes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - job-scheduler
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/job-scheduler/workflow-template-types/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","humanId":"string","name":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of jobSchedulerWorkflowTemplateTypes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - job-scheduler
      security: []
  /pick-list-scanner-logs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: pickListScannerLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              scannedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              scannedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    orderItem:
                      type: string
                      x-ref: orderItems
                      description: Refers to orderItems
                      pattern: ^[0-9a-fA-F]{24}$
                    orderItemHumanId:
                      type: string
                    location:
                      type: string
                      x-ref: inventoryLocations
                      description: Refers to inventoryLocations
                      pattern: ^[0-9a-fA-F]{24}$
                    locationName:
                      type: string
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    productKey:
                      type: string
                    productDescription:
                      type: string
                    toBePickedQuantity:
                      type: number
                    pickedQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - orderItemHumanId
                    - location
                    - locationName
                    - productKey
                    - toBePickedQuantity
                    - pickedQuantity
              completed:
                type: boolean
              completedAt:
                type: string
                format: date-time
              notes:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              expiresAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - order
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickListScannerLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - pick-list-scanner-logs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/pick-list-scanner-logs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickListScannerLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pick-list-scanner-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pickListScannerLog'
  /pick-list-scanner-logs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of pickListScannerLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickListScannerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - pick-list-scanner-logs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/pick-list-scanner-logs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of pickListScannerLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickListScannerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - pick-list-scanner-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pickListScannerLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of pickListScannerLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickListScannerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - pick-list-scanner-logs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pickListScannerLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/pick-list-scanner-logs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","scannedBy":"string","scannedByModel":"user","order":"string","items":[{"orderItem":"string","orderItemHumanId":"string","location":"string","locationName":"string","product":"string","productKey":"string","productDescription":"string","toBePickedQuantity":0,"pickedQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"completed":true,"completedAt":"2019-08-24T14:15:22Z","notes":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","expiresAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of pickListScannerLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickListScannerLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - pick-list-scanner-logs
      security: []
  /links:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: links
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              code:
                type: string
              longUrl:
                type: string
              expiresAt:
                type: string
                format: date-time
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - code
              - longUrl
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - links
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/links?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - links
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/links'
  /links/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of links to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - links
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/links/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of links to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - links
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/links'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of links to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - links
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/links'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/links/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","code":"string","longUrl":"string","expiresAt":"2019-08-24T14:15:22Z","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of links to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/links'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - links
      security: []
  /design-job-prices:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: designJobPrices
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              description:
                type: string
              amount:
                type: number
              hideOnStoreFront:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobPrices_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - design-job-prices
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/design-job-prices?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobPrices'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-job-prices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designJobPrices'
  /design-job-prices/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of designJobPrices to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobPrices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - design-job-prices
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/design-job-prices/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of designJobPrices to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobPrices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-job-prices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designJobPrices'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of designJobPrices to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobPrices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-job-prices
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designJobPrices'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/design-job-prices/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","description":"string","amount":0,"hideOnStoreFront":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of designJobPrices to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobPrices'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - design-job-prices
      security: []
  /batch-imports/row:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - batch-imports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /batch-imports/definitions:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - batch-imports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/batch-imports/definitions?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /batch-imports/definitions/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - batch-imports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/batch-imports/definitions/%7Bid%7D
  /batch-imports:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: batchImports
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              startedAt:
                type: string
                format: date-time
              completedAt:
                type: string
                format: date-time
              expiresAt:
                type: string
                format: date-time
              requestedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              requestedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              importKey:
                type: string
              importName:
                type: string
              params: {}
              data:
                type: array
                items:
                  title: itemOf_data
                  type: object
                  properties:
                    rawRow: {}
                    status:
                      type: string
                      enum:
                        - queued
                        - in-progress
                        - complete
                        - failure
                      default: queued
                    errorMessages:
                      type: string
                    startedAt:
                      type: string
                      format: date-time
                    completedAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - rawRow
                    - status
              numRows:
                type: number
              status:
                type: string
                enum:
                  - queued
                  - starting
                  - in-progress
                  - complete
                  - complete-with-failures
                  - failure
                  - canceled
                default: queued
              errorMessages:
                type: string
              gcPubSubTopic:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - requestedBy
              - requestedByModel
              - importKey
              - importName
              - numRows
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batchImports_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - batch-imports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/batch-imports?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batchImports'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - batch-imports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batchImports'
  /batch-imports/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of batchImports to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batchImports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - batch-imports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/batch-imports/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of batchImports to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batchImports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - batch-imports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batchImports'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of batchImports to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batchImports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - batch-imports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/batchImports'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/batch-imports/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","createdAt":"2019-08-24T14:15:22Z","startedAt":"2019-08-24T14:15:22Z","completedAt":"2019-08-24T14:15:22Z","expiresAt":"2019-08-24T14:15:22Z","requestedBy":"string","requestedByModel":"user","importKey":"string","importName":"string","params":null,"data":[{"rawRow":null,"status":"queued","errorMessages":"string","startedAt":"2019-08-24T14:15:22Z","completedAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"numRows":0,"status":"queued","errorMessages":"string","gcPubSubTopic":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of batchImports to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/batchImports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - batch-imports
      security: []
  /sandbox-sync:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sandbox-sync
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom/sandg/capital-one-cubes:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customSandgCapitalOneCubes
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              patentGrantDate:
                type: string
              patentTitle:
                type: string
              patentNumber:
                type: string
              productSku:
                type: string
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              email:
                type: string
              fulfillmentOrder:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              fulfillmentOrderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              isClaimed:
                type: boolean
                default: false
              fulfillmentType:
                type: string
                enum:
                  - cube
                  - tree
                  - opt-out
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - patentGrantDate
              - patentTitle
              - patentNumber
              - email
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customSandgCapitalOneCubes_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - custom
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/custom/sandg/capital-one-cubes?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customSandgCapitalOneCubes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customSandgCapitalOneCubes'
  /custom/sandg/capital-one-cubes/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customSandgCapitalOneCubes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customSandgCapitalOneCubes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - custom
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/custom/sandg/capital-one-cubes/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customSandgCapitalOneCubes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customSandgCapitalOneCubes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - custom
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customSandgCapitalOneCubes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customSandgCapitalOneCubes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customSandgCapitalOneCubes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - custom
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customSandgCapitalOneCubes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/custom/sandg/capital-one-cubes/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","name":"string","patentGrantDate":"string","patentTitle":"string","patentNumber":"string","productSku":"string","product":"string","email":"string","fulfillmentOrder":"string","fulfillmentOrderItem":"string","isClaimed":false,"fulfillmentType":"cube","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customSandgCapitalOneCubes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customSandgCapitalOneCubes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - custom
      security: []
  /custom/archway/rfq-payable-email:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom/archway/rfq-client-billing:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom/archway/sbr-payable-email:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/portal-products:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: portalProductsLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              portal:
                type: string
                x-ref: tenantPortals
                description: Refers to tenantPortals
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              XMPieProducts:
                type: array
                items:
                  title: itemOf_XMPieProducts
                  type: object
                  properties:
                    XMPieProductId:
                      type: string
                    productName:
                      type: string
                    displayName:
                      type: string
                    type:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isPublished:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - portal
              - category
              - product
              - isPublished
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/portalProductsLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/portal-products?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/portalProductsLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/portalProductsLegacy'
  /products-legacy/portal-products/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of portalProductsLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/portalProductsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/portal-products/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of portalProductsLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/portalProductsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/portalProductsLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of portalProductsLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/portalProductsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/portalProductsLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/portal-products/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","portal":"string","category":"string","product":"string","XMPieProducts":[{"XMPieProductId":"string","productName":"string","displayName":"string","type":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isPublished":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of portalProductsLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/portalProductsLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/order-limit/v2:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/order-limit:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/order-limit-increase:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productOrderLimitIncrease
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeCustomer:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              products:
                type: array
                items:
                  type: string
                  x-ref: ProductLegacy
                  description: Refers to ProductLegacy
                  pattern: ^[0-9a-fA-F]{24}$
              group:
                type: string
                x-ref: micrositeCustomerGroups
                description: Refers to micrositeCustomerGroups
                pattern: ^[0-9a-fA-F]{24}$
              groupPolicy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              startDate:
                type: string
                format: date-time
              endDate:
                type: string
                format: date-time
              notes:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - micrositeCustomer
              - amount
              - startDate
              - endDate
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productOrderLimitIncrease_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/order-limit-increase?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productOrderLimitIncrease'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productOrderLimitIncrease'
  /products-legacy/order-limit-increase/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productOrderLimitIncrease to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productOrderLimitIncrease'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/order-limit-increase/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productOrderLimitIncrease to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productOrderLimitIncrease'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productOrderLimitIncrease'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productOrderLimitIncrease to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productOrderLimitIncrease'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productOrderLimitIncrease'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/order-limit-increase/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","micrositeCustomer":"string","product":"string","products":["string"],"group":"string","groupPolicy":"string","amount":0,"startDate":"2019-08-24T14:15:22Z","endDate":"2019-08-24T14:15:22Z","notes":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productOrderLimitIncrease to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productOrderLimitIncrease'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/price-grid:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/price-grid?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /products-legacy/notes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/price:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/artwork-variant-artwork-upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/artwork-upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/artwork-download:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/version/new:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/version/set-active:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/composite-inventory-count:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/inventory-summary-check/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/inventory-summary-check/%7Bid%7D
  /products-legacy/category-attributes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/{productId}/price-update:
    get:
      parameters:
        - in: path
          name: productId
          schema:
            type: string
          required: true
          description: productId parameter
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/%7BproductId%7D/price-update?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters:
        - in: path
          name: productId
          schema:
            type: string
          required: true
          description: productId parameter
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/{productId}/price-update/{_id}:
    get:
      parameters:
        - in: path
          name: productId
          schema:
            type: string
          required: true
          description: productId parameter
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/%7BproductId%7D/price-update/%7B_id%7D
    put:
      parameters:
        - in: path
          name: productId
          schema:
            type: string
          required: true
          description: productId parameter
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: productId
          schema:
            type: string
          required: true
          description: productId parameter
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/%7BproductId%7D/price-update/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: productId
          schema:
            type: string
          required: true
          description: productId parameter
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/category-attribute-search:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/category-attribute-search?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/category-attribute-search/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/category-attribute-search/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/category-attribute-search/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/multiple-add-preview:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/multiple-add:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy/mass-update/price-increase-custom:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/price-increase-custom?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/price-increase-custom/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-increase-custom/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-increase-custom/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/price-increase-actual:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/price-increase-actual?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/price-increase-actual/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-increase-actual/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-increase-actual/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/price-decrease-actual:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/price-decrease-actual?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/price-decrease-actual/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-decrease-actual/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-decrease-actual/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/price-increase-percentage:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/price-increase-percentage?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/price-increase-percentage/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-increase-percentage/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-increase-percentage/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/price-decrease-percentage:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/price-decrease-percentage?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/price-decrease-percentage/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-decrease-percentage/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/price-decrease-percentage/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/design-price:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/design-price?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/design-price/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/design-price/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/design-price/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/turnaroundtime:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/turnaroundtime?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/turnaroundtime/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/turnaroundtime/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/turnaroundtime/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/addons:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/addons?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/addons/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/addons/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/addons/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update/artwork-slots:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy/mass-update/artwork-slots?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/mass-update/artwork-slots/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/mass-update/artwork-slots/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/mass-update/artwork-slots/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/mass-update:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /products-legacy:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ProductLegacy
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              tags:
                type: array
                items:
                  type: string
              key:
                type: string
              vanitySku:
                type: string
              aliasSku:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              micrositeDivision:
                type: string
                x-ref: micrositeDivisions
                description: Refers to micrositeDivisions
                pattern: ^[0-9a-fA-F]{24}$
              attributeSummary:
                type: string
              attributeSummaryId:
                type: string
              cost:
                type: number
              price:
                type: number
              prices:
                type: array
                items:
                  title: itemOf_prices
                  type: object
                  properties:
                    unitType:
                      type: string
                    unitValue:
                      type: number
                    price:
                      type: number
                    originalPrice:
                      type: number
                    cost:
                      type: number
                    priceLists: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - unitValue
                    - price
              additionalPerPiecePrice:
                type: number
              isAdditionalPerPieceEnabled:
                type: boolean
              priceBreaks:
                type: array
                items:
                  title: itemOf_priceBreaks
                  type: object
                  properties:
                    quantity:
                      type: number
                    type:
                      type: number
                    breakAmount:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    pricePerQuantity:
                      type: number
                    costPerQuantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              priceTiers:
                type: array
                items:
                  title: itemOf_priceTiers
                  type: object
                  properties:
                    startQty:
                      type: number
                    endQty:
                      type: number
                    price:
                      type: number
                    cost:
                      type: number
                    createdAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              minimumPrice:
                type: number
              priceLists: {}
              isShippable:
                type: boolean
                default: true
              canCombinedShipping:
                type: boolean
                default: true
              weightUnit:
                type: number
              weightBasis:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitOfMeasure:
                type: string
              unitOfMeasureConversion:
                type: number
              packagingInstructions:
                type: string
              fulfillmentConversionFactor:
                type: number
              isQualifiedForCompanyPay:
                type: boolean
                default: false
              humanId:
                type: number
              isNameStatic:
                type: boolean
              staticName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              description:
                type: string
              shortDescription:
                type: string
              minimumWidth:
                type: number
                default: 0
              minimumHeight:
                type: number
                default: 0
              minimumLength:
                type: number
                default: 0
              minimumDepth:
                type: number
                default: 0
              maximumWidth:
                type: number
                default: 0
              maximumHeight:
                type: number
                default: 0
              maximumLength:
                type: number
                default: 0
              maximumDepth:
                type: number
                default: 0
              setupPrice:
                type: number
              isRushEnabled:
                type: boolean
                default: false
              isDisabled:
                type: boolean
                default: false
              priority:
                type: number
              leadTimeDays:
                type: number
              vendorDescription:
                type: string
              isHidden:
                type: boolean
                default: false
              isTaxable:
                type: boolean
                default: true
              artworkSlots:
                type: array
                items:
                  title: itemOf_artworkSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    upload:
                      type: string
                      x-ref: artworkUpload
                      description: Refers to artworkUpload
                      pattern: ^[0-9a-fA-F]{24}$
                    thumbnailId:
                      type: string
                    originalFilename:
                      type: string
                    originalFileExtension:
                      type: string
                    isUploaded:
                      type: boolean
                      default: true
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    id:
                      type: string
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - id
              isDesignEnabled:
                type: boolean
                default: false
              designPrice:
                type: number
              vendorIds: {}
              isGraphicDesign:
                type: boolean
                default: false
              isCustomTrimEnabled:
                type: boolean
                default: false
              isCustomerOwned:
                type: boolean
                default: false
              handle:
                type: string
              upc:
                type: string
              upstreamDetails:
                title: upstreamDetails
                type: object
                properties:
                  upstreamProducts:
                    type: array
                    items:
                      title: itemOf_upstreamProducts
                      type: object
                      properties:
                        associatedAt:
                          type: string
                          format: date-time
                        tenant:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        activityLog:
                          type: string
                          x-ref: activityLog
                          description: Refers to activityLog
                          pattern: ^[0-9a-fA-F]{24}$
                        product:
                          type: string
                          x-ref: ProductLegacy
                          description: Refers to ProductLegacy
                          pattern: ^[0-9a-fA-F]{24}$
                        actionType:
                          type: string
                          enum:
                            - new
                            - updated
                            - remove
                          default: new
                        status:
                          type: string
                          enum:
                            - pending
                            - approved
                            - rejected
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - tenant
                        - activityLog
                        - product
                  policy:
                    type: array
                    items:
                      title: itemOf_policy
                      type: object
                      properties:
                        source:
                          type: string
                          x-ref: tenants
                          description: Refers to tenants
                          pattern: ^[0-9a-fA-F]{24}$
                        sourceKey:
                          type: string
                        field:
                          type: string
                        modifier:
                          type: string
                          enum:
                            - markup
                            - margin
                        value: {}
                        valueType:
                          type: string
                          enum:
                            - amount
                            - percentage
                        active:
                          type: boolean
                          default: true
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - source
              inventory:
                type: boolean
                default: false
              inventoryCount:
                type: number
                default: 0
              allocatedCount:
                type: number
                default: 0
              backorderCount:
                type: number
                default: 0
              openPOCount:
                type: number
                default: 0
              inventoryLowThreshold:
                type: number
                default: 0
              inventoryLowEmailNotify:
                title: inventoryLowEmailNotify
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              inventoryLowEmailNotificationEnabled:
                type: boolean
                default: false
              inventoryPrice:
                type: number
                default: 0
              inventorySyncPriceToInventory:
                type: boolean
                default: false
              linkedStockProducts:
                type: array
                items:
                  title: itemOf_linkedStockProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              associatedProducts:
                type: array
                items:
                  title: itemOf_associatedProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
              hasVariants:
                type: boolean
                default: false
              parent:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              variantValues:
                type: array
                items:
                  title: itemOf_variantValues
                  type: object
                  properties:
                    type:
                      type: string
                      x-ref: productVariantTypes
                      description: Refers to productVariantTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    value:
                      type: string
                      x-ref: productVariantTypeValues
                      description: Refers to productVariantTypeValues
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    priority:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              versionOf:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              version:
                type: number
                default: 1
              isActiveVersion:
                type: boolean
              isComposite:
                type: boolean
              compositeProducts:
                type: array
                items:
                  title: itemOf_compositeProducts
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                      default: 1
                    price:
                      type: number
                      default: 0
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - product
                    - quantity
                    - price
              compositeUserCanEnterQuantities:
                type: boolean
                default: false
              syncCompositeProduct:
                type: boolean
              workflowTemplate:
                type: array
                items:
                  type: string
                  x-ref: jobSchedulerWorkflowTemplates
                  description: Refers to jobSchedulerWorkflowTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              backordersDisabled:
                type: boolean
                default: false
              glCode:
                type: string
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isOutOfStockManual:
                type: boolean
                default: false
              documents:
                type: array
                items:
                  title: itemOf_documents
                  type: object
                  properties:
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              artwork:
                type: string
              designTemplates:
                type: array
                items:
                  type: string
                  x-ref: designTemplates
                  description: Refers to designTemplates
                  pattern: ^[0-9a-fA-F]{24}$
              quantitySettings:
                title: quantitySettings
                type: object
                properties:
                  min:
                    type: string
                  max:
                    type: string
                  step:
                    type: string
                  includeOne:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              artworkTransporterDestination:
                type: string
              calculateQuantityFromData:
                type: boolean
              rfqNum:
                type: string
              isDigitalCanImmediateCheckout:
                type: boolean
              canOrderDigital:
                type: boolean
              priceDigital:
                type: number
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - user
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
                default: false
              pricePerPageEnabled:
                type: boolean
                default: false
              customFieldsSchema:
                type: array
                items:
                  title: itemOf_customFieldsSchema
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    isRequired:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              orderLimitsPerUser:
                title: orderLimitsPerUser
                type: object
                properties:
                  value:
                    type: number
                  period:
                    type: string
                    enum:
                      - day
                      - week
                      - month
                      - quarter
                      - year
                  enabled:
                    type: boolean
                    default: false
                  isAdminsExcluded:
                    type: boolean
                    default: false
                  excludeFromOrderItemLimit:
                    type: boolean
                    default: false
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              calculateBasedOnTotalQty:
                type: boolean
              shouldExcludeFromHandlingFees:
                type: boolean
                default: false
              preferredSupplier:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              supplierPo:
                type: string
              customerPo:
                type: string
              costCenter:
                type: string
              glIncomeAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              glExpenseAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              startAt:
                type: string
                format: date-time
              expireAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - category
              - hasVariants
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/products-legacy?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
  /products-legacy/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - products-legacy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/products-legacy/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProductLegacy'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/products-legacy/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","type":"string","category":"string","tags":["string"],"key":"string","vanitySku":"string","aliasSku":"string","attributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"micrositeDivision":"string","attributeSummary":"string","attributeSummaryId":"string","cost":0,"price":0,"prices":[{"unitType":"string","unitValue":0,"price":0,"originalPrice":0,"cost":0,"priceLists":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalPerPiecePrice":0,"isAdditionalPerPieceEnabled":true,"priceBreaks":[{"quantity":0,"type":0,"breakAmount":0,"price":0,"cost":0,"pricePerQuantity":0,"costPerQuantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"priceTiers":[{"startQty":0,"endQty":0,"price":0,"cost":0,"createdAt":"2019-08-24T14:15:22Z","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"minimumPrice":0,"priceLists":null,"isShippable":true,"canCombinedShipping":true,"weightUnit":0,"weightBasis":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitOfMeasure":"string","unitOfMeasureConversion":0,"packagingInstructions":"string","fulfillmentConversionFactor":0,"isQualifiedForCompanyPay":false,"humanId":0,"isNameStatic":true,"staticName":"string","timeMin":0,"timeMax":0,"description":"string","shortDescription":"string","minimumWidth":0,"minimumHeight":0,"minimumLength":0,"minimumDepth":0,"maximumWidth":0,"maximumHeight":0,"maximumLength":0,"maximumDepth":0,"setupPrice":0,"isRushEnabled":false,"isDisabled":false,"priority":0,"leadTimeDays":0,"vendorDescription":"string","isHidden":false,"isTaxable":true,"artworkSlots":[{"sequence":"string","upload":"string","thumbnailId":"string","originalFilename":"string","originalFileExtension":"string","isUploaded":true,"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOns":[{"id":"string","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDesignEnabled":false,"designPrice":0,"vendorIds":null,"isGraphicDesign":false,"isCustomTrimEnabled":false,"isCustomerOwned":false,"handle":"string","upc":"string","upstreamDetails":{"upstreamProducts":[{"associatedAt":"2019-08-24T14:15:22Z","tenant":"string","activityLog":"string","product":"string","actionType":"new","status":"pending","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"policy":[{"source":"string","sourceKey":"string","field":"string","modifier":"markup","value":null,"valueType":"amount","active":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"inventory":false,"inventoryCount":0,"allocatedCount":0,"backorderCount":0,"openPOCount":0,"inventoryLowThreshold":0,"inventoryLowEmailNotify":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"inventoryLowEmailNotificationEnabled":false,"inventoryPrice":0,"inventorySyncPriceToInventory":false,"linkedStockProducts":[{"product":"string","quantity":1,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"associatedProducts":[{"product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"hasVariants":false,"parent":"string","variantValues":[{"type":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artworkVariantValues":[{"type":"string","value":"string","artwork":"string","priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"versionOf":"string","version":1,"isActiveVersion":true,"isComposite":true,"compositeProducts":[{"product":"string","quantity":1,"price":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeUserCanEnterQuantities":false,"syncCompositeProduct":true,"workflowTemplate":["string"],"impositionTemplate":"string","backordersDisabled":false,"glCode":"string","images":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isOutOfStockManual":false,"documents":[{"url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","designTemplates":["string"],"quantitySettings":{"min":"string","max":"string","step":"string","includeOne":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"artworkTransporterDestination":"string","calculateQuantityFromData":true,"rfqNum":"string","isDigitalCanImmediateCheckout":true,"canOrderDigital":true,"priceDigital":0,"notes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","user":"string","_id":"string"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"productionChannel":"string","initialStatus":"string","triggerOrderApproval":false,"pricePerPageEnabled":false,"customFieldsSchema":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isRequired":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderLimitsPerUser":{"value":0,"period":"day","enabled":false,"isAdminsExcluded":false,"excludeFromOrderItemLimit":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"calculateBasedOnTotalQty":true,"shouldExcludeFromHandlingFees":false,"preferredSupplier":"string","supplierPo":"string","customerPo":"string","costCenter":"string","glIncomeAccount":"string","glExpenseAccount":"string","startAt":"2019-08-24T14:15:22Z","expireAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ProductLegacy to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProductLegacy'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - products-legacy
      security: []
  /products-legacy/calculator:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-widget/preview:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-widget
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-widget/digital-delivery:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-widget
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-widget/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - design-widget
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/design-widget/%7Bid%7D
  /design-widget:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-widget
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /client-tokens:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ClientToken
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              token:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - token
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientToken_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - client-tokens
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/client-tokens?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientToken'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - client-tokens
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientToken'
  /client-tokens/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ClientToken to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientToken'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - client-tokens
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/client-tokens/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ClientToken to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientToken'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - client-tokens
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientToken'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ClientToken to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientToken'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - client-tokens
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientToken'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/client-tokens/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","token":"string","createdBy":"string","createdByModel":"user","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ClientToken to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClientToken'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - client-tokens
      security: []
  /vendor-billing-reconcillations/approve:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /vendor-billing-reconciliations/attachments:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - vendor-billing-reconciliations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /vendor-billing-reconcillations/transfer:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /vendor-billing-reconcillations:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: vendorBillingReconciliations
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              purchaseOrder:
                type: string
                x-ref: purchaseOrder
                description: Refers to purchaseOrder
                pattern: ^[0-9a-fA-F]{24}$
              purchaseOrderHumanId:
                type: string
              startDate:
                type: string
                format: date-time
              endDate:
                type: string
                format: date-time
              rangeDescription:
                type: string
              sentAt:
                type: string
                format: date-time
              respondedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              respondedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              respondedAt:
                type: string
                format: date-time
              supplierResponse:
                type: string
                enum:
                  - pending
                  - approved
                  - rejected
                default: pending
              status:
                type: string
                enum:
                  - awaiting-supplier-response
                  - pending-review
                  - approved-ready-to-bill
                  - billing-complete
                default: awaiting-supplier-response
              billingStatus:
                type: string
                enum:
                  - not-sent
                  - sent
                default: not-sent
              billingSentAt:
                type: string
                format: date-time
              rejectionReason:
                type: string
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    date:
                      type: string
                      format: date-time
                    description:
                      type: string
                    type:
                      type: string
                      enum:
                        - item
                        - shipping-online
                        - shipping-offline
                    order:
                      type: string
                      x-ref: orders
                      description: Refers to orders
                      pattern: ^[0-9a-fA-F]{24}$
                    orderItem:
                      type: string
                      x-ref: orderItems
                      description: Refers to orderItems
                      pattern: ^[0-9a-fA-F]{24}$
                    orderHumanId:
                      type: string
                    orderItemHumanId:
                      type: string
                    orderItemProductKey:
                      type: string
                    orderItemReference:
                      type: string
                    supplierPo:
                      type: string
                    orderItemProduct:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    amount:
                      type: number
                    billingAmount:
                      type: number
                    hasChangeRequest:
                      type: boolean
                      default: false
                    changeAmount:
                      type: number
                    changeExplanation:
                      type: string
                    isDeleted:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - date
                    - description
                    - amount
              attachments:
                type: array
                items:
                  title: itemOf_attachments
                  type: object
                  properties:
                    attachedAt:
                      type: string
                      format: date-time
                    filename:
                      type: string
                    size:
                      type: string
                    label:
                      type: string
                    uploadLog:
                      type: string
                      x-ref: uploadLog
                      description: Refers to uploadLog
                      pattern: ^[0-9a-fA-F]{24}$
                    attachedBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    attachedByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - uploadLog
              privateNotes:
                type: array
                items:
                  title: itemOf_privateNotes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    createdBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - createdBy
                    - createdByModel
              isSupplierInvoiceApproved:
                type: boolean
                default: false
              supplierInvoiceApprovedAt:
                type: string
                format: date-time
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vendorBillingReconciliations_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/vendor-billing-reconcillations?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vendorBillingReconciliations'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vendorBillingReconciliations'
  /vendor-billing-reconcillations/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of vendorBillingReconciliations to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vendorBillingReconciliations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/vendor-billing-reconcillations/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of vendorBillingReconciliations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vendorBillingReconciliations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vendorBillingReconciliations'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of vendorBillingReconciliations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vendorBillingReconciliations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/vendorBillingReconciliations'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/vendor-billing-reconcillations/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","vendor":"string","humanId":"string","purchaseOrder":"string","purchaseOrderHumanId":"string","startDate":"2019-08-24T14:15:22Z","endDate":"2019-08-24T14:15:22Z","rangeDescription":"string","sentAt":"2019-08-24T14:15:22Z","respondedBy":"string","respondedByModel":"user","respondedAt":"2019-08-24T14:15:22Z","supplierResponse":"pending","status":"awaiting-supplier-response","billingStatus":"not-sent","billingSentAt":"2019-08-24T14:15:22Z","rejectionReason":"string","items":[{"date":"2019-08-24T14:15:22Z","description":"string","type":"item","order":"string","orderItem":"string","orderHumanId":"string","orderItemHumanId":"string","orderItemProductKey":"string","orderItemReference":"string","supplierPo":"string","orderItemProduct":"string","amount":0,"billingAmount":0,"hasChangeRequest":false,"changeAmount":0,"changeExplanation":"string","isDeleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"attachments":[{"attachedAt":"2019-08-24T14:15:22Z","filename":"string","size":"string","label":"string","uploadLog":"string","attachedBy":"string","attachedByModel":"user","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"privateNotes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","createdBy":"string","createdByModel":"user","_id":"string"}],"isSupplierInvoiceApproved":false,"supplierInvoiceApprovedAt":"2019-08-24T14:15:22Z","createdBy":"string","createdByModel":"user","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of vendorBillingReconciliations to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/vendorBillingReconciliations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - vendor-billing-reconcillations
      security: []
  /search:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - search
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/search?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /user-allotments-apply:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-allotments-apply
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /user-allotments:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: userAllotments
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              allotmentPolicy:
                type: string
                x-ref: userAllotmentPolicies
                description: Refers to userAllotmentPolicies
                pattern: ^[0-9a-fA-F]{24}$
              products:
                type: array
                items:
                  type: string
                  x-ref: ProductLegacy
                  description: Refers to ProductLegacy
                  pattern: ^[0-9a-fA-F]{24}$
              uses:
                type: array
                items:
                  title: itemOf_uses
                  type: object
                  properties:
                    usedAt:
                      type: string
                      format: date-time
                    usedAmount:
                      type: number
                    usedProduct:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    usedOrder:
                      type: string
                      x-ref: orders
                      description: Refers to orders
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              availableAmount:
                type: number
              name:
                type: string
              description:
                type: string
              expiresAt:
                type: string
                format: date-time
              expDays:
                type: number
                default: 0
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotments_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user-allotments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user-allotments?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotments'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-allotments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotments'
  /user-allotments/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotments to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - user-allotments
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/user-allotments/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotments to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-allotments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotments'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotments to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-allotments
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotments'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/user-allotments/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","micrositeUser":"string","amount":0,"allotmentPolicy":"string","products":["string"],"uses":[{"usedAt":"2019-08-24T14:15:22Z","usedAmount":0,"usedProduct":"string","usedOrder":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"availableAmount":0,"name":"string","description":"string","expiresAt":"2019-08-24T14:15:22Z","expDays":0,"tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotments to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - user-allotments
      security: []
  /user-allotment-policies/conversion:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-allotment-policies
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /user-allotment-policies:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: userAllotmentPolicies
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              products:
                type: array
                items:
                  title: itemOf_products
                  type: object
                  properties:
                    products:
                      type: array
                      items:
                        type: string
                        x-ref: ProductLegacy
                        description: Refers to ProductLegacy
                        pattern: ^[0-9a-fA-F]{24}$
                    amount:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - amount
              expDays:
                type: number
                default: 0
              name:
                type: string
              description:
                type: string
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentPolicies_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user-allotment-policies
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user-allotment-policies?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentPolicies'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-allotment-policies
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotmentPolicies'
  /user-allotment-policies/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentPolicies to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentPolicies'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - user-allotment-policies
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/user-allotment-policies/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentPolicies to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentPolicies'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-allotment-policies
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotmentPolicies'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentPolicies to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentPolicies'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-allotment-policies
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotmentPolicies'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/user-allotment-policies/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","products":[{"products":["string"],"amount":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"expDays":0,"name":"string","description":"string","tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentPolicies to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentPolicies'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - user-allotment-policies
      security: []
  /user-allotment-increase-requests:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: userAllotmentIncreaseRequests
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              cart:
                type: string
                x-ref: carts
                description: Refers to carts
                pattern: ^[0-9a-fA-F]{24}$
              convertedOrder:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              convertedOrderHumanId:
                type: string
              userAllotments:
                type: array
                items:
                  type: string
                  x-ref: userAllotments
                  description: Refers to userAllotments
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              status:
                type: string
                enum:
                  - pending
                  - approved
                  - rejected
                default: pending
              notes:
                type: string
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - micrositeUser
              - cart
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentIncreaseRequests_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user-allotment-increase-requests
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user-allotment-increase-requests?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentIncreaseRequests'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-allotment-increase-requests
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotmentIncreaseRequests'
  /user-allotment-increase-requests/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentIncreaseRequests to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentIncreaseRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - user-allotment-increase-requests
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/user-allotment-increase-requests/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentIncreaseRequests to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentIncreaseRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-allotment-increase-requests
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotmentIncreaseRequests'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentIncreaseRequests to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentIncreaseRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-allotment-increase-requests
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userAllotmentIncreaseRequests'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/user-allotment-increase-requests/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","micrositeUser":"string","cart":"string","convertedOrder":"string","convertedOrderHumanId":"string","userAllotments":["string"],"status":"pending","notes":"string","tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of userAllotmentIncreaseRequests to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userAllotmentIncreaseRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - user-allotment-increase-requests
      security: []
  /use-codes-apply:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - use-codes-apply
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /use-codes:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: useCodes
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              lookupRef:
                type: string
              code:
                type: string
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              useAt:
                type: string
                format: date-time
              notes:
                type: string
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - lookupRef
              - code
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/useCodes_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - use-codes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/use-codes?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/useCodes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - use-codes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/useCodes'
  /use-codes/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of useCodes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/useCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - use-codes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/use-codes/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of useCodes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/useCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - use-codes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/useCodes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of useCodes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/useCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - use-codes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/useCodes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/use-codes/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","lookupRef":"string","code":"string","order":"string","useAt":"2019-08-24T14:15:22Z","notes":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of useCodes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/useCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - use-codes
      security: []
  /support/groovehq/tickets:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: supportGrooveHqTickets
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              assignee:
                type: string
              number:
                type: string
              title:
                type: string
              closedBy:
                type: string
              summary:
                type: string
              tags:
                type: array
                items:
                  type: string
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - number
              - summary
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/supportGrooveHqTickets_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - support
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/support/groovehq/tickets?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/supportGrooveHqTickets'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - support
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/supportGrooveHqTickets'
  /support/groovehq/tickets/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of supportGrooveHqTickets to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/supportGrooveHqTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - support
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/support/groovehq/tickets/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of supportGrooveHqTickets to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/supportGrooveHqTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - support
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/supportGrooveHqTickets'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of supportGrooveHqTickets to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/supportGrooveHqTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - support
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/supportGrooveHqTickets'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/support/groovehq/tickets/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","assignee":"string","number":"string","title":"string","closedBy":"string","summary":"string","tags":["string"],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of supportGrooveHqTickets to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/supportGrooveHqTickets'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - support
      security: []
  /product-sync/pendings:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - product-sync
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/product-sync/pendings?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - product-sync
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /product-sync/resolver:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - product-sync
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /product-policy/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - product-policy
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/product-policy/%7Bid%7D
    patch:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - product-policy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/product-policy/%7Bid%7D \
              --header 'content-type: application/json' \
              --data '{}'
  /product-policy:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - product-policy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping2/packaging:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping2
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/get-rates:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /address-book/orders-address:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - address-book
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /address-book:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: addressBook
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              careOf:
                type: string
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              countryCode:
                type: string
              phone:
                type: string
              costCenter:
                type: string
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - name
              - address1
              - city
              - stateProvince
              - postalCode
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/addressBook_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - address-book
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/address-book?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/addressBook'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - address-book
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/addressBook'
  /address-book/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of addressBook to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/addressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - address-book
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/address-book/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of addressBook to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/addressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - address-book
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/addressBook'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of addressBook to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/addressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - address-book
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/addressBook'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/address-book/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","phone":"string","costCenter":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of addressBook to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/addressBook'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - address-book
      security: []
  /promo-codes:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: promoCodes
            type: object
            properties:
              tenant:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsite
                description: Refers to microsite
                pattern: ^[0-9a-fA-F]{24}$
              promoCode:
                type: string
              campaign:
                type: string
                x-ref: promoCodeCampaigns
                description: Refers to promoCodeCampaigns
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
                enum:
                  - percentage
                  - fixed
                  - free-shipping
                  - fixed-and-free-shipping
                  - percentage-and-free-shipping
                  - buy-x-get-y
              value:
                type: number
              valueMaxShipping:
                type: number
              appliesTo:
                type: string
                enum:
                  - entire-order
                  - product-match-conditions
                  - specific-products
                  - free-shipping-and-discount
              minRequirements:
                type: string
                enum:
                  - none
                  - min-purchase-amount
                  - min-quantity-of-items
              minRequirementValue:
                type: number
              criteria:
                type: array
                items: {}
              products:
                type: array
                items:
                  type: string
                  x-ref: ProductLegacy
                  description: Refers to ProductLegacy
                  pattern: ^[0-9a-fA-F]{24}$
              description:
                type: string
              startDate:
                type: string
                format: date-time
              expirationDate:
                type: string
                format: date-time
              singleUse:
                type: boolean
              singleUsePerCustomer:
                type: boolean
              singleUsePerMSCustomer:
                type: boolean
              firstTimeOrdersOnly:
                type: boolean
              customerCreationAgeRestricted:
                type: boolean
              customerCreateAgeDays:
                type: number
              maxCartItems:
                type: number
              deleted:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - promoCode
              - type
              - appliesTo
              - minRequirements
              - description
              - startDate
              - expirationDate
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodes_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - promo-codes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/promo-codes?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - promo-codes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/promoCodes'
  /promo-codes/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - promo-codes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/promo-codes/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - promo-codes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/promoCodes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - promo-codes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/promoCodes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/promo-codes/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","promoCode":"string","campaign":"string","type":"percentage","value":0,"valueMaxShipping":0,"appliesTo":"entire-order","minRequirements":"none","minRequirementValue":0,"criteria":[null],"products":["string"],"description":"string","startDate":"2019-08-24T14:15:22Z","expirationDate":"2019-08-24T14:15:22Z","singleUse":true,"singleUsePerCustomer":true,"singleUsePerMSCustomer":true,"firstTimeOrdersOnly":true,"customerCreationAgeRestricted":true,"customerCreateAgeDays":0,"maxCartItems":0,"deleted":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - promo-codes
      security: []
  /promo-code-engine:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - promo-code-engine
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /promo-codes-campaigns:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: promoCodeCampaigns
            type: object
            properties:
              tenant:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsite
                description: Refers to microsite
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              codePrefix:
                type: string
              deleted:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodeCampaigns_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - promo-codes-campaigns
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/promo-codes-campaigns?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodeCampaigns'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - promo-codes-campaigns
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/promoCodeCampaigns'
  /promo-codes-campaigns/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodeCampaigns to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodeCampaigns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - promo-codes-campaigns
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/promo-codes-campaigns/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodeCampaigns to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodeCampaigns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - promo-codes-campaigns
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/promoCodeCampaigns'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodeCampaigns to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodeCampaigns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - promo-codes-campaigns
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/promoCodeCampaigns'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/promo-codes-campaigns/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","name":"string","codePrefix":"string","deleted":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of promoCodeCampaigns to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/promoCodeCampaigns'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - promo-codes-campaigns
      security: []
  /gift-cards:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: giftCards
            type: object
            properties:
              tenant:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsite
                description: Refers to microsite
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              code:
                type: string
              initialBalance:
                type: number
              balance:
                type: number
              expirationDate:
                type: string
                format: date-time
              giftCardBatch:
                type: string
                x-ref: giftCardBatches
                description: Refers to giftCardBatches
                pattern: ^[0-9a-fA-F]{24}$
              deleted:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - createdBy
              - createdByModel
              - code
              - initialBalance
              - balance
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCards_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - gift-cards
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/gift-cards?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCards'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - gift-cards
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCards'
  /gift-cards/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of giftCards to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCards'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - gift-cards
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/gift-cards/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of giftCards to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCards'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - gift-cards
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCards'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of giftCards to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCards'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - gift-cards
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCards'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/gift-cards/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","customer":"string","micrositeUser":"string","createdBy":"string","createdByModel":"user","code":"string","initialBalance":0,"balance":0,"expirationDate":"2019-08-24T14:15:22Z","giftCardBatch":"string","deleted":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of giftCards to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCards'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - gift-cards
      security: []
  /gift-card-batches:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: giftCardBatches
            type: object
            properties:
              tenant:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsite
                description: Refers to microsite
                pattern: ^[0-9a-fA-F]{24}$
              key:
                type: string
              count:
                type: number
              amount:
                type: number
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              deleted:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - key
              - count
              - amount
              - createdBy
              - createdByModel
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardBatches_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - gift-card-batches
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/gift-card-batches?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardBatches'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - gift-card-batches
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCardBatches'
  /gift-card-batches/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardBatches to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - gift-card-batches
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/gift-card-batches/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardBatches to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - gift-card-batches
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCardBatches'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardBatches to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - gift-card-batches
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCardBatches'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/gift-card-batches/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","key":"string","count":0,"amount":0,"createdBy":"string","createdByModel":"user","deleted":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardBatches to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - gift-card-batches
      security: []
  /gift-card-transactions:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: giftCardTransactions
            type: object
            properties:
              tenant:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsite
                description: Refers to microsite
                pattern: ^[0-9a-fA-F]{24}$
              giftCard:
                type: string
                x-ref: giftCards
                description: Refers to giftCards
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
                enum:
                  - deposit
                  - credit
                  - debit
              amount:
                type: number
              deleted:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - giftCard
              - type
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardTransactions_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - gift-card-transactions
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/gift-card-transactions?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardTransactions'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - gift-card-transactions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCardTransactions'
  /gift-card-transactions/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardTransactions to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - gift-card-transactions
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/gift-card-transactions/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardTransactions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - gift-card-transactions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCardTransactions'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardTransactions to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - gift-card-transactions
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/giftCardTransactions'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/gift-card-transactions/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","giftCard":"string","type":"deposit","amount":0,"deleted":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of giftCardTransactions to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/giftCardTransactions'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - gift-card-transactions
      security: []
  /gift-card-balance:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - gift-card-balance
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /artwork-transports/sub:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - artwork-transports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /artwork-transports:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: artworkTransports
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              orderItemHumanId:
                type: string
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              startedAt:
                type: string
                format: date-time
              completedAt:
                type: string
                format: date-time
              expiresAt:
                type: string
                format: date-time
              downloadedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              downloadedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              requestedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              requestedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              url:
                type: string
              writeTo:
                type: string
              cacheKey:
                type: string
              status:
                type: string
                enum:
                  - pending
                  - in-progress
                  - complete
                  - canceled
                  - failed
                default: pending
              errorMessage:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - url
              - writeTo
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkTransports_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - artwork-transports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/artwork-transports?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkTransports'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - artwork-transports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkTransports'
  /artwork-transports/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of artworkTransports to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkTransports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - artwork-transports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/artwork-transports/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of artworkTransports to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkTransports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - artwork-transports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkTransports'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of artworkTransports to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkTransports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - artwork-transports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkTransports'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/artwork-transports/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","order":"string","orderItem":"string","orderItemHumanId":"string","productionChannel":"string","vendor":"string","startedAt":"2019-08-24T14:15:22Z","completedAt":"2019-08-24T14:15:22Z","expiresAt":"2019-08-24T14:15:22Z","downloadedBy":"string","downloadedByModel":"user","requestedBy":"string","requestedByModel":"user","url":"string","writeTo":"string","cacheKey":"string","status":"pending","errorMessage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of artworkTransports to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkTransports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - artwork-transports
      security: []
  /connected-clients:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: connectedClients
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              fingerprintId:
                type: string
              authedUser:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              authedUserModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              isAuthed:
                type: boolean
                default: false
              isConnected:
                type: boolean
                default: false
              lastAuthedAt:
                type: string
                format: date-time
              lastConnectedAt:
                type: string
                format: date-time
              fingerprintData:
                title: fingerprintData
                type: object
                properties:
                  platform:
                    type: string
                  release:
                    type: string
                  hostname:
                    type: string
                  homedir:
                    type: string
                  totalmem:
                    type: string
                  cpus:
                    type: array
                    items:
                      type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - connected-clients
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/connected-clients?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/connectedClients'
                  - $ref: '#/components/schemas/connectedClients_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - connected-clients
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/connectedClients'
                - $ref: '#/components/schemas/connectedClients_list'
    put:
      parameters: []
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Updates multiple resources.
      summary: ''
      tags:
        - connected-clients
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/connectedClients_list'
    patch:
      parameters:
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: connectedClients
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              fingerprintId:
                type: string
              authedUser:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              authedUserModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              isAuthed:
                type: boolean
                default: false
              isConnected:
                type: boolean
                default: false
              lastAuthedAt:
                type: string
                format: date-time
              lastConnectedAt:
                type: string
                format: date-time
              fingerprintData:
                title: fingerprintData
                type: object
                properties:
                  platform:
                    type: string
                  release:
                    type: string
                  hostname:
                    type: string
                  homedir:
                    type: string
                  totalmem:
                    type: string
                  cpus:
                    type: array
                    items:
                      type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Updates multiple resources queried by given filters.
      summary: ''
      tags:
        - connected-clients
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/connectedClients'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url 'https://api.inkcloud9.com/connected-clients?filter=SOME_OBJECT_VALUE' \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","fingerprintId":"string","authedUser":"string","authedUserModel":"user","isAuthed":false,"isConnected":false,"lastAuthedAt":"2019-08-24T14:15:22Z","lastConnectedAt":"2019-08-24T14:15:22Z","fingerprintData":{"platform":"string","release":"string","hostname":"string","homedir":"string","totalmem":"string","cpus":["string"],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            $ref: '#/components/schemas/connectedClients'
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Removes multiple resources queried by given filters.
      summary: ''
      tags:
        - connected-clients
      security: []
  /connected-clients/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of connectedClients to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - connected-clients
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/connected-clients/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of connectedClients to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - connected-clients
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/connectedClients'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of connectedClients to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - connected-clients
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/connectedClients'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/connected-clients/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","fingerprintId":"string","authedUser":"string","authedUserModel":"user","isAuthed":false,"isConnected":false,"lastAuthedAt":"2019-08-24T14:15:22Z","lastConnectedAt":"2019-08-24T14:15:22Z","fingerprintData":{"platform":"string","release":"string","hostname":"string","homedir":"string","totalmem":"string","cpus":["string"],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of connectedClients to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/connectedClients'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - connected-clients
      security: []
  /late-job-detectors:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: lateJobDetectors
            type: object
            properties:
              tenant:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              name:
                type: string
              criteria: {}
              timeThreshold:
                title: timeThreshold
                type: object
                properties:
                  sinceCreated:
                    type: number
                    default: false
                  sinceStatusChange:
                    type: number
                    default: false
              isEnabled:
                type: boolean
                default: false
              lastRanAt:
                type: string
                format: date-time
              lastRunResult:
                type: string
                enum:
                  - pass
                  - fail
              failedOrderItems:
                type: array
                items:
                  title: itemOf_failedOrderItems
                  type: object
                  properties:
                    orderItem:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    order:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    orderItemHumanId:
                      type: string
                    orderItemStatusDescription:
                      type: string
                    sinceHours:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - orderItem
                    - order
                    - orderItemHumanId
                    - orderItemStatusDescription
              deleted:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - createdBy
              - createdByModel
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lateJobDetectors_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - late-job-detectors
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/late-job-detectors?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lateJobDetectors'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - late-job-detectors
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lateJobDetectors'
  /late-job-detectors/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of lateJobDetectors to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lateJobDetectors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - late-job-detectors
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/late-job-detectors/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of lateJobDetectors to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lateJobDetectors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - late-job-detectors
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lateJobDetectors'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of lateJobDetectors to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lateJobDetectors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - late-job-detectors
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/lateJobDetectors'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/late-job-detectors/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","vendor":"string","createdBy":"string","createdByModel":"user","name":"string","criteria":null,"timeThreshold":{"sinceCreated":false,"sinceStatusChange":false},"isEnabled":false,"lastRanAt":"2019-08-24T14:15:22Z","lastRunResult":"pass","failedOrderItems":[{"orderItem":"string","order":"string","orderItemHumanId":"string","orderItemStatusDescription":"string","sinceHours":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of lateJobDetectors to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/lateJobDetectors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - late-job-detectors
      security: []
  /customer-artwork-library/upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customer-artwork-library/url-upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customer-artwork-library:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customerArtworkLibrary
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              collections:
                type: array
                items:
                  type: string
                  x-ref: customerArtworkLibraryCollections
                  description: Refers to customerArtworkLibraryCollections
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              tags:
                type: array
                items:
                  type: string
              artwork:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              artworkFilename:
                type: string
              artworkThumbnails:
                type: array
                items:
                  title: itemOf_artworkThumbnails
                  type: object
                  properties:
                    sequence:
                      type: string
                    url:
                      type: string
                    uploadLog:
                      type: string
                      x-ref: uploadLog
                      description: Refers to uploadLog
                      pattern: ^[0-9a-fA-F]{24}$
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibrary_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customer-artwork-library?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibrary'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerArtworkLibrary'
  /customer-artwork-library/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibrary to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customer-artwork-library/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibrary to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerArtworkLibrary'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibrary to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerArtworkLibrary'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/customer-artwork-library/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","collections":["string"],"tags":["string"],"artwork":"string","artworkFilename":"string","artworkThumbnails":[{"sequence":"string","url":"string","uploadLog":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibrary to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customer-artwork-library
      security: []
  /customer-artwork-library-collections:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customerArtworkLibraryCollections
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/customerArtworkLibraryCollections_pagination
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customer-artwork-library-collections
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customer-artwork-library-collections?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibraryCollections'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-artwork-library-collections
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerArtworkLibraryCollections'
  /customer-artwork-library-collections/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibraryCollections to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customer-artwork-library-collections
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customer-artwork-library-collections/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibraryCollections to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-artwork-library-collections
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerArtworkLibraryCollections'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibraryCollections to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-artwork-library-collections
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerArtworkLibraryCollections'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/customer-artwork-library-collections/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customerArtworkLibraryCollections to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerArtworkLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customer-artwork-library-collections
      security: []
  /customer-product-library:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customerProductLibrary
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              customerArtwork:
                type: string
                x-ref: customerArtworkLibrary
                description: Refers to customerArtworkLibrary
                pattern: ^[0-9a-fA-F]{24}$
              artwork:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              artworkFilename:
                type: string
              artworkThumbnails:
                type: array
                items:
                  title: itemOf_artworkThumbnails
                  type: object
                  properties:
                    sequence:
                      type: string
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              thumbnail:
                title: thumbnail
                type: object
                properties:
                  uploadLog:
                    type: string
                    x-ref: uploadLog
                    description: Refers to uploadLog
                    pattern: ^[0-9a-fA-F]{24}$
                  url:
                    type: string
                required:
                  - uploadLog
                  - url
              name:
                type: string
              customerSku:
                type: string
              productAttributes:
                type: array
                items:
                  title: itemOf_productAttributes
                  type: object
                  properties:
                    attribute:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    value:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attribute
                    - value
              collections:
                type: array
                items:
                  type: string
                  x-ref: customerArtworkLibraryCollections
                  description: Refers to customerArtworkLibraryCollections
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              tags:
                type: array
                items:
                  type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
              - product
              - category
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibrary_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customer-product-library
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customer-product-library?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibrary'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-product-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerProductLibrary'
  /customer-product-library/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibrary to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customer-product-library
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customer-product-library/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibrary to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-product-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerProductLibrary'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibrary to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-product-library
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerProductLibrary'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/customer-product-library/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","product":"string","category":"string","customerArtwork":"string","artwork":"string","artworkFilename":"string","artworkThumbnails":[{"sequence":"string","url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"thumbnail":{"uploadLog":"string","url":"string"},"name":"string","customerSku":"string","productAttributes":[{"attribute":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"collections":["string"],"tags":["string"],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibrary to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibrary'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customer-product-library
      security: []
  /customer-product-library-collections:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customerProductLibraryCollections
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/customerProductLibraryCollections_pagination
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - customer-product-library-collections
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/customer-product-library-collections?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibraryCollections'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-product-library-collections
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerProductLibraryCollections'
  /customer-product-library-collections/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibraryCollections to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - customer-product-library-collections
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/customer-product-library-collections/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibraryCollections to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-product-library-collections
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerProductLibraryCollections'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibraryCollections to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - customer-product-library-collections
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customerProductLibraryCollections'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/customer-product-library-collections/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","name":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customerProductLibraryCollections to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customerProductLibraryCollections'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - customer-product-library-collections
      security: []
  /settings-provider/defaults:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - settings-provider
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /settings-provider:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - settings-provider
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /pickup-locations:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: pickupLocations
            type: object
            properties:
              business:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              isDeleted:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - name
              - address1
              - city
              - stateProvince
              - postalCode
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickupLocations_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - pickup-locations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/pickup-locations?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickupLocations'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - pickup-locations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pickupLocations'
  /pickup-locations/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of pickupLocations to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickupLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - pickup-locations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/pickup-locations/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of pickupLocations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickupLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - pickup-locations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pickupLocations'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of pickupLocations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickupLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - pickup-locations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/pickupLocations'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/pickup-locations/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","microsite":"string","name":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","isDeleted":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of pickupLocations to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/pickupLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - pickup-locations
      security: []
  /users/get-by-role:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - users
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/users/get-by-role?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /users/lia-token:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - users
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /users/reset-password:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - users
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /users:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: user
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              firstName:
                type: string
              lastName:
                type: string
              email:
                type: string
              password:
                type: string
              phone:
                type: string
              phoneExt:
                type: string
              auth0:
                type: string
              humanId:
                type: number
              type:
                type: string
                enum:
                  - dashboard
                  - artwork-transporter
                  - vendor
                  - api
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              roles:
                type: array
                items:
                  type: string
              roles2:
                type: array
                items:
                  type: string
                  x-ref: userRoles
                  description: Refers to userRoles
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - firstName
              - lastName
              - email
              - password
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - users
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/users?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - users
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user'
  /users/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of user to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - users
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/users/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of user to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - users
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of user to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - users
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/user'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/users/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","firstName":"string","lastName":"string","email":"string","password":"string","phone":"string","phoneExt":"string","auth0":"string","humanId":0,"type":"dashboard","vendor":"string","roles":["string"],"roles2":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of user to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/user'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - users
      security: []
  /public-sales-people:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - public-sales-people
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/public-sales-people?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /sales-people/reassign:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-people
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /sales-people:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: salesPeople
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              firstName:
                type: string
              lastName:
                type: string
              commissionPercentage:
                type: number
              email:
                type: string
              phone:
                type: string
              isManager:
                type: boolean
                default: false
              manager:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              companyName:
                type: string
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              defaultAddress:
                type: string
                x-ref: addressBook
                description: Refers to addressBook
                pattern: ^[0-9a-fA-F]{24}$
              isDeleted:
                type: boolean
                default: false
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - firstName
              - lastName
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesPeople_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - sales-people
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/sales-people?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesPeople'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-people
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/salesPeople'
  /sales-people/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of salesPeople to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesPeople'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - sales-people
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/sales-people/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of salesPeople to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesPeople'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - sales-people
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/salesPeople'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of salesPeople to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesPeople'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - sales-people
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/salesPeople'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/sales-people/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","firstName":"string","lastName":"string","commissionPercentage":0,"email":"string","phone":"string","isManager":false,"manager":"string","companyName":"string","user":"string","defaultAddress":"string","isDeleted":false,"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of salesPeople to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesPeople'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - sales-people
      security: []
  /shipping-originations:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: shippingOriginations
            type: object
            properties:
              business:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              countryCode:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - name
              - address1
              - city
              - stateProvince
              - postalCode
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingOriginations_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - shipping-originations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/shipping-originations?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingOriginations'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping-originations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/shippingOriginations'
  /shipping-originations/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of shippingOriginations to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingOriginations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - shipping-originations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/shipping-originations/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of shippingOriginations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingOriginations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping-originations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/shippingOriginations'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of shippingOriginations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingOriginations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping-originations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/shippingOriginations'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/shipping-originations/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","name":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of shippingOriginations to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingOriginations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - shipping-originations
      security: []
  /file-uploads-signed/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - file-uploads-signed
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/file-uploads-signed/%7Bid%7D
    patch:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - file-uploads-signed
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/file-uploads-signed/%7Bid%7D \
              --header 'content-type: application/json' \
              --data '{}'
  /file-uploads-signed:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - file-uploads-signed
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /uploads:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: uploads
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              printJob:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              multiPageThumbnails:
                type: string
              sequence:
                type: string
              originalFilename:
                type: string
              originalFileExtension:
                type: string
              originalFileSize:
                type: string
              uploadSessionId:
                type: string
              sha1:
                type: string
              isArchived:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - customer
              - order
              - printJob
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploads_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - uploads
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/uploads?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploads'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploads'
  /uploads/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of uploads to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploads'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - uploads
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/uploads/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of uploads to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploads'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploads'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of uploads to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploads'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploads'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/uploads/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","order":"string","printJob":"string","multiPageThumbnails":"string","sequence":"string","originalFilename":"string","originalFileExtension":"string","originalFileSize":"string","uploadSessionId":"string","sha1":"string","isArchived":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of uploads to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploads'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - uploads
      security: []
  /uploads-misc:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - uploads-misc
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/uploads-misc?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - uploads-misc
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /uploads-misc/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - uploads-misc
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/uploads-misc/%7Bid%7D
    put:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - uploads-misc
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
    patch:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - uploads-misc
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/uploads-misc/%7Bid%7D \
              --header 'content-type: application/json' \
              --data '{}'
    delete:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - uploads-misc
      security: []
  /uploads-general:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - uploads-general
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /uploads-general-records:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: uploadsGeneral
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              type:
                type: string
              multiPageThumbnails:
                type: string
              container:
                type: string
              uuid:
                type: string
              filename:
                type: string
              originalFilename:
                type: string
              extension:
                type: string
              size:
                type: string
              hashType:
                type: string
              hash:
                type: string
              status:
                type: string
              uploadSessionId:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - container
              - filename
              - originalFilename
              - size
              - hashType
              - hash
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadsGeneral_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - uploads-general-records
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/uploads-general-records?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadsGeneral'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - uploads-general-records
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploadsGeneral'
  /uploads-general-records/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of uploadsGeneral to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadsGeneral'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - uploads-general-records
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/uploads-general-records/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of uploadsGeneral to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadsGeneral'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - uploads-general-records
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploadsGeneral'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of uploadsGeneral to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadsGeneral'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - uploads-general-records
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/uploadsGeneral'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/uploads-general-records/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","type":"string","multiPageThumbnails":"string","container":"string","uuid":"string","filename":"string","originalFilename":"string","extension":"string","size":"string","hashType":"string","hash":"string","status":"string","uploadSessionId":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of uploadsGeneral to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/uploadsGeneral'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - uploads-general-records
      security: []
  /user-roles:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: userRoles
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              description:
                type: string
              permissions:
                type: array
                items:
                  title: itemOf_permissions
                  type: object
                  properties:
                    action:
                      type: array
                      items:
                        type: string
                    resource:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - resource
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userRoles_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user-roles
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user-roles?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userRoles'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - user-roles
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userRoles'
  /user-roles/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of userRoles to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userRoles'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - user-roles
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/user-roles/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of userRoles to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userRoles'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-roles
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userRoles'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of userRoles to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userRoles'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - user-roles
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/userRoles'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/user-roles/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","key":"string","description":"string","permissions":[{"action":["string"],"resource":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of userRoles to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/userRoles'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - user-roles
      security: []
  /user-permissions:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - user-permissions
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/user-permissions?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /artwork-uploads/archive-url:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /artwork-uploads/download-artwork-v2:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/artwork-uploads/download-artwork-v2?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /artwork-uploads/reset:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /artwork-uploads/upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /artwork-uploads/download-artwork:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/artwork-uploads/download-artwork?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /artwork-uploads:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: artworkUpload
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              printJob:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              multiPageThumbnails:
                type: string
              sequence:
                type: string
              originalFilename:
                type: string
              originalFileExtension:
                type: string
              originalFileSize:
                type: string
              uploadSessionId:
                type: string
              sha1:
                type: string
              isArchived:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - customer
              - order
              - printJob
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkUpload_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/artwork-uploads?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkUpload'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkUpload'
  /artwork-uploads/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of artworkUpload to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkUpload'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/artwork-uploads/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of artworkUpload to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkUpload'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkUpload'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of artworkUpload to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkUpload'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - artwork-uploads
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkUpload'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/artwork-uploads/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","order":"string","printJob":"string","multiPageThumbnails":"string","sequence":"string","originalFilename":"string","originalFileExtension":"string","originalFileSize":"string","uploadSessionId":"string","sha1":"string","isArchived":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of artworkUpload to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkUpload'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - artwork-uploads
      security: []
  /design-templates/lists/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - design-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/design-templates/lists/%7Bid%7D
  /design-templates/send-to-renderer:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-templates/download/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - design-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/design-templates/download/%7Bid%7D
  /design-templates/fieldsets:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: designTemplateFieldset
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              fields:
                type: array
                items:
                  title: itemOf_fields
                  type: object
                  properties:
                    label:
                      type: string
                    key:
                      type: string
                    description:
                      type: string
                    placeholder:
                      type: string
                    validators:
                      type: array
                      items:
                        type: string
                      minItems: 1
                    formatter:
                      type: string
                    maskedInputMask:
                      type: array
                      items:
                        type: string
                    type:
                      type: string
                      enum:
                        - text
                        - textarea
                        - select
                        - multi-select
                        - hidden
                        - list
                        - image
                        - qrcode
                        - masked-input
                        - dynamic-date
                    data:
                      type: array
                      items: {}
                    defaultValue:
                      type: string
                    selectAllowOther:
                      type: boolean
                    multiSelectSeperator:
                      type: string
                      default: ''
                    maxChars:
                      type: number
                    isReadOnly:
                      type: boolean
                    dynamicDateFormat:
                      type: string
                    dynamicDateOffsetDays:
                      type: number
                    clearIfFieldIsEmpty:
                      type: string
                    concat:
                      title: concat
                      type: object
                      properties:
                        prepend:
                          title: prepend
                          type: object
                          properties:
                            enabled:
                              type: boolean
                              default: false
                            type:
                              type: string
                              enum:
                                - static
                                - select
                            value:
                              type: string
                            selectOptions:
                              type: array
                              items:
                                title: itemOf_selectOptions
                                type: object
                                properties:
                                  value:
                                    type: string
                                  label:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                        append:
                          title: append
                          type: object
                          properties:
                            enabled:
                              type: boolean
                              default: false
                            type:
                              type: string
                              enum:
                                - static
                                - select
                            value:
                              type: string
                            selectOptions:
                              type: array
                              items:
                                title: itemOf_selectOptions
                                type: object
                                properties:
                                  value:
                                    type: string
                                  label:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                    imageOptions:
                      title: imageOptions
                      type: object
                      properties:
                        width:
                          type: number
                        height:
                          type: number
                    typeFitting:
                      type: array
                      items:
                        title: itemOf_typeFitting
                        type: object
                        properties:
                          action:
                            type: string
                            enum:
                              - font-size
                              - tracking
                          amount:
                            type: number
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - action
                          - amount
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - label
                    - key
                    - type
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - key
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplateFieldset_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - design-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/design-templates/fieldsets?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplateFieldset'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designTemplateFieldset'
  /design-templates/fieldsets/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplateFieldset to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplateFieldset'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - design-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/design-templates/fieldsets/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplateFieldset to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplateFieldset'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designTemplateFieldset'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplateFieldset to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplateFieldset'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designTemplateFieldset'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/design-templates/fieldsets/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","key":"string","fields":[{"label":"string","key":"string","description":"string","placeholder":"string","validators":["string"],"formatter":"string","maskedInputMask":["string"],"type":"text","data":[null],"defaultValue":"string","selectAllowOther":true,"multiSelectSeperator":"","maxChars":0,"isReadOnly":true,"dynamicDateFormat":"string","dynamicDateOffsetDays":0,"clearIfFieldIsEmpty":"string","concat":{"prepend":{"enabled":false,"type":"static","value":"string","selectOptions":[{"value":"string","label":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"append":{"enabled":false,"type":"static","value":"string","selectOptions":[{"value":"string","label":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]}},"imageOptions":{"width":0,"height":0},"typeFitting":[{"action":"font-size","amount":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplateFieldset to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplateFieldset'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - design-templates
      security: []
  /design-templates/templates-upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-templates/templates-thumb-upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-templates:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: designTemplates
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              description:
                type: string
              key:
                type: string
              pages:
                type: number
                default: 1
              ext:
                type: string
                enum:
                  - indd
                  - idml
              isSpotUv:
                type: boolean
              packageContents:
                type: array
                items:
                  title: itemOf_packageContents
                  type: object
                  properties:
                    file:
                      type: string
                    size:
                      type: number
                    mimeType:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - file
                    - size
                    - mimeType
              templateUpload:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              thumbnails:
                type: array
                items:
                  title: itemOf_thumbnails
                  type: object
                  properties:
                    sequence:
                      type: string
                    url:
                      type: string
                    contentImage:
                      type: string
                      x-ref: Content
                      description: Refers to Content
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              fields:
                type: array
                items:
                  title: itemOf_fields
                  type: object
                  properties:
                    label:
                      type: string
                    key:
                      type: string
                    description:
                      type: string
                    placeholder:
                      type: string
                    validators:
                      type: array
                      items:
                        type: string
                      minItems: 1
                    formatter:
                      type: string
                    maskedInputMask:
                      type: array
                      items:
                        type: string
                    type:
                      type: string
                      enum:
                        - text
                        - textarea
                        - select
                        - multi-select
                        - hidden
                        - list
                        - image
                        - qrcode
                        - masked-input
                        - dynamic-date
                    data:
                      type: array
                      items: {}
                    defaultValue:
                      type: string
                    selectAllowOther:
                      type: boolean
                    multiSelectSeperator:
                      type: string
                      default: ''
                    maxChars:
                      type: number
                    isReadOnly:
                      type: boolean
                    dynamicDateFormat:
                      type: string
                    dynamicDateOffsetDays:
                      type: number
                    clearIfFieldIsEmpty:
                      type: string
                    concat:
                      title: concat
                      type: object
                      properties:
                        prepend:
                          title: prepend
                          type: object
                          properties:
                            enabled:
                              type: boolean
                              default: false
                            type:
                              type: string
                              enum:
                                - static
                                - select
                            value:
                              type: string
                            selectOptions:
                              type: array
                              items:
                                title: itemOf_selectOptions
                                type: object
                                properties:
                                  value:
                                    type: string
                                  label:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                        append:
                          title: append
                          type: object
                          properties:
                            enabled:
                              type: boolean
                              default: false
                            type:
                              type: string
                              enum:
                                - static
                                - select
                            value:
                              type: string
                            selectOptions:
                              type: array
                              items:
                                title: itemOf_selectOptions
                                type: object
                                properties:
                                  value:
                                    type: string
                                  label:
                                    type: string
                                  _id:
                                    type: string
                                    pattern: ^[0-9a-fA-F]{24}$
                                  createdAt:
                                    type: string
                                    format: date-time
                                  updatedAt:
                                    type: string
                                    format: date-time
                    imageOptions:
                      title: imageOptions
                      type: object
                      properties:
                        width:
                          type: number
                        height:
                          type: number
                    typeFitting:
                      type: array
                      items:
                        title: itemOf_typeFitting
                        type: object
                        properties:
                          action:
                            type: string
                            enum:
                              - font-size
                              - tracking
                          amount:
                            type: number
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - action
                          - amount
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - label
                    - key
                    - type
              fieldset:
                type: string
                x-ref: designTemplateFieldset
                description: Refers to designTemplateFieldset
                pattern: ^[0-9a-fA-F]{24}$
              carryFieldToRef:
                type: string
              tags:
                type: array
                items:
                  type: string
              previews:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              finalSettings:
                title: finalSettings
                type: object
                properties:
                  enableCropMarks:
                    type: boolean
                    default: false
              priority:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplates_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - design-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/design-templates?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplates'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designTemplates'
  /design-templates/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplates to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - design-templates
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/design-templates/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designTemplates'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designTemplates'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/design-templates/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","microsite":"string","micrositeUser":"string","name":"string","description":"string","key":"string","pages":1,"ext":"indd","isSpotUv":true,"packageContents":[{"file":"string","size":0,"mimeType":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"templateUpload":"string","thumbnails":[{"sequence":"string","url":"string","contentImage":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"fields":[{"label":"string","key":"string","description":"string","placeholder":"string","validators":["string"],"formatter":"string","maskedInputMask":["string"],"type":"text","data":[null],"defaultValue":"string","selectAllowOther":true,"multiSelectSeperator":"","maxChars":0,"isReadOnly":true,"dynamicDateFormat":"string","dynamicDateOffsetDays":0,"clearIfFieldIsEmpty":"string","concat":{"prepend":{"enabled":false,"type":"static","value":"string","selectOptions":[{"value":"string","label":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]},"append":{"enabled":false,"type":"static","value":"string","selectOptions":[{"value":"string","label":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}]}},"imageOptions":{"width":0,"height":0},"typeFitting":[{"action":"font-size","amount":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"fieldset":"string","carryFieldToRef":"string","tags":["string"],"previews":["string"],"finalSettings":{"enableCropMarks":false},"priority":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of designTemplates to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - design-templates
      security: []
  /design-templates/preview:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-templates/preview-upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-templates
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-jobs/attachment:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-jobs/counts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - design-jobs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/design-jobs/counts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /design-jobs/notes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-jobs/status:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /design-jobs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: designJobs
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              assignedDesigner:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              revision:
                type: number
                default: false
              status:
                type: string
                enum:
                  - awaiting-initial-reqs
                  - reviewing-reqs
                  - in-design
                  - pending-customer-approval
                  - customer-reviewing
                  - complete
                  - void
              statusLog:
                type: array
                items:
                  title: itemOf_statusLog
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    from:
                      type: string
                      default: false
                    to:
                      type: string
                      default: true
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    sender:
                      type: string
                      enum:
                        - customer
                        - designer
                        - system
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    sentBy:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    sentByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    isRevision:
                      type: boolean
                      default: false
                    content:
                      type: string
                      default: ''
                    isPrivate:
                      type: boolean
                      default: false
                    revisionOrdinal:
                      type: number
                      default: false
                    attachments:
                      type: array
                      items:
                        type: string
                        x-ref: uploadLog
                        description: Refers to uploadLog
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    timeSpent:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sender
              currentRevision:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
              - order
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - design-jobs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/design-jobs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/designJobs'
                  - $ref: '#/components/schemas/designJobs_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/designJobs'
                - $ref: '#/components/schemas/designJobs_list'
    put:
      parameters: []
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Updates multiple resources.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designJobs_list'
    patch:
      parameters:
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: designJobs
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              assignedDesigner:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              revision:
                type: number
                default: false
              status:
                type: string
                enum:
                  - awaiting-initial-reqs
                  - reviewing-reqs
                  - in-design
                  - pending-customer-approval
                  - customer-reviewing
                  - complete
                  - void
              statusLog:
                type: array
                items:
                  title: itemOf_statusLog
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    from:
                      type: string
                      default: false
                    to:
                      type: string
                      default: true
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              notes:
                type: array
                items:
                  title: itemOf_notes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    sender:
                      type: string
                      enum:
                        - customer
                        - designer
                        - system
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    sentBy:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    sentByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    isRevision:
                      type: boolean
                      default: false
                    content:
                      type: string
                      default: ''
                    isPrivate:
                      type: boolean
                      default: false
                    revisionOrdinal:
                      type: number
                      default: false
                    attachments:
                      type: array
                      items:
                        type: string
                        x-ref: uploadLog
                        description: Refers to uploadLog
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    timeSpent:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sender
              currentRevision:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
              - order
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Updates multiple resources queried by given filters.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designJobs'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url 'https://api.inkcloud9.com/design-jobs?filter=SOME_OBJECT_VALUE' \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","order":"string","orderItem":"string","assignedDesigner":"string","revision":false,"status":"awaiting-initial-reqs","statusLog":[{"createdAt":"2019-08-24T14:15:22Z","from":false,"to":true,"user":"string","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"notes":[{"createdAt":"2019-08-24T14:15:22Z","sender":"customer","user":"string","sentBy":"string","sentByModel":"user","isRevision":false,"content":"","isPrivate":false,"revisionOrdinal":false,"attachments":["string"],"timeSpent":0,"_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"currentRevision":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            $ref: '#/components/schemas/designJobs'
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Removes multiple resources queried by given filters.
      summary: ''
      tags:
        - design-jobs
      security: []
  /design-jobs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of designJobs to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - design-jobs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/design-jobs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of designJobs to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designJobs'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of designJobs to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - design-jobs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/designJobs'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/design-jobs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","order":"string","orderItem":"string","assignedDesigner":"string","revision":false,"status":"awaiting-initial-reqs","statusLog":[{"createdAt":"2019-08-24T14:15:22Z","from":false,"to":true,"user":"string","_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"notes":[{"createdAt":"2019-08-24T14:15:22Z","sender":"customer","user":"string","sentBy":"string","sentByModel":"user","isRevision":false,"content":"","isPrivate":false,"revisionOrdinal":false,"attachments":["string"],"timeSpent":0,"_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"currentRevision":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of designJobs to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/designJobs'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - design-jobs
      security: []
  /reports/v2/microsite/product-last-fulfilled-date:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/backorders:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/inventory-usage:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/inventory-movements:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/inventory-product-ledger:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/orders-flattened:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/shipped-orders-flattened:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/inventory-location:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/inventory:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/microsite/non-active-customers:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/payments:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /customers/export:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customers
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v2/general/revenue:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - reports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/reports/v2/general/revenue?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /report/v2/team-export:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - report
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /report/v2/sales-team-export:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - report
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v3/results:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: reportResults
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              startedAt:
                type: string
                format: date-time
              completedAt:
                type: string
                format: date-time
              expiresAt:
                type: string
                format: date-time
              requestedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              requestedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              query: {}
              exportFields:
                type: array
                items:
                  type: string
              reportKey:
                type: string
              reportName:
                type: string
              fileOptions:
                title: fileOptions
                type: object
                properties:
                  separator:
                    type: string
                    default: ','
              status:
                type: string
                enum:
                  - queued
                  - starting
                  - in-progress
                  - complete
                  - failure
                  - canceled
                default: queued
              resultUrl:
                type: string
              gcPubSubTopic:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - requestedBy
              - requestedByModel
              - reportKey
              - reportName
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reportResults_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - reports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/reports/v3/results?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reportResults'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/reportResults'
  /reports/v3/results/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of reportResults to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reportResults'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - reports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/reports/v3/results/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of reportResults to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reportResults'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/reportResults'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of reportResults to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reportResults'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/reportResults'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/reports/v3/results/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","createdAt":"2019-08-24T14:15:22Z","startedAt":"2019-08-24T14:15:22Z","completedAt":"2019-08-24T14:15:22Z","expiresAt":"2019-08-24T14:15:22Z","requestedBy":"string","requestedByModel":"user","query":null,"exportFields":["string"],"reportKey":"string","reportName":"string","fileOptions":{"separator":","},"status":"queued","resultUrl":"string","gcPubSubTopic":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of reportResults to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/reportResults'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - reports
      security: []
  /reports/v3/custom-reports:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: customReports
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              queryFields:
                type: array
                items:
                  title: itemOf_queryFields
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              reportKey:
                type: string
              reportName:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - reportKey
              - reportName
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customReports_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - reports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/reports/v3/custom-reports?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customReports'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customReports'
  /reports/v3/custom-reports/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of customReports to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customReports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - reports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/reports/v3/custom-reports/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of customReports to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customReports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customReports'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of customReports to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customReports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/customReports'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/reports/v3/custom-reports/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","createdAt":"2019-08-24T14:15:22Z","queryFields":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"reportKey":"string","reportName":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of customReports to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/customReports'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - reports
      security: []
  /reports/v3/rfq:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - reports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/reports/v3/rfq?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /reports/v3/financial:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v3/production:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v3/design-jobs:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /reports/v3/orders:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - reports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /email-parse/log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: emailParseLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              inboundEmail:
                type: string
              from:
                type: string
              to:
                type: array
                items:
                  type: string
                minItems: 1
              subject:
                type: string
              result:
                type: string
                enum:
                  - skipped
                  - failed
                  - success
                  - pending
                  - need-review
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              payload: {}
              extractedContext: {}
              html:
                type: string
              errorMessage:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - microsite
              - inboundEmail
              - from
              - subject
              - result
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/emailParseLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - email-parse
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/email-parse/log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/emailParseLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - email-parse
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/emailParseLog'
  /email-parse/log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of emailParseLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/emailParseLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - email-parse
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/email-parse/log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of emailParseLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/emailParseLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - email-parse
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/emailParseLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of emailParseLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/emailParseLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - email-parse
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/emailParseLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/email-parse/log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","inboundEmail":"string","from":"string","to":["string"],"subject":"string","result":"skipped","order":"string","payload":null,"extractedContext":null,"html":"string","errorMessage":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of emailParseLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/emailParseLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - email-parse
      security: []
  /sales-tax/calculate:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-tax
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /sales-tax/tax-exemption-review:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: taxExemptionReview
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeCustomer:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              status:
                type: string
                enum:
                  - pending
                  - approved
                  - rejected
                default: pending
              resellerPermitNumber:
                type: string
              resellerPermitUpload:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              signedAgreementUpload:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              stateProvince:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxExemptionReview_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - sales-tax
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/sales-tax/tax-exemption-review?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxExemptionReview'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-tax
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/taxExemptionReview'
  /sales-tax/tax-exemption-review/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of taxExemptionReview to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxExemptionReview'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - sales-tax
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/sales-tax/tax-exemption-review/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of taxExemptionReview to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxExemptionReview'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - sales-tax
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/taxExemptionReview'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of taxExemptionReview to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxExemptionReview'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - sales-tax
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/taxExemptionReview'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/sales-tax/tax-exemption-review/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","micrositeCustomer":"string","customer":"string","status":"pending","resellerPermitNumber":"string","resellerPermitUpload":"string","signedAgreementUpload":"string","stateProvince":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of taxExemptionReview to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/taxExemptionReview'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - sales-tax
      security: []
  /sales-tax/tax-exemption-status:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-tax
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /sales-tax/tax-exemption-upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-tax
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /sales-tax/computation:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-tax
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /notification/default-template:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - notification
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/notification/default-template?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /notification/template:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: notificationTemplates
            type: object
            properties:
              key:
                type: string
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              template:
                type: string
              subject:
                type: string
              type:
                type: string
                enum:
                  - customer
                  - tenant
                  - translator
                  - salesPerson
                  - micrositeUser
              isMjml:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - key
              - tenant
              - template
              - type
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - notification
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/notification/template?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationTemplates'
  /notification/template/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - notification
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/notification/template/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationTemplates'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationTemplates'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/notification/template/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"key":"string","tenant":"string","microsite":"string","template":"string","subject":"string","type":"customer","isMjml":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - notification
      security: []
  /notification-template:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: notificationTemplates
            type: object
            properties:
              key:
                type: string
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              template:
                type: string
              subject:
                type: string
              type:
                type: string
                enum:
                  - customer
                  - tenant
                  - translator
                  - salesPerson
                  - micrositeUser
              isMjml:
                type: boolean
                default: false
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - key
              - tenant
              - template
              - type
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - notification-template
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/notification-template?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification-template
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationTemplates'
  /notification-template/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - notification-template
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/notification-template/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - notification-template
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationTemplates'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - notification-template
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationTemplates'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/notification-template/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"key":"string","tenant":"string","microsite":"string","template":"string","subject":"string","type":"customer","isMjml":false,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of notificationTemplates to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationTemplates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - notification-template
      security: []
  /notification/template-list:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /notification/v2/microsite-user:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /notification/v2/customer:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /notification/v2/tenant:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /notification/v2/translator:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /notification/v2/sales-person:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /notification/v2/log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: notificationLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              from:
                title: from
                type: object
                properties:
                  name:
                    type: string
                  email:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - email
              notificationType:
                type: string
              subject:
                type: string
              to:
                type: array
                items:
                  title: itemOf_to
                  type: object
                  properties:
                    name:
                      type: string
                    email:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - email
              cc:
                type: array
                items:
                  title: itemOf_cc
                  type: object
                  properties:
                    name:
                      type: string
                    email:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - email
              bcc:
                type: array
                items:
                  title: itemOf_bcc
                  type: object
                  properties:
                    name:
                      type: string
                    email:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - email
              isTestEmail:
                type: boolean
                default: false
              content:
                type: string
              context: {}
              expiresAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - notificationType
              - subject
              - content
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - notification
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/notification/v2/log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationLog'
  /notification/v2/log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of notificationLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - notification
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/notification/v2/log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of notificationLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of notificationLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/notificationLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/notification/v2/log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","from":{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"notificationType":"string","subject":"string","to":[{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"cc":[{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"bcc":[{"name":"string","email":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isTestEmail":false,"content":"string","context":null,"expiresAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of notificationLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/notificationLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - notification
      security: []
  /notification/v2:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - notification
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /packaging:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - packaging
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/packaging?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - packaging
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/rating:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/v2/predefined-packages:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/shipping/v2/predefined-packages?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /shipping/v2/address-validation:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/v2/rates:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/v2/shipment:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/v2/refund:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/v2/label:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/v2/tracking/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/shipping/v2/tracking/%7Bid%7D
  /shipping/v2/easypost-shipment:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: easypostShipment
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              orderReference:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
              easypostShipmentId:
                type: string
              carrier:
                type: string
              service:
                type: string
              amount:
                type: string
              void:
                type: boolean
              isTest:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - order
              - easypostShipmentId
              - carrier
              - service
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostShipment_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/shipping/v2/easypost-shipment?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostShipment'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/easypostShipment'
  /shipping/v2/easypost-shipment/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of easypostShipment to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostShipment'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/shipping/v2/easypost-shipment/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of easypostShipment to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostShipment'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/easypostShipment'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of easypostShipment to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostShipment'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/easypostShipment'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/shipping/v2/easypost-shipment/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","orderReference":"string","order":"string","easypostShipmentId":"string","carrier":"string","service":"string","amount":"string","void":true,"isTest":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of easypostShipment to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostShipment'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - shipping
      security: []
  /shipping/v2/fedex-certification:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/v2/easypost-carrier-types:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/shipping/v2/easypost-carrier-types?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /shipping/v2/easypost-carrier-accounts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: easypostCarrierAccounts
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              cacheTimestamp:
                type: string
                format: date-time
              name:
                type: string
              description:
                type: string
              key:
                type: string
              easypostObject: {}
              deleted:
                type: boolean
                default: false
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - cacheTimestamp
              - name
              - key
              - easypostObject
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostCarrierAccounts_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/shipping/v2/easypost-carrier-accounts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostCarrierAccounts'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/easypostCarrierAccounts'
  /shipping/v2/easypost-carrier-accounts/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of easypostCarrierAccounts to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostCarrierAccounts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/shipping/v2/easypost-carrier-accounts/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of easypostCarrierAccounts to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostCarrierAccounts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/easypostCarrierAccounts'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of easypostCarrierAccounts to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostCarrierAccounts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/easypostCarrierAccounts'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/shipping/v2/easypost-carrier-accounts/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","cacheTimestamp":"2019-08-24T14:15:22Z","name":"string","description":"string","key":"string","easypostObject":null,"deleted":false,"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of easypostCarrierAccounts to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/easypostCarrierAccounts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - shipping
      security: []
  /shipping/request-label/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/shipping/request-label/%7Bid%7D
  /shipping/request-label:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/holding-shelf:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/shelf-order-item:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/clear-shelf:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/mark-shipped:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/mark-ready-for-pickup:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /shipping/shelves:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: shippingHoldingShelf
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    orderItemId:
                      type: string
                      x-ref: orderItems
                      description: Refers to orderItems
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - orderItemId
              expectedTotalItems:
                type: number
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - business
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingHoldingShelf_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/shipping/shelves?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingHoldingShelf'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/shippingHoldingShelf'
  /shipping/shelves/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of shippingHoldingShelf to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingHoldingShelf'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - shipping
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/shipping/shelves/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of shippingHoldingShelf to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingHoldingShelf'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/shippingHoldingShelf'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of shippingHoldingShelf to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingHoldingShelf'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - shipping
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/shippingHoldingShelf'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/shipping/shelves/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","name":"string","key":"string","order":"string","items":[{"orderItemId":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"expectedTotalItems":0,"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of shippingHoldingShelf to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/shippingHoldingShelf'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - shipping
      security: []
  /cart/saved-items:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: cartSavedItems
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attributeId:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    name:
                      type: string
                    key:
                      type: string
                    type:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    typeName:
                      type: string
                    typeKey:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attributeId
                    - type
              customerReferenceName:
                type: string
              fromCompositeProduct:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              fromCompositeQuantity:
                type:
                  - number
                  - 'null'
                default: null
              isCustom:
                type: boolean
                default: false
              isCustomTrim:
                type: boolean
                default: false
              customTrimWidth:
                type:
                  - number
                  - 'null'
                default: null
              customTrimHeight:
                type:
                  - number
                  - 'null'
                default: null
              description:
                type: string
              price:
                type: number
              priceOverride:
                type: boolean
              tax:
                type: number
              priceWithTax:
                type: number
              designPrice:
                type: number
              quantity:
                type: number
              width:
                type:
                  - number
                  - 'null'
                default: null
              height:
                type:
                  - number
                  - 'null'
                default: null
              weight:
                type:
                  - number
                  - 'null'
                default: null
              length:
                type: number
              depth:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitType:
                type: string
                enum:
                  - inch
                  - cm
                  - meter
                  - foot
                default: inch
              cartonType:
                type: string
                x-ref: cartonTypes
                description: Refers to cartonTypes
                pattern: ^[0-9a-fA-F]{24}$
              cartonTypeName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              orientation:
                type: string
                enum:
                  - landscape
                  - portrait
              isShippable:
                type: boolean
                default: true
              wantDesign:
                type: boolean
                default: false
              turnaroundServiceType:
                type:
                  - number
                  - 'null'
                default: null
              turnaround:
                type: string
              pricingMethod:
                type: number
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    addOnId:
                      type: string
                    primaryData:
                      type: string
                    secondaryData:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - addOnId
              addOnTotal:
                type: number
              staticName:
                type: string
              isPriority:
                type: boolean
                default: false
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              designTemplate:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              designTemplateSecondary:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              designTemplateFields:
                type: array
                items:
                  title: itemOf_designTemplateFields
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              designTemplateFieldset:
                type: string
                x-ref: designTemplateFieldset
                description: Refers to designTemplateFieldset
                pattern: ^[0-9a-fA-F]{24}$
              renderToken:
                type: string
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artwork:
                type: string
              uploadSlots:
                type: array
                items:
                  title: itemOf_uploadSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    url:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              customFields:
                type: array
                items:
                  title: itemOf_customFields
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              isDigitalDelivery:
                type: boolean
                default: false
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              miscUploads:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
              discount:
                type: number
              compositeVariants: {}
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              dueDate:
                type: string
                format: date-time
              poHumanId:
                type: string
              projectCode:
                type: string
              compositeSelectedQuantities:
                type: array
                items:
                  title: itemOf_compositeSelectedQuantities
                  type: object
                  properties:
                    id:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - quantity
              compositeSelectedProducts:
                type: array
                items:
                  title: itemOf_compositeSelectedProducts
                  type: object
                  properties:
                    id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              compositeDesignTemplates:
                type: array
                items:
                  title: itemOf_compositeDesignTemplates
                  type: object
                  properties:
                    id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    designTemplate:
                      type: string
                      x-ref: designTemplates
                      description: Refers to designTemplates
                      pattern: ^[0-9a-fA-F]{24}$
                    designTemplateFields:
                      type: array
                      items:
                        title: itemOf_designTemplateFields
                        type: object
                        properties:
                          key:
                            type: string
                          label:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              designJobInitialNoteContent:
                type: string
              designJobInitialNoteAttachments:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - price
              - quantity
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartSavedItems_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - cart
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/cart/saved-items?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartSavedItems'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cartSavedItems'
  /cart/saved-items/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of cartSavedItems to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartSavedItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - cart
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/cart/saved-items/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of cartSavedItems to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartSavedItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cartSavedItems'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of cartSavedItems to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartSavedItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/cartSavedItems'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/cart/saved-items/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","microsite":"string","micrositeUser":"string","product":"string","category":"string","attributes":[{"attributeId":"string","name":"string","key":"string","type":"string","typeName":"string","typeKey":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customerReferenceName":"string","fromCompositeProduct":"string","fromCompositeQuantity":null,"isCustom":false,"isCustomTrim":false,"customTrimWidth":null,"customTrimHeight":null,"description":"string","price":0,"priceOverride":true,"tax":0,"priceWithTax":0,"designPrice":0,"quantity":0,"width":null,"height":null,"weight":null,"length":0,"depth":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitType":"inch","cartonType":"string","cartonTypeName":"string","timeMin":0,"timeMax":0,"orientation":"landscape","isShippable":true,"wantDesign":false,"turnaroundServiceType":null,"turnaround":"string","pricingMethod":0,"addOns":[{"addOnId":"string","primaryData":"string","secondaryData":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOnTotal":0,"staticName":"string","isPriority":false,"images":[{"url":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"designTemplate":"string","designTemplateSecondary":"string","designTemplateFields":[{"key":"string","label":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"designTemplateFieldset":"string","renderToken":"string","artworkVariantValues":[{"type":"string","value":"string","artwork":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","uploadSlots":[{"sequence":"string","url":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customFields":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDigitalDelivery":false,"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"miscUploads":["string"],"initialStatus":"string","triggerOrderApproval":true,"discount":0,"compositeVariants":null,"productionChannel":"string","vendor":"string","dueDate":"2019-08-24T14:15:22Z","poHumanId":"string","projectCode":"string","compositeSelectedQuantities":[{"id":"string","quantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeSelectedProducts":[{"id":"string","product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeDesignTemplates":[{"id":"string","designTemplate":"string","designTemplateFields":[{"key":"string","label":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"designJobInitialNoteContent":"string","designJobInitialNoteAttachments":["string"],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of cartSavedItems to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/cartSavedItems'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - cart
      security: []
  /cart:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: carts
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              salesPerson:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    category:
                      type: string
                      x-ref: productCategoryLegacy
                      description: Refers to productCategoryLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    attributes:
                      type: array
                      items:
                        title: itemOf_attributes
                        type: object
                        properties:
                          attributeId:
                            type: string
                            x-ref: productAttributeLegacy
                            description: Refers to productAttributeLegacy
                            pattern: ^[0-9a-fA-F]{24}$
                          name:
                            type: string
                          key:
                            type: string
                          type:
                            type: string
                            x-ref: productAttributeTypesLegacy
                            description: Refers to productAttributeTypesLegacy
                          typeName:
                            type: string
                          typeKey:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - attributeId
                          - type
                    customerReferenceName:
                      type: string
                    fromCompositeProduct:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    fromCompositeQuantity:
                      type:
                        - number
                        - 'null'
                      default: null
                    isCustom:
                      type: boolean
                      default: false
                    isCustomTrim:
                      type: boolean
                      default: false
                    customTrimWidth:
                      type:
                        - number
                        - 'null'
                      default: null
                    customTrimHeight:
                      type:
                        - number
                        - 'null'
                      default: null
                    description:
                      type: string
                    price:
                      type: number
                    priceOverride:
                      type: boolean
                    tax:
                      type: number
                    priceWithTax:
                      type: number
                    designPrice:
                      type: number
                    quantity:
                      type: number
                    width:
                      type:
                        - number
                        - 'null'
                      default: null
                    height:
                      type:
                        - number
                        - 'null'
                      default: null
                    weight:
                      type:
                        - number
                        - 'null'
                      default: null
                    length:
                      type: number
                    depth:
                      type: number
                    packageDims:
                      title: packageDims
                      type: object
                      properties:
                        width:
                          type: number
                        height:
                          type: number
                        length:
                          type: number
                        units:
                          type: string
                    unitType:
                      type: string
                      enum:
                        - inch
                        - cm
                        - meter
                        - foot
                      default: inch
                    cartonType:
                      type: string
                      x-ref: cartonTypes
                      description: Refers to cartonTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    cartonTypeName:
                      type: string
                    timeMin:
                      type: number
                    timeMax:
                      type: number
                    orientation:
                      type: string
                      enum:
                        - landscape
                        - portrait
                    isShippable:
                      type: boolean
                      default: true
                    wantDesign:
                      type: boolean
                      default: false
                    turnaroundServiceType:
                      type:
                        - number
                        - 'null'
                      default: null
                    turnaround:
                      type: string
                    pricingMethod:
                      type: number
                    addOns:
                      type: array
                      items:
                        title: itemOf_addOns
                        type: object
                        properties:
                          addOnId:
                            type: string
                          primaryData:
                            type: string
                          secondaryData:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - addOnId
                    addOnTotal:
                      type: number
                    staticName:
                      type: string
                    isPriority:
                      type: boolean
                      default: false
                    images:
                      type: array
                      items:
                        title: itemOf_images
                        type: object
                        properties:
                          url:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    designTemplate:
                      type: string
                      x-ref: designTemplates
                      description: Refers to designTemplates
                      pattern: ^[0-9a-fA-F]{24}$
                    designTemplateSecondary:
                      type: string
                      x-ref: designTemplates
                      description: Refers to designTemplates
                      pattern: ^[0-9a-fA-F]{24}$
                    designTemplateFields:
                      type: array
                      items:
                        title: itemOf_designTemplateFields
                        type: object
                        properties:
                          key:
                            type: string
                          label:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    designTemplateFieldset:
                      type: string
                      x-ref: designTemplateFieldset
                      description: Refers to designTemplateFieldset
                      pattern: ^[0-9a-fA-F]{24}$
                    renderToken:
                      type: string
                    artworkVariantValues:
                      type: array
                      items:
                        title: itemOf_artworkVariantValues
                        type: object
                        properties:
                          type:
                            type: string
                          value:
                            type: string
                          artwork:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                          - value
                    artwork:
                      type: string
                    uploadSlots:
                      type: array
                      items:
                        title: itemOf_uploadSlots
                        type: object
                        properties:
                          sequence:
                            type: string
                          url:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - sequence
                    customFields:
                      type: array
                      items:
                        title: itemOf_customFields
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - text
                              - select
                              - multi-select
                              - datepicker
                              - checkbox
                              - file
                          key:
                            type: string
                          label:
                            type: string
                          options:
                            type: array
                            items:
                              title: itemOf_options
                              type: object
                              properties:
                                key:
                                  type: string
                                value:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - key
                                - value
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                          - key
                          - label
                    isDigitalDelivery:
                      type: boolean
                      default: false
                    metadata:
                      type: array
                      items:
                        title: itemOf_metadata
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                    miscUploads:
                      type: array
                      items:
                        type: string
                        x-ref: uploadLog
                        description: Refers to uploadLog
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    initialStatus:
                      type: string
                      x-ref: jobStatuses
                      description: Refers to jobStatuses
                    triggerOrderApproval:
                      type: boolean
                    discount:
                      type: number
                    compositeVariants: {}
                    productionChannel:
                      type: string
                      x-ref: productionChannels
                      description: Refers to productionChannels
                      pattern: ^[0-9a-fA-F]{24}$
                    vendor:
                      type: string
                      x-ref: productionVendors
                      description: Refers to productionVendors
                      pattern: ^[0-9a-fA-F]{24}$
                    dueDate:
                      type: string
                      format: date-time
                    poHumanId:
                      type: string
                    projectCode:
                      type: string
                    compositeSelectedQuantities:
                      type: array
                      items:
                        title: itemOf_compositeSelectedQuantities
                        type: object
                        properties:
                          id:
                            type: string
                            x-ref: ProductLegacy
                            description: Refers to ProductLegacy
                            pattern: ^[0-9a-fA-F]{24}$
                          quantity:
                            type: number
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - quantity
                    compositeSelectedProducts:
                      type: array
                      items:
                        title: itemOf_compositeSelectedProducts
                        type: object
                        properties:
                          id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          product:
                            type: string
                            x-ref: ProductLegacy
                            description: Refers to ProductLegacy
                            pattern: ^[0-9a-fA-F]{24}$
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    compositeDesignTemplates:
                      type: array
                      items:
                        title: itemOf_compositeDesignTemplates
                        type: object
                        properties:
                          id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          designTemplate:
                            type: string
                            x-ref: designTemplates
                            description: Refers to designTemplates
                            pattern: ^[0-9a-fA-F]{24}$
                          designTemplateFields:
                            type: array
                            items:
                              title: itemOf_designTemplateFields
                              type: object
                              properties:
                                key:
                                  type: string
                                label:
                                  type: string
                                value:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    designJobInitialNoteContent:
                      type: string
                    designJobInitialNoteAttachments:
                      type: array
                      items:
                        type: string
                        x-ref: uploadLog
                        description: Refers to uploadLog
                        pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - price
                    - quantity
              subtotal:
                type: number
                default: 0
              airCargoAmount:
                type: number
              shipping:
                type: number
                default: 0
              shippingDiscount:
                type: number
                default: 0
              salesTax:
                type: number
                default: 0
              taxExShipping:
                type: number
                default: 0
              discount:
                type: number
                default: 0
              total:
                type: number
                default: 0
              isTaxCalcDisabled:
                type: boolean
                default: false
              isOrderApprovalRequired:
                type: boolean
                default: false
              shipTo:
                title: shipTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  phone:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              billTo:
                title: billTo
                type: object
                properties:
                  companyName:
                    type: string
                  name:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  phoneNumber:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              blindShipFrom:
                title: blindShipFrom
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  phone:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              availableShippingMethods:
                type: array
                items: {}
              shipOutAddressInputMethod:
                type: string
                enum:
                  - open
                  - address-book
                  - read-only
                default: open
              isCartAddressBookEnabled:
                type: boolean
                default: false
              isUseRecentAddressEnabled:
                type: boolean
                default: false
              isCostCenterInputEnabled:
                type: boolean
                default: false
              isPOInputEnabled:
                type: boolean
                default: false
              shipFromControl:
                type: boolean
                default: false
              showShippingRates:
                type: boolean
                default: true
              availableShippingRates:
                type: array
                items:
                  title: itemOf_availableShippingRates
                  type: object
                  properties:
                    carrierKey:
                      type: string
                    carrier:
                      type: string
                    serviceKey:
                      type: string
                    description:
                      type: string
                    amount:
                      type: number
                    deliveryDays:
                      type: number
                    deliveryDate:
                      type: string
                      format: date-time
                    deliveryDateGuaranteed:
                      type: boolean
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - carrierKey
                    - carrier
                    - amount
              staticShippingRates:
                type: array
                items:
                  title: itemOf_staticShippingRates
                  type: object
                  properties:
                    carrierKey:
                      type: string
                    carrier:
                      type: string
                    serviceKey:
                      type: string
                    description:
                      type: string
                    amount:
                      type: number
                    deliveryDays:
                      type: number
                    deliveryDate:
                      type: string
                      format: date-time
                    deliveryDateGuaranteed:
                      type: boolean
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - carrierKey
                    - carrier
                    - amount
              selectedShippingMethod:
                type: string
              selectedShippingService:
                type: string
              selectedShippingRate:
                type: string
              selectedAirportCode:
                type: string
              selectedPickupLocation:
                type: string
                x-ref: pickupLocations
                description: Refers to pickupLocations
                pattern: ^[0-9a-fA-F]{24}$
              appliedPromo:
                type: string
                x-ref: promoCodes
                description: Refers to promoCodes
                pattern: ^[0-9a-fA-F]{24}$
              appliedPromoCode:
                type: string
              appliedPromoCodeDescription:
                type: string
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              invoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              convertedToOrder:
                type: boolean
                default: false
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              costCenter:
                type: string
              channel:
                type: string
                enum:
                  - store-front
                  - dashboard
                  - api
                  - custom-quote
              po:
                type: string
              foreignId:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              orderRef:
                type: string
              miscInfo:
                type: string
              arriveBy:
                type: string
              notification:
                type: array
                items:
                  title: itemOf_notification
                  type: object
                  properties:
                    recipientName:
                      type: string
                    recipientAccount:
                      type: string
                    notificationType:
                      type: string
                      enum:
                        - order-confirmation
                        - order-shipped
                    deliveryStrategy:
                      type: string
                      enum:
                        - email
                        - sms
                        - slack
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - recipientName
                    - recipientAccount
                    - notificationType
                    - deliveryStrategy
              shipmentPayment:
                title: shipmentPayment
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - SENDER
                      - THIRD_PARTY
                      - RECEIVER
                      - COLLECT
                    default: SENDER
                  account:
                    type: string
                  countryCode:
                    type: string
                  postalCode:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              easypostCarrierAccounts:
                type: array
                items:
                  type: string
                  x-ref: easypostCarrierAccounts
                  description: Refers to easypostCarrierAccounts
              additionalRecipients:
                type: array
                items:
                  title: itemOf_additionalRecipients
                  type: object
                  properties:
                    email:
                      type: string
                    name:
                      type: string
                    type:
                      type: string
                      enum:
                        - to
                        - cc
                        - bcc
                      default: to
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - email
                    - name
              customerSuppliedPackingSlip:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              intakeChannel:
                type: string
                x-ref: intakeChannels
                description: Refers to intakeChannels
                pattern: ^[0-9a-fA-F]{24}$
              notificationPreference:
                type: string
                enum:
                  - email
                  - sms
                default: email
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/carts_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - cart
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/cart?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/carts'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/carts'
  /cart/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of carts to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/carts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - cart
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/cart/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of carts to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/carts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/carts'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of carts to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/carts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/carts'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/cart/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","salesPerson":"string","items":[{"product":"string","category":"string","attributes":[{"attributeId":"string","name":"string","key":"string","type":"string","typeName":"string","typeKey":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customerReferenceName":"string","fromCompositeProduct":"string","fromCompositeQuantity":null,"isCustom":false,"isCustomTrim":false,"customTrimWidth":null,"customTrimHeight":null,"description":"string","price":0,"priceOverride":true,"tax":0,"priceWithTax":0,"designPrice":0,"quantity":0,"width":null,"height":null,"weight":null,"length":0,"depth":0,"packageDims":{"width":0,"height":0,"length":0,"units":"string"},"unitType":"inch","cartonType":"string","cartonTypeName":"string","timeMin":0,"timeMax":0,"orientation":"landscape","isShippable":true,"wantDesign":false,"turnaroundServiceType":null,"turnaround":"string","pricingMethod":0,"addOns":[{"addOnId":"string","primaryData":"string","secondaryData":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOnTotal":0,"staticName":"string","isPriority":false,"images":[{"url":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"designTemplate":"string","designTemplateSecondary":"string","designTemplateFields":[{"key":"string","label":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"designTemplateFieldset":"string","renderToken":"string","artworkVariantValues":[{"type":"string","value":"string","artwork":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"artwork":"string","uploadSlots":[{"sequence":"string","url":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customFields":[{"type":"text","key":"string","label":"string","options":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"isDigitalDelivery":false,"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"miscUploads":["string"],"initialStatus":"string","triggerOrderApproval":true,"discount":0,"compositeVariants":null,"productionChannel":"string","vendor":"string","dueDate":"2019-08-24T14:15:22Z","poHumanId":"string","projectCode":"string","compositeSelectedQuantities":[{"id":"string","quantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeSelectedProducts":[{"id":"string","product":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"compositeDesignTemplates":[{"id":"string","designTemplate":"string","designTemplateFields":[{"key":"string","label":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"designJobInitialNoteContent":"string","designJobInitialNoteAttachments":["string"],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"subtotal":0,"airCargoAmount":0,"shipping":0,"shippingDiscount":0,"salesTax":0,"taxExShipping":0,"discount":0,"total":0,"isTaxCalcDisabled":false,"isOrderApprovalRequired":false,"shipTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","phone":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"billTo":{"companyName":"string","name":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","phoneNumber":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"blindShipFrom":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","phone":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"availableShippingMethods":[null],"shipOutAddressInputMethod":"open","isCartAddressBookEnabled":false,"isUseRecentAddressEnabled":false,"isCostCenterInputEnabled":false,"isPOInputEnabled":false,"shipFromControl":false,"showShippingRates":true,"availableShippingRates":[{"carrierKey":"string","carrier":"string","serviceKey":"string","description":"string","amount":0,"deliveryDays":0,"deliveryDate":"2019-08-24T14:15:22Z","deliveryDateGuaranteed":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"staticShippingRates":[{"carrierKey":"string","carrier":"string","serviceKey":"string","description":"string","amount":0,"deliveryDays":0,"deliveryDate":"2019-08-24T14:15:22Z","deliveryDateGuaranteed":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"selectedShippingMethod":"string","selectedShippingService":"string","selectedShippingRate":"string","selectedAirportCode":"string","selectedPickupLocation":"string","appliedPromo":"string","appliedPromoCode":"string","appliedPromoCodeDescription":"string","order":"string","invoice":"string","convertedToOrder":false,"microsite":"string","micrositeUser":"string","costCenter":"string","channel":"store-front","po":"string","foreignId":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"orderRef":"string","miscInfo":"string","arriveBy":"string","notification":[{"recipientName":"string","recipientAccount":"string","notificationType":"order-confirmation","deliveryStrategy":"email","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"shipmentPayment":{"type":"SENDER","account":"string","countryCode":"string","postalCode":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"easypostCarrierAccounts":["string"],"additionalRecipients":[{"email":"string","name":"string","type":"to","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customerSuppliedPackingSlip":"string","intakeChannel":"string","notificationPreference":"email","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of carts to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/carts'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - cart
      security: []
  /cart/set-additional-email:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-promo-code:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-discount:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/custom-quote:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/initialize:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/remove-saved-items:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/add-item:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/add-item-multi:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/assign-customer:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/assign-salesperson:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/remove-item:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/update-reference-name:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/update-item-quantity:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-item-custom-price:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-shipfrom:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-shipto:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-pickup-location:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-shipping-method:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-ship-service:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-delivery-instructions:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-po:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-order-ref:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-misc-info:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-customer-supplied-packing-slip:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-arrive-by:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/apply-cost-center:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/remove-cost-center:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/checkout:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/move-to-cart:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/saved-for-later:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/generate-item-details:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/clear-active:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/checking-for-checkout:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/add-multiple-items:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/active-cart:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/update-item-prices:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/recompute-sales-tax:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/generate-cxml:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/quantity-from-spreadsheet:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/instant-checkout:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-intake-channel:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-order-approval-required:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/allotment-check:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-static-shipping-rates:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /cart/set-is-tax-calc-disabled:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - cart
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /chat-transcripts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: ChatlioTranscript
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              agentEmail:
                type: string
              agentName:
                type: string
              startedAt:
                type: string
                format: date-time
              endedAt:
                type: string
                format: date-time
              visitorEmail:
                type: string
              visitorName:
                type: string
              replyToEmail:
                type: string
              messages:
                type: string
              chatMessages:
                type: array
                items:
                  title: itemOf_chatMessages
                  type: object
                  properties:
                    text:
                      type: string
                    ts:
                      type: string
                    sentAt:
                      type: string
                      format: date-time
                    userId:
                      type: string
                    username:
                      type: string
                    isVisitorMsg:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - agentEmail
              - agentName
              - visitorName
              - messages
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatlioTranscript_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - chat-transcripts
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/chat-transcripts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatlioTranscript'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - chat-transcripts
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatlioTranscript'
  /chat-transcripts/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of ChatlioTranscript to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatlioTranscript'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - chat-transcripts
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/chat-transcripts/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of ChatlioTranscript to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatlioTranscript'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - chat-transcripts
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatlioTranscript'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of ChatlioTranscript to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatlioTranscript'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - chat-transcripts
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChatlioTranscript'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/chat-transcripts/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","agentEmail":"string","agentName":"string","startedAt":"2019-08-24T14:15:22Z","endedAt":"2019-08-24T14:15:22Z","visitorEmail":"string","visitorName":"string","replyToEmail":"string","messages":"string","chatMessages":[{"text":"string","ts":"string","sentAt":"2019-08-24T14:15:22Z","userId":"string","username":"string","isVisitorMsg":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customer":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of ChatlioTranscript to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChatlioTranscript'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - chat-transcripts
      security: []
  /order-item-statuses:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: jobStatuses
            type: object
            properties:
              _id:
                type: string
              business:
                type: string
                x-ref: business
                description: Refers to business
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              description:
                type: string
              isDeleted:
                type: boolean
                default: false
              statusCategory:
                type: string
              type:
                type: string
                enum:
                  - pending
                  - active
                  - resolution
                  - final
              priority:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - _id
              - name
              - description
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatuses_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - order-item-statuses
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/order-item-statuses?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatuses'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - order-item-statuses
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobStatuses'
  /order-item-statuses/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatuses to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatuses'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - order-item-statuses
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/order-item-statuses/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatuses to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatuses'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - order-item-statuses
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobStatuses'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatuses to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatuses'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - order-item-statuses
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobStatuses'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/order-item-statuses/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"_id":"string","business":"string","name":"string","description":"string","isDeleted":false,"statusCategory":"string","type":"pending","priority":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatuses to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatuses'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - order-item-statuses
      security: []
  /products-legacy/calculator/v3:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - products-legacy
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /production-status-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: jobStatusLog
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              printJob:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              previousStatus:
                title: previousStatus
                type: object
                properties:
                  jobStatus:
                    type: string
                    x-ref: jobStatuses
                    description: Refers to jobStatuses
                  description:
                    type: string
                  secondaryStatus:
                    type: string
                    enum:
                      - started
                      - completed
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              status:
                title: status
                type: object
                properties:
                  jobStatus:
                    type: string
                    x-ref: jobStatuses
                    description: Refers to jobStatuses
                  description:
                    type: string
                  secondaryStatus:
                    type: string
                    enum:
                      - started
                      - completed
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              userType:
                type: string
                enum:
                  - command-center-user
                  - user
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - order
              - printJob
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatusLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production-status-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production-status-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatusLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production-status-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobStatusLog'
  /production-status-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatusLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production-status-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production-status-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatusLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production-status-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobStatusLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatusLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production-status-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/jobStatusLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production-status-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","createdAt":"2019-08-24T14:15:22Z","order":"string","printJob":"string","previousStatus":{"jobStatus":"string","description":"string","secondaryStatus":"started","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"status":{"jobStatus":"string","description":"string","secondaryStatus":"started","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"createdBy":"string","createdByModel":"user","userType":"command-center-user","_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of jobStatusLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jobStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production-status-log
      security: []
  /purchase-orders-approval:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - purchase-orders-approval
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /purchase-orders/notes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - purchase-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /purchase-orders/sends:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - purchase-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /purchase-orders/receivings:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - purchase-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /purchase-orders/receivings/{id}:
    delete:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - purchase-orders
      security: []
  /purchase-orders/emails:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - purchase-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /purchase-orders:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: purchaseOrder
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    glAccount:
                      type: string
                      x-ref: generalLedgerAccount
                      description: Refers to generalLedgerAccount
                      pattern: ^[0-9a-fA-F]{24}$
                    description:
                      type: string
                    quantity:
                      type: number
                    amount:
                      type: number
                    total:
                      type: number
                    taxRate:
                      type: number
                      default: 0
                    taxAmount:
                      type: number
                      default: 0
                    isTaxable:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - description
                    - quantity
                    - amount
                    - total
                    - taxAmount
                    - isTaxable
              billTo:
                title: billTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              shipTo:
                title: shipTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              rfqNum:
                type: string
              createdFromRfq:
                type: string
                x-ref: rfq
                description: Refers to rfq
                pattern: ^[0-9a-fA-F]{24}$
              projectName:
                type: string
              salesOrder:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              salesOrderNum:
                type: string
              attn:
                type: string
              clientPO:
                type: string
              poDueDate:
                type: string
                format: date-time
              soShipDate:
                type: string
                format: date-time
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              isApprovalRequired:
                type: boolean
              isApproved:
                type: boolean
              approvedAt:
                type: string
                format: date-time
              approvedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              approvedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              isSent:
                type: boolean
              sentAt:
                type: string
                format: date-time
              shouldRequestVendorAcknowledge:
                type: boolean
              isVendorAcknowledged:
                type: boolean
              vendorAcknowledgedAt:
                type: string
                format: date-time
              status:
                type: string
                enum:
                  - draft
                  - pending-approval
                  - rejected
                  - open
                  - partial-received
                  - received
                default: draft
              csr:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              notesToVendor:
                type: string
              foreignId:
                type: string
              costCenter:
                type: string
              jobNumber:
                type: string
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _metadata:
                type: array
                items:
                  title: itemOf__metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              receivings:
                type: array
                items:
                  title: itemOf_receivings
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    receivedBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    receivedByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    items:
                      type: array
                      items:
                        title: itemOf_items
                        type: object
                        properties:
                          purchaseOrderItem:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          product:
                            type: string
                            x-ref: ProductLegacy
                            description: Refers to ProductLegacy
                            pattern: ^[0-9a-fA-F]{24}$
                          amount:
                            type: number
                          location:
                            type: string
                            x-ref: inventoryLocations
                            description: Refers to inventoryLocations
                            pattern: ^[0-9a-fA-F]{24}$
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - purchaseOrderItem
                          - amount
                    wasInventoryMovementsCreated:
                      type: boolean
                    inventoryMovements:
                      type: array
                      items:
                        type: string
                        x-ref: inventoryMovement
                        description: Refers to inventoryMovement
                        pattern: ^[0-9a-fA-F]{24}$
                    notes:
                      type: string
                    isVoid:
                      type: boolean
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              shipping:
                title: shipping
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - SENDER
                      - THIRD_PARTY
                      - RECEIVER
                      - COLLECT
                  account:
                    type: string
                  countryCode:
                    type: string
                  postalCode:
                    type: string
                  isInsurance:
                    type: boolean
                  shippingService:
                    type: string
              payment:
                title: payment
                type: object
                properties:
                  isTaxExempt:
                    type: boolean
                  doesNeedDeposit:
                    type: boolean
                  depositType:
                    type: string
                    enum:
                      - percent
                      - amount
                  deposit:
                    type: number
              production:
                title: production
                type: object
                properties:
                  oversPercentage:
                    type: number
                  undersPercentage:
                    type: number
                  paperSuppliedBy:
                    type: string
                    enum:
                      - self
                      - vendor
                      - not-applicable
                    default: vendor
                  filesSupplied:
                    type: string
                    enum:
                      - press-ready-pdf
                      - native-files
                      - exact-repeat
                    default: press-ready-pdf
                  hardProof:
                    type: boolean
                    default: false
                  numHardProof:
                    type: number
                    default: 1
                  eProof:
                    type: boolean
                    default: false
              privateNotes:
                type: array
                items:
                  title: itemOf_privateNotes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    createdBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - createdBy
                    - createdByModel
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - createdBy
              - createdByModel
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/purchaseOrder_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - purchase-orders
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/purchase-orders?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/purchaseOrder'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - purchase-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/purchaseOrder'
  /purchase-orders/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of purchaseOrder to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/purchaseOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - purchase-orders
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/purchase-orders/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of purchaseOrder to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/purchaseOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - purchase-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/purchaseOrder'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of purchaseOrder to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/purchaseOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - purchase-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/purchaseOrder'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/purchase-orders/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","vendor":"string","humanId":0,"items":[{"product":"string","glAccount":"string","description":"string","quantity":0,"amount":0,"total":0,"taxRate":0,"taxAmount":0,"isTaxable":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"billTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"shipTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"rfqNum":"string","createdFromRfq":"string","projectName":"string","salesOrder":"string","salesOrderNum":"string","attn":"string","clientPO":"string","poDueDate":"2019-08-24T14:15:22Z","soShipDate":"2019-08-24T14:15:22Z","createdBy":"string","createdByModel":"user","isApprovalRequired":true,"isApproved":true,"approvedAt":"2019-08-24T14:15:22Z","approvedBy":"string","approvedByModel":"user","isSent":true,"sentAt":"2019-08-24T14:15:22Z","shouldRequestVendorAcknowledge":true,"isVendorAcknowledged":true,"vendorAcknowledgedAt":"2019-08-24T14:15:22Z","status":"draft","csr":"string","notesToVendor":"string","foreignId":"string","costCenter":"string","jobNumber":"string","tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"receivings":[{"createdAt":"2019-08-24T14:15:22Z","receivedBy":"string","receivedByModel":"user","items":[{"purchaseOrderItem":"string","product":"string","amount":0,"location":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"wasInventoryMovementsCreated":true,"inventoryMovements":["string"],"notes":"string","isVoid":true,"_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"shipping":{"type":"SENDER","account":"string","countryCode":"string","postalCode":"string","isInsurance":true,"shippingService":"string"},"payment":{"isTaxExempt":true,"doesNeedDeposit":true,"depositType":"percent","deposit":0},"production":{"oversPercentage":0,"undersPercentage":0,"paperSuppliedBy":"self","filesSupplied":"press-ready-pdf","hardProof":false,"numHardProof":1,"eProof":false},"privateNotes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","createdBy":"string","createdByModel":"user","_id":"string"}],"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of purchaseOrder to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/purchaseOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - purchase-orders
      security: []
  /sales-orders/emails:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /sales-orders:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: salesOrder
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              salesPerson:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              billTo:
                title: billTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              shipTo:
                title: shipTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    glAccount:
                      type: string
                      x-ref: generalLedgerAccount
                      description: Refers to generalLedgerAccount
                      pattern: ^[0-9a-fA-F]{24}$
                    description:
                      type: string
                    quantity:
                      type: number
                    amount:
                      type: number
                    total:
                      type: number
                    taxRate:
                      type: number
                      default: 0
                    taxAmount:
                      type: number
                      default: 0
                    isTaxable:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - description
                    - quantity
                    - amount
                    - total
                    - taxAmount
                    - isTaxable
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              csr:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              shipDate:
                type: string
                format: date-time
              rfqNum:
                type: string
              createdFromRfq:
                type: string
                x-ref: rfq
                description: Refers to rfq
                pattern: ^[0-9a-fA-F]{24}$
              customerPo:
                type: string
              soDescription:
                type: string
              taxRate:
                type: number
                default: 0
              shipping:
                title: shipping
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - SENDER
                      - THIRD_PARTY
                      - RECEIVER
                      - COLLECT
                  account:
                    type: string
                  countryCode:
                    type: string
                  postalCode:
                    type: string
                  isInsurance:
                    type: boolean
                  shippingService:
                    type: string
              payment:
                title: payment
                type: object
                properties:
                  isTaxExempt:
                    type: boolean
                  doesNeedDeposit:
                    type: boolean
                  depositType:
                    type: string
                    enum:
                      - percent
                      - amount
                  deposit:
                    type: number
              production:
                title: production
                type: object
                properties:
                  oversPercentage:
                    type: number
                  undersPercentage:
                    type: number
                  paperSuppliedBy:
                    type: string
                    enum:
                      - self
                      - vendor
                      - not-applicable
                    default: vendor
                  filesSupplied:
                    type: string
                    enum:
                      - press-ready-pdf
                      - native-files
                      - exact-repeat
                    default: press-ready-pdf
                  hardProof:
                    type: boolean
                    default: false
                  numHardProof:
                    type: number
                    default: 1
                  eProof:
                    type: boolean
                    default: false
              privateNotes:
                type: array
                items:
                  title: itemOf_privateNotes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    createdBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - createdBy
                    - createdByModel
              tags:
                type: array
                items:
                  type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              humanId:
                type: number
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
              - createdBy
              - createdByModel
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesOrder_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - sales-orders
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/sales-orders?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesOrder'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - sales-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/salesOrder'
  /sales-orders/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of salesOrder to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - sales-orders
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/sales-orders/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of salesOrder to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - sales-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/salesOrder'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of salesOrder to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - sales-orders
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/salesOrder'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/sales-orders/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","customer":"string","micrositeUser":"string","salesPerson":"string","billTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"shipTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"items":[{"product":"string","glAccount":"string","description":"string","quantity":0,"amount":0,"total":0,"taxRate":0,"taxAmount":0,"isTaxable":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"createdBy":"string","createdByModel":"user","csr":"string","shipDate":"2019-08-24T14:15:22Z","rfqNum":"string","createdFromRfq":"string","customerPo":"string","soDescription":"string","taxRate":0,"shipping":{"type":"SENDER","account":"string","countryCode":"string","postalCode":"string","isInsurance":true,"shippingService":"string"},"payment":{"isTaxExempt":true,"doesNeedDeposit":true,"depositType":"percent","deposit":0},"production":{"oversPercentage":0,"undersPercentage":0,"paperSuppliedBy":"self","filesSupplied":"press-ready-pdf","hardProof":false,"numHardProof":1,"eProof":false},"privateNotes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","createdBy":"string","createdByModel":"user","_id":"string"}],"tags":["string"],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"humanId":0,"deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of salesOrder to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/salesOrder'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - sales-orders
      security: []
  /rfqs/responses/{id}:
    patch:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/rfqs/responses/%7Bid%7D \
              --header 'content-type: application/json' \
              --data '{}'
    delete:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - rfqs
      security: []
  /rfqs/pos:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/sales-orders:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/emails:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/sends:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/estimate-sends:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/estimate-emails:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/notes:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/attachments:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/conversions:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/quantities:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /rfqs/counts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - rfqs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/rfqs/counts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /rfqs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: rfq
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    humanId:
                      type: string
                    sku:
                      type: string
                    notes:
                      type: string
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    category:
                      type: string
                      x-ref: productCategoryLegacy
                      description: Refers to productCategoryLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    packagingInstructions:
                      type: string
                    numSides:
                      type: number
                    eProof:
                      type: boolean
                      default: false
                    hardProof:
                      type: boolean
                      default: false
                    numHardProof:
                      type: number
                      default: 1
                    liveSample:
                      type: boolean
                      default: false
                    pressCheck:
                      type: boolean
                      default: false
                    description:
                      type: string
                    quantities:
                      type: array
                      items:
                        type: number
                    components:
                      type: array
                      items:
                        title: itemOf_components
                        type: object
                        properties:
                          description:
                            type: string
                          notes:
                            type: string
                          flatSize:
                            title: flatSize
                            type: object
                            properties:
                              width:
                                type: number
                              height:
                                type: number
                          finishSize:
                            title: finishSize
                            type: object
                            properties:
                              width:
                                type: number
                              height:
                                type: number
                          inkSpecs:
                            type: string
                          attributes:
                            type: array
                            items:
                              title: itemOf_attributes
                              type: object
                              properties:
                                type:
                                  type: string
                                  x-ref: productAttributeTypesLegacy
                                  description: Refers to productAttributeTypesLegacy
                                value:
                                  type: string
                                  x-ref: productAttributeLegacy
                                  description: Refers to productAttributeLegacy
                                  pattern: ^[0-9a-fA-F]{24}$
                                otherType:
                                  type: string
                                otherValue:
                                  type: string
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              vendors:
                type: array
                items:
                  title: itemOf_vendors
                  type: object
                  properties:
                    vendor:
                      type: string
                      x-ref: productionVendors
                      description: Refers to productionVendors
                      pattern: ^[0-9a-fA-F]{24}$
                    poDueDate:
                      type: string
                      format: date-time
                    status:
                      type: string
                      enum:
                        - pending
                        - acknowledged
                        - responded
                        - responded-with-changes
                        - no-bid
                      default: pending
                    itemsToQuote:
                      type: array
                      items:
                        type: string
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    respondedAt:
                      type: string
                      format: date-time
                    services:
                      type: array
                      items:
                        type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              billTo:
                title: billTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              shipTo:
                title: shipTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              rfqNum:
                type: string
              projectName:
                type: string
              salesOrder:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              salesOrderNum:
                type: string
              estimateDueDate:
                type: string
                format: date-time
              deliveryDate:
                type: string
                format: date-time
              turnaroundTime:
                type: number
              turnaroundDescription:
                type: string
              vendorShipDate:
                type: string
                format: date-time
              requestedCustomerShipDate:
                type: string
                format: date-time
              isRfqSent:
                type: boolean
              rfqSentAt:
                type: string
                format: date-time
              isEstimateSent:
                type: boolean
              estimateSentAt:
                type: string
                format: date-time
              isPOCreated:
                type: boolean
              isSalesOrderCreated:
                type: string
                format: date-time
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              responses:
                type: array
                items:
                  title: itemOf_responses
                  type: object
                  properties:
                    vendor:
                      type: string
                      x-ref: productionVendors
                      description: Refers to productionVendors
                      pattern: ^[0-9a-fA-F]{24}$
                    status:
                      type: string
                      enum:
                        - pending
                        - acknowledged
                        - responded
                        - responded-with-changes
                        - no-bid
                      default: pending
                    acknowledgedAt:
                      type: string
                      format: date-time
                    changeMessage:
                      type: string
                    estimateNumber:
                      type: string
                    respondedAt:
                      type: string
                      format: date-time
                    items:
                      type: array
                      items:
                        title: itemOf_items
                        type: object
                        properties:
                          item:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          isOptedOut:
                            type: boolean
                          notes:
                            type: string
                          quantities:
                            type: array
                            items:
                              title: itemOf_quantities
                              type: object
                              properties:
                                quantity:
                                  type: number
                                isOptedOut:
                                  type: boolean
                                price:
                                  type: number
                                components:
                                  type: array
                                  items:
                                    title: itemOf_components
                                    type: object
                                    properties:
                                      component:
                                        type: string
                                      numSheets:
                                        type: number
                                      sheetSize:
                                        title: sheetSize
                                        type: object
                                        properties:
                                          width:
                                            type: number
                                          height:
                                            type: number
                                      _id:
                                        type: string
                                        pattern: ^[0-9a-fA-F]{24}$
                                      createdAt:
                                        type: string
                                        format: date-time
                                      updatedAt:
                                        type: string
                                        format: date-time
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                              required:
                                - quantity
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - item
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              estimate:
                title: estimate
                type: object
                properties:
                  items:
                    type: array
                    items:
                      title: itemOf_items
                      type: object
                      properties:
                        item:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        quantities:
                          type: array
                          items:
                            title: itemOf_quantities
                            type: object
                            properties:
                              quantity:
                                type: number
                              selectedVendors:
                                type: array
                                items:
                                  type: string
                                  x-ref: productionVendors
                                  description: Refers to productionVendors
                                  pattern: ^[0-9a-fA-F]{24}$
                              subtotalCosts:
                                type: number
                                default: 0
                              paperCostM:
                                type: array
                                items:
                                  title: itemOf_paperCostM
                                  type: object
                                  properties:
                                    component:
                                      type: string
                                    cost:
                                      type: number
                                      default: 0
                                    costTotal:
                                      type: number
                                      default: 0
                                    vendor:
                                      type: string
                                      x-ref: productionVendors
                                      description: Refers to productionVendors
                                      pattern: ^[0-9a-fA-F]{24}$
                                    _id:
                                      type: string
                                      pattern: ^[0-9a-fA-F]{24}$
                                    createdAt:
                                      type: string
                                      format: date-time
                                    updatedAt:
                                      type: string
                                      format: date-time
                              paperCostTotal:
                                type: number
                                default: 0
                              totalCosts:
                                type: number
                                default: 0
                              markupPercentage:
                                type: number
                                default: 0
                              markupAmount:
                                type: number
                                default: 0
                              subtotalPrice:
                                type: number
                                default: 0
                              taxRate:
                                type: number
                                default: 0
                              taxAmount:
                                type: number
                                default: 0
                              totalPrice:
                                type: number
                                default: 0
                              minSell:
                                type: number
                                default: 0
                              recommendedSell:
                                type: number
                                default: 0
                              _id:
                                type: string
                                pattern: ^[0-9a-fA-F]{24}$
                              createdAt:
                                type: string
                                format: date-time
                              updatedAt:
                                type: string
                                format: date-time
                            required:
                              - quantity
                              - subtotalCosts
                              - totalCosts
                              - markupPercentage
                              - markupAmount
                              - subtotalPrice
                              - taxRate
                              - taxAmount
                              - totalPrice
                        additionalCosts:
                          type: array
                          items:
                            title: itemOf_additionalCosts
                            type: object
                            properties:
                              description:
                                type: string
                              includedInMarkup:
                                type: boolean
                                default: true
                              quantities:
                                type: array
                                items:
                                  title: itemOf_quantities
                                  type: object
                                  properties:
                                    quantity:
                                      type: number
                                    amount:
                                      type: number
                                    _id:
                                      type: string
                                      pattern: ^[0-9a-fA-F]{24}$
                                    createdAt:
                                      type: string
                                      format: date-time
                                    updatedAt:
                                      type: string
                                      format: date-time
                                  required:
                                    - quantity
                                    - amount
                              _id:
                                type: string
                                pattern: ^[0-9a-fA-F]{24}$
                              createdAt:
                                type: string
                                format: date-time
                              updatedAt:
                                type: string
                                format: date-time
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - item
                  customerSelectedQuantities:
                    type: array
                    items:
                      title: itemOf_customerSelectedQuantities
                      type: object
                      properties:
                        item:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        quantity:
                          type: number
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - item
                        - quantity
                  response:
                    type: string
                    enum:
                      - accepted
                      - declined
                      - accepted-with-changes
                  respondedAt:
                    type: string
                    format: date-time
                  changeMessage:
                    type: string
                  declineReason:
                    type: string
                  awardedSuppliers:
                    type: array
                    items:
                      type: string
                      x-ref: productionVendors
                      description: Refers to productionVendors
                      pattern: ^[0-9a-fA-F]{24}$
                  createdOrder:
                    type: string
                    x-ref: orders
                    description: Refers to orders
                    pattern: ^[0-9a-fA-F]{24}$
                  createdOrderHumanId:
                    type: string
                  createdOrderAt:
                    type: string
                    format: date-time
                  costCenter:
                    type: string
                  externalJobNumber:
                    type: string
                  clientPo:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              csr:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              assignedTo:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              requestor:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              shipping:
                title: shipping
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - SENDER
                      - THIRD_PARTY
                      - RECEIVER
                      - COLLECT
                  account:
                    type: string
                  countryCode:
                    type: string
                  postalCode:
                    type: string
                  isInsurance:
                    type: boolean
                  shippingService:
                    type: string
              payment:
                title: payment
                type: object
                properties:
                  isTaxExempt:
                    type: boolean
                  doesNeedDeposit:
                    type: boolean
                  depositType:
                    type: string
                    enum:
                      - percent
                      - amount
                  deposit:
                    type: number
              production:
                title: production
                type: object
                properties:
                  oversPercentage:
                    type: number
                  undersPercentage:
                    type: number
                  paperSuppliedBy:
                    type: string
                    enum:
                      - self
                      - vendor
                      - not-applicable
                    default: vendor
                  filesSupplied:
                    type: string
                    enum:
                      - press-ready-pdf
                      - native-files
                      - exact-repeat
                    default: press-ready-pdf
                  hardProof:
                    type: boolean
                    default: false
                  numHardProof:
                    type: number
                    default: 1
                  eProof:
                    type: boolean
                    default: false
              notes:
                type: string
              paperSuppliedBy:
                type: string
                enum:
                  - self
                  - vendor
                  - not-applicable
                default: vendor
              filesSupplied:
                type: string
                enum:
                  - press-ready-pdf
                  - native-files
                  - exact-repeat
                default: press-ready-pdf
              eProof:
                type: boolean
                default: false
              hardProof:
                type: boolean
                default: false
              numHardProof:
                type: number
                default: 1
              liveSample:
                type: boolean
                default: false
              pressCheck:
                type: boolean
                default: false
              allowableOverrunPercentage:
                type: number
              allowableUnderrunPercentage:
                type: number
              attachments:
                type: array
                items:
                  title: itemOf_attachments
                  type: object
                  properties:
                    attachedAt:
                      type: string
                      format: date-time
                    filename:
                      type: string
                    size:
                      type: string
                    label:
                      type: string
                    uploadLog:
                      type: string
                      x-ref: uploadLog
                      description: Refers to uploadLog
                      pattern: ^[0-9a-fA-F]{24}$
                    attachedBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    attachedByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - uploadLog
              privateNotes:
                type: array
                items:
                  title: itemOf_privateNotes
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    createdBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                  required:
                    - createdBy
                    - createdByModel
              foreignId:
                type: string
              status:
                type: string
                enum:
                  - draft
                  - open
                  - rfq-received
                  - sent-to-suppliers
                  - supplier-response-received
                  - estimate-sent
                  - estimate-response-received
                  - order-awarded
                  - estimate-declined
                  - committed
                default: rfq-received
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              deleted:
                type: boolean
                default: false
              deletedAt:
                type: string
                format: date-time
              deletedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              deletedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - createdBy
              - createdByModel
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rfq_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - rfqs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/rfqs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rfq'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rfq'
  /rfqs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of rfq to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rfq'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - rfqs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/rfqs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of rfq to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rfq'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rfq'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of rfq to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rfq'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - rfqs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/rfq'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/rfqs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","humanId":0,"customer":"string","micrositeUser":"string","items":[{"humanId":"string","sku":"string","notes":"string","product":"string","category":"string","packagingInstructions":"string","numSides":0,"eProof":false,"hardProof":false,"numHardProof":1,"liveSample":false,"pressCheck":false,"description":"string","quantities":[0],"components":[{"description":"string","notes":"string","flatSize":{"width":0,"height":0},"finishSize":{"width":0,"height":0},"inkSpecs":"string","attributes":[{"type":"string","value":"string","otherType":"string","otherValue":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"vendors":[{"vendor":"string","poDueDate":"2019-08-24T14:15:22Z","status":"pending","itemsToQuote":["string"],"respondedAt":"2019-08-24T14:15:22Z","services":["string"],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"billTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"shipTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"rfqNum":"string","projectName":"string","salesOrder":"string","salesOrderNum":"string","estimateDueDate":"2019-08-24T14:15:22Z","deliveryDate":"2019-08-24T14:15:22Z","turnaroundTime":0,"turnaroundDescription":"string","vendorShipDate":"2019-08-24T14:15:22Z","requestedCustomerShipDate":"2019-08-24T14:15:22Z","isRfqSent":true,"rfqSentAt":"2019-08-24T14:15:22Z","isEstimateSent":true,"estimateSentAt":"2019-08-24T14:15:22Z","isPOCreated":true,"isSalesOrderCreated":"2019-08-24T14:15:22Z","createdBy":"string","createdByModel":"user","responses":[{"vendor":"string","status":"pending","acknowledgedAt":"2019-08-24T14:15:22Z","changeMessage":"string","estimateNumber":"string","respondedAt":"2019-08-24T14:15:22Z","items":[{"item":"string","isOptedOut":true,"notes":"string","quantities":[{"quantity":0,"isOptedOut":true,"price":0,"components":[{"component":"string","numSheets":0,"sheetSize":{"width":0,"height":0},"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"estimate":{"items":[{"item":"string","quantities":[{"quantity":0,"selectedVendors":["string"],"subtotalCosts":0,"paperCostM":[{"component":"string","cost":0,"costTotal":0,"vendor":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"paperCostTotal":0,"totalCosts":0,"markupPercentage":0,"markupAmount":0,"subtotalPrice":0,"taxRate":0,"taxAmount":0,"totalPrice":0,"minSell":0,"recommendedSell":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"additionalCosts":[{"description":"string","includedInMarkup":true,"quantities":[{"quantity":0,"amount":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customerSelectedQuantities":[{"item":"string","quantity":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"response":"accepted","respondedAt":"2019-08-24T14:15:22Z","changeMessage":"string","declineReason":"string","awardedSuppliers":["string"],"createdOrder":"string","createdOrderHumanId":"string","createdOrderAt":"2019-08-24T14:15:22Z","costCenter":"string","externalJobNumber":"string","clientPo":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"csr":"string","assignedTo":"string","requestor":"string","shipping":{"type":"SENDER","account":"string","countryCode":"string","postalCode":"string","isInsurance":true,"shippingService":"string"},"payment":{"isTaxExempt":true,"doesNeedDeposit":true,"depositType":"percent","deposit":0},"production":{"oversPercentage":0,"undersPercentage":0,"paperSuppliedBy":"self","filesSupplied":"press-ready-pdf","hardProof":false,"numHardProof":1,"eProof":false},"notes":"string","paperSuppliedBy":"self","filesSupplied":"press-ready-pdf","eProof":false,"hardProof":false,"numHardProof":1,"liveSample":false,"pressCheck":false,"allowableOverrunPercentage":0,"allowableUnderrunPercentage":0,"attachments":[{"attachedAt":"2019-08-24T14:15:22Z","filename":"string","size":"string","label":"string","uploadLog":"string","attachedBy":"string","attachedByModel":"user","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"privateNotes":[{"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","content":"string","createdBy":"string","createdByModel":"user","_id":"string"}],"foreignId":"string","status":"draft","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":false,"deletedAt":"2019-08-24T14:15:22Z","deletedBy":"string","deletedByModel":"user","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of rfq to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rfq'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - rfqs
      security: []
  /general-ledger-accounts:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: generalLedgerAccount
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              name:
                type: string
              accountType:
                type: string
                enum:
                  - income
                  - cost-of-goods
              accountNumber:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              deleted:
                type: boolean
                default: false
              integrations:
                type: array
                items:
                  title: itemOf_integrations
                  type: object
                  properties:
                    type:
                      type: string
                    foreignId:
                      type: string
                    foreignName:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - foreignId
                    - foreignName
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - accountType
              - accountNumber
              - createdBy
              - createdByModel
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generalLedgerAccount_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - general-ledger-accounts
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/general-ledger-accounts?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generalLedgerAccount'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - general-ledger-accounts
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/generalLedgerAccount'
  /general-ledger-accounts/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of generalLedgerAccount to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generalLedgerAccount'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - general-ledger-accounts
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/general-ledger-accounts/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of generalLedgerAccount to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generalLedgerAccount'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - general-ledger-accounts
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/generalLedgerAccount'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of generalLedgerAccount to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generalLedgerAccount'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - general-ledger-accounts
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/generalLedgerAccount'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/general-ledger-accounts/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","humanId":0,"name":"string","accountType":"income","accountNumber":"string","createdBy":"string","createdByModel":"user","deleted":false,"integrations":[{"type":"string","foreignId":"string","foreignName":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of generalLedgerAccount to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/generalLedgerAccount'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - general-ledger-accounts
      security: []
  /printable-docs/resolver:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable-docs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable-docs/templates:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: printableDocumentTemplate
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              description:
                type: string
              documentType:
                type: string
                enum:
                  - invoice
                  - purchase-order
                  - sales-order
                  - packing-slip
                  - pick-list
                  - job-ticket
                  - estimate
                  - order-item-label
              source:
                type: string
              styles:
                type: string
                default: '{}'
              isDefault:
                type: boolean
                default: false
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - documentType
              - source
              - createdBy
              - createdByModel
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocumentTemplate_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - printable-docs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/printable-docs/templates?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocumentTemplate'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable-docs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableDocumentTemplate'
  /printable-docs/templates/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocumentTemplate to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocumentTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - printable-docs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/printable-docs/templates/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocumentTemplate to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocumentTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - printable-docs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableDocumentTemplate'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocumentTemplate to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocumentTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - printable-docs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableDocumentTemplate'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/printable-docs/templates/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","name":"string","description":"string","documentType":"invoice","source":"string","styles":"{}","isDefault":false,"createdBy":"string","createdByModel":"user","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocumentTemplate to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocumentTemplate'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - printable-docs
      security: []
  /printable-docs:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: printableDocument
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              documentType:
                type: string
                enum:
                  - invoice
                  - purchase-order
                  - sales-order
                  - packing-slip
                  - pick-list
                  - job-ticket
                  - estimate
                  - order-item-label
              status:
                type: string
                enum:
                  - pending
                  - queued
                  - complete
                  - in-progress
                  - failure
                default: queued
              errorMessage:
                type: string
              renderParams: {}
              publicUrl:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              expiresAt:
                type: string
                format: date-time
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - documentType
              - renderParams
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocument_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - printable-docs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/printable-docs?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocument'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable-docs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableDocument'
  /printable-docs/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocument to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocument'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - printable-docs
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/printable-docs/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocument to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocument'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - printable-docs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableDocument'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocument to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocument'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - printable-docs
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableDocument'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/printable-docs/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","documentType":"invoice","status":"pending","errorMessage":"string","renderParams":null,"publicUrl":"string","createdBy":"string","createdByModel":"user","expiresAt":"2019-08-24T14:15:22Z","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of printableDocument to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableDocument'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - printable-docs
      security: []
  /workflow-stations:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: workflowStations
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              transitionToStatus:
                type: string
              isScanInAndOut:
                type: boolean
                default: false
              scanOutStatus:
                type: string
              notesToOperator:
                type: string
              lastOperatedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              lastOperatedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - transitionToStatus
              - isScanInAndOut
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/workflowStations_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - workflow-stations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/workflow-stations?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/workflowStations'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - workflow-stations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/workflowStations'
  /workflow-stations/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of workflowStations to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/workflowStations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - workflow-stations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/workflow-stations/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of workflowStations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/workflowStations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - workflow-stations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/workflowStations'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of workflowStations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/workflowStations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - workflow-stations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/workflowStations'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/workflow-stations/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","transitionToStatus":"string","isScanInAndOut":false,"scanOutStatus":"string","notesToOperator":"string","lastOperatedBy":"string","lastOperatedByModel":"user","vendor":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of workflowStations to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/workflowStations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - workflow-stations
      security: []
  /misc-documents/resolver:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - misc-documents
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /misc-documents:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: miscDocuments
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              uploadLog:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              designatedPrinterKey:
                type: string
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - uploadLog
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/miscDocuments_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - misc-documents
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/misc-documents?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/miscDocuments'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - misc-documents
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/miscDocuments'
  /misc-documents/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of miscDocuments to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/miscDocuments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - misc-documents
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/misc-documents/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of miscDocuments to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/miscDocuments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - misc-documents
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/miscDocuments'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of miscDocuments to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/miscDocuments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - misc-documents
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/miscDocuments'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/misc-documents/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","uploadLog":"string","designatedPrinterKey":"string","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of miscDocuments to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/miscDocuments'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - misc-documents
      security: []
  /printable-combined/pdfs/{id}:
    patch:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - printable-combined
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/printable-combined/pdfs/%7Bid%7D \
              --header 'content-type: application/json' \
              --data '{}'
  /printable-combined:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: printableCombined
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              pdfs:
                type: array
                items:
                  title: itemOf_pdfs
                  type: object
                  properties:
                    service:
                      type: string
                    payload: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - service
              resultUrl:
                type: string
              requestedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              requestedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              status:
                type: string
                enum:
                  - pending
                  - complete
                  - failed
                default: pending
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableCombined_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - printable-combined
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/printable-combined?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableCombined'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable-combined
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableCombined'
  /printable-combined/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of printableCombined to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableCombined'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - printable-combined
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/printable-combined/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of printableCombined to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableCombined'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - printable-combined
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableCombined'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of printableCombined to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableCombined'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - printable-combined
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/printableCombined'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/printable-combined/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"createdAt":"2019-08-24T14:15:22Z","tenant":"string","pdfs":[{"service":"string","payload":null,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"resultUrl":"string","requestedBy":"string","requestedByModel":"user","status":"pending","_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of printableCombined to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/printableCombined'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - printable-combined
      security: []
  /geocode:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - geocode
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /geocode/cache:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: geocodeCache
            type: object
            properties:
              address:
                type: string
              lat:
                type: string
              lng:
                type: string
              key:
                type: string
              response: {}
              provider:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - address
              - lat
              - lng
              - key
              - provider
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/geocodeCache_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - geocode
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/geocode/cache?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/geocodeCache'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - geocode
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/geocodeCache'
  /geocode/cache/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of geocodeCache to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/geocodeCache'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - geocode
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/geocode/cache/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of geocodeCache to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/geocodeCache'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - geocode
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/geocodeCache'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of geocodeCache to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/geocodeCache'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - geocode
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/geocodeCache'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/geocode/cache/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"address":"string","lat":"string","lng":"string","key":"string","response":null,"provider":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of geocodeCache to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/geocodeCache'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - geocode
      security: []
  /credit-memo/balance/{id}:
    get:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - credit-memo
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/credit-memo/balance/%7Bid%7D
  /credit-memo:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: creditMemo
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              invoice:
                type: string
                x-ref: invoices
                description: Refers to invoices
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              transactionType:
                type: string
              notes:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - customer
              - amount
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditMemo_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - credit-memo
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/credit-memo?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditMemo'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - credit-memo
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/creditMemo'
  /credit-memo/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of creditMemo to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditMemo'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - credit-memo
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/credit-memo/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of creditMemo to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditMemo'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - credit-memo
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/creditMemo'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of creditMemo to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditMemo'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - credit-memo
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/creditMemo'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/credit-memo/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","customer":"string","humanId":"string","invoice":"string","amount":0,"transactionType":"string","notes":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of creditMemo to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/creditMemo'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - credit-memo
      security: []
  /local-delivery/validator:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - local-delivery
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /accounting:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - accounting
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/accounting?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /reports:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - reports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/reports?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /production/batches/send-to-press:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /production/batches/mark-complete:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /production/batches/trigger-render:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /production/batches/request:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /production/batches/upload:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /production/batches:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productionBatches
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    orderItem:
                      type: string
                      x-ref: orderItems
                      description: Refers to orderItems
                      pattern: ^[0-9a-fA-F]{24}$
                    numUps:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - orderItem
                    - numUps
              humanId:
                type: number
              finalizedAt:
                type: string
                format: date-time
              dispatchedAt:
                type: string
                format: date-time
              status:
                type: string
                enum:
                  - STATUS_DRAFT
                  - STATUS_FINAL
                  - STATUS_DISPATCHED
                  - queued-for-generate
                  - in-generate
                  - generate-complete
                  - generate-failure
                  - awaiting-artwork
                  - pending-dispatch
                  - queued-at-press
                  - in-progress
                  - print-complete
                  - cutting-complete
                  - received-at-press
                  - print-aborted
                  - canceled
                default: STATUS_DRAFT
              productionStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              impositionTemplate:
                type: string
                x-ref: imposition_templates
                description: Refers to imposition_templates
                pattern: ^[0-9a-fA-F]{24}$
              batchType:
                type: string
                enum:
                  - imposition
                  - virtual
              orientationType:
                type: string
                enum:
                  - sheet-wise
                  - work-and-turn
                  - work-and-tumble
              resource:
                type: string
                x-ref: productionResources
                description: Refers to productionResources
                pattern: ^[0-9a-fA-F]{24}$
              paper:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              coating:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              color:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              finalSheetCount:
                type: number
              alottedWasteCount:
                type: number
              sheetWidth:
                type: number
              sheetHeight:
                type: number
              artworkStorageUrl:
                type: string
              thumbnailStorageUrl:
                type: array
                items:
                  type: string
              dueDate:
                type: string
                format: date-time
              requestedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              requestedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              deleted:
                type: boolean
              logs:
                type: array
                items:
                  title: itemOf_logs
                  type: object
                  properties:
                    status:
                      type: string
                    updatedAt:
                      type: string
                      format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                  required:
                    - status
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatches_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production/batches?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatches'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionBatches'
  /production/batches/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatches to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production/batches/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatches to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionBatches'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatches to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionBatches'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production/batches/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","items":[{"orderItem":"string","numUps":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"humanId":0,"finalizedAt":"2019-08-24T14:15:22Z","dispatchedAt":"2019-08-24T14:15:22Z","status":"STATUS_DRAFT","productionStatus":"string","impositionTemplate":"string","batchType":"imposition","orientationType":"sheet-wise","resource":"string","paper":"string","coating":"string","color":"string","finalSheetCount":0,"alottedWasteCount":0,"sheetWidth":0,"sheetHeight":0,"artworkStorageUrl":"string","thumbnailStorageUrl":["string"],"dueDate":"2019-08-24T14:15:22Z","requestedBy":"string","requestedByModel":"user","deleted":true,"logs":[{"status":"string","updatedAt":"2019-08-24T14:15:22Z","_id":"string","createdAt":"2019-08-24T14:15:22Z"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatches to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatches'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production
      security: []
  /production/resources:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productionResources
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              type:
                type: string
                enum:
                  - digital-press
                  - offset-press
                  - wide-format-press
                  - router
                  - coater
                  - cutter
                  - die-cutter
                  - folder
                  - gluing
                  - mounting
                  - stitcher
                  - bindery
                  - coiling
                  - collating
                  - laminator
                  - wide-format-cutting
                  - wide-format-laminating
                  - wide-format-plotter
                  - other
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
              - type
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionResources_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production/resources?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionResources'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionResources'
  /production/resources/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productionResources to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionResources'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production/resources/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productionResources to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionResources'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionResources'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productionResources to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionResources'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionResources'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production/resources/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","type":"digital-press","vendor":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productionResources to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionResources'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production
      security: []
  /production/pending-order-items:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production/pending-order-items?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /production/outsource:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productionOutsource
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    orderItem:
                      type: string
                      x-ref: orderItems
                      description: Refers to orderItems
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - orderItem
              humanId:
                type: number
              finalizedAt:
                type: string
                format: date-time
              dispatchedAt:
                type: string
                format: date-time
              status:
                type: string
                enum:
                  - draft
                  - dispatched
                  - in-progress
                  - received
                default: draft
              po:
                type: string
              notes:
                type: string
              totalCost:
                type: number
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              dueDate:
                type: string
                format: date-time
              deleted:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - status
              - vendor
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionOutsource_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production/outsource?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionOutsource'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionOutsource'
  /production/outsource/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productionOutsource to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionOutsource'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production/outsource/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productionOutsource to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionOutsource'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionOutsource'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productionOutsource to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionOutsource'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionOutsource'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production/outsource/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","items":[{"orderItem":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"humanId":0,"finalizedAt":"2019-08-24T14:15:22Z","dispatchedAt":"2019-08-24T14:15:22Z","status":"draft","po":"string","notes":"string","totalCost":0,"vendor":"string","dueDate":"2019-08-24T14:15:22Z","deleted":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productionOutsource to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionOutsource'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production
      security: []
  /production/vendors:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productionVendors
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: number
              companyName:
                type: string
              key:
                type: string
              firstName:
                type: string
              lastName:
                type: string
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              countryCode:
                type: string
              coords:
                type: array
                items:
                  type: number
              addressGeocodeComplete:
                type: boolean
                default: false
              phone:
                type: string
              email:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _metadata:
                type: array
                items:
                  title: itemOf__metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              tags:
                type: array
                items:
                  type: string
              isInternal:
                type: boolean
                default: false
              foreignId:
                type: string
              term:
                type: string
              contacts:
                type: array
                items:
                  title: itemOf_contacts
                  type: object
                  properties:
                    firstName:
                      type: string
                    lastName:
                      type: string
                    email:
                      type: string
                    phone:
                      type: string
                    phoneExt:
                      type: string
                    title:
                      type: string
                    user:
                      type: string
                      x-ref: user
                      description: Refers to user
                      pattern: ^[0-9a-fA-F]{24}$
                    notifications:
                      type: array
                      items:
                        title: itemOf_notifications
                        type: object
                        properties:
                          event:
                            type: string
                            enum:
                              - rfq-request
                              - purchase-order-receive
                              - order-received
                          isEnabled:
                            type: boolean
                            default: true
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - event
                          - isEnabled
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - firstName
                    - lastName
                    - email
              deleted:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionVendors_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production/vendors?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionVendors'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionVendors'
  /production/vendors/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productionVendors to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionVendors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production/vendors/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productionVendors to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionVendors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionVendors'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productionVendors to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionVendors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionVendors'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production/vendors/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","humanId":0,"companyName":"string","key":"string","firstName":"string","lastName":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","coords":[0],"addressGeocodeComplete":false,"phone":"string","email":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"tags":["string"],"isInternal":false,"foreignId":"string","term":"string","contacts":[{"firstName":"string","lastName":"string","email":"string","phone":"string","phoneExt":"string","title":"string","user":"string","notifications":[{"event":"rfq-request","isEnabled":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"deleted":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productionVendors to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionVendors'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production
      security: []
  /production-batches-status:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production-batches-status
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /production-batches-status-log:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productionBatchesStatusLog
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              productionBatch:
                type: string
                x-ref: productionBatches
                description: Refers to productionBatches
                pattern: ^[0-9a-fA-F]{24}$
              status:
                title: status
                type: object
                properties:
                  jobStatus:
                    type: string
                    x-ref: jobStatuses
                    description: Refers to jobStatuses
                  description:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - jobStatus
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              userType:
                type: string
                enum:
                  - command-center-user
                  - user
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - productionBatch
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatchesStatusLog_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production-batches-status-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production-batches-status-log?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatchesStatusLog'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production-batches-status-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionBatchesStatusLog'
  /production-batches-status-log/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatchesStatusLog to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatchesStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production-batches-status-log
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production-batches-status-log/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatchesStatusLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatchesStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production-batches-status-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionBatchesStatusLog'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatchesStatusLog to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatchesStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production-batches-status-log
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionBatchesStatusLog'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production-batches-status-log/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","createdAt":"2019-08-24T14:15:22Z","productionBatch":"string","status":{"jobStatus":"string","description":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"createdBy":"string","userType":"command-center-user","_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productionBatchesStatusLog to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionBatchesStatusLog'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production-batches-status-log
      security: []
  /production/channels:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: productionChannels
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionChannels_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production/channels?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionChannels'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionChannels'
  /production/channels/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of productionChannels to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production/channels/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of productionChannels to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionChannels'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of productionChannels to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/productionChannels'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production/channels/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","key":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of productionChannels to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/productionChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production
      security: []
  /production/imposition-templates:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: imposition_templates
            type: object
            properties:
              sheetWidth:
                type: number
              sheetHeight:
                type: number
              width:
                type: number
              height:
                type: number
              instructions:
                type: array
                items:
                  title: itemOf_instructions
                  type: object
                  properties:
                    x:
                      type: number
                    'y':
                      type: number
                    repeatX:
                      type: number
                    repeatY:
                      type: number
                    orientation:
                      type: string
                      enum:
                        - landscape
                        - portrait
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - x
                    - 'y'
                    - repeatX
                    - repeatY
                    - orientation
              meta:
                type: string
                enum:
                  - bottomLeftMeta
                  - topRightPortraitMeta
              metadata:
                title: metadata
                type: object
                properties:
                  orientation:
                    type: string
                    enum:
                      - landscape
                      - portrait
                  barcode:
                    title: barcode
                    type: object
                    properties:
                      x:
                        type: number
                      'y':
                        type: number
                  text:
                    title: text
                    type: object
                    properties:
                      x:
                        type: number
                      'y':
                        type: number
                  rotate:
                    type: number
              sheetMargins:
                title: sheetMargins
                type: object
                properties:
                  top:
                    type: number
                  left:
                    type: number
                  bottom:
                    type: number
                  right:
                    type: number
                required:
                  - top
                  - left
                  - bottom
                  - right
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - sheetWidth
              - sheetHeight
              - width
              - height
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/imposition_templates_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/production/imposition-templates?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/imposition_templates'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/imposition_templates'
  /production/imposition-templates/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of imposition_templates to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/imposition_templates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - production
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/production/imposition-templates/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of imposition_templates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/imposition_templates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/imposition_templates'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of imposition_templates to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/imposition_templates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - production
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/imposition_templates'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/production/imposition-templates/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"sheetWidth":0,"sheetHeight":0,"width":0,"height":0,"instructions":[{"x":0,"y":0,"repeatX":0,"repeatY":0,"orientation":"landscape","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"meta":"bottomLeftMeta","metadata":{"orientation":"landscape","barcode":{"x":0,"y":0},"text":{"x":0,"y":0},"rotate":0},"sheetMargins":{"top":0,"left":0,"bottom":0,"right":0},"createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of imposition_templates to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/imposition_templates'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - production
      security: []
  /custom-quotes/duplicate-item:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/create:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/process-order:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/mark-final:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/set-sales-tax:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/set-ship-service:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/set-shipping-rates:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/set-estimate-values:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/add-message:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes/modify-item:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /custom-quotes:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: custom-quotes
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              salesPerson:
                type: string
                x-ref: salesPeople
                description: Refers to salesPeople
                pattern: ^[0-9a-fA-F]{24}$
              humanId:
                type: string
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    category:
                      type: string
                      x-ref: productCategoryLegacy
                      description: Refers to productCategoryLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    categoryOther:
                      type: string
                    attributes:
                      type: array
                      items:
                        title: itemOf_attributes
                        type: object
                        properties:
                          attributeId:
                            type: string
                            x-ref: productAttributeLegacy
                            description: Refers to productAttributeLegacy
                            pattern: ^[0-9a-fA-F]{24}$
                          name:
                            type: string
                          key:
                            type: string
                          type:
                            type: string
                            x-ref: productAttributeTypesLegacy
                            description: Refers to productAttributeTypesLegacy
                          others:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                    customerReferenceName:
                      type: string
                    isCustomTrim:
                      type: boolean
                      default: false
                    customTrimWidth:
                      type:
                        - number
                        - 'null'
                      default: null
                    customTrimHeight:
                      type:
                        - number
                        - 'null'
                      default: null
                    price:
                      type: number
                    priceOverride:
                      type: boolean
                    designPrice:
                      type: number
                    quantity:
                      type: number
                    width:
                      type:
                        - number
                        - 'null'
                      default: null
                    height:
                      type:
                        - number
                        - 'null'
                      default: null
                    weight:
                      type:
                        - number
                        - 'null'
                      default: null
                    length:
                      type: number
                    depth:
                      type: number
                    cartonType:
                      type: string
                      x-ref: cartonTypes
                      description: Refers to cartonTypes
                      pattern: ^[0-9a-fA-F]{24}$
                    cartonTypeName:
                      type: string
                    timeMin:
                      type: number
                    timeMax:
                      type: number
                    orientation:
                      type: string
                      enum:
                        - landscape
                        - portrait
                    isShippable:
                      type: boolean
                      default: true
                    wantDesign:
                      type: boolean
                      default: false
                    turnaroundServiceType:
                      type:
                        - string
                        - 'null'
                      default: null
                    turnaround:
                      type: string
                    shipByType:
                      type: string
                      enum:
                        - any
                        - shipBy
                        - receiveBy
                      default: any
                    shipByDate:
                      type: string
                      format: date-time
                    pricingMethod:
                      type: number
                    addOns:
                      type: array
                      items:
                        title: itemOf_addOns
                        type: object
                        properties:
                          addOnId:
                            type: string
                          primaryData:
                            type: string
                          secondaryData:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - addOnId
                    addOnsOther:
                      type: string
                    addOnTotal:
                      type: number
                    staticName:
                      type: string
                    initialStatus:
                      type: string
                      x-ref: jobStatuses
                      description: Refers to jobStatuses
                    uploadSlots:
                      type: array
                      items:
                        title: itemOf_uploadSlots
                        type: object
                        properties:
                          sequence:
                            type: string
                          url:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - sequence
                    metadata:
                      type: array
                      items:
                        title: itemOf_metadata
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                    uploadedAttachments:
                      type: array
                      items:
                        type: string
                        x-ref: uploadsGeneral
                        description: Refers to uploadsGeneral
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    miscUploads:
                      type: array
                      items:
                        type: string
                        x-ref: uploadLog
                        description: Refers to uploadLog
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    type:
                      type: string
                      enum:
                        - single-page
                        - multi-page
                        - wide-format
                        - packaging
                        - others
                    flatDimensions:
                      title: flatDimensions
                      type: object
                      properties:
                        width:
                          type: number
                        height:
                          type: number
                        length:
                          type: number
                        depth:
                          type: number
                        unitType:
                          type: string
                          enum:
                            - inch
                            - cm
                            - meter
                            - foot
                          default: inch
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                    finishedDim:
                      title: finishedDim
                      type: object
                      properties:
                        width:
                          type: number
                        height:
                          type: number
                        length:
                          type: number
                        depth:
                          type: number
                        unitType:
                          type: string
                          enum:
                            - inch
                            - cm
                            - meter
                            - foot
                          default: inch
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                    additionalInfo:
                      type: string
                    messageThread:
                      type: array
                      items:
                        title: itemOf_messageThread
                        type: object
                        properties:
                          createdAt:
                            type: string
                            format: date-time
                          content:
                            type: string
                          attachments:
                            type: array
                            items:
                              type: string
                              x-ref: uploadsGeneral
                              description: Refers to uploadsGeneral
                              pattern: ^[0-9a-fA-F]{24}$
                            minItems: 1
                          author:
                            title: author
                            type: object
                            properties:
                              type:
                                type: string
                                enum:
                                  - customer
                                  - tenant
                                  - translator
                              user:
                                type: string
                                x-ref: user
                                description: Refers to user
                                pattern: ^[0-9a-fA-F]{24}$
                              customer:
                                type: string
                                x-ref: customers
                                description: Refers to customers
                                pattern: ^[0-9a-fA-F]{24}$
                              _id:
                                type: string
                                pattern: ^[0-9a-fA-F]{24}$
                              createdAt:
                                type: string
                                format: date-time
                              updatedAt:
                                type: string
                                format: date-time
                          noteToSelf:
                            type: boolean
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          updatedAt:
                            type: string
                            format: date-time
                    cart:
                      type: string
                      x-ref: carts
                      description: Refers to carts
                      pattern: ^[0-9a-fA-F]{24}$
                    excluded:
                      type: boolean
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - quantity
                    - type
              subtotal:
                type: number
              shipping:
                type: number
                default: 0
              shippingOverriden:
                type: boolean
                default: false
              salesTax:
                type: number
                default: 0
              salesTaxOverriden:
                type: boolean
                default: false
              discount:
                type: number
              total:
                type: number
              shipTo:
                title: shipTo
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              shipFrom:
                title: shipFrom
                type: object
                properties:
                  name:
                    type: string
                  careOf:
                    type: string
                  address1:
                    type: string
                  address2:
                    type: string
                  city:
                    type: string
                  stateProvince:
                    type: string
                  postalCode:
                    type: string
                  countryCode:
                    type: string
                  deliveryInstructions:
                    type: string
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              availableShippingMethods:
                type: array
                items: {}
              availableShippingRates:
                type: array
                items:
                  title: itemOf_availableShippingRates
                  type: object
                  properties:
                    carrierKey:
                      type: string
                    carrier:
                      type: string
                    serviceKey:
                      type: string
                    description:
                      type: string
                    amount:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - carrierKey
                    - carrier
                    - amount
              selectedShippingMethod:
                type: string
              selectedShippingService:
                type: string
              selectedShippingRate:
                type: string
              selectedPickupLocation:
                type: string
                x-ref: pickupLocations
                description: Refers to pickupLocations
                pattern: ^[0-9a-fA-F]{24}$
              po:
                type: string
              canCheckoutWithoutPayment:
                type: boolean
                default: false
              expirationDate:
                type: string
                format: date-time
              orderLogs:
                type: array
                items:
                  type: string
                  x-ref: orders
                  description: Refers to orders
                  pattern: ^[0-9a-fA-F]{24}$
              convertedToCart:
                type: boolean
                default: false
              convertedToOrders:
                type: array
                items:
                  title: itemOf_convertedToOrders
                  type: object
                  properties:
                    order:
                      type: string
                      x-ref: orders
                      description: Refers to orders
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - order
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              uploadedAttachments:
                type: array
                items:
                  type: string
                  x-ref: uploadsGeneral
                  description: Refers to uploadsGeneral
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              messageThread:
                type: array
                items:
                  title: itemOf_messageThread
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    attachments:
                      type: array
                      items:
                        type: string
                        x-ref: uploadsGeneral
                        description: Refers to uploadsGeneral
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    author:
                      title: author
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - customer
                            - tenant
                            - translator
                        user:
                          type: string
                          x-ref: user
                          description: Refers to user
                          pattern: ^[0-9a-fA-F]{24}$
                        customer:
                          type: string
                          x-ref: customers
                          description: Refers to customers
                          pattern: ^[0-9a-fA-F]{24}$
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                    noteToSelf:
                      type: boolean
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              status:
                type: string
                enum:
                  - open
                  - final
                  - closed
                default: open
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - customer
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom-quotes_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - custom-quotes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/custom-quotes?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom-quotes'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/custom-quotes'
  /custom-quotes/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of custom-quotes to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom-quotes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - custom-quotes
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/custom-quotes/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of custom-quotes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom-quotes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/custom-quotes'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of custom-quotes to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom-quotes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - custom-quotes
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/custom-quotes'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/custom-quotes/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","customer":"string","salesPerson":"string","humanId":"string","items":[{"category":"string","categoryOther":"string","attributes":[{"attributeId":"string","name":"string","key":"string","type":"string","others":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"customerReferenceName":"string","isCustomTrim":false,"customTrimWidth":null,"customTrimHeight":null,"price":0,"priceOverride":true,"designPrice":0,"quantity":0,"width":null,"height":null,"weight":null,"length":0,"depth":0,"cartonType":"string","cartonTypeName":"string","timeMin":0,"timeMax":0,"orientation":"landscape","isShippable":true,"wantDesign":false,"turnaroundServiceType":null,"turnaround":"string","shipByType":"any","shipByDate":"2019-08-24T14:15:22Z","pricingMethod":0,"addOns":[{"addOnId":"string","primaryData":"string","secondaryData":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"addOnsOther":"string","addOnTotal":0,"staticName":"string","initialStatus":"string","uploadSlots":[{"sequence":"string","url":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"uploadedAttachments":["string"],"miscUploads":["string"],"type":"single-page","flatDimensions":{"width":0,"height":0,"length":0,"depth":0,"unitType":"inch","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"finishedDim":{"width":0,"height":0,"length":0,"depth":0,"unitType":"inch","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"additionalInfo":"string","messageThread":[{"createdAt":"2019-08-24T14:15:22Z","content":"string","attachments":["string"],"author":{"type":"customer","user":"string","customer":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"noteToSelf":true,"_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"cart":"string","excluded":true,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"subtotal":0,"shipping":0,"shippingOverriden":false,"salesTax":0,"salesTaxOverriden":false,"discount":0,"total":0,"shipTo":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"shipFrom":{"name":"string","careOf":"string","address1":"string","address2":"string","city":"string","stateProvince":"string","postalCode":"string","countryCode":"string","deliveryInstructions":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"availableShippingMethods":[null],"availableShippingRates":[{"carrierKey":"string","carrier":"string","serviceKey":"string","description":"string","amount":0,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"selectedShippingMethod":"string","selectedShippingService":"string","selectedShippingRate":"string","selectedPickupLocation":"string","po":"string","canCheckoutWithoutPayment":false,"expirationDate":"2019-08-24T14:15:22Z","orderLogs":["string"],"convertedToCart":false,"convertedToOrders":[{"order":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"microsite":"string","micrositeUser":"string","uploadedAttachments":["string"],"messageThread":[{"createdAt":"2019-08-24T14:15:22Z","content":"string","attachments":["string"],"author":{"type":"customer","user":"string","customer":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"},"noteToSelf":true,"_id":"string","updatedAt":"2019-08-24T14:15:22Z"}],"status":"open","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of custom-quotes to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/custom-quotes'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - custom-quotes
      security: []
  /printable/job-ticket:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/order-receipts:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/invoice:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/production-batch-job-ticket:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/order-items-due:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/order-item-box-ticket:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/barcode-generator:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/pick-list:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/packing-slip:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/order-item-label:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/purchase-order:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/sales-order:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /printable/estimate:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - printable
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /tags:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - tags
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/tags?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /slack/install:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - slack
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/slack/install?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /slack/channels:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - slack
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/slack/channels?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /slack/users:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillment-staging-locations/staged
            type: object
            properties: {}
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - slack
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/slack/users?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
  /contact-us-entries:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: contactUsEntries
            type: object
            properties:
              business:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              email:
                type: string
              message:
                type: string
              status:
                type: string
                enum:
                  - open
                  - closed
                default: open
              customFields:
                type: array
                items:
                  title: itemOf_customFields
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - business
              - name
              - message
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contactUsEntries_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - contact-us-entries
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/contact-us-entries?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contactUsEntries'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - contact-us-entries
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contactUsEntries'
  /contact-us-entries/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of contactUsEntries to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - contact-us-entries
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/contact-us-entries/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of contactUsEntries to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - contact-us-entries
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contactUsEntries'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of contactUsEntries to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - contact-us-entries
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/contactUsEntries'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/contact-us-entries/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"business":"string","name":"string","email":"string","message":"string","status":"open","customFields":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of contactUsEntries to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contactUsEntries'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - contact-us-entries
      security: []
  /certificate-code:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: certificate-code
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              code:
                type: string
              isUsed:
                type: boolean
                default: false
              isResend:
                type: boolean
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              dateUsed:
                type: string
                format: date-time
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              __v:
                type: number
            required:
              - tenant
              - code
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/certificate-code_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - certificate-code
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/certificate-code?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/certificate-code'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - certificate-code
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/certificate-code'
  /certificate-code/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of certificate-code to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/certificate-code'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - certificate-code
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/certificate-code/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of certificate-code to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/certificate-code'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - certificate-code
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/certificate-code'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of certificate-code to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/certificate-code'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - certificate-code
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/certificate-code'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/certificate-code/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","code":"string","isUsed":false,"isResend":true,"order":"string","orderItem":"string","dateUsed":"2019-08-24T14:15:22Z","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","_id":"string","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of certificate-code to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/certificate-code'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - certificate-code
      security: []
  /artwork-staged:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: artworkStagedModel
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              originalArtwork:
                title: originalArtwork
                type: object
                properties:
                  cloudBucket:
                    type: string
                  cloudFilename:
                    type: string
                  contentType:
                    type: string
                  md5:
                    type: string
                  originalFilename:
                    type: string
                  sha1:
                    type: string
                  size:
                    type: number
              previewArtwork:
                title: previewArtwork
                type: object
                properties:
                  cloudBucket:
                    type: string
                  cloudFilename:
                    type: string
                  contentType:
                    type: string
                  md5:
                    type: string
                  originalFilename:
                    type: string
                  sha1:
                    type: string
                  size:
                    type: number
                  publicUrl:
                    type: string
              previewStatus:
                type: string
                enum:
                  - awaiting-upload
                  - pending
                  - in-progress
                  - complete
                  - error
                default: pending
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - artwork-staged
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/artwork-staged?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/artworkStagedModel'
                  - $ref: '#/components/schemas/artworkStagedModel_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - artwork-staged
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/artworkStagedModel'
                - $ref: '#/components/schemas/artworkStagedModel_list'
    put:
      parameters: []
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Updates multiple resources.
      summary: ''
      tags:
        - artwork-staged
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkStagedModel_list'
    patch:
      parameters:
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: artworkStagedModel
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              customer:
                type: string
                x-ref: customers
                description: Refers to customers
                pattern: ^[0-9a-fA-F]{24}$
              micrositeUser:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              originalArtwork:
                title: originalArtwork
                type: object
                properties:
                  cloudBucket:
                    type: string
                  cloudFilename:
                    type: string
                  contentType:
                    type: string
                  md5:
                    type: string
                  originalFilename:
                    type: string
                  sha1:
                    type: string
                  size:
                    type: number
              previewArtwork:
                title: previewArtwork
                type: object
                properties:
                  cloudBucket:
                    type: string
                  cloudFilename:
                    type: string
                  contentType:
                    type: string
                  md5:
                    type: string
                  originalFilename:
                    type: string
                  sha1:
                    type: string
                  size:
                    type: number
                  publicUrl:
                    type: string
              previewStatus:
                type: string
                enum:
                  - awaiting-upload
                  - pending
                  - in-progress
                  - complete
                  - error
                default: pending
              deleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Updates multiple resources queried by given filters.
      summary: ''
      tags:
        - artwork-staged
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkStagedModel'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url 'https://api.inkcloud9.com/artwork-staged?filter=SOME_OBJECT_VALUE' \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","customer":"string","micrositeUser":"string","originalArtwork":{"cloudBucket":"string","cloudFilename":"string","contentType":"string","md5":"string","originalFilename":"string","sha1":"string","size":0},"previewArtwork":{"cloudBucket":"string","cloudFilename":"string","contentType":"string","md5":"string","originalFilename":"string","sha1":"string","size":0,"publicUrl":"string"},"previewStatus":"awaiting-upload","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            $ref: '#/components/schemas/artworkStagedModel'
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel_list'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Removes multiple resources queried by given filters.
      summary: ''
      tags:
        - artwork-staged
      security: []
  /artwork-staged/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of artworkStagedModel to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - artwork-staged
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/artwork-staged/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of artworkStagedModel to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - artwork-staged
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkStagedModel'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of artworkStagedModel to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - artwork-staged
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/artworkStagedModel'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/artwork-staged/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","customer":"string","micrositeUser":"string","originalArtwork":{"cloudBucket":"string","cloudFilename":"string","contentType":"string","md5":"string","originalFilename":"string","sha1":"string","size":0},"previewArtwork":{"cloudBucket":"string","cloudFilename":"string","contentType":"string","md5":"string","originalFilename":"string","sha1":"string","size":0,"publicUrl":"string"},"previewStatus":"awaiting-upload","deleted":false,"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of artworkStagedModel to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/artworkStagedModel'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - artwork-staged
      security: []
  /imports:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: importRequests
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              microsite:
                type: string
                x-ref: microsites
                description: Refers to microsites
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              startedAt:
                type: string
                format: date-time
              completedAt:
                type: string
                format: date-time
              expiresAt:
                type: string
                format: date-time
              requestedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              requestedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              importKey:
                type: string
              importName:
                type: string
              file:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              status:
                type: string
                enum:
                  - queued
                  - starting
                  - in-progress
                  - complete
                  - complete-with-failures
                  - failure
                  - canceled
                default: queued
              errorMessages:
                type: string
              gcPubSubTopic:
                type: string
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - requestedBy
              - requestedByModel
              - importKey
              - importName
              - file
              - status
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/importRequests_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - imports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/imports?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/importRequests'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - imports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/importRequests'
  /imports/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of importRequests to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/importRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - imports
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/imports/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of importRequests to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/importRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - imports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/importRequests'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of importRequests to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/importRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - imports
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/importRequests'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/imports/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","microsite":"string","createdAt":"2019-08-24T14:15:22Z","startedAt":"2019-08-24T14:15:22Z","completedAt":"2019-08-24T14:15:22Z","expiresAt":"2019-08-24T14:15:22Z","requestedBy":"string","requestedByModel":"user","importKey":"string","importName":"string","file":"string","status":"queued","errorMessages":"string","gcPubSubTopic":"string","metadata":[{"key":"string","value":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of importRequests to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/importRequests'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - imports
      security: []
  /customer-order-stats:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - customer-order-stats
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /intake-channels:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: intakeChannels
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/intakeChannels_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - intake-channels
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/intake-channels?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/intakeChannels'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - intake-channels
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/intakeChannels'
  /intake-channels/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of intakeChannels to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/intakeChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - intake-channels
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/intake-channels/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of intakeChannels to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/intakeChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - intake-channels
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/intakeChannels'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of intakeChannels to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/intakeChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - intake-channels
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/intakeChannels'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/intake-channels/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","name":"string","key":"string","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of intakeChannels to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/intakeChannels'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - intake-channels
      security: []
  /fulfillment-staging-locations/staged:
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/not-documented'
  /fulfillment-staging-locations/staged/{id}:
    delete:
      parameters:
        - in: path
          name: id
          description: ID of not-documented to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/not-documented'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
  /fulfillment-staging-locations:
    get:
      parameters:
        - description: Number of results to return
          in: query
          name: $limit
          schema:
            type: integer
        - description: Number of results to skip
          in: query
          name: $skip
          schema:
            type: integer
        - description: Property to sort results
          in: query
          name: $sort
          style: deepObject
          schema:
            type: object
        - description: Query parameters to filter
          in: query
          name: filter
          style: form
          explode: true
          schema:
            title: fulfillmentStagingLocations
            type: object
            properties:
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              contains:
                type: array
                items:
                  title: itemOf_contains
                  type: object
                  properties:
                    order:
                      type: string
                      x-ref: orders
                      description: Refers to orders
                      pattern: ^[0-9a-fA-F]{24}$
                    orderItem:
                      type: string
                      x-ref: orderItems
                      description: Refers to orderItems
                      pattern: ^[0-9a-fA-F]{24}$
                    orderItemHumanId:
                      type: string
                    quantity:
                      type: number
                    notes:
                      type: string
                    productionChannel:
                      type: string
                      x-ref: productionChannels
                      description: Refers to productionChannels
                      pattern: ^[0-9a-fA-F]{24}$
                    vendor:
                      type: string
                      x-ref: productionVendors
                      description: Refers to productionVendors
                      pattern: ^[0-9a-fA-F]{24}$
                    addedAt:
                      type: string
                      format: date-time
                    addedBy:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    addedByModel:
                      type: string
                      enum:
                        - user
                        - commandCenterUser
                        - micrositeCustomers
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - quantity
                    - addedAt
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              __v:
                type: number
            required:
              - tenant
              - name
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/fulfillmentStagingLocations_pagination'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Retrieves a list of all resources from the service.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url 'https://api.inkcloud9.com/fulfillment-staging-locations?%24limit=SOME_INTEGER_VALUE&%24skip=SOME_INTEGER_VALUE&%24sort=SOME_OBJECT_VALUE&filter=SOME_OBJECT_VALUE'
    post:
      parameters: []
      responses:
        '201':
          description: created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/fulfillmentStagingLocations'
        '401':
          description: not authenticated
        '500':
          description: general error
      description: Creates a new resource with data.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/fulfillmentStagingLocations'
  /fulfillment-staging-locations/{_id}:
    get:
      parameters:
        - in: path
          name: _id
          description: ID of fulfillmentStagingLocations to return
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/fulfillmentStagingLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Retrieves a single resource with the given id from the service.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request GET \
              --url https://api.inkcloud9.com/fulfillment-staging-locations/%7B_id%7D
    put:
      parameters:
        - in: path
          name: _id
          description: ID of fulfillmentStagingLocations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/fulfillmentStagingLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/fulfillmentStagingLocations'
    patch:
      parameters:
        - in: path
          name: _id
          description: ID of fulfillmentStagingLocations to update
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/fulfillmentStagingLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Updates the resource identified by id using data.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/fulfillmentStagingLocations'
      x-codeSamples:
        - lang: Shell + Curl
          source: |-
            curl --request PATCH \
              --url https://api.inkcloud9.com/fulfillment-staging-locations/%7B_id%7D \
              --header 'content-type: application/json' \
              --data '{"tenant":"string","vendor":"string","name":"string","contains":[{"order":"string","orderItem":"string","orderItemHumanId":"string","quantity":0,"notes":"string","productionChannel":"string","vendor":"string","addedAt":"2019-08-24T14:15:22Z","addedBy":"string","addedByModel":"user","_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z"}],"_id":"string","createdAt":"2019-08-24T14:15:22Z","updatedAt":"2019-08-24T14:15:22Z","__v":0}'
    delete:
      parameters:
        - in: path
          name: _id
          description: ID of fulfillmentStagingLocations to remove
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/fulfillmentStagingLocations'
        '401':
          description: not authenticated
        '404':
          description: not found
        '500':
          description: general error
      description: Removes the resource with id.
      summary: ''
      tags:
        - fulfillment-staging-locations
      security: []
components:
  schemas:
    not-documented:
      title: fulfillment-staging-locations/staged
      type: object
      properties: {}
    not-documented_list:
      type: array
      items:
        $ref: '#/components/schemas/not-documented'
    userAuthLog:
      title: userAuthLog
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        email:
          type: string
        authResult:
          type: boolean
        ip:
          type: string
        httpUserAgent:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - email
        - authResult
    userAuthLog_list:
      type: array
      items:
        $ref: '#/components/schemas/userAuthLog'
    userAuthLog_pagination:
      title: userAuthLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/userAuthLog_list'
    user:
      title: user
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        firstName:
          type: string
        lastName:
          type: string
        email:
          type: string
        password:
          type: string
        phone:
          type: string
        phoneExt:
          type: string
        auth0:
          type: string
        humanId:
          type: number
        type:
          type: string
          enum:
            - dashboard
            - artwork-transporter
            - vendor
            - api
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        roles:
          type: array
          items:
            type: string
        roles2:
          type: array
          items:
            type: string
            x-ref: userRoles
            description: Refers to userRoles
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - firstName
        - lastName
        - email
        - password
    user_list:
      type: array
      items:
        $ref: '#/components/schemas/user'
    user_pagination:
      title: user pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/user_list'
    rulesEngineRules:
      title: rulesEngineRules
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        engineKey:
          type: string
          enum:
            - production-channel
            - imposition-sheet
            - product-resolving
        rootOperator:
          type: string
          enum:
            - all
            - any
        conditions:
          type: array
          items:
            title: itemOf_conditions
            type: object
            properties:
              rootOperator:
                type: string
                enum:
                  - all
                  - any
              conditions:
                type: array
                items:
                  title: itemOf_conditions
                  type: object
                  properties:
                    fact:
                      type: string
                    params: {}
                    path:
                      type: string
                    operator:
                      type: string
                    value: {}
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - fact
                    - operator
                    - value
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - rootOperator
        event:
          title: event
          type: object
          properties:
            type:
              type: string
            params: {}
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - type
        priority:
          type: number
        deleted:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - rootOperator
    rulesEngineRules_list:
      type: array
      items:
        $ref: '#/components/schemas/rulesEngineRules'
    rulesEngineRules_pagination:
      title: rulesEngineRules pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/rulesEngineRules_list'
    order_notes:
      title: order_notes
      type: object
      properties:
        order:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        notes:
          type: string
        uploads:
          type: array
          items:
            title: itemOf_uploads
            type: object
            properties:
              content:
                type: string
              flag:
                type: string
              userType:
                type: string
              noteType:
                type: string
              salesPersonUser:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - content
              - flag
              - salesPersonUser
        isComplete:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
    order_notes_list:
      type: array
      items:
        $ref: '#/components/schemas/order_notes'
    order_notes_pagination:
      title: order_notes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/order_notes_list'
    paymentInvites:
      title: paymentInvites
      type: object
      properties:
        business:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        invoice:
          type: string
          x-ref: invoices
          description: Refers to invoices
          pattern: ^[0-9a-fA-F]{24}$
        inviteKey:
          type: string
        expiresAt:
          type: string
          format: date-time
        isDeleted:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - business
        - customer
        - inviteKey
    paymentInvites_list:
      type: array
      items:
        $ref: '#/components/schemas/paymentInvites'
    paymentInvites_pagination:
      title: paymentInvites pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/paymentInvites_list'
    paymentAppliedRecords:
      title: paymentAppliedRecords
      type: object
      properties:
        business:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeCustomer:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        payment:
          type: string
          x-ref: payments
          description: Refers to payments
          pattern: ^[0-9a-fA-F]{24}$
        invoice:
          type: string
          x-ref: invoices
          description: Refers to invoices
          pattern: ^[0-9a-fA-F]{24}$
        amount:
          type: number
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - business
        - customer
        - amount
    paymentAppliedRecords_list:
      type: array
      items:
        $ref: '#/components/schemas/paymentAppliedRecords'
    paymentAppliedRecords_pagination:
      title: paymentAppliedRecords pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/paymentAppliedRecords_list'
    payments:
      title: payments
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeCustomer:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        parentPayment:
          type: string
          x-ref: payments
          description: Refers to payments
          pattern: ^[0-9a-fA-F]{24}$
        appliedRecords:
          type: string
          x-ref: appliedRecords
          description: Refers to appliedRecords
          pattern: ^[0-9a-fA-F]{24}$
        amount:
          type: number
        adapterKey:
          type: string
        transactionId:
          type: string
        transactionTag:
          type: string
        type:
          type: string
        method:
          type: string
        description:
          type: string
        ccLastFour:
          type: string
        ccExpiryMonth:
          type: string
        ccExpiryYear:
          type: string
        ccBrand:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        verifiedStatus:
          type: string
          enum:
            - not-verified
            - verified
        verifiedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        verifiedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        verifiedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - business
        - customer
        - amount
    payments_list:
      type: array
      items:
        $ref: '#/components/schemas/payments'
    payments_pagination:
      title: payments pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/payments_list'
    creditCardTransactions:
      title: creditCardTransactions
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeCustomer:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
          enum:
            - CHARGE
            - REFUND
        amount:
          type: number
        transactionResult:
          type: boolean
        transactionId:
          type: string
        transactionType:
          type: string
        message:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - business
        - customer
        - type
        - amount
        - transactionResult
        - message
    creditCardTransactions_list:
      type: array
      items:
        $ref: '#/components/schemas/creditCardTransactions'
    creditCardTransactions_pagination:
      title: creditCardTransactions pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/creditCardTransactions_list'
    invoices:
      title: invoices
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        previousInvoice:
          type: string
          x-ref: invoices
          description: Refers to invoices
          pattern: ^[0-9a-fA-F]{24}$
        appliedCoupon:
          type: string
          x-ref: promoCodes
          description: Refers to promoCodes
          pattern: ^[0-9a-fA-F]{24}$
        salesPerson:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        subtotal:
          type: number
        shipping:
          type: number
        salesTax:
          type: number
        discount:
          type: number
        total:
          type: number
        isExported:
          type: boolean
          default: false
        isClosed:
          type: boolean
          default: false
        isVoid:
          type: boolean
          default: false
        foreignId:
          type: string
        tags:
          type: array
          items:
            type: string
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        costCenter:
          type: string
        billingAddress:
          title: billingAddress
          type: object
          properties:
            companyName:
              type: string
            name:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            phoneNumber:
              type: string
        deleted:
          type: boolean
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        openAmount:
          type: number
        paidAmount:
          type: number
          default: 0
        dueDate:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - business
        - customer
        - order
    invoices_list:
      type: array
      items:
        $ref: '#/components/schemas/invoices'
    invoices_pagination:
      title: invoices pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/invoices_list'
    invoiceItem:
      title: invoiceItem
      type: object
      properties:
        invoice:
          type: string
          x-ref: invoices
          description: Refers to invoices
          pattern: ^[0-9a-fA-F]{24}$
        description:
          type: string
        amount:
          type: number
        tax:
          type: number
        isTaxable:
          type: boolean
          default: false
        referenceType:
          type: string
        referenceId:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - invoice
        - amount
    invoiceItem_list:
      type: array
      items:
        $ref: '#/components/schemas/invoiceItem'
    invoiceItem_pagination:
      title: invoiceItem pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/invoiceItem_list'
    customerAuthLog:
      title: customerAuthLog
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        email:
          type: string
        authResult:
          type: boolean
        ip:
          type: string
        httpUserAgent:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - email
        - authResult
    customerAuthLog_list:
      type: array
      items:
        $ref: '#/components/schemas/customerAuthLog'
    customerAuthLog_pagination:
      title: customerAuthLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customerAuthLog_list'
    customers:
      title: customers
      type: object
      properties:
        organizationName:
          type: string
        primaryContact:
          title: primaryContact
          type: object
          properties:
            firstName:
              type: string
            lastName:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        salesPerson:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        manager:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        notes:
          type: array
          items:
            title: itemOf_notes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - user
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        stateProvince:
          type: string
        postalCode:
          type: string
        countryCode:
          type: string
        coords:
          type: array
          items:
            type: number
        phone:
          type: string
        addressGeocodeComplete:
          type: boolean
          default: false
        shipToAddress:
          title: shipToAddress
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            coords:
              type: array
              items:
                type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - name
            - address1
            - countryCode
        shipFromAddress:
          title: shipFromAddress
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            coords:
              type: array
              items:
                type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - name
            - address1
            - countryCode
        localDeliveryAddress:
          title: localDeliveryAddress
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            coords:
              type: array
              items:
                type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - name
            - address1
            - countryCode
        isLocalDeliveryApproved:
          type: boolean
          default: false
        localDeliveryAddresses:
          type: array
          items:
            title: itemOf_localDeliveryAddresses
            type: object
            properties:
              name:
                type: string
              careOf:
                type: string
              address1:
                type: string
              address2:
                type: string
              city:
                type: string
              stateProvince:
                type: string
              postalCode:
                type: string
              countryCode:
                type: string
              coords:
                type: array
                items:
                  type: number
              status:
                type: string
                enum:
                  - pending-approval
                  - approved
                  - rejected
                default: pending-approval
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - name
              - address1
              - countryCode
        isApproved:
          type: boolean
        isDisabled:
          type: boolean
          default: false
        isTaxExemptApproved:
          type: boolean
          default: false
        marketingOptIn:
          type: boolean
          default: false
        resalePermitNumber:
          type: string
        abn:
          type: string
        taxCloudExemptId:
          type: string
        foreignId:
          type: string
        paymentAdapterProfileId:
          type: string
        creditCardTokens:
          type: array
          items:
            title: itemOf_creditCardTokens
            type: object
            properties:
              cardType:
                type: string
              lastFour:
                type: string
              expirationDate:
                type: string
                format: date-time
              isDefault:
                type: boolean
                default: false
              adapterKey:
                type: string
              paymentProfileId:
                type: string
              adapterProfileId:
                type: string
              stripePaymentMethod:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        email:
          type: string
        password:
          type: string
        priceListId:
          type: string
          x-ref: priceListsLegacy
          description: Refers to priceListsLegacy
          pattern: ^[0-9a-fA-F]{24}$
        billingClientName:
          type: string
        billingClientId:
          type: string
        firstOrderAt:
          type: string
          format: date-time
        lastOrderAt:
          type: string
          format: date-time
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _metadata:
          type: array
          items:
            title: itemOf__metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        platform:
          type: string
        platformOther:
          type: string
        tags:
          type: array
          items:
            type: string
        notificationPreference:
          type: string
          enum:
            - email
            - sms
          default: email
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
        id: {}
      required:
        - business
    customers_list:
      type: array
      items:
        $ref: '#/components/schemas/customers'
    customers_pagination:
      title: customers pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customers_list'
    orderItems:
      title: orderItems
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        accountManager:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        customerJobName:
          type: string
        poHumanId:
          type: string
        projectCode:
          type: string
        customerNotes:
          type: string
        isCustom:
          type: boolean
          default: false
        isCustomTrim:
          type: boolean
          default: false
        customTrimWidth:
          type:
            - number
            - 'null'
          default: null
        customTrimHeight:
          type:
            - number
            - 'null'
          default: null
        orientation:
          type: string
          enum:
            - landscape
            - portrait
        attributes:
          type: array
          items:
            title: itemOf_attributes
            type: object
            properties:
              attribute:
                type: string
                x-ref: productAttributeTypesLegacy
                description: Refers to productAttributeTypesLegacy
              value:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - attribute
              - value
        description:
          type: string
        quantity:
          type:
            - number
            - 'null'
          default: null
        width:
          type:
            - number
            - 'null'
          default: null
        height:
          type:
            - number
            - 'null'
          default: null
        weight:
          type:
            - number
            - 'null'
          default: null
        length:
          type: number
        depth:
          type: number
        cartonType:
          type: string
          x-ref: cartonTypes
          description: Refers to cartonTypes
          pattern: ^[0-9a-fA-F]{24}$
        cartonTypeName:
          type: string
        isShippable:
          type: boolean
          default: true
        timeMin:
          type:
            - number
            - 'null'
          default: null
        timeMax:
          type:
            - number
            - 'null'
          default: null
        estimatedCompletionDate:
          type: string
          format: date-time
        dueDate:
          type: string
          format: date-time
        pricingMethod:
          type:
            - number
            - 'null'
          default: null
        notes:
          type: array
          items:
            title: itemOf_notes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - user
        messageThread:
          type: array
          items:
            title: itemOf_messageThread
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              content:
                type: string
              attachments:
                type: array
                items:
                  type: string
                  x-ref: uploadsGeneral
                  description: Refers to uploadsGeneral
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              author:
                title: author
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - customer
                      - tenant
                      - translator
                  user:
                    type: string
                    x-ref: user
                    description: Refers to user
                    pattern: ^[0-9a-fA-F]{24}$
                  customer:
                    type: string
                    x-ref: customers
                    description: Refers to customers
                    pattern: ^[0-9a-fA-F]{24}$
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              noteToSelf:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
        isGraphicDesignRequested:
          type: boolean
          default: false
        isArtworkTemplateGenerated:
          type: boolean
          default: false
        templateFrontId:
          type: string
        templateBackId:
          type: string
        isProofAttached:
          type: boolean
          default: false
        attachedProof:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        isDeleted:
          type: boolean
          default: false
        uploadSlots:
          type: array
          items:
            title: itemOf_uploadSlots
            type: object
            properties:
              sequence:
                type: string
              upload:
                type: string
                x-ref: artworkUpload
                description: Refers to artworkUpload
                pattern: ^[0-9a-fA-F]{24}$
              originalFilename:
                type: string
              originalFileSize:
                type: string
              isUploaded:
                type: boolean
                default: false
              url:
                type: string
              thumbnailUrl:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - sequence
        salesPerson:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        manager:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        productKey:
          type: string
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        fromCompositeProduct:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        fromCompositeQuantity:
          type:
            - number
            - 'null'
          default: null
        isOrderItemLimitExcluded:
          type: boolean
          default: false
        assignedDesigner:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        productionStatus:
          title: productionStatus
          type: object
          properties:
            jobStatus:
              type: string
              x-ref: jobStatuses
              description: Refers to jobStatuses
            description:
              type: string
            secondaryStatus:
              type: string
              enum:
                - started
                - completed
            statusCategory:
              type: string
            type:
              type: string
              enum:
                - pending
                - active
                - resolution
                - final
            lastChangedAt:
              type: string
              format: date-time
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - jobStatus
        addOns:
          type: array
          items:
            title: itemOf_addOns
            type: object
            properties:
              id:
                type: string
              addOnId:
                type: string
              primaryData:
                type: string
              secondaryData:
                type: string
              priority:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - id
              - addOnId
        translator:
          title: translator
          type: object
          properties:
            assigned:
              type: string
              x-ref: translators
              description: Refers to translators
            state:
              type: string
              enum:
                - pending
                - assigned
                - accepted
                - rejected
              default: pending
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - assigned
        tags:
          type: array
          items:
            type: string
        productionChannel:
          type: string
          x-ref: productionChannels
          description: Refers to productionChannels
          pattern: ^[0-9a-fA-F]{24}$
        intakeChannel:
          type: string
          x-ref: intakeChannels
          description: Refers to intakeChannels
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        approvalStatus:
          type: string
          enum:
            - approved
            - pending
            - rejected
        arriveBy:
          type: string
        isPriority:
          type: boolean
        createdFromRfq:
          type: string
          x-ref: rfq
          description: Refers to rfq
          pattern: ^[0-9a-fA-F]{24}$
        isDigitalDelivery:
          type: boolean
          default: false
        productionNotes:
          type: string
        designTemplate:
          type: string
          x-ref: designTemplates
          description: Refers to designTemplates
          pattern: ^[0-9a-fA-F]{24}$
        designTemplateSecondary:
          type: string
          x-ref: designTemplates
          description: Refers to designTemplates
          pattern: ^[0-9a-fA-F]{24}$
        designTemplateFields:
          type: array
          items:
            title: itemOf_designTemplateFields
            type: object
            properties:
              key:
                type: string
              label:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        designTemplateFieldset:
          type: string
          x-ref: designTemplateFieldset
          description: Refers to designTemplateFieldset
          pattern: ^[0-9a-fA-F]{24}$
        customFields:
          type: array
          items:
            title: itemOf_customFields
            type: object
            properties:
              type:
                type: string
                enum:
                  - text
                  - select
                  - multi-select
                  - datepicker
                  - checkbox
                  - file
              key:
                type: string
              label:
                type: string
              options:
                type: array
                items:
                  title: itemOf_options
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - value
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - key
              - label
        artworkVariantValues:
          type: array
          items:
            title: itemOf_artworkVariantValues
            type: object
            properties:
              type:
                type: string
              value:
                type: string
              artwork:
                title: artwork
                type: object
                properties:
                  originalFilename:
                    type: string
                  storageUrl:
                    type: string
                  uploadLog:
                    type: string
                    x-ref: uploadLog
                    description: Refers to uploadLog
                    pattern: ^[0-9a-fA-F]{24}$
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - value
        artwork:
          type: string
        itemType:
          type: string
          enum:
            - stock
            - on-demand
        turnaround:
          type: string
        miscUploads:
          type: array
          items:
            type: string
            x-ref: uploadLog
            description: Refers to uploadLog
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - customer
        - order
    orderItems_list:
      type: array
      items:
        $ref: '#/components/schemas/orderItems'
    orderItems_pagination:
      title: orderItems pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/orderItems_list'
    orders:
      title: orders
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        accountManager:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        salesPerson:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        manager:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        invoice:
          type: string
          x-ref: invoices
          description: Refers to invoices
          pattern: ^[0-9a-fA-F]{24}$
        shipment:
          title: shipment
          type: object
          properties:
            id:
              type: string
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
            providerKey:
              type: string
            serviceKey:
              type: string
            indexKey:
              type: string
            providerName:
              type: string
            serviceDescription:
              type: string
            amount:
              type: string
            actualCost:
              type: number
            actualCostAdjusted:
              type: number
            airCargoAmount:
              type: string
            shipToName:
              type: string
            shipToCareOf:
              type: string
            shipToAddress1:
              type: string
            shipToAddress2:
              type: string
            shipToCity:
              type: string
            shipToStateProvince:
              type: string
            shipToPostalCode:
              type: string
            shipToCountryCode:
              type: string
            shipToAirportCode:
              type: string
            shipToPhone:
              type: string
            shipToCoords:
              type: array
              items:
                type: number
            shipFromName:
              type: string
            shipFromCareOf:
              type: string
            shipFromAddress1:
              type: string
            shipFromAddress2:
              type: string
            shipFromCity:
              type: string
            shipFromStateProvince:
              type: string
            shipFromPostalCode:
              type: string
            shipFromCountryCode:
              type: string
            trackingNumber:
              type: string
            trackingUrl:
              type: string
            easypostShipmentId:
              type: string
            orderItems:
              type: array
              items:
                title: itemOf_orderItems
                type: object
                properties:
                  orderItemId:
                    type: string
                    x-ref: orderItems
                    description: Refers to orderItems
                    pattern: ^[0-9a-fA-F]{24}$
                  quantity:
                    type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
            isVoid:
              type: boolean
            deliveryInstructions:
              type: string
            type:
              type: string
              enum:
                - shipment
                - pickup
                - digital
                - local-delivery
              default: shipment
            vendor:
              type: string
              x-ref: productionVendors
              description: Refers to productionVendors
              pattern: ^[0-9a-fA-F]{24}$
            payment:
              title: payment
              type: object
              properties:
                type:
                  type: string
                  enum:
                    - SENDER
                    - THIRD_PARTY
                    - RECEIVER
                    - COLLECT
                  default: SENDER
                account:
                  type: string
                countryCode:
                  type: string
                postalCode:
                  type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
        actualShipments:
          type: array
          items:
            title: itemOf_actualShipments
            type: object
            properties:
              id:
                type: string
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              providerKey:
                type: string
              serviceKey:
                type: string
              indexKey:
                type: string
              providerName:
                type: string
              serviceDescription:
                type: string
              amount:
                type: string
              actualCost:
                type: number
              actualCostAdjusted:
                type: number
              airCargoAmount:
                type: string
              shipToName:
                type: string
              shipToCareOf:
                type: string
              shipToAddress1:
                type: string
              shipToAddress2:
                type: string
              shipToCity:
                type: string
              shipToStateProvince:
                type: string
              shipToPostalCode:
                type: string
              shipToCountryCode:
                type: string
              shipToAirportCode:
                type: string
              shipToPhone:
                type: string
              shipToCoords:
                type: array
                items:
                  type: number
              shipFromName:
                type: string
              shipFromCareOf:
                type: string
              shipFromAddress1:
                type: string
              shipFromAddress2:
                type: string
              shipFromCity:
                type: string
              shipFromStateProvince:
                type: string
              shipFromPostalCode:
                type: string
              shipFromCountryCode:
                type: string
              trackingNumber:
                type: string
              trackingUrl:
                type: string
              easypostShipmentId:
                type: string
              orderItems:
                type: array
                items:
                  title: itemOf_orderItems
                  type: object
                  properties:
                    orderItemId:
                      type: string
                      x-ref: orderItems
                      description: Refers to orderItems
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              isVoid:
                type: boolean
              deliveryInstructions:
                type: string
              type:
                type: string
                enum:
                  - shipment
                  - pickup
                  - digital
                  - local-delivery
                default: shipment
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              payment:
                title: payment
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - SENDER
                      - THIRD_PARTY
                      - RECEIVER
                      - COLLECT
                    default: SENDER
                  account:
                    type: string
                  countryCode:
                    type: string
                  postalCode:
                    type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
        notes:
          type: array
          items:
            title: itemOf_notes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - user
        pickupLocation:
          type: string
          x-ref: pickupLocations
          description: Refers to pickupLocations
          pattern: ^[0-9a-fA-F]{24}$
        isVoid:
          type: boolean
          default: false
        foreignId:
          type: string
        tags:
          type: array
          items:
            type: string
        po:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        vendors:
          type: array
          items:
            type: string
            x-ref: productionVendors
            description: Refers to productionVendors
            pattern: ^[0-9a-fA-F]{24}$
        approvals:
          type: array
          items:
            title: itemOf_approvals
            type: object
            properties:
              user:
                type: string
                x-ref: micrositeCustomers
                description: Refers to micrositeCustomers
                pattern: ^[0-9a-fA-F]{24}$
              isApproved:
                type: boolean
              approvedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - user
        approvalPending:
          type: boolean
        approvalStatus:
          type: string
          enum:
            - approved
            - pending
            - rejected
        approvedByMicrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        approvedByTenantUser:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        approvedAt:
          type: string
          format: date-time
        rejectionReason:
          type: string
        notification:
          type: array
          items:
            title: itemOf_notification
            type: object
            properties:
              recipientName:
                type: string
              recipientAccount:
                type: string
              notificationType:
                type: string
              deliveryStrategy:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - recipientName
              - recipientAccount
              - notificationType
              - deliveryStrategy
        miscInfo:
          type: string
        productionStatus:
          type: string
          enum:
            - not-started
            - not-applicable
            - partial
            - in-progress
            - complete
          default: not-started
        fulfillmentStatus:
          type: string
          enum:
            - none
            - partial
            - fulfilled
            - restocked
          default: none
        paymentStatus:
          type: string
          enum:
            - unpaid
            - partial-paid
            - paid
          default: unpaid
        intakeChannel:
          type: string
          x-ref: intakeChannels
          description: Refers to intakeChannels
          pattern: ^[0-9a-fA-F]{24}$
        miscDocuments:
          type: array
          items:
            type: string
            x-ref: miscDocuments
            description: Refers to miscDocuments
            pattern: ^[0-9a-fA-F]{24}$
        customerSuppliedPackingSlip:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        attachments:
          type: array
          items:
            title: itemOf_attachments
            type: object
            properties:
              attachedAt:
                type: string
                format: date-time
              filename:
                type: string
              size:
                type: string
              label:
                type: string
              uploadLog:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              attachedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              attachedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - uploadLog
        supplierDocsRequireReview:
          type: boolean
          default: false
        supplierDocsSentToAP:
          type: boolean
          default: false
        supplierDocsSentToAPAt:
          type: string
          format: date-time
        supplierDocsSentToBilling:
          type: boolean
          default: false
        supplierDocsSentToBillingAt:
          type: string
          format: date-time
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        arriveBy:
          type: string
        additionalRecipients:
          type: array
          items:
            title: itemOf_additionalRecipients
            type: object
            properties:
              email:
                type: string
              name:
                type: string
              type:
                type: string
                enum:
                  - to
                  - cc
                  - bcc
                default: to
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - email
              - name
        rfqNum:
          type: string
        createdFromRfq:
          type: string
          x-ref: rfq
          description: Refers to rfq
          pattern: ^[0-9a-fA-F]{24}$
        notificationPreference:
          type: string
          enum:
            - email
            - sms
          default: email
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - business
        - customer
    orders_list:
      type: array
      items:
        $ref: '#/components/schemas/orders'
    orders_pagination:
      title: orders pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/orders_list'
    proofsv2:
      title: proofsv2
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        requestor:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        status:
          type: string
          enum:
            - pending
            - pending-approval
            - responded
          default: pending
        upload:
          title: upload
          type: object
          properties:
            attachedAt:
              type: string
              format: date-time
            filename:
              type: string
            size:
              type: string
            label:
              type: string
            uploadLog:
              type: string
              x-ref: uploadLog
              description: Refers to uploadLog
              pattern: ^[0-9a-fA-F]{24}$
            attachedBy:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            attachedByModel:
              type: string
              enum:
                - user
                - commandCenterUser
                - micrositeCustomers
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - uploadLog
        response:
          type: string
          enum:
            - approved
            - rejected
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _metadata:
          type: array
          items:
            title: itemOf__metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        privateNotes:
          type: array
          items:
            title: itemOf_privateNotes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - createdBy
              - createdByModel
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - order
        - orderItem
        - status
    proofsv2_list:
      type: array
      items:
        $ref: '#/components/schemas/proofsv2'
    proofsv2_pagination:
      title: proofsv2 pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/proofsv2_list'
    proof:
      title: proof
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        softProofAttachedAt:
          type: string
          format: date-time
        softProofFiles:
          type: array
          items:
            title: itemOf_softProofFiles
            type: object
            properties:
              sequence:
                type: string
              filename:
                type: string
              originalFilename:
                type: string
              attachedAt:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - sequence
              - filename
              - originalFilename
              - attachedAt
        type:
          type: string
          enum:
            - soft
            - hard
        customerActionAt:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - awaiting-artwork
            - awaiting-proof-generation
            - pending-approval
            - approved
            - rejected
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - customer
        - order
        - orderItem
        - type
        - status
    proof_list:
      type: array
      items:
        $ref: '#/components/schemas/proof'
    proof_pagination:
      title: proof pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/proof_list'
    preflight:
      title: preflight
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        orderItemHumanId:
          type: string
        status:
          type: string
          enum:
            - pending
            - complete
            - in-progress
            - canceled
        slots:
          type: array
          items:
            title: itemOf_slots
            type: object
            properties:
              sequence:
                type: string
              upload:
                type: string
                x-ref: artworkUpload
                description: Refers to artworkUpload
                pattern: ^[0-9a-fA-F]{24}$
              errorsList:
                type: array
                items:
                  title: itemOf_errorsList
                  type: object
                  properties:
                    key:
                      type: string
                    message:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - message
              message:
                type: string
              messageImages:
                type: array
                items:
                  title: itemOf_messageImages
                  type: object
                  properties:
                    url:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - sequence
        replacedSlots:
          type: array
          items:
            title: itemOf_replacedSlots
            type: object
            properties:
              sequence:
                type: string
              upload:
                type: string
                x-ref: artworkUpload
                description: Refers to artworkUpload
                pattern: ^[0-9a-fA-F]{24}$
              errorsList:
                type: array
                items:
                  title: itemOf_errorsList
                  type: object
                  properties:
                    key:
                      type: string
                    message:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - message
              message:
                type: string
              messageImages:
                type: array
                items:
                  title: itemOf_messageImages
                  type: object
                  properties:
                    url:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - sequence
        slaBy:
          type: string
          format: date-time
        result:
          type: string
          enum:
            - approved
            - rejected
        resultAt:
          type: string
          format: date-time
        resultBy:
          type: string
          x-ref: commandCenterUser
          description: Refers to commandCenterUser
          pattern: ^[0-9a-fA-F]{24}$
        allowPrintAsIs:
          type: boolean
          default: false
        printAsIs:
          type: boolean
        assignedTo:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        assignedToModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - customer
        - order
        - orderItem
        - status
    preflight_list:
      type: array
      items:
        $ref: '#/components/schemas/preflight'
    preflight_pagination:
      title: preflight pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/preflight_list'
    starterTemplate:
      title: starterTemplate
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        products:
          type: array
          items:
            type: string
            x-ref: ProductLegacy
            description: Refers to ProductLegacy
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        desc:
          type: string
        fileType:
          type: string
        finishSize:
          title: finishSize
          type: object
          properties:
            width:
              type: number
            height:
              type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - width
            - height
        flatSize:
          title: flatSize
          type: object
          properties:
            width:
              type: number
            height:
              type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - width
            - height
        upload:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - desc
        - fileType
    starterTemplate_list:
      type: array
      items:
        $ref: '#/components/schemas/starterTemplate'
    starterTemplate_pagination:
      title: starterTemplate pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/starterTemplate_list'
    micrositeCustomers:
      title: micrositeCustomers
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        email:
          type: string
        username:
          type: string
        password:
          type: string
        companyName:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        title:
          type: string
        address:
          title: address
          type: object
          properties:
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            coords:
              type: array
              items:
                type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        phone:
          type: string
        fax:
          type: string
        active:
          type: boolean
          default: true
        disabled:
          type: boolean
          default: false
        isAdmin:
          type: boolean
          default: false
        manager:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        isApproved:
          type: boolean
          default: false
        approvedDate:
          type: string
          format: date-time
        approvedByUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        tags:
          type: array
          items:
            title: itemOf_tags
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        groups:
          type: array
          items:
            type: string
            x-ref: micrositeCustomerGroups
            description: Refers to micrositeCustomerGroups
            pattern: ^[0-9a-fA-F]{24}$
        disabledProducts:
          type: array
          items:
            type: string
            x-ref: ProductLegacy
            description: Refers to ProductLegacy
            pattern: ^[0-9a-fA-F]{24}$
        firstOrderAt:
          type: string
          format: date-time
        lastOrderAt:
          type: string
          format: date-time
        foreignId:
          type: string
        orderApprovalRequired:
          type: boolean
        orderApprovers:
          type: array
          items:
            type: string
            x-ref: micrositeCustomers
            description: Refers to micrositeCustomers
            pattern: ^[0-9a-fA-F]{24}$
        costCenter:
          type: string
        creditCardTokens:
          type: array
          items:
            title: itemOf_creditCardTokens
            type: object
            properties:
              merchantGateway:
                type: string
                enum:
                  - stripe
                  - authorizeNet
                  - firstData
              cardType:
                type: string
              lastFour:
                type: string
              expirationDate:
                type: string
                format: date-time
              isDefault:
                type: boolean
                default: false
              adapterKey:
                type: string
              paymentProfileId:
                type: string
              adapterProfileId:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        deleted:
          type: boolean
          default: false
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
    micrositeCustomers_list:
      type: array
      items:
        $ref: '#/components/schemas/micrositeCustomers'
    micrositeCustomers_pagination:
      title: micrositeCustomers pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/micrositeCustomers_list'
    micrositeDivisions:
      title: micrositeDivisions
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - name
    micrositeDivisions_list:
      type: array
      items:
        $ref: '#/components/schemas/micrositeDivisions'
    micrositeDivisions_pagination:
      title: micrositeDivisions pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/micrositeDivisions_list'
    micrositeProducts:
      title: micrositeProducts
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        key:
          type: string
        name:
          type: string
        isVariant:
          type: boolean
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        groupPermission:
          type: string
          x-ref: micrositeCustomerGroups
          description: Refers to micrositeCustomerGroups
          pattern: ^[0-9a-fA-F]{24}$
        groupPermissions:
          type: array
          items:
            type: string
            x-ref: micrositeCustomerGroups
            description: Refers to micrositeCustomerGroups
            pattern: ^[0-9a-fA-F]{24}$
        priority:
          type: number
        isHidden:
          type: boolean
          default: false
        deleted:
          type: boolean
          default: false
        isPublished:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - product
        - category
    micrositeProducts_list:
      type: array
      items:
        $ref: '#/components/schemas/micrositeProducts'
    micrositeProducts_pagination:
      title: micrositeProducts pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/micrositeProducts_list'
    micrositeCustomerGroups:
      title: micrositeCustomerGroups
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        globalPermissions:
          type: boolean
          default: false
        permissions:
          type: array
          items:
            title: itemOf_permissions
            type: object
            properties:
              action:
                type: array
                items:
                  type: string
              resource:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - resource
        orderApprovalRequired:
          type: boolean
        orderApprovers:
          type: array
          items:
            type: string
            x-ref: micrositeCustomers
            description: Refers to micrositeCustomers
            pattern: ^[0-9a-fA-F]{24}$
        canOrderForFree:
          type: boolean
          default: false
        canOrderForFreeProductCategories:
          type: array
          items:
            type: string
            x-ref: productCategoryLegacy
            description: Refers to productCategoryLegacy
            pattern: ^[0-9a-fA-F]{24}$
        orderLimitsPerUser:
          type: array
          items:
            title: itemOf_orderLimitsPerUser
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              products:
                type: array
                items:
                  type: string
                  x-ref: ProductLegacy
                  description: Refers to ProductLegacy
                  pattern: ^[0-9a-fA-F]{24}$
              value:
                type: number
              period:
                type: string
                enum:
                  - day
                  - week
                  - month
                  - quarter
                  - year
              enabled:
                type: boolean
                default: false
              isAdminsExcluded:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        orderLimitValue:
          type: number
        orderLimitPeriod:
          type: string
          enum:
            - day
            - week
            - month
            - quarter
            - year
        orderLimitEnabled:
          type: boolean
          default: false
        orderLimitIsAdminsExcluded:
          type: boolean
          default: false
        orderItemLimitValue:
          type: number
        orderItemLimitPeriod:
          type: string
          enum:
            - day
            - week
            - month
            - quarter
            - year
        orderItemLimitEnabled:
          type: boolean
          default: false
        orderItemLimitIsAdminsExcluded:
          type: boolean
          default: false
        shippingMethods:
          type: array
          items:
            type: string
        allowedShippingServicesOnCart:
          type: array
          items:
            type: string
        paymentMethods:
          type: array
          items:
            type: string
            enum:
              - CASH
              - CREDIT_CARD
              - CREDIT_MEMO
              - CHECK
              - OFFLINE
              - INVOICE
              - COMPANY_PAID
              - GIFT_CARD
              - NO_PAYMENT
        allottmentPolicies:
          type: array
          items:
            type: string
            x-ref: userAllotmentPolicies
            description: Refers to userAllotmentPolicies
            pattern: ^[0-9a-fA-F]{24}$
        shouldAutoApplyAllotments:
          type: boolean
          default: false
        shipping3rdParty:
          title: shipping3rdParty
          type: object
          properties:
            isEnabled:
              type: boolean
              default: false
            payment:
              title: payment
              type: object
              properties:
                account:
                  type: string
                countryCode:
                  type: string
                postalCode:
                  type: string
        isArriveByDayEnabled:
          type: boolean
        active:
          type: boolean
          default: true
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
    micrositeCustomerGroups_list:
      type: array
      items:
        $ref: '#/components/schemas/micrositeCustomerGroups'
    micrositeCustomerGroups_pagination:
      title: micrositeCustomerGroups pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/micrositeCustomerGroups_list'
    micrositeAddressBook:
      title: micrositeAddressBook
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        name:
          type: string
        phone:
          type: string
        fax:
          type: string
        email:
          type: string
        careOf:
          type: string
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        stateProvince:
          type: string
        postalCode:
          type: string
        countryCode:
          type: string
        costCenter:
          type: string
        foreignId:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - address1
        - city
        - stateProvince
        - postalCode
    micrositeAddressBook_list:
      type: array
      items:
        $ref: '#/components/schemas/micrositeAddressBook'
    micrositeAddressBook_pagination:
      title: micrositeAddressBook pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/micrositeAddressBook_list'
    micrositeCustomerAddressBook:
      title: micrositeCustomerAddressBook
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeCustomer:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        name:
          type: string
        phone:
          type: string
        fax:
          type: string
        email:
          type: string
        careOf:
          type: string
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        stateProvince:
          type: string
        postalCode:
          type: string
        countryCode:
          type: string
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - micrositeCustomer
        - address1
        - city
        - stateProvince
        - postalCode
    micrositeCustomerAddressBook_list:
      type: array
      items:
        $ref: '#/components/schemas/micrositeCustomerAddressBook'
    micrositeCustomerAddressBook_pagination:
      title: micrositeCustomerAddressBook pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/micrositeCustomerAddressBook_list'
    micrositeContactUsEntries:
      title: micrositeContactUsEntries
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        email:
          type: string
        message:
          type: string
        status:
          type: string
          enum:
            - open
            - closed
          default: open
        customFields:
          type: array
          items:
            title: itemOf_customFields
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - microsite
        - name
        - message
    micrositeContactUsEntries_list:
      type: array
      items:
        $ref: '#/components/schemas/micrositeContactUsEntries'
    micrositeContactUsEntries_pagination:
      title: micrositeContactUsEntries pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/micrositeContactUsEntries_list'
    microsites:
      title: microsites
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        domain:
          type: string
        address:
          title: address
          type: object
          properties:
            name:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            coords:
              type: array
              items:
                type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        costCenters:
          type: array
          items:
            type: string
        costCenters2:
          type: array
          items:
            title: itemOf_costCenters2
            type: object
            properties:
              code:
                type: string
              description:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        requireCostCenterForCheckout:
          type: boolean
          default: false
        requirePOForCheckout:
          type: boolean
          default: false
        settings:
          title: settings
          type: object
          properties:
            private:
              type: boolean
              default: true
            logoUrl:
              type: string
            logo:
              type: string
              x-ref: Content
              description: Refers to Content
              pattern: ^[0-9a-fA-F]{24}$
            favicon:
              type: string
              x-ref: Content
              description: Refers to Content
              pattern: ^[0-9a-fA-F]{24}$
            paymentMethods:
              type: array
              items:
                type: string
            shippingMethods:
              type: array
              items:
                type: string
            allowedShippingServicesOnCart:
              type: array
              items:
                type: string
            easypostCarrierAccounts:
              type: array
              items:
                title: itemOf_easypostCarrierAccounts
                type: object
                properties:
                  id:
                    type: string
                    x-ref: easypostCarrierAccounts
                    description: Refers to easypostCarrierAccounts
                    pattern: ^[0-9a-fA-F]{24}$
                  isEnabled:
                    type: boolean
                    default: true
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - id
            shipTimeCarrierAccounts:
              type: array
              items:
                title: itemOf_shipTimeCarrierAccounts
                type: object
                properties:
                  id:
                    type: string
                    x-ref: easypostCarrierAccounts
                    description: Refers to easypostCarrierAccounts
                    pattern: ^[0-9a-fA-F]{24}$
                  isEnabled:
                    type: boolean
                    default: true
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - id
            allowBackorders:
              type: boolean
            allowSavedItems:
              type: boolean
              default: true
            profileReadOnly:
              type: boolean
            allowSiteSignup:
              type: boolean
            useAddressAsShipFrom:
              type: boolean
            restrictToApprovedUsers:
              type: boolean
            notification:
              title: notification
              type: object
              properties:
                tenantRules:
                  type: array
                  items:
                    title: itemOf_tenantRules
                    type: object
                    properties:
                      enable:
                        type: boolean
                        default: true
                      defaultEmail:
                        title: defaultEmail
                        type: object
                        properties:
                          name:
                            type: string
                          email:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                      templateKey:
                        type: string
                      recipients:
                        type: array
                        items:
                          title: itemOf_recipients
                          type: object
                          properties:
                            name:
                              type: string
                            email:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                          required:
                            - name
                            - email
                      cc:
                        type: array
                        items:
                          title: itemOf_cc
                          type: object
                          properties:
                            name:
                              type: string
                            email:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                          required:
                            - name
                            - email
                      bcc:
                        type: array
                        items:
                          title: itemOf_bcc
                          type: object
                          properties:
                            name:
                              type: string
                            email:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                          required:
                            - name
                            - email
                      replyTo:
                        type: string
                      _id:
                        type: string
                        pattern: ^[0-9a-fA-F]{24}$
                      createdAt:
                        type: string
                        format: date-time
                      updatedAt:
                        type: string
                        format: date-time
                    required:
                      - templateKey
                _id:
                  type: string
                  pattern: ^[0-9a-fA-F]{24}$
                createdAt:
                  type: string
                  format: date-time
                updatedAt:
                  type: string
                  format: date-time
            useCostCenterFromUser:
              type: boolean
            orderNeedsAdminApproval:
              type: boolean
            orderApprovalNotificationRecipeint:
              type: string
              default: all-admin-user
            isCartAddressBookEnabled:
              type: boolean
              default: false
            isUseRecentAddressEnabled:
              type: boolean
              default: false
            isCostCenterInputEnabled:
              type: boolean
              default: false
            isCostCenterValidationEnabled:
              type: boolean
              default: false
            isCostCenterDropdown:
              type: boolean
              default: false
            isGuestCheckoutEnabled:
              type: boolean
              default: false
            isPOInputEnabled:
              type: boolean
              default: false
            allowOverLimitAndTriggerApproval:
              type: boolean
              default: false
            compositeTopLevelLimit:
              type: number
              default: false
            compositeTopLevelAlottment:
              type: number
              default: false
            isMininumAmountPerOrderEnabled:
              type: boolean
              default: false
            minimumAmountPerOrder:
              type: number
              default: false
            orderApprovalNotificationRecipients:
              title: orderApprovalNotificationRecipients
              type: object
              properties:
                type:
                  type: string
                  enum:
                    - admins
                    - explicit
                  default: admins
                email:
                  title: email
                  type: object
                  properties:
                    to:
                      type: array
                      items:
                        title: itemOf_to
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - email
                              - slack
                            default: email
                          user:
                            type: string
                            x-ref: micrositeCustomers
                            description: Refers to micrositeCustomers
                            pattern: ^[0-9a-fA-F]{24}$
                          email:
                            type: string
                          name:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                    cc:
                      type: array
                      items:
                        title: itemOf_cc
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - email
                              - slack
                            default: email
                          user:
                            type: string
                            x-ref: micrositeCustomers
                            description: Refers to micrositeCustomers
                            pattern: ^[0-9a-fA-F]{24}$
                          email:
                            type: string
                          name:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                    bcc:
                      type: array
                      items:
                        title: itemOf_bcc
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - email
                              - slack
                            default: email
                          user:
                            type: string
                            x-ref: micrositeCustomers
                            description: Refers to micrositeCustomers
                            pattern: ^[0-9a-fA-F]{24}$
                          email:
                            type: string
                          name:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                slack:
                  title: slack
                  type: object
                  properties:
                    user:
                      type: array
                      items:
                        title: itemOf_user
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - email
                              - slack
                            default: email
                          user:
                            type: string
                            x-ref: micrositeCustomers
                            description: Refers to micrositeCustomers
                            pattern: ^[0-9a-fA-F]{24}$
                          email:
                            type: string
                          name:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
            publishedProductNotificationRecipients:
              title: publishedProductNotificationRecipients
              type: object
              properties:
                type:
                  type: string
                  default: explicit
                email:
                  title: email
                  type: object
                  properties:
                    to:
                      type: array
                      items:
                        title: itemOf_to
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - email
                              - slack
                            default: email
                          user:
                            type: string
                            x-ref: micrositeCustomers
                            description: Refers to micrositeCustomers
                            pattern: ^[0-9a-fA-F]{24}$
                          email:
                            type: string
                          name:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                    cc:
                      type: array
                      items:
                        title: itemOf_cc
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - email
                              - slack
                            default: email
                          user:
                            type: string
                            x-ref: micrositeCustomers
                            description: Refers to micrositeCustomers
                            pattern: ^[0-9a-fA-F]{24}$
                          email:
                            type: string
                          name:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
                    bcc:
                      type: array
                      items:
                        title: itemOf_bcc
                        type: object
                        properties:
                          type:
                            type: string
                            enum:
                              - email
                              - slack
                            default: email
                          user:
                            type: string
                            x-ref: micrositeCustomers
                            description: Refers to micrositeCustomers
                            pattern: ^[0-9a-fA-F]{24}$
                          email:
                            type: string
                          name:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - type
            menu:
              type: array
              items:
                title: itemOf_menu
                type: object
                properties:
                  key:
                    type: string
                  label:
                    type: string
                  priority:
                    type: number
                  enabled:
                    type: boolean
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - key
                  - enabled
            internationalization:
              title: internationalization
              type: object
              properties:
                locale:
                  type: string
                  default: en-US
                currency:
                  type: string
                  default: USD
                countryCode:
                  type: string
                  default: US
                _id:
                  type: string
                  pattern: ^[0-9a-fA-F]{24}$
                createdAt:
                  type: string
                  format: date-time
                updatedAt:
                  type: string
                  format: date-time
            addressVerification:
              type: string
              enum:
                - verify
                - verify-strict
              default: verify
            shipOutAddressInputMethod:
              type: string
              enum:
                - open
                - address-book
                - read-only
              default: open
            shipFromControl:
              type: boolean
            showShippingRates:
              type: boolean
              default: true
            isFreeShippingEnabled:
              type: boolean
              default: false
            isIntlShippingEnabled:
              type: boolean
              default: false
            isSFShipBill3PEnabled:
              type: boolean
              default: false
            shippingRatesEstimatePriceZero:
              type: boolean
              default: false
            showNegotiatedRates:
              type: boolean
            showCostCenter:
              type: boolean
              default: false
            showPO:
              type: boolean
              default: false
            promoCodeInput:
              type: boolean
              default: false
            approvedDomains:
              type: array
              items:
                title: itemOf_approvedDomains
                type: object
                properties:
                  domain:
                    type: string
                  enable:
                    type: boolean
                    default: true
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - domain
            customCSS:
              type: string
            customJS:
              type: string
            customHTML:
              type: string
            theme:
              type: string
            signUpRequiredCaptcha:
              type: boolean
              default: true
            consolidateCartItems:
              type: boolean
            hidePrices:
              type: boolean
            isMaintenanceEnabled:
              type: boolean
              default: false
            userSignupDefaultGroups:
              type: array
              items:
                type: string
                x-ref: micrositeCustomerGroups
                description: Refers to micrositeCustomerGroups
                pattern: ^[0-9a-fA-F]{24}$
            isOrderMiscInfoEnabled:
              type: boolean
            orderMiscInfoLabel:
              type: string
            isOrderMiscInfoRequired:
              type: boolean
            isArriveByDayEnabled:
              type: boolean
            arriveByDateLabel:
              type: string
            isAdditionalEmailRecipientsEnabled:
              type: boolean
            shipping3rdParty:
              title: shipping3rdParty
              type: object
              properties:
                isEnabled:
                  type: boolean
                  default: false
                payment:
                  title: payment
                  type: object
                  properties:
                    account:
                      type: string
                    countryCode:
                      type: string
                    postalCode:
                      type: string
            payment:
              title: payment
              type: object
              properties:
                methods:
                  type: array
                  items:
                    type: string
                    enum:
                      - CASH
                      - CREDIT_CARD
                      - CREDIT_MEMO
                      - CHECK
                      - OFFLINE
                      - INVOICE
                      - COMPANY_PAID
                      - GIFT_CARD
                      - NO_PAYMENT
                merchantGateway:
                  title: merchantGateway
                  type: object
                  properties:
                    selectedAdapter:
                      type: string
                      enum:
                        - stripe
                        - authorizeNet
                    adapters:
                      title: adapters
                      type: object
                      properties:
                        stripe:
                          title: stripe
                          type: object
                          properties:
                            key:
                              type: string
                              default: stripe
                            secret:
                              type: string
                            publishable:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                        authorizeNet:
                          title: authorizeNet
                          type: object
                          properties:
                            key:
                              type: string
                              default: authorizeNet
                            login:
                              type: string
                            transaction:
                              type: string
                            clientKey:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                currency:
                  type: string
                  default: usd
                _id:
                  type: string
                  pattern: ^[0-9a-fA-F]{24}$
                createdAt:
                  type: string
                  format: date-time
                updatedAt:
                  type: string
                  format: date-time
            fulfillmentFees:
              title: fulfillmentFees
              type: object
              properties:
                perOrder:
                  type: number
                  default: 0
                perItem:
                  type: number
                  default: 0
                perItemFirstQuantity:
                  type: number
                  default: 0
                perItemQuantity:
                  type: number
                  default: 0
                perShippedBoxDomestic:
                  type: number
                  default: 0
                perShippedBoxInternational:
                  type: number
                  default: 0
            handlingFees:
              title: handlingFees
              type: object
              properties:
                perOrder:
                  type: number
                  default: 0
                perItem:
                  type: number
                  default: 0
            sso:
              title: sso
              type: object
              properties:
                signingCertficate:
                  type: string
                metadata:
                  type: string
                justInTimeProvisioning:
                  type: boolean
                  default: true
                isEnabled:
                  type: boolean
                  default: false
                _id:
                  type: string
                  pattern: ^[0-9a-fA-F]{24}$
                createdAt:
                  type: string
                  format: date-time
                updatedAt:
                  type: string
                  format: date-time
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - allowSavedItems
        isNextGenStore:
          type: boolean
          default: true
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - key
        - domain
    microsites_list:
      type: array
      items:
        $ref: '#/components/schemas/microsites'
    microsites_pagination:
      title: microsites pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/microsites_list'
    inventoryMovement:
      title: inventoryMovement
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        source:
          type: string
          x-ref: inventoryLocations
          description: Refers to inventoryLocations
          pattern: ^[0-9a-fA-F]{24}$
        destination:
          type: string
          x-ref: inventoryLocations
          description: Refers to inventoryLocations
          pattern: ^[0-9a-fA-F]{24}$
        previousMovement:
          type: string
          x-ref: inventoryMovement
          description: Refers to inventoryMovement
          pattern: ^[0-9a-fA-F]{24}$
        sourceDenormalized:
          title: sourceDenormalized
          type: object
          properties:
            name:
              type: string
            virtual:
              type: boolean
              default: false
            type:
              type: string
              enum:
                - external
                - internal
            priority:
              type: number
            nonTrackable:
              type: boolean
        destinationDenormalized:
          title: destinationDenormalized
          type: object
          properties:
            name:
              type: string
            virtual:
              type: boolean
              default: false
            type:
              type: string
              enum:
                - external
                - internal
            priority:
              type: number
            nonTrackable:
              type: boolean
        previousMovementDenormalized:
          title: previousMovementDenormalized
          type: object
          properties:
            source:
              type: string
              x-ref: inventoryLocations
              description: Refers to inventoryLocations
              pattern: ^[0-9a-fA-F]{24}$
            destination:
              type: string
              x-ref: inventoryLocations
              description: Refers to inventoryLocations
              pattern: ^[0-9a-fA-F]{24}$
            operation:
              type: string
              enum:
                - OPENING_AMOUNT
                - RECEIVE
                - RETURN
                - FULFILL
                - ADJUSTMENT
                - MOVEMENT
                - ALLOCATED
                - BACK_ORDER
                - VOID_ADJUSTMENT
            amount:
              type: number
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        amount:
          type: number
        direction:
          type: number
        operation:
          type: string
          enum:
            - OPENING_AMOUNT
            - RECEIVE
            - RETURN
            - FULFILL
            - ADJUSTMENT
            - MOVEMENT
            - ALLOCATED
            - BACK_ORDER
            - VOID_ADJUSTMENT
        fulfillmentMovement:
          type: string
          x-ref: inventoryMovement
          description: Refers to inventoryMovement
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        price:
          type: number
        notes:
          type: string
        isVoid:
          type: boolean
        deleted:
          type: boolean
        tags:
          type: array
          items:
            type: string
        requestedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        requestedByModel:
          type: string
          enum:
            - commandCenterUser
            - user
        nonTrackable:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - source
        - destination
        - direction
    inventoryMovement_list:
      type: array
      items:
        $ref: '#/components/schemas/inventoryMovement'
    inventoryMovement_pagination:
      title: inventoryMovement pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/inventoryMovement_list'
    inventoryLocations:
      title: inventoryLocations
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        parentLocation:
          type: string
          x-ref: inventoryLocations
          description: Refers to inventoryLocations
          pattern: ^[0-9a-fA-F]{24}$
        address:
          title: address
          type: object
          properties:
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            coords:
              type: array
              items:
                type: number
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - address1
            - city
            - stateProvince
            - postalCode
        virtual:
          type: boolean
          default: false
        type:
          type: string
          enum:
            - external
            - internal
        priority:
          type: number
        nonTrackable:
          type: boolean
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - virtual
        - type
    inventoryLocations_list:
      type: array
      items:
        $ref: '#/components/schemas/inventoryLocations'
    inventoryLocations_pagination:
      title: inventoryLocations pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/inventoryLocations_list'
    inventoryIncomingTickets:
      title: inventoryIncomingTickets
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        units:
          type: number
        price:
          type: number
        notes:
          type: string
        arrivalDate:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - pending
            - received
            - canceled
          default: pending
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - product
        - units
        - price
    inventoryIncomingTickets_list:
      type: array
      items:
        $ref: '#/components/schemas/inventoryIncomingTickets'
    inventoryIncomingTickets_pagination:
      title: inventoryIncomingTickets pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/inventoryIncomingTickets_list'
    Content:
      title: Content
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        filename:
          type: string
        size:
          type: string
        mimeType:
          type: string
        extension:
          type: string
        publicUrl:
          type: string
        thumbUrl:
          type: string
        isThumbComplete:
          type: boolean
        uploadLog:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - filename
        - size
        - mimeType
        - extension
    Content_list:
      type: array
      items:
        $ref: '#/components/schemas/Content'
    Content_pagination:
      title: Content pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/Content_list'
    entityAuditLog:
      title: entityAuditLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        entityId:
          type: string
        name:
          type: string
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        tenantUser:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        byUserType:
          type: string
          enum:
            - tenant-user
            - microsite-user
        diff:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - entityId
        - name
        - byUserType
    entityAuditLog_list:
      type: array
      items:
        $ref: '#/components/schemas/entityAuditLog'
    entityAuditLog_pagination:
      title: entityAuditLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/entityAuditLog_list'
    contentBanners:
      title: contentBanners
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        startDate:
          type:
            - string
            - 'null'
          default: null
          format: date-time
        expireDate:
          type:
            - string
            - 'null'
          default: null
          format: date-time
        banner:
          type: string
        url:
          type: string
        name:
          type: string
        altText:
          type: string
        className:
          type: string
        isPublished:
          type: boolean
          default: true
        priority:
          type: number
          default: 1
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - banner
        - name
        - altText
        - isPublished
    contentBanners_list:
      type: array
      items:
        $ref: '#/components/schemas/contentBanners'
    contentBanners_pagination:
      title: contentBanners pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentBanners_list'
    contentBannerMicrosites:
      title: contentBannerMicrosites
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsite
          description: Refers to microsite
          pattern: ^[0-9a-fA-F]{24}$
        startDate:
          type:
            - string
            - 'null'
          default: null
          format: date-time
        expireDate:
          type:
            - string
            - 'null'
          default: null
          format: date-time
        banner:
          type: string
        url:
          type: string
        name:
          type: string
        altText:
          type: string
        className:
          type: string
        isPublished:
          type: boolean
          default: true
        priority:
          type: number
          default: 1
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - microsite
        - banner
        - name
        - altText
        - isPublished
    contentBannerMicrosites_list:
      type: array
      items:
        $ref: '#/components/schemas/contentBannerMicrosites'
    contentBannerMicrosites_pagination:
      title: contentBannerMicrosites pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentBannerMicrosites_list'
    contentMenusMicrosites:
      title: contentMenusMicrosites
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        key:
          type: string
        name:
          type: string
        menuItems:
          type: array
          items:
            title: itemOf_menuItems
            type: object
            properties:
              key:
                type: string
              label:
                type: string
              url:
                type: string
              htmlTarget:
                type: string
              page:
                type: string
                x-ref: contentPageMicrosites
                description: Refers to contentPageMicrosites
                pattern: ^[0-9a-fA-F]{24}$
              visibleToGroups:
                type: array
                items:
                  type: string
                  x-ref: micrositeCustomerGroups
                  description: Refers to micrositeCustomerGroups
                  pattern: ^[0-9a-fA-F]{24}$
              priority:
                type: number
                default: 1
              isHidden:
                type: boolean
                default: false
              menuItems:
                type: array
                items:
                  title: itemOf_menuItems
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    url:
                      type: string
                    htmlTarget:
                      type: string
                    page:
                      type: string
                      x-ref: contentPageMicrosites
                      description: Refers to contentPageMicrosites
                      pattern: ^[0-9a-fA-F]{24}$
                    visibleToGroups:
                      type: array
                      items:
                        type: string
                        x-ref: micrositeCustomerGroups
                        description: Refers to micrositeCustomerGroups
                        pattern: ^[0-9a-fA-F]{24}$
                    priority:
                      type: number
                      default: 1
                    isHidden:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - label
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - label
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - microsite
        - key
        - name
    contentMenusMicrosites_list:
      type: array
      items:
        $ref: '#/components/schemas/contentMenusMicrosites'
    contentMenusMicrosites_pagination:
      title: contentMenusMicrosites pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentMenusMicrosites_list'
    contentPageMicrosites:
      title: contentPageMicrosites
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        url:
          type: string
        name:
          type: string
        template:
          type: string
        title:
          type: string
        isHidden:
          type: boolean
          default: false
        meta:
          type: array
          items:
            title: itemOf_meta
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - value
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        micrositeProduct:
          type: string
          x-ref: micrositeProducts
          description: Refers to micrositeProducts
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
          default: basic
        requireAuth:
          type: boolean
        productTags:
          type: array
          items:
            type: string
        editableRegions:
          type: array
          items:
            title: itemOf_editableRegions
            type: object
            properties:
              key:
                type: string
              content:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - content
        querySort:
          type: array
          items:
            title: itemOf_querySort
            type: object
            properties:
              field:
                type: string
              direction:
                type: number
                default: 1
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - field
              - direction
        subCategorySort:
          type: array
          items:
            title: itemOf_subCategorySort
            type: object
            properties:
              field:
                type: string
              direction:
                type: number
                default: 1
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - field
              - direction
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - microsite
        - url
        - name
        - template
        - title
    contentPageMicrosites_list:
      type: array
      items:
        $ref: '#/components/schemas/contentPageMicrosites'
    contentPageMicrosites_pagination:
      title: contentPageMicrosites pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentPageMicrosites_list'
    contentGlobalMicrosites:
      title: contentGlobalMicrosites
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        title:
          type: string
        editableRegions:
          type: array
          items:
            title: itemOf_editableRegions
            type: object
            properties:
              key:
                type: string
              content:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - content
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - microsite
    contentGlobalMicrosites_list:
      type: array
      items:
        $ref: '#/components/schemas/contentGlobalMicrosites'
    contentGlobalMicrosites_pagination:
      title: contentGlobalMicrosites pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentGlobalMicrosites_list'
    contentMenu:
      title: contentMenu
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        key:
          type: string
        name:
          type: string
        menuItems:
          type: array
          items:
            title: itemOf_menuItems
            type: object
            properties:
              key:
                type: string
              label:
                type: string
              url:
                type: string
              htmlTarget:
                type: string
              page:
                type: string
                x-ref: content_pages
                description: Refers to content_pages
                pattern: ^[0-9a-fA-F]{24}$
              priority:
                type: number
                default: 1
              isHidden:
                type: boolean
                default: false
              menuItems:
                type: array
                items:
                  title: itemOf_menuItems
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    url:
                      type: string
                    htmlTarget:
                      type: string
                    page:
                      type: string
                      x-ref: content_pages
                      description: Refers to content_pages
                      pattern: ^[0-9a-fA-F]{24}$
                    priority:
                      type: number
                      default: 1
                    isHidden:
                      type: boolean
                      default: false
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - label
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - label
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - key
        - name
    contentMenu_list:
      type: array
      items:
        $ref: '#/components/schemas/contentMenu'
    contentMenu_pagination:
      title: contentMenu pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentMenu_list'
    contentPage:
      title: contentPage
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        url:
          type: string
        name:
          type: string
        template:
          type: string
        title:
          type: string
        isHidden:
          type: boolean
          default: false
        meta:
          type: array
          items:
            title: itemOf_meta
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - value
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
          default: basic
        requireAuth:
          type: boolean
        editableRegions:
          type: array
          items:
            title: itemOf_editableRegions
            type: object
            properties:
              key:
                type: string
              content:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - content
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - url
        - name
        - template
        - title
    contentPage_list:
      type: array
      items:
        $ref: '#/components/schemas/contentPage'
    contentPage_pagination:
      title: contentPage pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentPage_list'
    contentGlobal:
      title: contentGlobal
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        title:
          type: string
        editableRegions:
          type: array
          items:
            title: itemOf_editableRegions
            type: object
            properties:
              key:
                type: string
              content:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
              - content
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
    contentGlobal_list:
      type: array
      items:
        $ref: '#/components/schemas/contentGlobal'
    contentGlobal_pagination:
      title: contentGlobal pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentGlobal_list'
    contentHeroStacks:
      title: contentHeroStacks
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        heros:
          type: array
          items:
            title: itemOf_heros
            type: object
            properties:
              name:
                type: string
              description:
                type: string
              startDate:
                type: string
                format: date-time
              expDate:
                type: string
                format: date-time
              altText:
                type: string
              link:
                type: string
              image:
                title: image
                type: object
                properties:
                  url:
                    type: string
                  contentImage:
                    type: string
                    x-ref: Content
                    description: Refers to Content
                    pattern: ^[0-9a-fA-F]{24}$
              priority:
                type: number
                default: 1
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - name
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - key
    contentHeroStacks_list:
      type: array
      items:
        $ref: '#/components/schemas/contentHeroStacks'
    contentHeroStacks_pagination:
      title: contentHeroStacks pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contentHeroStacks_list'
    testimonials:
      title: testimonials
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        customerName:
          type: string
        isPublished:
          type: boolean
          default: false
        text:
          type: string
        rating:
          type: number
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - text
        - rating
    testimonials_list:
      type: array
      items:
        $ref: '#/components/schemas/testimonials'
    testimonials_pagination:
      title: testimonials pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/testimonials_list'
    productMassUpdaterLog:
      title: productMassUpdaterLog
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        user:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        requestUrl:
          type: string
        requestName:
          type: string
        payload:
          type: string
        createdAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - requestUrl
        - requestName
    productMassUpdaterLog_list:
      type: array
      items:
        $ref: '#/components/schemas/productMassUpdaterLog'
    productMassUpdaterLog_pagination:
      title: productMassUpdaterLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productMassUpdaterLog_list'
    uploadLog:
      title: uploadLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        requestThumbnail:
          type: boolean
        isPublic:
          type: boolean
        contentType:
          type: string
        size:
          type: number
        cloudBucket:
          type: string
        cloudPath:
          type: string
        cloudFilename:
          type: string
        originalFilename:
          type: string
        originalFilenameExtension:
          type: string
        fromSignedUrl:
          type: boolean
        isPersisted:
          type: boolean
        processingPipeline:
          title: processingPipeline
          type: object
          properties:
            pipeline:
              type: array
              items:
                title: itemOf_pipeline
                type: object
                properties:
                  action:
                    type: string
                  params: {}
                  status:
                    type: string
                    enum:
                      - pending
                      - success
                      - failure
                    default: pending
                  completedAt:
                    type: string
                    format: date-time
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - action
            status:
              type: string
              enum:
                - pending
                - success
                - failure
              default: pending
            completedAt:
              type: string
              format: date-time
        convertedFrom:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        thumbnails:
          type: array
          items:
            title: itemOf_thumbnails
            type: object
            properties:
              page:
                type: number
              url:
                type: string
              uploadLog:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - url
        classType:
          type: string
          default: legacy
        uploadSessionId:
          type: string
        hashType:
          type: string
        hash:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - size
        - cloudBucket
        - cloudPath
        - cloudFilename
        - originalFilename
        - originalFilenameExtension
    uploadLog_list:
      type: array
      items:
        $ref: '#/components/schemas/uploadLog'
    uploadLog_pagination:
      title: uploadLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/uploadLog_list'
    activityLog:
      title: activityLog
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        module:
          type: string
        action:
          type: string
        user:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        requestUrl:
          type: string
        requestName:
          type: string
        data:
          type: string
        createdAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - module
        - action
    activityLog_list:
      type: array
      items:
        $ref: '#/components/schemas/activityLog'
    activityLog_pagination:
      title: activityLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/activityLog_list'
    authenticationLog:
      title: authenticationLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        strategyType:
          type: string
          enum:
            - jwt
            - local
            - global-local
            - translator-local
            - microsite-local
            - customer-local
        email:
          type: string
        authResult:
          type: boolean
        ip:
          type: string
        httpUserAgent:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - strategyType
        - email
        - authResult
    authenticationLog_list:
      type: array
      items:
        $ref: '#/components/schemas/authenticationLog'
    authenticationLog_pagination:
      title: authenticationLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/authenticationLog_list'
    cartonTypes:
      title: cartonTypes
      type: object
      properties:
        ecmaCode:
          type: string
        name:
          type: string
        surfaceArea:
          type: string
        image3d:
          type: string
        modelOptions:
          title: modelOptions
          type: object
          properties:
            KnifeInfo:
              type: boolean
            GlueZone:
              type: boolean
            Lock:
              type: boolean
            FullFlap:
              type: boolean
            Notch:
              type: boolean
            JuicePack:
              type: boolean
            RoundHole:
              type: boolean
            HangerCrease:
              type: boolean
            ReducedLock:
              type: boolean
            StrongSB:
              type: boolean
            FluteDir:
              type: string
              enum:
                - Vertical
                - Horizontal
            DimensionType:
              type: string
              enum:
                - In
                - Crease
                - Out
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        extraFields:
          type: array
          items:
            title: itemOf_extraFields
            type: object
            properties:
              name:
                type: string
              isNumber:
                type: boolean
                default: true
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - name
              - isNumber
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - ecmaCode
        - name
        - surfaceArea
    cartonTypes_list:
      type: array
      items:
        $ref: '#/components/schemas/cartonTypes'
    cartonTypes_pagination:
      title: cartonTypes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/cartonTypes_list'
    dielineRequest:
      title: dielineRequest
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        cartonType:
          type: string
          x-ref: cartonTypes
          description: Refers to cartonTypes
          pattern: ^[0-9a-fA-F]{24}$
        width:
          type: number
        length:
          type: number
        depth:
          type: number
        extraFields:
          type: array
          items:
            title: itemOf_extraFields
            type: object
            properties:
              name:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - name
              - value
        file:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
        - width
        - length
        - depth
    dielineRequest_list:
      type: array
      items:
        $ref: '#/components/schemas/dielineRequest'
    dielineRequest_pagination:
      title: dielineRequest pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/dielineRequest_list'
    productAttributeLegacy:
      title: productAttributeLegacy
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        entityAttribute:
          type: string
          x-ref: productAttributeTypesLegacy
          description: Refers to productAttributeTypesLegacy
        hrCode:
          type: string
        name:
          type: string
        width:
          type: number
        height:
          type: number
        thickness:
          type: number
        priority:
          type: number
        unitType:
          type: string
          enum:
            - inch
            - cm
            - meter
            - foot
          default: inch
        description:
          type: string
        shortDescription:
          type: string
        productionNotes:
          type: string
        images:
          type: array
          items:
            title: itemOf_images
            type: object
            properties:
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        imagesSecondary:
          type: array
          items:
            title: itemOf_imagesSecondary
            type: object
            properties:
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        color:
          type: string
        hideOnStoreFront:
          type: boolean
          default: false
        isOutOfStockManual:
          type: boolean
          default: false
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        tags:
          type: array
          items:
            type: string
        isDeleted:
          type: boolean
          default: false
        upstreamAttribute:
          type: array
          items:
            title: itemOf_upstreamAttribute
            type: object
            properties:
              associatedAt:
                type: string
                format: date-time
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              attribute:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - tenant
              - attribute
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - entityAttribute
        - hrCode
        - name
    productAttributeLegacy_list:
      type: array
      items:
        $ref: '#/components/schemas/productAttributeLegacy'
    productAttributeLegacy_pagination:
      title: productAttributeLegacy pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productAttributeLegacy_list'
    productCategoryLegacy:
      title: productCategoryLegacy
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        pricingMethod:
          type: string
        name:
          type: string
        internalName:
          type: string
        parentCategory:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        entityAttributes:
          type: array
          items:
            type: string
            x-ref: productAttributeTypesLegacy
            description: Refers to productAttributeTypesLegacy
        hrCode:
          type: string
        images:
          type: array
          items:
            title: itemOf_images
            type: object
            properties:
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        media:
          type: array
          items:
            title: itemOf_media
            type: object
            properties:
              type:
                type: string
                enum:
                  - video
                  - image
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        shortDescription:
          type: string
        shortDescription2:
          type: string
        description:
          type: string
        description2:
          type: string
        description3:
          type: string
        entityAttributePriority:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        tags:
          type: array
          items:
            type: string
        priority:
          type: number
        isOrientationEnabled:
          type: boolean
          default: false
        isDisabled:
          type: boolean
          default: false
        isHidden:
          type: boolean
        upstreamCategory:
          type: array
          items:
            title: itemOf_upstreamCategory
            type: object
            properties:
              associatedAt:
                type: string
                format: date-time
              tenant:
                type: string
                x-ref: tenants
                description: Refers to tenants
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - tenant
              - category
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - pricingMethod
        - name
        - hrCode
    productCategoryLegacy_list:
      type: array
      items:
        $ref: '#/components/schemas/productCategoryLegacy'
    productCategoryLegacy_pagination:
      title: productCategoryLegacy pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productCategoryLegacy_list'
    productAttributeTypesLegacy:
      title: productAttributeTypesLegacy
      type: object
      properties:
        _id:
          type: string
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        hrCode:
          type: string
        name:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - hrCode
        - name
    productAttributeTypesLegacy_list:
      type: array
      items:
        $ref: '#/components/schemas/productAttributeTypesLegacy'
    productAttributeTypesLegacy_pagination:
      title: productAttributeTypesLegacy pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productAttributeTypesLegacy_list'
    priceListsLegacy:
      title: priceListsLegacy
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        description:
          type: string
        defaultPercentage:
          type: number
        isFreeShippingEnabled:
          type: boolean
          default: false
        productOverrides:
          type: array
          items:
            title: itemOf_productOverrides
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              price:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - product
              - price
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - name
        - description
    priceListsLegacy_list:
      type: array
      items:
        $ref: '#/components/schemas/priceListsLegacy'
    priceListsLegacy_pagination:
      title: priceListsLegacy pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/priceListsLegacy_list'
    productAddOnsLegacy:
      title: productAddOnsLegacy
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        addOnId:
          type: string
        setup:
          type: number
          default: 0
        rate:
          type: number
          default: 0
        minimum:
          type: number
          default: 0
        turnaround:
          type: number
          default: 0
        sqFtRate:
          type: number
          default: 0
        quantityPrices:
          type: array
          items:
            title: itemOf_quantityPrices
            type: object
            properties:
              quantity:
                type: number
              price:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - addOnId
    productAddOnsLegacy_list:
      type: array
      items:
        $ref: '#/components/schemas/productAddOnsLegacy'
    productAddOnsLegacy_pagination:
      title: productAddOnsLegacy pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productAddOnsLegacy_list'
    productVariantTypes:
      title: productVariantTypes
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        priority:
          type: number
        valueSortBy:
          type: string
          default: name
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - key
    productVariantTypes_list:
      type: array
      items:
        $ref: '#/components/schemas/productVariantTypes'
    productVariantTypes_pagination:
      title: productVariantTypes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productVariantTypes_list'
    productVariantTypeValues:
      title: productVariantTypeValues
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
          x-ref: productVariantTypes
          description: Refers to productVariantTypes
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        priority:
          type: number
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - type
        - name
        - key
    productVariantTypeValues_list:
      type: array
      items:
        $ref: '#/components/schemas/productVariantTypeValues'
    productVariantTypeValues_pagination:
      title: productVariantTypeValues pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productVariantTypeValues_list'
    productCustomerPricesOverrides:
      title: productCustomerPricesOverrides
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: products
          description: Refers to products
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: categories
          description: Refers to categories
          pattern: ^[0-9a-fA-F]{24}$
        price:
          type: number
        prices:
          type: array
          items:
            title: itemOf_prices
            type: object
            properties:
              unitType:
                type: string
              unitValue:
                type: number
              price:
                type: number
              priceLists: {}
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - unitValue
              - price
        turnaroundTimeStandard:
          type: number
          default: 5
        turnaroundTimeRush:
          type: number
          default: 1
        turnaroundTimeRushIsEnabled:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
        - product
        - category
    productCustomerPricesOverrides_list:
      type: array
      items:
        $ref: '#/components/schemas/productCustomerPricesOverrides'
    productCustomerPricesOverrides_pagination:
      title: productCustomerPricesOverrides pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productCustomerPricesOverrides_list'
    pricesPricelistOverrides:
      title: pricesPricelistOverrides
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        priceList:
          type: string
          x-ref: priceLists
          description: Refers to priceLists
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: products
          description: Refers to products
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: categories
          description: Refers to categories
          pattern: ^[0-9a-fA-F]{24}$
        price:
          type: number
        prices:
          type: array
          items:
            title: itemOf_prices
            type: object
            properties:
              unitType:
                type: string
              unitValue:
                type: number
              price:
                type: number
              priceLists: {}
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - unitValue
              - price
        turnaroundTimeStandard:
          type: number
          default: 5
        turnaroundTimeRush:
          type: number
          default: 1
        turnaroundTimeRushIsEnabled:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - priceList
        - product
        - category
    pricesPricelistOverrides_list:
      type: array
      items:
        $ref: '#/components/schemas/pricesPricelistOverrides'
    pricesPricelistOverrides_pagination:
      title: pricesPricelistOverrides pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/pricesPricelistOverrides_list'
    productMassUpdateLog:
      title: productMassUpdateLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        filter: {}
        values: {}
        productAffected:
          type: array
          items:
            type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - updatedBy
        - updatedByModel
    productMassUpdateLog_list:
      type: array
      items:
        $ref: '#/components/schemas/productMassUpdateLog'
    productMassUpdateLog_pagination:
      title: productMassUpdateLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productMassUpdateLog_list'
    webhookSubscriptions:
      title: webhookSubscriptions
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        url:
          type: string
        name:
          type: string
        description:
          type: string
        status:
          type: string
          enum:
            - active
            - disabled
            - failing
          default: disabled
        events:
          type: array
          items:
            type: string
          minItems: 1
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - url
        - status
    webhookSubscriptions_list:
      type: array
      items:
        $ref: '#/components/schemas/webhookSubscriptions'
    webhookSubscriptions_pagination:
      title: webhookSubscriptions pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/webhookSubscriptions_list'
    dataViews:
      title: dataViews
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        viewType:
          type: string
          enum:
            - list
            - grid
        name:
          type: string
        columns:
          type: array
          items:
            title: itemOf_columns
            type: object
            properties:
              name:
                type: string
              id:
                type: string
              priority:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - name
              - id
              - priority
        filter: {}
        exportFields:
          type: array
          items:
            type: string
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - viewType
        - name
    dataViews_list:
      type: array
      items:
        $ref: '#/components/schemas/dataViews'
    dataViews_pagination:
      title: dataViews pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/dataViews_list'
    oauthState:
      title: oauthState
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        value:
          type: string
        integrationType:
          type: string
        redirectAfter:
          type: string
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - integrationType
        - redirectAfter
    oauthState_list:
      type: array
      items:
        $ref: '#/components/schemas/oauthState'
    oauthState_pagination:
      title: oauthState pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/oauthState_list'
    accountingIntegrationLogs:
      title: accountingIntegrationLogs
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        integrationType:
          type: string
        entityId:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        entityName:
          type: string
        serviceName:
          type: string
        method:
          type: string
        startedAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - pending
            - in-progress
            - complete
            - canceled
            - failed
          default: pending
        errorMessage:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - integrationType
        - entityName
        - serviceName
        - method
        - status
    accountingIntegrationLogs_list:
      type: array
      items:
        $ref: '#/components/schemas/accountingIntegrationLogs'
    accountingIntegrationLogs_pagination:
      title: accountingIntegrationLogs pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/accountingIntegrationLogs_list'
    idServerLog:
      title: idServerLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        requestType:
          type: string
          enum:
            - imposition
            - design-vdp
        renderOutputType:
          type: string
          enum:
            - preview
            - final
        designTemplate:
          type: string
          x-ref: designTemplates
          description: Refers to designTemplates
          pattern: ^[0-9a-fA-F]{24}$
        imposition:
          type: string
          x-ref: productionBatches
          description: Refers to productionBatches
          pattern: ^[0-9a-fA-F]{24}$
        status:
          type: string
          enum:
            - pending
            - queued
            - complete
            - in-progress
            - failure
          default: queued
        resultUrls:
          type: array
          items:
            type: string
        idServerOutput:
          type: string
        errorMessage:
          type: string
        context: {}
        expiresAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - requestType
        - renderOutputType
    idServerLog_list:
      type: array
      items:
        $ref: '#/components/schemas/idServerLog'
    idServerLog_pagination:
      title: idServerLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/idServerLog_list'
    userMessage:
      title: userMessage
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        recipientUser:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        recipientUserModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
            - customers
        recipientUserLabel:
          type: string
        actionBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        actionByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
            - customers
        actionByLabel:
          type: string
        message:
          type: string
        action:
          type: string
        subject:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        subjectModel:
          type: string
          enum:
            - orders
            - rfq
            - purchaseOrder
            - proofsv2
            - reportResults
            - designJob
        subjectLabel:
          type: string
        isRead:
          type: boolean
          default: false
        readAt:
          type: string
          format: date-time
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _metadata:
          type: array
          items:
            title: itemOf__metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - recipientUser
        - recipientUserModel
        - subject
        - subjectModel
    userMessage_list:
      type: array
      items:
        $ref: '#/components/schemas/userMessage'
    userMessage_pagination:
      title: userMessage pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/userMessage_list'
    jobSchedulerJobs:
      title: jobSchedulerJobs
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        customerName:
          type: string
        jobNumber:
          type: string
        customerJobName:
          type: string
        description:
          type: string
        quantity:
          type: number
        size:
          type: string
        stock:
          type: string
        needsPressCheck:
          type: boolean
          default: false
        dueDate:
          type: string
          format: date-time
        workflowTemplate:
          type: string
          x-ref: jobSchedulerWorkflowTemplates
          description: Refers to jobSchedulerWorkflowTemplates
          pattern: ^[0-9a-fA-F]{24}$
        workflowTemplates:
          type: array
          items:
            title: itemOf_workflowTemplates
            type: object
            properties:
              workflowTemplate:
                type: string
                x-ref: jobSchedulerWorkflowTemplates
                description: Refers to jobSchedulerWorkflowTemplates
                pattern: ^[0-9a-fA-F]{24}$
              workflowTemplateType:
                type: string
                x-ref: jobSchedulerWorkflowTemplateTypes
                description: Refers to jobSchedulerWorkflowTemplateTypes
                pattern: ^[0-9a-fA-F]{24}$
              workflowTemplateTypeName:
                type: string
              workflowTemplateName:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - workflowTemplate
        column:
          type: string
          x-ref: jobSchedulerColumns
          description: Refers to jobSchedulerColumns
          pattern: ^[0-9a-fA-F]{24}$
        steps:
          type: array
          items:
            title: itemOf_steps
            type: object
            properties:
              column:
                type: string
                x-ref: jobSchedulerColumns
                description: Refers to jobSchedulerColumns
                pattern: ^[0-9a-fA-F]{24}$
              workflowTemplate:
                type: string
                x-ref: jobSchedulerWorkflowTemplates
                description: Refers to jobSchedulerWorkflowTemplates
                pattern: ^[0-9a-fA-F]{24}$
              workflowTemplateType:
                type: string
                x-ref: jobSchedulerWorkflowTemplateTypes
                description: Refers to jobSchedulerWorkflowTemplateTypes
                pattern: ^[0-9a-fA-F]{24}$
              resourceType:
                type: string
              resource:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              enteredAt:
                type: string
                format: date-time
              exitedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - column
        columnPriority:
          type: number
          default: 0
        isComplete:
          type: boolean
          default: false
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - needsPressCheck
        - isComplete
    jobSchedulerJobs_list:
      type: array
      items:
        $ref: '#/components/schemas/jobSchedulerJobs'
    jobSchedulerJobs_pagination:
      title: jobSchedulerJobs pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/jobSchedulerJobs_list'
    jobSchedulerColumns:
      title: jobSchedulerColumns
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        name:
          type: string
        sortOrder:
          type: number
        isGlobal:
          type: boolean
          default: false
        isFinal:
          type: boolean
          default: false
        orderItemStatus:
          type: string
          x-ref: jobStatuses
          description: Refers to jobStatuses
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
    jobSchedulerColumns_list:
      type: array
      items:
        $ref: '#/components/schemas/jobSchedulerColumns'
    jobSchedulerColumns_pagination:
      title: jobSchedulerColumns pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/jobSchedulerColumns_list'
    jobSchedulerWorkflowTemplates:
      title: jobSchedulerWorkflowTemplates
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        name:
          type: string
        type:
          type: string
          x-ref: jobSchedulerWorkflowTemplateTypes
          description: Refers to jobSchedulerWorkflowTemplateTypes
          pattern: ^[0-9a-fA-F]{24}$
        steps:
          type: array
          items:
            title: itemOf_steps
            type: object
            properties:
              column:
                type: string
                x-ref: jobSchedulerColumns
                description: Refers to jobSchedulerColumns
                pattern: ^[0-9a-fA-F]{24}$
              sortOrder:
                type: number
                default: 100
              resourceType:
                type: string
                enum:
                  - digital-press
                  - offset-press
                  - wide-format-press
                  - router
                  - coater
                  - cutter
                  - die-cutter
                  - folder
                  - gluing
                  - mounting
                  - stitcher
                  - bindery
                  - coiling
                  - collating
                  - laminator
                  - wide-format-cutting
                  - wide-format-laminating
                  - wide-format-plotter
                  - other
              resource:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - column
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - type
    jobSchedulerWorkflowTemplates_list:
      type: array
      items:
        $ref: '#/components/schemas/jobSchedulerWorkflowTemplates'
    jobSchedulerWorkflowTemplates_pagination:
      title: jobSchedulerWorkflowTemplates pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/jobSchedulerWorkflowTemplates_list'
    jobSchedulerViews:
      title: jobSchedulerViews
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        name:
          type: string
        columns:
          type: array
          items:
            type: string
            x-ref: jobSchedulerColumns
            description: Refers to jobSchedulerColumns
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        filter: {}
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
    jobSchedulerViews_list:
      type: array
      items:
        $ref: '#/components/schemas/jobSchedulerViews'
    jobSchedulerViews_pagination:
      title: jobSchedulerViews pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/jobSchedulerViews_list'
    jobSchedulerWorkflowTemplateTypes:
      title: jobSchedulerWorkflowTemplateTypes
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        name:
          type: string
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
    jobSchedulerWorkflowTemplateTypes_list:
      type: array
      items:
        $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes'
    jobSchedulerWorkflowTemplateTypes_pagination:
      title: jobSchedulerWorkflowTemplateTypes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/jobSchedulerWorkflowTemplateTypes_list'
    pickListScannerLog:
      title: pickListScannerLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        scannedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        scannedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              orderItemHumanId:
                type: string
              location:
                type: string
                x-ref: inventoryLocations
                description: Refers to inventoryLocations
                pattern: ^[0-9a-fA-F]{24}$
              locationName:
                type: string
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              productKey:
                type: string
              productDescription:
                type: string
              toBePickedQuantity:
                type: number
              pickedQuantity:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - orderItemHumanId
              - location
              - locationName
              - productKey
              - toBePickedQuantity
              - pickedQuantity
        completed:
          type: boolean
        completedAt:
          type: string
          format: date-time
        notes:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - order
    pickListScannerLog_list:
      type: array
      items:
        $ref: '#/components/schemas/pickListScannerLog'
    pickListScannerLog_pagination:
      title: pickListScannerLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/pickListScannerLog_list'
    links:
      title: links
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        code:
          type: string
        longUrl:
          type: string
        expiresAt:
          type: string
          format: date-time
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - code
        - longUrl
    links_list:
      type: array
      items:
        $ref: '#/components/schemas/links'
    links_pagination:
      title: links pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/links_list'
    designJobPrices:
      title: designJobPrices
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        description:
          type: string
        amount:
          type: number
        hideOnStoreFront:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - amount
    designJobPrices_list:
      type: array
      items:
        $ref: '#/components/schemas/designJobPrices'
    designJobPrices_pagination:
      title: designJobPrices pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/designJobPrices_list'
    batchImports:
      title: batchImports
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        startedAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        requestedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        requestedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        importKey:
          type: string
        importName:
          type: string
        params: {}
        data:
          type: array
          items:
            title: itemOf_data
            type: object
            properties:
              rawRow: {}
              status:
                type: string
                enum:
                  - queued
                  - in-progress
                  - complete
                  - failure
                default: queued
              errorMessages:
                type: string
              startedAt:
                type: string
                format: date-time
              completedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - rawRow
              - status
        numRows:
          type: number
        status:
          type: string
          enum:
            - queued
            - starting
            - in-progress
            - complete
            - complete-with-failures
            - failure
            - canceled
          default: queued
        errorMessages:
          type: string
        gcPubSubTopic:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - requestedBy
        - requestedByModel
        - importKey
        - importName
        - numRows
        - status
    batchImports_list:
      type: array
      items:
        $ref: '#/components/schemas/batchImports'
    batchImports_pagination:
      title: batchImports pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/batchImports_list'
    customSandgCapitalOneCubes:
      title: customSandgCapitalOneCubes
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        patentGrantDate:
          type: string
        patentTitle:
          type: string
        patentNumber:
          type: string
        productSku:
          type: string
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        email:
          type: string
        fulfillmentOrder:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        fulfillmentOrderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        isClaimed:
          type: boolean
          default: false
        fulfillmentType:
          type: string
          enum:
            - cube
            - tree
            - opt-out
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - patentGrantDate
        - patentTitle
        - patentNumber
        - email
    customSandgCapitalOneCubes_list:
      type: array
      items:
        $ref: '#/components/schemas/customSandgCapitalOneCubes'
    customSandgCapitalOneCubes_pagination:
      title: customSandgCapitalOneCubes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customSandgCapitalOneCubes_list'
    portalProductsLegacy:
      title: portalProductsLegacy
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        portal:
          type: string
          x-ref: tenantPortals
          description: Refers to tenantPortals
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        XMPieProducts:
          type: array
          items:
            title: itemOf_XMPieProducts
            type: object
            properties:
              XMPieProductId:
                type: string
              productName:
                type: string
              displayName:
                type: string
              type:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        isPublished:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - portal
        - category
        - product
        - isPublished
    portalProductsLegacy_list:
      type: array
      items:
        $ref: '#/components/schemas/portalProductsLegacy'
    portalProductsLegacy_pagination:
      title: portalProductsLegacy pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/portalProductsLegacy_list'
    productOrderLimitIncrease:
      title: productOrderLimitIncrease
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeCustomer:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        products:
          type: array
          items:
            type: string
            x-ref: ProductLegacy
            description: Refers to ProductLegacy
            pattern: ^[0-9a-fA-F]{24}$
        group:
          type: string
          x-ref: micrositeCustomerGroups
          description: Refers to micrositeCustomerGroups
          pattern: ^[0-9a-fA-F]{24}$
        groupPolicy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        amount:
          type: number
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        notes:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - micrositeCustomer
        - amount
        - startDate
        - endDate
    productOrderLimitIncrease_list:
      type: array
      items:
        $ref: '#/components/schemas/productOrderLimitIncrease'
    productOrderLimitIncrease_pagination:
      title: productOrderLimitIncrease pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productOrderLimitIncrease_list'
    ProductLegacy:
      title: ProductLegacy
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        tags:
          type: array
          items:
            type: string
        key:
          type: string
        vanitySku:
          type: string
        aliasSku:
          type: string
        attributes:
          type: array
          items:
            title: itemOf_attributes
            type: object
            properties:
              attribute:
                type: string
                x-ref: productAttributeTypesLegacy
                description: Refers to productAttributeTypesLegacy
              value:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - attribute
              - value
        micrositeDivision:
          type: string
          x-ref: micrositeDivisions
          description: Refers to micrositeDivisions
          pattern: ^[0-9a-fA-F]{24}$
        attributeSummary:
          type: string
        attributeSummaryId:
          type: string
        cost:
          type: number
        price:
          type: number
        prices:
          type: array
          items:
            title: itemOf_prices
            type: object
            properties:
              unitType:
                type: string
              unitValue:
                type: number
              price:
                type: number
              originalPrice:
                type: number
              cost:
                type: number
              priceLists: {}
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - unitValue
              - price
        additionalPerPiecePrice:
          type: number
        isAdditionalPerPieceEnabled:
          type: boolean
        priceBreaks:
          type: array
          items:
            title: itemOf_priceBreaks
            type: object
            properties:
              quantity:
                type: number
              type:
                type: number
              breakAmount:
                type: number
              price:
                type: number
              cost:
                type: number
              pricePerQuantity:
                type: number
              costPerQuantity:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        priceTiers:
          type: array
          items:
            title: itemOf_priceTiers
            type: object
            properties:
              startQty:
                type: number
              endQty:
                type: number
              price:
                type: number
              cost:
                type: number
              createdAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
        minimumPrice:
          type: number
        priceLists: {}
        isShippable:
          type: boolean
          default: true
        canCombinedShipping:
          type: boolean
          default: true
        weightUnit:
          type: number
        weightBasis:
          type: number
        packageDims:
          title: packageDims
          type: object
          properties:
            width:
              type: number
            height:
              type: number
            length:
              type: number
            units:
              type: string
        unitOfMeasure:
          type: string
        unitOfMeasureConversion:
          type: number
        packagingInstructions:
          type: string
        fulfillmentConversionFactor:
          type: number
        isQualifiedForCompanyPay:
          type: boolean
          default: false
        humanId:
          type: number
        isNameStatic:
          type: boolean
        staticName:
          type: string
        timeMin:
          type: number
        timeMax:
          type: number
        description:
          type: string
        shortDescription:
          type: string
        minimumWidth:
          type: number
          default: 0
        minimumHeight:
          type: number
          default: 0
        minimumLength:
          type: number
          default: 0
        minimumDepth:
          type: number
          default: 0
        maximumWidth:
          type: number
          default: 0
        maximumHeight:
          type: number
          default: 0
        maximumLength:
          type: number
          default: 0
        maximumDepth:
          type: number
          default: 0
        setupPrice:
          type: number
        isRushEnabled:
          type: boolean
          default: false
        isDisabled:
          type: boolean
          default: false
        priority:
          type: number
        leadTimeDays:
          type: number
        vendorDescription:
          type: string
        isHidden:
          type: boolean
          default: false
        isTaxable:
          type: boolean
          default: true
        artworkSlots:
          type: array
          items:
            title: itemOf_artworkSlots
            type: object
            properties:
              sequence:
                type: string
              upload:
                type: string
                x-ref: artworkUpload
                description: Refers to artworkUpload
                pattern: ^[0-9a-fA-F]{24}$
              thumbnailId:
                type: string
              originalFilename:
                type: string
              originalFileExtension:
                type: string
              isUploaded:
                type: boolean
                default: true
              priority:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        addOns:
          type: array
          items:
            title: itemOf_addOns
            type: object
            properties:
              id:
                type: string
              isEnabled:
                type: boolean
                default: true
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - id
        isDesignEnabled:
          type: boolean
          default: false
        designPrice:
          type: number
        vendorIds: {}
        isGraphicDesign:
          type: boolean
          default: false
        isCustomTrimEnabled:
          type: boolean
          default: false
        isCustomerOwned:
          type: boolean
          default: false
        handle:
          type: string
        upc:
          type: string
        upstreamDetails:
          title: upstreamDetails
          type: object
          properties:
            upstreamProducts:
              type: array
              items:
                title: itemOf_upstreamProducts
                type: object
                properties:
                  associatedAt:
                    type: string
                    format: date-time
                  tenant:
                    type: string
                    x-ref: tenants
                    description: Refers to tenants
                    pattern: ^[0-9a-fA-F]{24}$
                  activityLog:
                    type: string
                    x-ref: activityLog
                    description: Refers to activityLog
                    pattern: ^[0-9a-fA-F]{24}$
                  product:
                    type: string
                    x-ref: ProductLegacy
                    description: Refers to ProductLegacy
                    pattern: ^[0-9a-fA-F]{24}$
                  actionType:
                    type: string
                    enum:
                      - new
                      - updated
                      - remove
                    default: new
                  status:
                    type: string
                    enum:
                      - pending
                      - approved
                      - rejected
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - tenant
                  - activityLog
                  - product
            policy:
              type: array
              items:
                title: itemOf_policy
                type: object
                properties:
                  source:
                    type: string
                    x-ref: tenants
                    description: Refers to tenants
                    pattern: ^[0-9a-fA-F]{24}$
                  sourceKey:
                    type: string
                  field:
                    type: string
                  modifier:
                    type: string
                    enum:
                      - markup
                      - margin
                  value: {}
                  valueType:
                    type: string
                    enum:
                      - amount
                      - percentage
                  active:
                    type: boolean
                    default: true
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - source
        inventory:
          type: boolean
          default: false
        inventoryCount:
          type: number
          default: 0
        allocatedCount:
          type: number
          default: 0
        backorderCount:
          type: number
          default: 0
        openPOCount:
          type: number
          default: 0
        inventoryLowThreshold:
          type: number
          default: 0
        inventoryLowEmailNotify:
          title: inventoryLowEmailNotify
          type: object
          properties:
            name:
              type: string
            email:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        inventoryLowEmailNotificationEnabled:
          type: boolean
          default: false
        inventoryPrice:
          type: number
          default: 0
        inventorySyncPriceToInventory:
          type: boolean
          default: false
        linkedStockProducts:
          type: array
          items:
            title: itemOf_linkedStockProducts
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              quantity:
                type: number
                default: 1
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - product
        associatedProducts:
          type: array
          items:
            title: itemOf_associatedProducts
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - product
        hasVariants:
          type: boolean
          default: false
        parent:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        variantValues:
          type: array
          items:
            title: itemOf_variantValues
            type: object
            properties:
              type:
                type: string
                x-ref: productVariantTypes
                description: Refers to productVariantTypes
                pattern: ^[0-9a-fA-F]{24}$
              value:
                type: string
                x-ref: productVariantTypeValues
                description: Refers to productVariantTypeValues
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - value
        artworkVariantValues:
          type: array
          items:
            title: itemOf_artworkVariantValues
            type: object
            properties:
              type:
                type: string
              value:
                type: string
              artwork:
                type: string
              priority:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - value
        versionOf:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        version:
          type: number
          default: 1
        isActiveVersion:
          type: boolean
        isComposite:
          type: boolean
        compositeProducts:
          type: array
          items:
            title: itemOf_compositeProducts
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              quantity:
                type: number
                default: 1
              price:
                type: number
                default: 0
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - product
              - quantity
              - price
        compositeUserCanEnterQuantities:
          type: boolean
          default: false
        syncCompositeProduct:
          type: boolean
        workflowTemplate:
          type: array
          items:
            type: string
            x-ref: jobSchedulerWorkflowTemplates
            description: Refers to jobSchedulerWorkflowTemplates
            pattern: ^[0-9a-fA-F]{24}$
        impositionTemplate:
          type: string
          x-ref: imposition_templates
          description: Refers to imposition_templates
          pattern: ^[0-9a-fA-F]{24}$
        backordersDisabled:
          type: boolean
          default: false
        glCode:
          type: string
        images:
          type: array
          items:
            title: itemOf_images
            type: object
            properties:
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        isOutOfStockManual:
          type: boolean
          default: false
        documents:
          type: array
          items:
            title: itemOf_documents
            type: object
            properties:
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        artwork:
          type: string
        designTemplates:
          type: array
          items:
            type: string
            x-ref: designTemplates
            description: Refers to designTemplates
            pattern: ^[0-9a-fA-F]{24}$
        quantitySettings:
          title: quantitySettings
          type: object
          properties:
            min:
              type: string
            max:
              type: string
            step:
              type: string
            includeOne:
              type: boolean
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        artworkTransporterDestination:
          type: string
        calculateQuantityFromData:
          type: boolean
        rfqNum:
          type: string
        isDigitalCanImmediateCheckout:
          type: boolean
        canOrderDigital:
          type: boolean
        priceDigital:
          type: number
        notes:
          type: array
          items:
            title: itemOf_notes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - user
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        productionChannel:
          type: string
          x-ref: productionChannels
          description: Refers to productionChannels
          pattern: ^[0-9a-fA-F]{24}$
        initialStatus:
          type: string
          x-ref: jobStatuses
          description: Refers to jobStatuses
        triggerOrderApproval:
          type: boolean
          default: false
        pricePerPageEnabled:
          type: boolean
          default: false
        customFieldsSchema:
          type: array
          items:
            title: itemOf_customFieldsSchema
            type: object
            properties:
              type:
                type: string
                enum:
                  - text
                  - select
                  - multi-select
                  - datepicker
                  - checkbox
                  - file
              key:
                type: string
              label:
                type: string
              options:
                type: array
                items:
                  title: itemOf_options
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - value
              isRequired:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - key
              - label
        orderLimitsPerUser:
          title: orderLimitsPerUser
          type: object
          properties:
            value:
              type: number
            period:
              type: string
              enum:
                - day
                - week
                - month
                - quarter
                - year
            enabled:
              type: boolean
              default: false
            isAdminsExcluded:
              type: boolean
              default: false
            excludeFromOrderItemLimit:
              type: boolean
              default: false
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        calculateBasedOnTotalQty:
          type: boolean
        shouldExcludeFromHandlingFees:
          type: boolean
          default: false
        preferredSupplier:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        supplierPo:
          type: string
        customerPo:
          type: string
        costCenter:
          type: string
        glIncomeAccount:
          type: string
          x-ref: generalLedgerAccount
          description: Refers to generalLedgerAccount
          pattern: ^[0-9a-fA-F]{24}$
        glExpenseAccount:
          type: string
          x-ref: generalLedgerAccount
          description: Refers to generalLedgerAccount
          pattern: ^[0-9a-fA-F]{24}$
        startAt:
          type: string
          format: date-time
        expireAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - category
        - hasVariants
    ProductLegacy_list:
      type: array
      items:
        $ref: '#/components/schemas/ProductLegacy'
    ProductLegacy_pagination:
      title: ProductLegacy pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/ProductLegacy_list'
    not-documented_pagination:
      title: not-documented pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/not-documented_list'
    ClientToken:
      title: ClientToken
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        token:
          type: string
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - token
    ClientToken_list:
      type: array
      items:
        $ref: '#/components/schemas/ClientToken'
    ClientToken_pagination:
      title: ClientToken pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/ClientToken_list'
    vendorBillingReconciliations:
      title: vendorBillingReconciliations
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        purchaseOrder:
          type: string
          x-ref: purchaseOrder
          description: Refers to purchaseOrder
          pattern: ^[0-9a-fA-F]{24}$
        purchaseOrderHumanId:
          type: string
        startDate:
          type: string
          format: date-time
        endDate:
          type: string
          format: date-time
        rangeDescription:
          type: string
        sentAt:
          type: string
          format: date-time
        respondedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        respondedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        respondedAt:
          type: string
          format: date-time
        supplierResponse:
          type: string
          enum:
            - pending
            - approved
            - rejected
          default: pending
        status:
          type: string
          enum:
            - awaiting-supplier-response
            - pending-review
            - approved-ready-to-bill
            - billing-complete
          default: awaiting-supplier-response
        billingStatus:
          type: string
          enum:
            - not-sent
            - sent
          default: not-sent
        billingSentAt:
          type: string
          format: date-time
        rejectionReason:
          type: string
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              date:
                type: string
                format: date-time
              description:
                type: string
              type:
                type: string
                enum:
                  - item
                  - shipping-online
                  - shipping-offline
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              orderHumanId:
                type: string
              orderItemHumanId:
                type: string
              orderItemProductKey:
                type: string
              orderItemReference:
                type: string
              supplierPo:
                type: string
              orderItemProduct:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              billingAmount:
                type: number
              hasChangeRequest:
                type: boolean
                default: false
              changeAmount:
                type: number
              changeExplanation:
                type: string
              isDeleted:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - date
              - description
              - amount
        attachments:
          type: array
          items:
            title: itemOf_attachments
            type: object
            properties:
              attachedAt:
                type: string
                format: date-time
              filename:
                type: string
              size:
                type: string
              label:
                type: string
              uploadLog:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              attachedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              attachedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - uploadLog
        privateNotes:
          type: array
          items:
            title: itemOf_privateNotes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - createdBy
              - createdByModel
        isSupplierInvoiceApproved:
          type: boolean
          default: false
        supplierInvoiceApprovedAt:
          type: string
          format: date-time
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - status
    vendorBillingReconciliations_list:
      type: array
      items:
        $ref: '#/components/schemas/vendorBillingReconciliations'
    vendorBillingReconciliations_pagination:
      title: vendorBillingReconciliations pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/vendorBillingReconciliations_list'
    userAllotments:
      title: userAllotments
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        amount:
          type: number
        allotmentPolicy:
          type: string
          x-ref: userAllotmentPolicies
          description: Refers to userAllotmentPolicies
          pattern: ^[0-9a-fA-F]{24}$
        products:
          type: array
          items:
            type: string
            x-ref: ProductLegacy
            description: Refers to ProductLegacy
            pattern: ^[0-9a-fA-F]{24}$
        uses:
          type: array
          items:
            title: itemOf_uses
            type: object
            properties:
              usedAt:
                type: string
                format: date-time
              usedAmount:
                type: number
              usedProduct:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              usedOrder:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        availableAmount:
          type: number
        name:
          type: string
        description:
          type: string
        expiresAt:
          type: string
          format: date-time
        expDays:
          type: number
          default: 0
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - amount
    userAllotments_list:
      type: array
      items:
        $ref: '#/components/schemas/userAllotments'
    userAllotments_pagination:
      title: userAllotments pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/userAllotments_list'
    userAllotmentPolicies:
      title: userAllotmentPolicies
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        products:
          type: array
          items:
            title: itemOf_products
            type: object
            properties:
              products:
                type: array
                items:
                  type: string
                  x-ref: ProductLegacy
                  description: Refers to ProductLegacy
                  pattern: ^[0-9a-fA-F]{24}$
              amount:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - amount
        expDays:
          type: number
          default: 0
        name:
          type: string
        description:
          type: string
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    userAllotmentPolicies_list:
      type: array
      items:
        $ref: '#/components/schemas/userAllotmentPolicies'
    userAllotmentPolicies_pagination:
      title: userAllotmentPolicies pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/userAllotmentPolicies_list'
    userAllotmentIncreaseRequests:
      title: userAllotmentIncreaseRequests
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        cart:
          type: string
          x-ref: carts
          description: Refers to carts
          pattern: ^[0-9a-fA-F]{24}$
        convertedOrder:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        convertedOrderHumanId:
          type: string
        userAllotments:
          type: array
          items:
            type: string
            x-ref: userAllotments
            description: Refers to userAllotments
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        status:
          type: string
          enum:
            - pending
            - approved
            - rejected
          default: pending
        notes:
          type: string
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - micrositeUser
        - cart
        - status
    userAllotmentIncreaseRequests_list:
      type: array
      items:
        $ref: '#/components/schemas/userAllotmentIncreaseRequests'
    userAllotmentIncreaseRequests_pagination:
      title: userAllotmentIncreaseRequests pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/userAllotmentIncreaseRequests_list'
    useCodes:
      title: useCodes
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        lookupRef:
          type: string
        code:
          type: string
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        useAt:
          type: string
          format: date-time
        notes:
          type: string
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - lookupRef
        - code
    useCodes_list:
      type: array
      items:
        $ref: '#/components/schemas/useCodes'
    useCodes_pagination:
      title: useCodes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/useCodes_list'
    supportGrooveHqTickets:
      title: supportGrooveHqTickets
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        assignee:
          type: string
        number:
          type: string
        title:
          type: string
        closedBy:
          type: string
        summary:
          type: string
        tags:
          type: array
          items:
            type: string
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - number
        - summary
    supportGrooveHqTickets_list:
      type: array
      items:
        $ref: '#/components/schemas/supportGrooveHqTickets'
    supportGrooveHqTickets_pagination:
      title: supportGrooveHqTickets pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/supportGrooveHqTickets_list'
    addressBook:
      title: addressBook
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        careOf:
          type: string
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        stateProvince:
          type: string
        postalCode:
          type: string
        countryCode:
          type: string
        phone:
          type: string
        costCenter:
          type: string
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - name
        - address1
        - city
        - stateProvince
        - postalCode
    addressBook_list:
      type: array
      items:
        $ref: '#/components/schemas/addressBook'
    addressBook_pagination:
      title: addressBook pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/addressBook_list'
    promoCodes:
      title: promoCodes
      type: object
      properties:
        tenant:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsite
          description: Refers to microsite
          pattern: ^[0-9a-fA-F]{24}$
        promoCode:
          type: string
        campaign:
          type: string
          x-ref: promoCodeCampaigns
          description: Refers to promoCodeCampaigns
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
          enum:
            - percentage
            - fixed
            - free-shipping
            - fixed-and-free-shipping
            - percentage-and-free-shipping
            - buy-x-get-y
        value:
          type: number
        valueMaxShipping:
          type: number
        appliesTo:
          type: string
          enum:
            - entire-order
            - product-match-conditions
            - specific-products
            - free-shipping-and-discount
        minRequirements:
          type: string
          enum:
            - none
            - min-purchase-amount
            - min-quantity-of-items
        minRequirementValue:
          type: number
        criteria:
          type: array
          items: {}
        products:
          type: array
          items:
            type: string
            x-ref: ProductLegacy
            description: Refers to ProductLegacy
            pattern: ^[0-9a-fA-F]{24}$
        description:
          type: string
        startDate:
          type: string
          format: date-time
        expirationDate:
          type: string
          format: date-time
        singleUse:
          type: boolean
        singleUsePerCustomer:
          type: boolean
        singleUsePerMSCustomer:
          type: boolean
        firstTimeOrdersOnly:
          type: boolean
        customerCreationAgeRestricted:
          type: boolean
        customerCreateAgeDays:
          type: number
        maxCartItems:
          type: number
        deleted:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - promoCode
        - type
        - appliesTo
        - minRequirements
        - description
        - startDate
        - expirationDate
    promoCodes_list:
      type: array
      items:
        $ref: '#/components/schemas/promoCodes'
    promoCodes_pagination:
      title: promoCodes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/promoCodes_list'
    promoCodeCampaigns:
      title: promoCodeCampaigns
      type: object
      properties:
        tenant:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsite
          description: Refers to microsite
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        codePrefix:
          type: string
        deleted:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - name
    promoCodeCampaigns_list:
      type: array
      items:
        $ref: '#/components/schemas/promoCodeCampaigns'
    promoCodeCampaigns_pagination:
      title: promoCodeCampaigns pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/promoCodeCampaigns_list'
    giftCards:
      title: giftCards
      type: object
      properties:
        tenant:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsite
          description: Refers to microsite
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        code:
          type: string
        initialBalance:
          type: number
        balance:
          type: number
        expirationDate:
          type: string
          format: date-time
        giftCardBatch:
          type: string
          x-ref: giftCardBatches
          description: Refers to giftCardBatches
          pattern: ^[0-9a-fA-F]{24}$
        deleted:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - createdBy
        - createdByModel
        - code
        - initialBalance
        - balance
    giftCards_list:
      type: array
      items:
        $ref: '#/components/schemas/giftCards'
    giftCards_pagination:
      title: giftCards pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/giftCards_list'
    giftCardBatches:
      title: giftCardBatches
      type: object
      properties:
        tenant:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsite
          description: Refers to microsite
          pattern: ^[0-9a-fA-F]{24}$
        key:
          type: string
        count:
          type: number
        amount:
          type: number
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        deleted:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - key
        - count
        - amount
        - createdBy
        - createdByModel
    giftCardBatches_list:
      type: array
      items:
        $ref: '#/components/schemas/giftCardBatches'
    giftCardBatches_pagination:
      title: giftCardBatches pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/giftCardBatches_list'
    giftCardTransactions:
      title: giftCardTransactions
      type: object
      properties:
        tenant:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsite
          description: Refers to microsite
          pattern: ^[0-9a-fA-F]{24}$
        giftCard:
          type: string
          x-ref: giftCards
          description: Refers to giftCards
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
          enum:
            - deposit
            - credit
            - debit
        amount:
          type: number
        deleted:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - giftCard
        - type
        - amount
    giftCardTransactions_list:
      type: array
      items:
        $ref: '#/components/schemas/giftCardTransactions'
    giftCardTransactions_pagination:
      title: giftCardTransactions pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/giftCardTransactions_list'
    artworkTransports:
      title: artworkTransports
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        orderItemHumanId:
          type: string
        productionChannel:
          type: string
          x-ref: productionChannels
          description: Refers to productionChannels
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        startedAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        downloadedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        downloadedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        requestedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        requestedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        url:
          type: string
        writeTo:
          type: string
        cacheKey:
          type: string
        status:
          type: string
          enum:
            - pending
            - in-progress
            - complete
            - canceled
            - failed
          default: pending
        errorMessage:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - url
        - writeTo
        - status
    artworkTransports_list:
      type: array
      items:
        $ref: '#/components/schemas/artworkTransports'
    artworkTransports_pagination:
      title: artworkTransports pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/artworkTransports_list'
    connectedClients:
      title: connectedClients
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        fingerprintId:
          type: string
        authedUser:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        authedUserModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        isAuthed:
          type: boolean
          default: false
        isConnected:
          type: boolean
          default: false
        lastAuthedAt:
          type: string
          format: date-time
        lastConnectedAt:
          type: string
          format: date-time
        fingerprintData:
          title: fingerprintData
          type: object
          properties:
            platform:
              type: string
            release:
              type: string
            hostname:
              type: string
            homedir:
              type: string
            totalmem:
              type: string
            cpus:
              type: array
              items:
                type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    connectedClients_list:
      type: array
      items:
        $ref: '#/components/schemas/connectedClients'
    connectedClients_pagination:
      title: connectedClients pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/connectedClients_list'
    lateJobDetectors:
      title: lateJobDetectors
      type: object
      properties:
        tenant:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        name:
          type: string
        criteria: {}
        timeThreshold:
          title: timeThreshold
          type: object
          properties:
            sinceCreated:
              type: number
              default: false
            sinceStatusChange:
              type: number
              default: false
        isEnabled:
          type: boolean
          default: false
        lastRanAt:
          type: string
          format: date-time
        lastRunResult:
          type: string
          enum:
            - pass
            - fail
        failedOrderItems:
          type: array
          items:
            title: itemOf_failedOrderItems
            type: object
            properties:
              orderItem:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              order:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              orderItemHumanId:
                type: string
              orderItemStatusDescription:
                type: string
              sinceHours:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - orderItem
              - order
              - orderItemHumanId
              - orderItemStatusDescription
        deleted:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - createdBy
        - createdByModel
        - name
    lateJobDetectors_list:
      type: array
      items:
        $ref: '#/components/schemas/lateJobDetectors'
    lateJobDetectors_pagination:
      title: lateJobDetectors pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/lateJobDetectors_list'
    customerArtworkLibrary:
      title: customerArtworkLibrary
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        collections:
          type: array
          items:
            type: string
            x-ref: customerArtworkLibraryCollections
            description: Refers to customerArtworkLibraryCollections
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        tags:
          type: array
          items:
            type: string
        artwork:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        artworkFilename:
          type: string
        artworkThumbnails:
          type: array
          items:
            title: itemOf_artworkThumbnails
            type: object
            properties:
              sequence:
                type: string
              url:
                type: string
              uploadLog:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
    customerArtworkLibrary_list:
      type: array
      items:
        $ref: '#/components/schemas/customerArtworkLibrary'
    customerArtworkLibrary_pagination:
      title: customerArtworkLibrary pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customerArtworkLibrary_list'
    customerArtworkLibraryCollections:
      title: customerArtworkLibraryCollections
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
    customerArtworkLibraryCollections_list:
      type: array
      items:
        $ref: '#/components/schemas/customerArtworkLibraryCollections'
    customerArtworkLibraryCollections_pagination:
      title: customerArtworkLibraryCollections pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customerArtworkLibraryCollections_list'
    customerProductLibrary:
      title: customerProductLibrary
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        customerArtwork:
          type: string
          x-ref: customerArtworkLibrary
          description: Refers to customerArtworkLibrary
          pattern: ^[0-9a-fA-F]{24}$
        artwork:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        artworkFilename:
          type: string
        artworkThumbnails:
          type: array
          items:
            title: itemOf_artworkThumbnails
            type: object
            properties:
              sequence:
                type: string
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - sequence
        thumbnail:
          title: thumbnail
          type: object
          properties:
            uploadLog:
              type: string
              x-ref: uploadLog
              description: Refers to uploadLog
              pattern: ^[0-9a-fA-F]{24}$
            url:
              type: string
          required:
            - uploadLog
            - url
        name:
          type: string
        customerSku:
          type: string
        productAttributes:
          type: array
          items:
            title: itemOf_productAttributes
            type: object
            properties:
              attribute:
                type: string
                x-ref: productAttributeTypesLegacy
                description: Refers to productAttributeTypesLegacy
              value:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - attribute
              - value
        collections:
          type: array
          items:
            type: string
            x-ref: customerArtworkLibraryCollections
            description: Refers to customerArtworkLibraryCollections
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        tags:
          type: array
          items:
            type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
        - product
        - category
    customerProductLibrary_list:
      type: array
      items:
        $ref: '#/components/schemas/customerProductLibrary'
    customerProductLibrary_pagination:
      title: customerProductLibrary pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customerProductLibrary_list'
    customerProductLibraryCollections:
      title: customerProductLibraryCollections
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
    customerProductLibraryCollections_list:
      type: array
      items:
        $ref: '#/components/schemas/customerProductLibraryCollections'
    customerProductLibraryCollections_pagination:
      title: customerProductLibraryCollections pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customerProductLibraryCollections_list'
    pickupLocations:
      title: pickupLocations
      type: object
      properties:
        business:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        stateProvince:
          type: string
        postalCode:
          type: string
        isDeleted:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - name
        - address1
        - city
        - stateProvince
        - postalCode
    pickupLocations_list:
      type: array
      items:
        $ref: '#/components/schemas/pickupLocations'
    pickupLocations_pagination:
      title: pickupLocations pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/pickupLocations_list'
    salesPeople:
      title: salesPeople
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        firstName:
          type: string
        lastName:
          type: string
        commissionPercentage:
          type: number
        email:
          type: string
        phone:
          type: string
        isManager:
          type: boolean
          default: false
        manager:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        companyName:
          type: string
        user:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        defaultAddress:
          type: string
          x-ref: addressBook
          description: Refers to addressBook
          pattern: ^[0-9a-fA-F]{24}$
        isDeleted:
          type: boolean
          default: false
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - firstName
        - lastName
    salesPeople_list:
      type: array
      items:
        $ref: '#/components/schemas/salesPeople'
    salesPeople_pagination:
      title: salesPeople pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/salesPeople_list'
    shippingOriginations:
      title: shippingOriginations
      type: object
      properties:
        business:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        stateProvince:
          type: string
        postalCode:
          type: string
        countryCode:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - name
        - address1
        - city
        - stateProvince
        - postalCode
    shippingOriginations_list:
      type: array
      items:
        $ref: '#/components/schemas/shippingOriginations'
    shippingOriginations_pagination:
      title: shippingOriginations pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/shippingOriginations_list'
    uploads:
      title: uploads
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        printJob:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        multiPageThumbnails:
          type: string
        sequence:
          type: string
        originalFilename:
          type: string
        originalFileExtension:
          type: string
        originalFileSize:
          type: string
        uploadSessionId:
          type: string
        sha1:
          type: string
        isArchived:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - customer
        - order
        - printJob
    uploads_list:
      type: array
      items:
        $ref: '#/components/schemas/uploads'
    uploads_pagination:
      title: uploads pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/uploads_list'
    uploadsGeneral:
      title: uploadsGeneral
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        type:
          type: string
        multiPageThumbnails:
          type: string
        container:
          type: string
        uuid:
          type: string
        filename:
          type: string
        originalFilename:
          type: string
        extension:
          type: string
        size:
          type: string
        hashType:
          type: string
        hash:
          type: string
        status:
          type: string
        uploadSessionId:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - container
        - filename
        - originalFilename
        - size
        - hashType
        - hash
        - status
    uploadsGeneral_list:
      type: array
      items:
        $ref: '#/components/schemas/uploadsGeneral'
    uploadsGeneral_pagination:
      title: uploadsGeneral pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/uploadsGeneral_list'
    userRoles:
      title: userRoles
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        description:
          type: string
        permissions:
          type: array
          items:
            title: itemOf_permissions
            type: object
            properties:
              action:
                type: array
                items:
                  type: string
              resource:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - resource
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
    userRoles_list:
      type: array
      items:
        $ref: '#/components/schemas/userRoles'
    userRoles_pagination:
      title: userRoles pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/userRoles_list'
    artworkUpload:
      title: artworkUpload
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        printJob:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        multiPageThumbnails:
          type: string
        sequence:
          type: string
        originalFilename:
          type: string
        originalFileExtension:
          type: string
        originalFileSize:
          type: string
        uploadSessionId:
          type: string
        sha1:
          type: string
        isArchived:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - customer
        - order
        - printJob
    artworkUpload_list:
      type: array
      items:
        $ref: '#/components/schemas/artworkUpload'
    artworkUpload_pagination:
      title: artworkUpload pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/artworkUpload_list'
    designTemplateFieldset:
      title: designTemplateFieldset
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        fields:
          type: array
          items:
            title: itemOf_fields
            type: object
            properties:
              label:
                type: string
              key:
                type: string
              description:
                type: string
              placeholder:
                type: string
              validators:
                type: array
                items:
                  type: string
                minItems: 1
              formatter:
                type: string
              maskedInputMask:
                type: array
                items:
                  type: string
              type:
                type: string
                enum:
                  - text
                  - textarea
                  - select
                  - multi-select
                  - hidden
                  - list
                  - image
                  - qrcode
                  - masked-input
                  - dynamic-date
              data:
                type: array
                items: {}
              defaultValue:
                type: string
              selectAllowOther:
                type: boolean
              multiSelectSeperator:
                type: string
                default: ''
              maxChars:
                type: number
              isReadOnly:
                type: boolean
              dynamicDateFormat:
                type: string
              dynamicDateOffsetDays:
                type: number
              clearIfFieldIsEmpty:
                type: string
              concat:
                title: concat
                type: object
                properties:
                  prepend:
                    title: prepend
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        default: false
                      type:
                        type: string
                        enum:
                          - static
                          - select
                      value:
                        type: string
                      selectOptions:
                        type: array
                        items:
                          title: itemOf_selectOptions
                          type: object
                          properties:
                            value:
                              type: string
                            label:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                  append:
                    title: append
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        default: false
                      type:
                        type: string
                        enum:
                          - static
                          - select
                      value:
                        type: string
                      selectOptions:
                        type: array
                        items:
                          title: itemOf_selectOptions
                          type: object
                          properties:
                            value:
                              type: string
                            label:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
              imageOptions:
                title: imageOptions
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
              typeFitting:
                type: array
                items:
                  title: itemOf_typeFitting
                  type: object
                  properties:
                    action:
                      type: string
                      enum:
                        - font-size
                        - tracking
                    amount:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - action
                    - amount
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - label
              - key
              - type
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - key
    designTemplateFieldset_list:
      type: array
      items:
        $ref: '#/components/schemas/designTemplateFieldset'
    designTemplateFieldset_pagination:
      title: designTemplateFieldset pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/designTemplateFieldset_list'
    designTemplates:
      title: designTemplates
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        description:
          type: string
        key:
          type: string
        pages:
          type: number
          default: 1
        ext:
          type: string
          enum:
            - indd
            - idml
        isSpotUv:
          type: boolean
        packageContents:
          type: array
          items:
            title: itemOf_packageContents
            type: object
            properties:
              file:
                type: string
              size:
                type: number
              mimeType:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - file
              - size
              - mimeType
        templateUpload:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        thumbnails:
          type: array
          items:
            title: itemOf_thumbnails
            type: object
            properties:
              sequence:
                type: string
              url:
                type: string
              contentImage:
                type: string
                x-ref: Content
                description: Refers to Content
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - sequence
        fields:
          type: array
          items:
            title: itemOf_fields
            type: object
            properties:
              label:
                type: string
              key:
                type: string
              description:
                type: string
              placeholder:
                type: string
              validators:
                type: array
                items:
                  type: string
                minItems: 1
              formatter:
                type: string
              maskedInputMask:
                type: array
                items:
                  type: string
              type:
                type: string
                enum:
                  - text
                  - textarea
                  - select
                  - multi-select
                  - hidden
                  - list
                  - image
                  - qrcode
                  - masked-input
                  - dynamic-date
              data:
                type: array
                items: {}
              defaultValue:
                type: string
              selectAllowOther:
                type: boolean
              multiSelectSeperator:
                type: string
                default: ''
              maxChars:
                type: number
              isReadOnly:
                type: boolean
              dynamicDateFormat:
                type: string
              dynamicDateOffsetDays:
                type: number
              clearIfFieldIsEmpty:
                type: string
              concat:
                title: concat
                type: object
                properties:
                  prepend:
                    title: prepend
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        default: false
                      type:
                        type: string
                        enum:
                          - static
                          - select
                      value:
                        type: string
                      selectOptions:
                        type: array
                        items:
                          title: itemOf_selectOptions
                          type: object
                          properties:
                            value:
                              type: string
                            label:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
                  append:
                    title: append
                    type: object
                    properties:
                      enabled:
                        type: boolean
                        default: false
                      type:
                        type: string
                        enum:
                          - static
                          - select
                      value:
                        type: string
                      selectOptions:
                        type: array
                        items:
                          title: itemOf_selectOptions
                          type: object
                          properties:
                            value:
                              type: string
                            label:
                              type: string
                            _id:
                              type: string
                              pattern: ^[0-9a-fA-F]{24}$
                            createdAt:
                              type: string
                              format: date-time
                            updatedAt:
                              type: string
                              format: date-time
              imageOptions:
                title: imageOptions
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
              typeFitting:
                type: array
                items:
                  title: itemOf_typeFitting
                  type: object
                  properties:
                    action:
                      type: string
                      enum:
                        - font-size
                        - tracking
                    amount:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - action
                    - amount
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - label
              - key
              - type
        fieldset:
          type: string
          x-ref: designTemplateFieldset
          description: Refers to designTemplateFieldset
          pattern: ^[0-9a-fA-F]{24}$
        carryFieldToRef:
          type: string
        tags:
          type: array
          items:
            type: string
        previews:
          type: array
          items:
            type: string
            x-ref: uploadLog
            description: Refers to uploadLog
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        finalSettings:
          title: finalSettings
          type: object
          properties:
            enableCropMarks:
              type: boolean
              default: false
        priority:
          type: number
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    designTemplates_list:
      type: array
      items:
        $ref: '#/components/schemas/designTemplates'
    designTemplates_pagination:
      title: designTemplates pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/designTemplates_list'
    designJobs:
      title: designJobs
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        assignedDesigner:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        revision:
          type: number
          default: false
        status:
          type: string
          enum:
            - awaiting-initial-reqs
            - reviewing-reqs
            - in-design
            - pending-customer-approval
            - customer-reviewing
            - complete
            - void
        statusLog:
          type: array
          items:
            title: itemOf_statusLog
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              from:
                type: string
                default: false
              to:
                type: string
                default: true
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
        notes:
          type: array
          items:
            title: itemOf_notes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              sender:
                type: string
                enum:
                  - customer
                  - designer
                  - system
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              sentBy:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              sentByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              isRevision:
                type: boolean
                default: false
              content:
                type: string
                default: ''
              isPrivate:
                type: boolean
                default: false
              revisionOrdinal:
                type: number
                default: false
              attachments:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              timeSpent:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
            required:
              - sender
        currentRevision:
          type: number
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
        - order
        - status
    designJobs_list:
      type: array
      items:
        $ref: '#/components/schemas/designJobs'
    designJobs_pagination:
      title: designJobs pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/designJobs_list'
    reportResults:
      title: reportResults
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        startedAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        requestedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        requestedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        query: {}
        exportFields:
          type: array
          items:
            type: string
        reportKey:
          type: string
        reportName:
          type: string
        fileOptions:
          title: fileOptions
          type: object
          properties:
            separator:
              type: string
              default: ','
        status:
          type: string
          enum:
            - queued
            - starting
            - in-progress
            - complete
            - failure
            - canceled
          default: queued
        resultUrl:
          type: string
        gcPubSubTopic:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - requestedBy
        - requestedByModel
        - reportKey
        - reportName
        - status
    reportResults_list:
      type: array
      items:
        $ref: '#/components/schemas/reportResults'
    reportResults_pagination:
      title: reportResults pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/reportResults_list'
    customReports:
      title: customReports
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        queryFields:
          type: array
          items:
            title: itemOf_queryFields
            type: object
            properties:
              type:
                type: string
                enum:
                  - text
                  - select
                  - multi-select
                  - datepicker
              key:
                type: string
              label:
                type: string
              options:
                type: array
                items:
                  title: itemOf_options
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - value
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - key
              - label
        reportKey:
          type: string
        reportName:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - reportKey
        - reportName
    customReports_list:
      type: array
      items:
        $ref: '#/components/schemas/customReports'
    customReports_pagination:
      title: customReports pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/customReports_list'
    emailParseLog:
      title: emailParseLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        inboundEmail:
          type: string
        from:
          type: string
        to:
          type: array
          items:
            type: string
          minItems: 1
        subject:
          type: string
        result:
          type: string
          enum:
            - skipped
            - failed
            - success
            - pending
            - need-review
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        payload: {}
        extractedContext: {}
        html:
          type: string
        errorMessage:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - microsite
        - inboundEmail
        - from
        - subject
        - result
    emailParseLog_list:
      type: array
      items:
        $ref: '#/components/schemas/emailParseLog'
    emailParseLog_pagination:
      title: emailParseLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/emailParseLog_list'
    taxExemptionReview:
      title: taxExemptionReview
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeCustomer:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        status:
          type: string
          enum:
            - pending
            - approved
            - rejected
          default: pending
        resellerPermitNumber:
          type: string
        resellerPermitUpload:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        signedAgreementUpload:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        stateProvince:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    taxExemptionReview_list:
      type: array
      items:
        $ref: '#/components/schemas/taxExemptionReview'
    taxExemptionReview_pagination:
      title: taxExemptionReview pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/taxExemptionReview_list'
    notificationTemplates:
      title: notificationTemplates
      type: object
      properties:
        key:
          type: string
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        template:
          type: string
        subject:
          type: string
        type:
          type: string
          enum:
            - customer
            - tenant
            - translator
            - salesPerson
            - micrositeUser
        isMjml:
          type: boolean
          default: false
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - key
        - tenant
        - template
        - type
    notificationTemplates_list:
      type: array
      items:
        $ref: '#/components/schemas/notificationTemplates'
    notificationTemplates_pagination:
      title: notificationTemplates pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/notificationTemplates_list'
    notificationLog:
      title: notificationLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        from:
          title: from
          type: object
          properties:
            name:
              type: string
            email:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - email
        notificationType:
          type: string
        subject:
          type: string
        to:
          type: array
          items:
            title: itemOf_to
            type: object
            properties:
              name:
                type: string
              email:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - email
        cc:
          type: array
          items:
            title: itemOf_cc
            type: object
            properties:
              name:
                type: string
              email:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - email
        bcc:
          type: array
          items:
            title: itemOf_bcc
            type: object
            properties:
              name:
                type: string
              email:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - email
        isTestEmail:
          type: boolean
          default: false
        content:
          type: string
        context: {}
        expiresAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - notificationType
        - subject
        - content
    notificationLog_list:
      type: array
      items:
        $ref: '#/components/schemas/notificationLog'
    notificationLog_pagination:
      title: notificationLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/notificationLog_list'
    easypostShipment:
      title: easypostShipment
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        orderReference:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        order:
          type: string
        easypostShipmentId:
          type: string
        carrier:
          type: string
        service:
          type: string
        amount:
          type: string
        void:
          type: boolean
        isTest:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - order
        - easypostShipmentId
        - carrier
        - service
        - amount
    easypostShipment_list:
      type: array
      items:
        $ref: '#/components/schemas/easypostShipment'
    easypostShipment_pagination:
      title: easypostShipment pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/easypostShipment_list'
    easypostCarrierAccounts:
      title: easypostCarrierAccounts
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        cacheTimestamp:
          type: string
          format: date-time
        name:
          type: string
        description:
          type: string
        key:
          type: string
        easypostObject: {}
        deleted:
          type: boolean
          default: false
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - cacheTimestamp
        - name
        - key
        - easypostObject
    easypostCarrierAccounts_list:
      type: array
      items:
        $ref: '#/components/schemas/easypostCarrierAccounts'
    easypostCarrierAccounts_pagination:
      title: easypostCarrierAccounts pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/easypostCarrierAccounts_list'
    shippingHoldingShelf:
      title: shippingHoldingShelf
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              orderItemId:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - orderItemId
        expectedTotalItems:
          type: number
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - business
    shippingHoldingShelf_list:
      type: array
      items:
        $ref: '#/components/schemas/shippingHoldingShelf'
    shippingHoldingShelf_pagination:
      title: shippingHoldingShelf pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/shippingHoldingShelf_list'
    cartSavedItems:
      title: cartSavedItems
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        product:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        category:
          type: string
          x-ref: productCategoryLegacy
          description: Refers to productCategoryLegacy
          pattern: ^[0-9a-fA-F]{24}$
        attributes:
          type: array
          items:
            title: itemOf_attributes
            type: object
            properties:
              attributeId:
                type: string
                x-ref: productAttributeLegacy
                description: Refers to productAttributeLegacy
                pattern: ^[0-9a-fA-F]{24}$
              name:
                type: string
              key:
                type: string
              type:
                type: string
                x-ref: productAttributeTypesLegacy
                description: Refers to productAttributeTypesLegacy
              typeName:
                type: string
              typeKey:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - attributeId
              - type
        customerReferenceName:
          type: string
        fromCompositeProduct:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        fromCompositeQuantity:
          type:
            - number
            - 'null'
          default: null
        isCustom:
          type: boolean
          default: false
        isCustomTrim:
          type: boolean
          default: false
        customTrimWidth:
          type:
            - number
            - 'null'
          default: null
        customTrimHeight:
          type:
            - number
            - 'null'
          default: null
        description:
          type: string
        price:
          type: number
        priceOverride:
          type: boolean
        tax:
          type: number
        priceWithTax:
          type: number
        designPrice:
          type: number
        quantity:
          type: number
        width:
          type:
            - number
            - 'null'
          default: null
        height:
          type:
            - number
            - 'null'
          default: null
        weight:
          type:
            - number
            - 'null'
          default: null
        length:
          type: number
        depth:
          type: number
        packageDims:
          title: packageDims
          type: object
          properties:
            width:
              type: number
            height:
              type: number
            length:
              type: number
            units:
              type: string
        unitType:
          type: string
          enum:
            - inch
            - cm
            - meter
            - foot
          default: inch
        cartonType:
          type: string
          x-ref: cartonTypes
          description: Refers to cartonTypes
          pattern: ^[0-9a-fA-F]{24}$
        cartonTypeName:
          type: string
        timeMin:
          type: number
        timeMax:
          type: number
        orientation:
          type: string
          enum:
            - landscape
            - portrait
        isShippable:
          type: boolean
          default: true
        wantDesign:
          type: boolean
          default: false
        turnaroundServiceType:
          type:
            - number
            - 'null'
          default: null
        turnaround:
          type: string
        pricingMethod:
          type: number
        addOns:
          type: array
          items:
            title: itemOf_addOns
            type: object
            properties:
              addOnId:
                type: string
              primaryData:
                type: string
              secondaryData:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - addOnId
        addOnTotal:
          type: number
        staticName:
          type: string
        isPriority:
          type: boolean
          default: false
        images:
          type: array
          items:
            title: itemOf_images
            type: object
            properties:
              url:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        designTemplate:
          type: string
          x-ref: designTemplates
          description: Refers to designTemplates
          pattern: ^[0-9a-fA-F]{24}$
        designTemplateSecondary:
          type: string
          x-ref: designTemplates
          description: Refers to designTemplates
          pattern: ^[0-9a-fA-F]{24}$
        designTemplateFields:
          type: array
          items:
            title: itemOf_designTemplateFields
            type: object
            properties:
              key:
                type: string
              label:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        designTemplateFieldset:
          type: string
          x-ref: designTemplateFieldset
          description: Refers to designTemplateFieldset
          pattern: ^[0-9a-fA-F]{24}$
        renderToken:
          type: string
        artworkVariantValues:
          type: array
          items:
            title: itemOf_artworkVariantValues
            type: object
            properties:
              type:
                type: string
              value:
                type: string
              artwork:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - value
        artwork:
          type: string
        uploadSlots:
          type: array
          items:
            title: itemOf_uploadSlots
            type: object
            properties:
              sequence:
                type: string
              url:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - sequence
        customFields:
          type: array
          items:
            title: itemOf_customFields
            type: object
            properties:
              type:
                type: string
                enum:
                  - text
                  - select
                  - multi-select
                  - datepicker
                  - checkbox
                  - file
              key:
                type: string
              label:
                type: string
              options:
                type: array
                items:
                  title: itemOf_options
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
                    - value
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - key
              - label
        isDigitalDelivery:
          type: boolean
          default: false
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        miscUploads:
          type: array
          items:
            type: string
            x-ref: uploadLog
            description: Refers to uploadLog
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        initialStatus:
          type: string
          x-ref: jobStatuses
          description: Refers to jobStatuses
        triggerOrderApproval:
          type: boolean
        discount:
          type: number
        compositeVariants: {}
        productionChannel:
          type: string
          x-ref: productionChannels
          description: Refers to productionChannels
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        dueDate:
          type: string
          format: date-time
        poHumanId:
          type: string
        projectCode:
          type: string
        compositeSelectedQuantities:
          type: array
          items:
            title: itemOf_compositeSelectedQuantities
            type: object
            properties:
              id:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              quantity:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - quantity
        compositeSelectedProducts:
          type: array
          items:
            title: itemOf_compositeSelectedProducts
            type: object
            properties:
              id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        compositeDesignTemplates:
          type: array
          items:
            title: itemOf_compositeDesignTemplates
            type: object
            properties:
              id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              designTemplate:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              designTemplateFields:
                type: array
                items:
                  title: itemOf_designTemplateFields
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        designJobInitialNoteContent:
          type: string
        designJobInitialNoteAttachments:
          type: array
          items:
            type: string
            x-ref: uploadLog
            description: Refers to uploadLog
            pattern: ^[0-9a-fA-F]{24}$
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - price
        - quantity
    cartSavedItems_list:
      type: array
      items:
        $ref: '#/components/schemas/cartSavedItems'
    cartSavedItems_pagination:
      title: cartSavedItems pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/cartSavedItems_list'
    carts:
      title: carts
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        salesPerson:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attributeId:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    name:
                      type: string
                    key:
                      type: string
                    type:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    typeName:
                      type: string
                    typeKey:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - attributeId
                    - type
              customerReferenceName:
                type: string
              fromCompositeProduct:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              fromCompositeQuantity:
                type:
                  - number
                  - 'null'
                default: null
              isCustom:
                type: boolean
                default: false
              isCustomTrim:
                type: boolean
                default: false
              customTrimWidth:
                type:
                  - number
                  - 'null'
                default: null
              customTrimHeight:
                type:
                  - number
                  - 'null'
                default: null
              description:
                type: string
              price:
                type: number
              priceOverride:
                type: boolean
              tax:
                type: number
              priceWithTax:
                type: number
              designPrice:
                type: number
              quantity:
                type: number
              width:
                type:
                  - number
                  - 'null'
                default: null
              height:
                type:
                  - number
                  - 'null'
                default: null
              weight:
                type:
                  - number
                  - 'null'
                default: null
              length:
                type: number
              depth:
                type: number
              packageDims:
                title: packageDims
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  units:
                    type: string
              unitType:
                type: string
                enum:
                  - inch
                  - cm
                  - meter
                  - foot
                default: inch
              cartonType:
                type: string
                x-ref: cartonTypes
                description: Refers to cartonTypes
                pattern: ^[0-9a-fA-F]{24}$
              cartonTypeName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              orientation:
                type: string
                enum:
                  - landscape
                  - portrait
              isShippable:
                type: boolean
                default: true
              wantDesign:
                type: boolean
                default: false
              turnaroundServiceType:
                type:
                  - number
                  - 'null'
                default: null
              turnaround:
                type: string
              pricingMethod:
                type: number
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    addOnId:
                      type: string
                    primaryData:
                      type: string
                    secondaryData:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - addOnId
              addOnTotal:
                type: number
              staticName:
                type: string
              isPriority:
                type: boolean
                default: false
              images:
                type: array
                items:
                  title: itemOf_images
                  type: object
                  properties:
                    url:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              designTemplate:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              designTemplateSecondary:
                type: string
                x-ref: designTemplates
                description: Refers to designTemplates
                pattern: ^[0-9a-fA-F]{24}$
              designTemplateFields:
                type: array
                items:
                  title: itemOf_designTemplateFields
                  type: object
                  properties:
                    key:
                      type: string
                    label:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              designTemplateFieldset:
                type: string
                x-ref: designTemplateFieldset
                description: Refers to designTemplateFieldset
                pattern: ^[0-9a-fA-F]{24}$
              renderToken:
                type: string
              artworkVariantValues:
                type: array
                items:
                  title: itemOf_artworkVariantValues
                  type: object
                  properties:
                    type:
                      type: string
                    value:
                      type: string
                    artwork:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - value
              artwork:
                type: string
              uploadSlots:
                type: array
                items:
                  title: itemOf_uploadSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    url:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              customFields:
                type: array
                items:
                  title: itemOf_customFields
                  type: object
                  properties:
                    type:
                      type: string
                      enum:
                        - text
                        - select
                        - multi-select
                        - datepicker
                        - checkbox
                        - file
                    key:
                      type: string
                    label:
                      type: string
                    options:
                      type: array
                      items:
                        title: itemOf_options
                        type: object
                        properties:
                          key:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - key
                          - value
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
                    - key
                    - label
              isDigitalDelivery:
                type: boolean
                default: false
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              miscUploads:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              triggerOrderApproval:
                type: boolean
              discount:
                type: number
              compositeVariants: {}
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              dueDate:
                type: string
                format: date-time
              poHumanId:
                type: string
              projectCode:
                type: string
              compositeSelectedQuantities:
                type: array
                items:
                  title: itemOf_compositeSelectedQuantities
                  type: object
                  properties:
                    id:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    quantity:
                      type: number
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - quantity
              compositeSelectedProducts:
                type: array
                items:
                  title: itemOf_compositeSelectedProducts
                  type: object
                  properties:
                    id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              compositeDesignTemplates:
                type: array
                items:
                  title: itemOf_compositeDesignTemplates
                  type: object
                  properties:
                    id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    designTemplate:
                      type: string
                      x-ref: designTemplates
                      description: Refers to designTemplates
                      pattern: ^[0-9a-fA-F]{24}$
                    designTemplateFields:
                      type: array
                      items:
                        title: itemOf_designTemplateFields
                        type: object
                        properties:
                          key:
                            type: string
                          label:
                            type: string
                          value:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              designJobInitialNoteContent:
                type: string
              designJobInitialNoteAttachments:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - price
              - quantity
        subtotal:
          type: number
          default: 0
        airCargoAmount:
          type: number
        shipping:
          type: number
          default: 0
        shippingDiscount:
          type: number
          default: 0
        salesTax:
          type: number
          default: 0
        taxExShipping:
          type: number
          default: 0
        discount:
          type: number
          default: 0
        total:
          type: number
          default: 0
        isTaxCalcDisabled:
          type: boolean
          default: false
        isOrderApprovalRequired:
          type: boolean
          default: false
        shipTo:
          title: shipTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            phone:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        billTo:
          title: billTo
          type: object
          properties:
            companyName:
              type: string
            name:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            phoneNumber:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        blindShipFrom:
          title: blindShipFrom
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            phone:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        availableShippingMethods:
          type: array
          items: {}
        shipOutAddressInputMethod:
          type: string
          enum:
            - open
            - address-book
            - read-only
          default: open
        isCartAddressBookEnabled:
          type: boolean
          default: false
        isUseRecentAddressEnabled:
          type: boolean
          default: false
        isCostCenterInputEnabled:
          type: boolean
          default: false
        isPOInputEnabled:
          type: boolean
          default: false
        shipFromControl:
          type: boolean
          default: false
        showShippingRates:
          type: boolean
          default: true
        availableShippingRates:
          type: array
          items:
            title: itemOf_availableShippingRates
            type: object
            properties:
              carrierKey:
                type: string
              carrier:
                type: string
              serviceKey:
                type: string
              description:
                type: string
              amount:
                type: number
              deliveryDays:
                type: number
              deliveryDate:
                type: string
                format: date-time
              deliveryDateGuaranteed:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - carrierKey
              - carrier
              - amount
        staticShippingRates:
          type: array
          items:
            title: itemOf_staticShippingRates
            type: object
            properties:
              carrierKey:
                type: string
              carrier:
                type: string
              serviceKey:
                type: string
              description:
                type: string
              amount:
                type: number
              deliveryDays:
                type: number
              deliveryDate:
                type: string
                format: date-time
              deliveryDateGuaranteed:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - carrierKey
              - carrier
              - amount
        selectedShippingMethod:
          type: string
        selectedShippingService:
          type: string
        selectedShippingRate:
          type: string
        selectedAirportCode:
          type: string
        selectedPickupLocation:
          type: string
          x-ref: pickupLocations
          description: Refers to pickupLocations
          pattern: ^[0-9a-fA-F]{24}$
        appliedPromo:
          type: string
          x-ref: promoCodes
          description: Refers to promoCodes
          pattern: ^[0-9a-fA-F]{24}$
        appliedPromoCode:
          type: string
        appliedPromoCodeDescription:
          type: string
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        invoice:
          type: string
          x-ref: invoices
          description: Refers to invoices
          pattern: ^[0-9a-fA-F]{24}$
        convertedToOrder:
          type: boolean
          default: false
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        costCenter:
          type: string
        channel:
          type: string
          enum:
            - store-front
            - dashboard
            - api
            - custom-quote
        po:
          type: string
        foreignId:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        orderRef:
          type: string
        miscInfo:
          type: string
        arriveBy:
          type: string
        notification:
          type: array
          items:
            title: itemOf_notification
            type: object
            properties:
              recipientName:
                type: string
              recipientAccount:
                type: string
              notificationType:
                type: string
                enum:
                  - order-confirmation
                  - order-shipped
              deliveryStrategy:
                type: string
                enum:
                  - email
                  - sms
                  - slack
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - recipientName
              - recipientAccount
              - notificationType
              - deliveryStrategy
        shipmentPayment:
          title: shipmentPayment
          type: object
          properties:
            type:
              type: string
              enum:
                - SENDER
                - THIRD_PARTY
                - RECEIVER
                - COLLECT
              default: SENDER
            account:
              type: string
            countryCode:
              type: string
            postalCode:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        easypostCarrierAccounts:
          type: array
          items:
            type: string
            x-ref: easypostCarrierAccounts
            description: Refers to easypostCarrierAccounts
        additionalRecipients:
          type: array
          items:
            title: itemOf_additionalRecipients
            type: object
            properties:
              email:
                type: string
              name:
                type: string
              type:
                type: string
                enum:
                  - to
                  - cc
                  - bcc
                default: to
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - email
              - name
        customerSuppliedPackingSlip:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        intakeChannel:
          type: string
          x-ref: intakeChannels
          description: Refers to intakeChannels
          pattern: ^[0-9a-fA-F]{24}$
        notificationPreference:
          type: string
          enum:
            - email
            - sms
          default: email
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    carts_list:
      type: array
      items:
        $ref: '#/components/schemas/carts'
    carts_pagination:
      title: carts pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/carts_list'
    ChatlioTranscript:
      title: ChatlioTranscript
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        agentEmail:
          type: string
        agentName:
          type: string
        startedAt:
          type: string
          format: date-time
        endedAt:
          type: string
          format: date-time
        visitorEmail:
          type: string
        visitorName:
          type: string
        replyToEmail:
          type: string
        messages:
          type: string
        chatMessages:
          type: array
          items:
            title: itemOf_chatMessages
            type: object
            properties:
              text:
                type: string
              ts:
                type: string
              sentAt:
                type: string
                format: date-time
              userId:
                type: string
              username:
                type: string
              isVisitorMsg:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - agentEmail
        - agentName
        - visitorName
        - messages
    ChatlioTranscript_list:
      type: array
      items:
        $ref: '#/components/schemas/ChatlioTranscript'
    ChatlioTranscript_pagination:
      title: ChatlioTranscript pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/ChatlioTranscript_list'
    jobStatuses:
      title: jobStatuses
      type: object
      properties:
        _id:
          type: string
        business:
          type: string
          x-ref: business
          description: Refers to business
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        description:
          type: string
        isDeleted:
          type: boolean
          default: false
        statusCategory:
          type: string
        type:
          type: string
          enum:
            - pending
            - active
            - resolution
            - final
        priority:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - _id
        - name
        - description
    jobStatuses_list:
      type: array
      items:
        $ref: '#/components/schemas/jobStatuses'
    jobStatuses_pagination:
      title: jobStatuses pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/jobStatuses_list'
    jobStatusLog:
      title: jobStatusLog
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        printJob:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        previousStatus:
          title: previousStatus
          type: object
          properties:
            jobStatus:
              type: string
              x-ref: jobStatuses
              description: Refers to jobStatuses
            description:
              type: string
            secondaryStatus:
              type: string
              enum:
                - started
                - completed
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        status:
          title: status
          type: object
          properties:
            jobStatus:
              type: string
              x-ref: jobStatuses
              description: Refers to jobStatuses
            description:
              type: string
            secondaryStatus:
              type: string
              enum:
                - started
                - completed
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        userType:
          type: string
          enum:
            - command-center-user
            - user
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - order
        - printJob
    jobStatusLog_list:
      type: array
      items:
        $ref: '#/components/schemas/jobStatusLog'
    jobStatusLog_pagination:
      title: jobStatusLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/jobStatusLog_list'
    purchaseOrder:
      title: purchaseOrder
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              glAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              description:
                type: string
              quantity:
                type: number
              amount:
                type: number
              total:
                type: number
              taxRate:
                type: number
                default: 0
              taxAmount:
                type: number
                default: 0
              isTaxable:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - description
              - quantity
              - amount
              - total
              - taxAmount
              - isTaxable
        billTo:
          title: billTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        shipTo:
          title: shipTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        rfqNum:
          type: string
        createdFromRfq:
          type: string
          x-ref: rfq
          description: Refers to rfq
          pattern: ^[0-9a-fA-F]{24}$
        projectName:
          type: string
        salesOrder:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        salesOrderNum:
          type: string
        attn:
          type: string
        clientPO:
          type: string
        poDueDate:
          type: string
          format: date-time
        soShipDate:
          type: string
          format: date-time
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        isApprovalRequired:
          type: boolean
        isApproved:
          type: boolean
        approvedAt:
          type: string
          format: date-time
        approvedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        approvedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        isSent:
          type: boolean
        sentAt:
          type: string
          format: date-time
        shouldRequestVendorAcknowledge:
          type: boolean
        isVendorAcknowledged:
          type: boolean
        vendorAcknowledgedAt:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - draft
            - pending-approval
            - rejected
            - open
            - partial-received
            - received
          default: draft
        csr:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        notesToVendor:
          type: string
        foreignId:
          type: string
        costCenter:
          type: string
        jobNumber:
          type: string
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _metadata:
          type: array
          items:
            title: itemOf__metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        receivings:
          type: array
          items:
            title: itemOf_receivings
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              receivedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              receivedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    purchaseOrderItem:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    product:
                      type: string
                      x-ref: ProductLegacy
                      description: Refers to ProductLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    amount:
                      type: number
                    location:
                      type: string
                      x-ref: inventoryLocations
                      description: Refers to inventoryLocations
                      pattern: ^[0-9a-fA-F]{24}$
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - purchaseOrderItem
                    - amount
              wasInventoryMovementsCreated:
                type: boolean
              inventoryMovements:
                type: array
                items:
                  type: string
                  x-ref: inventoryMovement
                  description: Refers to inventoryMovement
                  pattern: ^[0-9a-fA-F]{24}$
              notes:
                type: string
              isVoid:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
        shipping:
          title: shipping
          type: object
          properties:
            type:
              type: string
              enum:
                - SENDER
                - THIRD_PARTY
                - RECEIVER
                - COLLECT
            account:
              type: string
            countryCode:
              type: string
            postalCode:
              type: string
            isInsurance:
              type: boolean
            shippingService:
              type: string
        payment:
          title: payment
          type: object
          properties:
            isTaxExempt:
              type: boolean
            doesNeedDeposit:
              type: boolean
            depositType:
              type: string
              enum:
                - percent
                - amount
            deposit:
              type: number
        production:
          title: production
          type: object
          properties:
            oversPercentage:
              type: number
            undersPercentage:
              type: number
            paperSuppliedBy:
              type: string
              enum:
                - self
                - vendor
                - not-applicable
              default: vendor
            filesSupplied:
              type: string
              enum:
                - press-ready-pdf
                - native-files
                - exact-repeat
              default: press-ready-pdf
            hardProof:
              type: boolean
              default: false
            numHardProof:
              type: number
              default: 1
            eProof:
              type: boolean
              default: false
        privateNotes:
          type: array
          items:
            title: itemOf_privateNotes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - createdBy
              - createdByModel
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - createdBy
        - createdByModel
        - status
    purchaseOrder_list:
      type: array
      items:
        $ref: '#/components/schemas/purchaseOrder'
    purchaseOrder_pagination:
      title: purchaseOrder pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/purchaseOrder_list'
    salesOrder:
      title: salesOrder
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        salesPerson:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        billTo:
          title: billTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        shipTo:
          title: shipTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              glAccount:
                type: string
                x-ref: generalLedgerAccount
                description: Refers to generalLedgerAccount
                pattern: ^[0-9a-fA-F]{24}$
              description:
                type: string
              quantity:
                type: number
              amount:
                type: number
              total:
                type: number
              taxRate:
                type: number
                default: 0
              taxAmount:
                type: number
                default: 0
              isTaxable:
                type: boolean
                default: false
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - description
              - quantity
              - amount
              - total
              - taxAmount
              - isTaxable
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        csr:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        shipDate:
          type: string
          format: date-time
        rfqNum:
          type: string
        createdFromRfq:
          type: string
          x-ref: rfq
          description: Refers to rfq
          pattern: ^[0-9a-fA-F]{24}$
        customerPo:
          type: string
        soDescription:
          type: string
        taxRate:
          type: number
          default: 0
        shipping:
          title: shipping
          type: object
          properties:
            type:
              type: string
              enum:
                - SENDER
                - THIRD_PARTY
                - RECEIVER
                - COLLECT
            account:
              type: string
            countryCode:
              type: string
            postalCode:
              type: string
            isInsurance:
              type: boolean
            shippingService:
              type: string
        payment:
          title: payment
          type: object
          properties:
            isTaxExempt:
              type: boolean
            doesNeedDeposit:
              type: boolean
            depositType:
              type: string
              enum:
                - percent
                - amount
            deposit:
              type: number
        production:
          title: production
          type: object
          properties:
            oversPercentage:
              type: number
            undersPercentage:
              type: number
            paperSuppliedBy:
              type: string
              enum:
                - self
                - vendor
                - not-applicable
              default: vendor
            filesSupplied:
              type: string
              enum:
                - press-ready-pdf
                - native-files
                - exact-repeat
              default: press-ready-pdf
            hardProof:
              type: boolean
              default: false
            numHardProof:
              type: number
              default: 1
            eProof:
              type: boolean
              default: false
        privateNotes:
          type: array
          items:
            title: itemOf_privateNotes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - createdBy
              - createdByModel
        tags:
          type: array
          items:
            type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        humanId:
          type: number
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
        - createdBy
        - createdByModel
    salesOrder_list:
      type: array
      items:
        $ref: '#/components/schemas/salesOrder'
    salesOrder_pagination:
      title: salesOrder pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/salesOrder_list'
    rfq:
      title: rfq
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              humanId:
                type: string
              sku:
                type: string
              notes:
                type: string
              product:
                type: string
                x-ref: ProductLegacy
                description: Refers to ProductLegacy
                pattern: ^[0-9a-fA-F]{24}$
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              packagingInstructions:
                type: string
              numSides:
                type: number
              eProof:
                type: boolean
                default: false
              hardProof:
                type: boolean
                default: false
              numHardProof:
                type: number
                default: 1
              liveSample:
                type: boolean
                default: false
              pressCheck:
                type: boolean
                default: false
              description:
                type: string
              quantities:
                type: array
                items:
                  type: number
              components:
                type: array
                items:
                  title: itemOf_components
                  type: object
                  properties:
                    description:
                      type: string
                    notes:
                      type: string
                    flatSize:
                      title: flatSize
                      type: object
                      properties:
                        width:
                          type: number
                        height:
                          type: number
                    finishSize:
                      title: finishSize
                      type: object
                      properties:
                        width:
                          type: number
                        height:
                          type: number
                    inkSpecs:
                      type: string
                    attributes:
                      type: array
                      items:
                        title: itemOf_attributes
                        type: object
                        properties:
                          type:
                            type: string
                            x-ref: productAttributeTypesLegacy
                            description: Refers to productAttributeTypesLegacy
                          value:
                            type: string
                            x-ref: productAttributeLegacy
                            description: Refers to productAttributeLegacy
                            pattern: ^[0-9a-fA-F]{24}$
                          otherType:
                            type: string
                          otherValue:
                            type: string
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        vendors:
          type: array
          items:
            title: itemOf_vendors
            type: object
            properties:
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              poDueDate:
                type: string
                format: date-time
              status:
                type: string
                enum:
                  - pending
                  - acknowledged
                  - responded
                  - responded-with-changes
                  - no-bid
                default: pending
              itemsToQuote:
                type: array
                items:
                  type: string
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              respondedAt:
                type: string
                format: date-time
              services:
                type: array
                items:
                  type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        billTo:
          title: billTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        shipTo:
          title: shipTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        rfqNum:
          type: string
        projectName:
          type: string
        salesOrder:
          type: string
          x-ref: ProductLegacy
          description: Refers to ProductLegacy
          pattern: ^[0-9a-fA-F]{24}$
        salesOrderNum:
          type: string
        estimateDueDate:
          type: string
          format: date-time
        deliveryDate:
          type: string
          format: date-time
        turnaroundTime:
          type: number
        turnaroundDescription:
          type: string
        vendorShipDate:
          type: string
          format: date-time
        requestedCustomerShipDate:
          type: string
          format: date-time
        isRfqSent:
          type: boolean
        rfqSentAt:
          type: string
          format: date-time
        isEstimateSent:
          type: boolean
        estimateSentAt:
          type: string
          format: date-time
        isPOCreated:
          type: boolean
        isSalesOrderCreated:
          type: string
          format: date-time
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        responses:
          type: array
          items:
            title: itemOf_responses
            type: object
            properties:
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              status:
                type: string
                enum:
                  - pending
                  - acknowledged
                  - responded
                  - responded-with-changes
                  - no-bid
                default: pending
              acknowledgedAt:
                type: string
                format: date-time
              changeMessage:
                type: string
              estimateNumber:
                type: string
              respondedAt:
                type: string
                format: date-time
              items:
                type: array
                items:
                  title: itemOf_items
                  type: object
                  properties:
                    item:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    isOptedOut:
                      type: boolean
                    notes:
                      type: string
                    quantities:
                      type: array
                      items:
                        title: itemOf_quantities
                        type: object
                        properties:
                          quantity:
                            type: number
                          isOptedOut:
                            type: boolean
                          price:
                            type: number
                          components:
                            type: array
                            items:
                              title: itemOf_components
                              type: object
                              properties:
                                component:
                                  type: string
                                numSheets:
                                  type: number
                                sheetSize:
                                  title: sheetSize
                                  type: object
                                  properties:
                                    width:
                                      type: number
                                    height:
                                      type: number
                                _id:
                                  type: string
                                  pattern: ^[0-9a-fA-F]{24}$
                                createdAt:
                                  type: string
                                  format: date-time
                                updatedAt:
                                  type: string
                                  format: date-time
                          _id:
                            type: string
                            pattern: ^[0-9a-fA-F]{24}$
                          createdAt:
                            type: string
                            format: date-time
                          updatedAt:
                            type: string
                            format: date-time
                        required:
                          - quantity
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - item
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
        estimate:
          title: estimate
          type: object
          properties:
            items:
              type: array
              items:
                title: itemOf_items
                type: object
                properties:
                  item:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  quantities:
                    type: array
                    items:
                      title: itemOf_quantities
                      type: object
                      properties:
                        quantity:
                          type: number
                        selectedVendors:
                          type: array
                          items:
                            type: string
                            x-ref: productionVendors
                            description: Refers to productionVendors
                            pattern: ^[0-9a-fA-F]{24}$
                        subtotalCosts:
                          type: number
                          default: 0
                        paperCostM:
                          type: array
                          items:
                            title: itemOf_paperCostM
                            type: object
                            properties:
                              component:
                                type: string
                              cost:
                                type: number
                                default: 0
                              costTotal:
                                type: number
                                default: 0
                              vendor:
                                type: string
                                x-ref: productionVendors
                                description: Refers to productionVendors
                                pattern: ^[0-9a-fA-F]{24}$
                              _id:
                                type: string
                                pattern: ^[0-9a-fA-F]{24}$
                              createdAt:
                                type: string
                                format: date-time
                              updatedAt:
                                type: string
                                format: date-time
                        paperCostTotal:
                          type: number
                          default: 0
                        totalCosts:
                          type: number
                          default: 0
                        markupPercentage:
                          type: number
                          default: 0
                        markupAmount:
                          type: number
                          default: 0
                        subtotalPrice:
                          type: number
                          default: 0
                        taxRate:
                          type: number
                          default: 0
                        taxAmount:
                          type: number
                          default: 0
                        totalPrice:
                          type: number
                          default: 0
                        minSell:
                          type: number
                          default: 0
                        recommendedSell:
                          type: number
                          default: 0
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - quantity
                        - subtotalCosts
                        - totalCosts
                        - markupPercentage
                        - markupAmount
                        - subtotalPrice
                        - taxRate
                        - taxAmount
                        - totalPrice
                  additionalCosts:
                    type: array
                    items:
                      title: itemOf_additionalCosts
                      type: object
                      properties:
                        description:
                          type: string
                        includedInMarkup:
                          type: boolean
                          default: true
                        quantities:
                          type: array
                          items:
                            title: itemOf_quantities
                            type: object
                            properties:
                              quantity:
                                type: number
                              amount:
                                type: number
                              _id:
                                type: string
                                pattern: ^[0-9a-fA-F]{24}$
                              createdAt:
                                type: string
                                format: date-time
                              updatedAt:
                                type: string
                                format: date-time
                            required:
                              - quantity
                              - amount
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - item
            customerSelectedQuantities:
              type: array
              items:
                title: itemOf_customerSelectedQuantities
                type: object
                properties:
                  item:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  quantity:
                    type: number
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
                required:
                  - item
                  - quantity
            response:
              type: string
              enum:
                - accepted
                - declined
                - accepted-with-changes
            respondedAt:
              type: string
              format: date-time
            changeMessage:
              type: string
            declineReason:
              type: string
            awardedSuppliers:
              type: array
              items:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
            createdOrder:
              type: string
              x-ref: orders
              description: Refers to orders
              pattern: ^[0-9a-fA-F]{24}$
            createdOrderHumanId:
              type: string
            createdOrderAt:
              type: string
              format: date-time
            costCenter:
              type: string
            externalJobNumber:
              type: string
            clientPo:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        csr:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        assignedTo:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        requestor:
          type: string
          x-ref: user
          description: Refers to user
          pattern: ^[0-9a-fA-F]{24}$
        shipping:
          title: shipping
          type: object
          properties:
            type:
              type: string
              enum:
                - SENDER
                - THIRD_PARTY
                - RECEIVER
                - COLLECT
            account:
              type: string
            countryCode:
              type: string
            postalCode:
              type: string
            isInsurance:
              type: boolean
            shippingService:
              type: string
        payment:
          title: payment
          type: object
          properties:
            isTaxExempt:
              type: boolean
            doesNeedDeposit:
              type: boolean
            depositType:
              type: string
              enum:
                - percent
                - amount
            deposit:
              type: number
        production:
          title: production
          type: object
          properties:
            oversPercentage:
              type: number
            undersPercentage:
              type: number
            paperSuppliedBy:
              type: string
              enum:
                - self
                - vendor
                - not-applicable
              default: vendor
            filesSupplied:
              type: string
              enum:
                - press-ready-pdf
                - native-files
                - exact-repeat
              default: press-ready-pdf
            hardProof:
              type: boolean
              default: false
            numHardProof:
              type: number
              default: 1
            eProof:
              type: boolean
              default: false
        notes:
          type: string
        paperSuppliedBy:
          type: string
          enum:
            - self
            - vendor
            - not-applicable
          default: vendor
        filesSupplied:
          type: string
          enum:
            - press-ready-pdf
            - native-files
            - exact-repeat
          default: press-ready-pdf
        eProof:
          type: boolean
          default: false
        hardProof:
          type: boolean
          default: false
        numHardProof:
          type: number
          default: 1
        liveSample:
          type: boolean
          default: false
        pressCheck:
          type: boolean
          default: false
        allowableOverrunPercentage:
          type: number
        allowableUnderrunPercentage:
          type: number
        attachments:
          type: array
          items:
            title: itemOf_attachments
            type: object
            properties:
              attachedAt:
                type: string
                format: date-time
              filename:
                type: string
              size:
                type: string
              label:
                type: string
              uploadLog:
                type: string
                x-ref: uploadLog
                description: Refers to uploadLog
                pattern: ^[0-9a-fA-F]{24}$
              attachedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              attachedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - uploadLog
        privateNotes:
          type: array
          items:
            title: itemOf_privateNotes
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
              content:
                type: string
              createdBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
            required:
              - createdBy
              - createdByModel
        foreignId:
          type: string
        status:
          type: string
          enum:
            - draft
            - open
            - rfq-received
            - sent-to-suppliers
            - supplier-response-received
            - estimate-sent
            - estimate-response-received
            - order-awarded
            - estimate-declined
            - committed
          default: rfq-received
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        deleted:
          type: boolean
          default: false
        deletedAt:
          type: string
          format: date-time
        deletedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        deletedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - createdBy
        - createdByModel
    rfq_list:
      type: array
      items:
        $ref: '#/components/schemas/rfq'
    rfq_pagination:
      title: rfq pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/rfq_list'
    generalLedgerAccount:
      title: generalLedgerAccount
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        name:
          type: string
        accountType:
          type: string
          enum:
            - income
            - cost-of-goods
        accountNumber:
          type: string
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        deleted:
          type: boolean
          default: false
        integrations:
          type: array
          items:
            title: itemOf_integrations
            type: object
            properties:
              type:
                type: string
              foreignId:
                type: string
              foreignName:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - type
              - foreignId
              - foreignName
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - accountType
        - accountNumber
        - createdBy
        - createdByModel
    generalLedgerAccount_list:
      type: array
      items:
        $ref: '#/components/schemas/generalLedgerAccount'
    generalLedgerAccount_pagination:
      title: generalLedgerAccount pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/generalLedgerAccount_list'
    printableDocumentTemplate:
      title: printableDocumentTemplate
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        description:
          type: string
        documentType:
          type: string
          enum:
            - invoice
            - purchase-order
            - sales-order
            - packing-slip
            - pick-list
            - job-ticket
            - estimate
            - order-item-label
        source:
          type: string
        styles:
          type: string
          default: '{}'
        isDefault:
          type: boolean
          default: false
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - documentType
        - source
        - createdBy
        - createdByModel
    printableDocumentTemplate_list:
      type: array
      items:
        $ref: '#/components/schemas/printableDocumentTemplate'
    printableDocumentTemplate_pagination:
      title: printableDocumentTemplate pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/printableDocumentTemplate_list'
    printableDocument:
      title: printableDocument
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        documentType:
          type: string
          enum:
            - invoice
            - purchase-order
            - sales-order
            - packing-slip
            - pick-list
            - job-ticket
            - estimate
            - order-item-label
        status:
          type: string
          enum:
            - pending
            - queued
            - complete
            - in-progress
            - failure
          default: queued
        errorMessage:
          type: string
        renderParams: {}
        publicUrl:
          type: string
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        expiresAt:
          type: string
          format: date-time
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - documentType
        - renderParams
    printableDocument_list:
      type: array
      items:
        $ref: '#/components/schemas/printableDocument'
    printableDocument_pagination:
      title: printableDocument pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/printableDocument_list'
    workflowStations:
      title: workflowStations
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        transitionToStatus:
          type: string
        isScanInAndOut:
          type: boolean
          default: false
        scanOutStatus:
          type: string
        notesToOperator:
          type: string
        lastOperatedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        lastOperatedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - transitionToStatus
        - isScanInAndOut
    workflowStations_list:
      type: array
      items:
        $ref: '#/components/schemas/workflowStations'
    workflowStations_pagination:
      title: workflowStations pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/workflowStations_list'
    miscDocuments:
      title: miscDocuments
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        uploadLog:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        designatedPrinterKey:
          type: string
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - uploadLog
    miscDocuments_list:
      type: array
      items:
        $ref: '#/components/schemas/miscDocuments'
    miscDocuments_pagination:
      title: miscDocuments pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/miscDocuments_list'
    printableCombined:
      title: printableCombined
      type: object
      properties:
        createdAt:
          type: string
          format: date-time
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        pdfs:
          type: array
          items:
            title: itemOf_pdfs
            type: object
            properties:
              service:
                type: string
              payload: {}
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - service
        resultUrl:
          type: string
        requestedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        requestedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        status:
          type: string
          enum:
            - pending
            - complete
            - failed
          default: pending
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - status
    printableCombined_list:
      type: array
      items:
        $ref: '#/components/schemas/printableCombined'
    printableCombined_pagination:
      title: printableCombined pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/printableCombined_list'
    geocodeCache:
      title: geocodeCache
      type: object
      properties:
        address:
          type: string
        lat:
          type: string
        lng:
          type: string
        key:
          type: string
        response: {}
        provider:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - address
        - lat
        - lng
        - key
        - provider
    geocodeCache_list:
      type: array
      items:
        $ref: '#/components/schemas/geocodeCache'
    geocodeCache_pagination:
      title: geocodeCache pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/geocodeCache_list'
    creditMemo:
      title: creditMemo
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        invoice:
          type: string
          x-ref: invoices
          description: Refers to invoices
          pattern: ^[0-9a-fA-F]{24}$
        amount:
          type: number
        transactionType:
          type: string
        notes:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - customer
        - amount
    creditMemo_list:
      type: array
      items:
        $ref: '#/components/schemas/creditMemo'
    creditMemo_pagination:
      title: creditMemo pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/creditMemo_list'
    productionBatches:
      title: productionBatches
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              numUps:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - orderItem
              - numUps
        humanId:
          type: number
        finalizedAt:
          type: string
          format: date-time
        dispatchedAt:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - STATUS_DRAFT
            - STATUS_FINAL
            - STATUS_DISPATCHED
            - queued-for-generate
            - in-generate
            - generate-complete
            - generate-failure
            - awaiting-artwork
            - pending-dispatch
            - queued-at-press
            - in-progress
            - print-complete
            - cutting-complete
            - received-at-press
            - print-aborted
            - canceled
          default: STATUS_DRAFT
        productionStatus:
          type: string
          x-ref: jobStatuses
          description: Refers to jobStatuses
        impositionTemplate:
          type: string
          x-ref: imposition_templates
          description: Refers to imposition_templates
          pattern: ^[0-9a-fA-F]{24}$
        batchType:
          type: string
          enum:
            - imposition
            - virtual
        orientationType:
          type: string
          enum:
            - sheet-wise
            - work-and-turn
            - work-and-tumble
        resource:
          type: string
          x-ref: productionResources
          description: Refers to productionResources
          pattern: ^[0-9a-fA-F]{24}$
        paper:
          type: string
          x-ref: productAttributeLegacy
          description: Refers to productAttributeLegacy
          pattern: ^[0-9a-fA-F]{24}$
        coating:
          type: string
          x-ref: productAttributeLegacy
          description: Refers to productAttributeLegacy
          pattern: ^[0-9a-fA-F]{24}$
        color:
          type: string
          x-ref: productAttributeLegacy
          description: Refers to productAttributeLegacy
          pattern: ^[0-9a-fA-F]{24}$
        finalSheetCount:
          type: number
        alottedWasteCount:
          type: number
        sheetWidth:
          type: number
        sheetHeight:
          type: number
        artworkStorageUrl:
          type: string
        thumbnailStorageUrl:
          type: array
          items:
            type: string
        dueDate:
          type: string
          format: date-time
        requestedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        requestedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        deleted:
          type: boolean
        logs:
          type: array
          items:
            title: itemOf_logs
            type: object
            properties:
              status:
                type: string
              updatedAt:
                type: string
                format: date-time
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
            required:
              - status
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - status
    productionBatches_list:
      type: array
      items:
        $ref: '#/components/schemas/productionBatches'
    productionBatches_pagination:
      title: productionBatches pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productionBatches_list'
    productionResources:
      title: productionResources
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        type:
          type: string
          enum:
            - digital-press
            - offset-press
            - wide-format-press
            - router
            - coater
            - cutter
            - die-cutter
            - folder
            - gluing
            - mounting
            - stitcher
            - bindery
            - coiling
            - collating
            - laminator
            - wide-format-cutting
            - wide-format-laminating
            - wide-format-plotter
            - other
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
        - type
    productionResources_list:
      type: array
      items:
        $ref: '#/components/schemas/productionResources'
    productionResources_pagination:
      title: productionResources pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productionResources_list'
    productionOutsource:
      title: productionOutsource
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - orderItem
        humanId:
          type: number
        finalizedAt:
          type: string
          format: date-time
        dispatchedAt:
          type: string
          format: date-time
        status:
          type: string
          enum:
            - draft
            - dispatched
            - in-progress
            - received
          default: draft
        po:
          type: string
        notes:
          type: string
        totalCost:
          type: number
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        dueDate:
          type: string
          format: date-time
        deleted:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - status
        - vendor
    productionOutsource_list:
      type: array
      items:
        $ref: '#/components/schemas/productionOutsource'
    productionOutsource_pagination:
      title: productionOutsource pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productionOutsource_list'
    productionVendors:
      title: productionVendors
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: number
        companyName:
          type: string
        key:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        address1:
          type: string
        address2:
          type: string
        city:
          type: string
        stateProvince:
          type: string
        postalCode:
          type: string
        countryCode:
          type: string
        coords:
          type: array
          items:
            type: number
        addressGeocodeComplete:
          type: boolean
          default: false
        phone:
          type: string
        email:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _metadata:
          type: array
          items:
            title: itemOf__metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        tags:
          type: array
          items:
            type: string
        isInternal:
          type: boolean
          default: false
        foreignId:
          type: string
        term:
          type: string
        contacts:
          type: array
          items:
            title: itemOf_contacts
            type: object
            properties:
              firstName:
                type: string
              lastName:
                type: string
              email:
                type: string
              phone:
                type: string
              phoneExt:
                type: string
              title:
                type: string
              user:
                type: string
                x-ref: user
                description: Refers to user
                pattern: ^[0-9a-fA-F]{24}$
              notifications:
                type: array
                items:
                  title: itemOf_notifications
                  type: object
                  properties:
                    event:
                      type: string
                      enum:
                        - rfq-request
                        - purchase-order-receive
                        - order-received
                    isEnabled:
                      type: boolean
                      default: true
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - event
                    - isEnabled
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - firstName
              - lastName
              - email
        deleted:
          type: boolean
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    productionVendors_list:
      type: array
      items:
        $ref: '#/components/schemas/productionVendors'
    productionVendors_pagination:
      title: productionVendors pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productionVendors_list'
    productionBatchesStatusLog:
      title: productionBatchesStatusLog
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        productionBatch:
          type: string
          x-ref: productionBatches
          description: Refers to productionBatches
          pattern: ^[0-9a-fA-F]{24}$
        status:
          title: status
          type: object
          properties:
            jobStatus:
              type: string
              x-ref: jobStatuses
              description: Refers to jobStatuses
            description:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
          required:
            - jobStatus
        createdBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        userType:
          type: string
          enum:
            - command-center-user
            - user
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - productionBatch
    productionBatchesStatusLog_list:
      type: array
      items:
        $ref: '#/components/schemas/productionBatchesStatusLog'
    productionBatchesStatusLog_pagination:
      title: productionBatchesStatusLog pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productionBatchesStatusLog_list'
    productionChannels:
      title: productionChannels
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    productionChannels_list:
      type: array
      items:
        $ref: '#/components/schemas/productionChannels'
    productionChannels_pagination:
      title: productionChannels pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/productionChannels_list'
    imposition_templates:
      title: imposition_templates
      type: object
      properties:
        sheetWidth:
          type: number
        sheetHeight:
          type: number
        width:
          type: number
        height:
          type: number
        instructions:
          type: array
          items:
            title: itemOf_instructions
            type: object
            properties:
              x:
                type: number
              'y':
                type: number
              repeatX:
                type: number
              repeatY:
                type: number
              orientation:
                type: string
                enum:
                  - landscape
                  - portrait
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - x
              - 'y'
              - repeatX
              - repeatY
              - orientation
        meta:
          type: string
          enum:
            - bottomLeftMeta
            - topRightPortraitMeta
        metadata:
          title: metadata
          type: object
          properties:
            orientation:
              type: string
              enum:
                - landscape
                - portrait
            barcode:
              title: barcode
              type: object
              properties:
                x:
                  type: number
                'y':
                  type: number
            text:
              title: text
              type: object
              properties:
                x:
                  type: number
                'y':
                  type: number
            rotate:
              type: number
        sheetMargins:
          title: sheetMargins
          type: object
          properties:
            top:
              type: number
            left:
              type: number
            bottom:
              type: number
            right:
              type: number
          required:
            - top
            - left
            - bottom
            - right
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - sheetWidth
        - sheetHeight
        - width
        - height
    imposition_templates_list:
      type: array
      items:
        $ref: '#/components/schemas/imposition_templates'
    imposition_templates_pagination:
      title: imposition_templates pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/imposition_templates_list'
    custom-quotes:
      title: custom-quotes
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        salesPerson:
          type: string
          x-ref: salesPeople
          description: Refers to salesPeople
          pattern: ^[0-9a-fA-F]{24}$
        humanId:
          type: string
        items:
          type: array
          items:
            title: itemOf_items
            type: object
            properties:
              category:
                type: string
                x-ref: productCategoryLegacy
                description: Refers to productCategoryLegacy
                pattern: ^[0-9a-fA-F]{24}$
              categoryOther:
                type: string
              attributes:
                type: array
                items:
                  title: itemOf_attributes
                  type: object
                  properties:
                    attributeId:
                      type: string
                      x-ref: productAttributeLegacy
                      description: Refers to productAttributeLegacy
                      pattern: ^[0-9a-fA-F]{24}$
                    name:
                      type: string
                    key:
                      type: string
                    type:
                      type: string
                      x-ref: productAttributeTypesLegacy
                      description: Refers to productAttributeTypesLegacy
                    others:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - type
              customerReferenceName:
                type: string
              isCustomTrim:
                type: boolean
                default: false
              customTrimWidth:
                type:
                  - number
                  - 'null'
                default: null
              customTrimHeight:
                type:
                  - number
                  - 'null'
                default: null
              price:
                type: number
              priceOverride:
                type: boolean
              designPrice:
                type: number
              quantity:
                type: number
              width:
                type:
                  - number
                  - 'null'
                default: null
              height:
                type:
                  - number
                  - 'null'
                default: null
              weight:
                type:
                  - number
                  - 'null'
                default: null
              length:
                type: number
              depth:
                type: number
              cartonType:
                type: string
                x-ref: cartonTypes
                description: Refers to cartonTypes
                pattern: ^[0-9a-fA-F]{24}$
              cartonTypeName:
                type: string
              timeMin:
                type: number
              timeMax:
                type: number
              orientation:
                type: string
                enum:
                  - landscape
                  - portrait
              isShippable:
                type: boolean
                default: true
              wantDesign:
                type: boolean
                default: false
              turnaroundServiceType:
                type:
                  - string
                  - 'null'
                default: null
              turnaround:
                type: string
              shipByType:
                type: string
                enum:
                  - any
                  - shipBy
                  - receiveBy
                default: any
              shipByDate:
                type: string
                format: date-time
              pricingMethod:
                type: number
              addOns:
                type: array
                items:
                  title: itemOf_addOns
                  type: object
                  properties:
                    addOnId:
                      type: string
                    primaryData:
                      type: string
                    secondaryData:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - addOnId
              addOnsOther:
                type: string
              addOnTotal:
                type: number
              staticName:
                type: string
              initialStatus:
                type: string
                x-ref: jobStatuses
                description: Refers to jobStatuses
              uploadSlots:
                type: array
                items:
                  title: itemOf_uploadSlots
                  type: object
                  properties:
                    sequence:
                      type: string
                    url:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - sequence
              metadata:
                type: array
                items:
                  title: itemOf_metadata
                  type: object
                  properties:
                    key:
                      type: string
                    value:
                      type: string
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    createdAt:
                      type: string
                      format: date-time
                    updatedAt:
                      type: string
                      format: date-time
                  required:
                    - key
              uploadedAttachments:
                type: array
                items:
                  type: string
                  x-ref: uploadsGeneral
                  description: Refers to uploadsGeneral
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              miscUploads:
                type: array
                items:
                  type: string
                  x-ref: uploadLog
                  description: Refers to uploadLog
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              type:
                type: string
                enum:
                  - single-page
                  - multi-page
                  - wide-format
                  - packaging
                  - others
              flatDimensions:
                title: flatDimensions
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  depth:
                    type: number
                  unitType:
                    type: string
                    enum:
                      - inch
                      - cm
                      - meter
                      - foot
                    default: inch
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              finishedDim:
                title: finishedDim
                type: object
                properties:
                  width:
                    type: number
                  height:
                    type: number
                  length:
                    type: number
                  depth:
                    type: number
                  unitType:
                    type: string
                    enum:
                      - inch
                      - cm
                      - meter
                      - foot
                    default: inch
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              additionalInfo:
                type: string
              messageThread:
                type: array
                items:
                  title: itemOf_messageThread
                  type: object
                  properties:
                    createdAt:
                      type: string
                      format: date-time
                    content:
                      type: string
                    attachments:
                      type: array
                      items:
                        type: string
                        x-ref: uploadsGeneral
                        description: Refers to uploadsGeneral
                        pattern: ^[0-9a-fA-F]{24}$
                      minItems: 1
                    author:
                      title: author
                      type: object
                      properties:
                        type:
                          type: string
                          enum:
                            - customer
                            - tenant
                            - translator
                        user:
                          type: string
                          x-ref: user
                          description: Refers to user
                          pattern: ^[0-9a-fA-F]{24}$
                        customer:
                          type: string
                          x-ref: customers
                          description: Refers to customers
                          pattern: ^[0-9a-fA-F]{24}$
                        _id:
                          type: string
                          pattern: ^[0-9a-fA-F]{24}$
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                    noteToSelf:
                      type: boolean
                    _id:
                      type: string
                      pattern: ^[0-9a-fA-F]{24}$
                    updatedAt:
                      type: string
                      format: date-time
              cart:
                type: string
                x-ref: carts
                description: Refers to carts
                pattern: ^[0-9a-fA-F]{24}$
              excluded:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - quantity
              - type
        subtotal:
          type: number
        shipping:
          type: number
          default: 0
        shippingOverriden:
          type: boolean
          default: false
        salesTax:
          type: number
          default: 0
        salesTaxOverriden:
          type: boolean
          default: false
        discount:
          type: number
        total:
          type: number
        shipTo:
          title: shipTo
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        shipFrom:
          title: shipFrom
          type: object
          properties:
            name:
              type: string
            careOf:
              type: string
            address1:
              type: string
            address2:
              type: string
            city:
              type: string
            stateProvince:
              type: string
            postalCode:
              type: string
            countryCode:
              type: string
            deliveryInstructions:
              type: string
            _id:
              type: string
              pattern: ^[0-9a-fA-F]{24}$
            createdAt:
              type: string
              format: date-time
            updatedAt:
              type: string
              format: date-time
        availableShippingMethods:
          type: array
          items: {}
        availableShippingRates:
          type: array
          items:
            title: itemOf_availableShippingRates
            type: object
            properties:
              carrierKey:
                type: string
              carrier:
                type: string
              serviceKey:
                type: string
              description:
                type: string
              amount:
                type: number
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - carrierKey
              - carrier
              - amount
        selectedShippingMethod:
          type: string
        selectedShippingService:
          type: string
        selectedShippingRate:
          type: string
        selectedPickupLocation:
          type: string
          x-ref: pickupLocations
          description: Refers to pickupLocations
          pattern: ^[0-9a-fA-F]{24}$
        po:
          type: string
        canCheckoutWithoutPayment:
          type: boolean
          default: false
        expirationDate:
          type: string
          format: date-time
        orderLogs:
          type: array
          items:
            type: string
            x-ref: orders
            description: Refers to orders
            pattern: ^[0-9a-fA-F]{24}$
        convertedToCart:
          type: boolean
          default: false
        convertedToOrders:
          type: array
          items:
            title: itemOf_convertedToOrders
            type: object
            properties:
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - order
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        uploadedAttachments:
          type: array
          items:
            type: string
            x-ref: uploadsGeneral
            description: Refers to uploadsGeneral
            pattern: ^[0-9a-fA-F]{24}$
          minItems: 1
        messageThread:
          type: array
          items:
            title: itemOf_messageThread
            type: object
            properties:
              createdAt:
                type: string
                format: date-time
              content:
                type: string
              attachments:
                type: array
                items:
                  type: string
                  x-ref: uploadsGeneral
                  description: Refers to uploadsGeneral
                  pattern: ^[0-9a-fA-F]{24}$
                minItems: 1
              author:
                title: author
                type: object
                properties:
                  type:
                    type: string
                    enum:
                      - customer
                      - tenant
                      - translator
                  user:
                    type: string
                    x-ref: user
                    description: Refers to user
                    pattern: ^[0-9a-fA-F]{24}$
                  customer:
                    type: string
                    x-ref: customers
                    description: Refers to customers
                    pattern: ^[0-9a-fA-F]{24}$
                  _id:
                    type: string
                    pattern: ^[0-9a-fA-F]{24}$
                  createdAt:
                    type: string
                    format: date-time
                  updatedAt:
                    type: string
                    format: date-time
              noteToSelf:
                type: boolean
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              updatedAt:
                type: string
                format: date-time
        status:
          type: string
          enum:
            - open
            - final
            - closed
          default: open
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - customer
    custom-quotes_list:
      type: array
      items:
        $ref: '#/components/schemas/custom-quotes'
    custom-quotes_pagination:
      title: custom-quotes pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/custom-quotes_list'
    contactUsEntries:
      title: contactUsEntries
      type: object
      properties:
        business:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        email:
          type: string
        message:
          type: string
        status:
          type: string
          enum:
            - open
            - closed
          default: open
        customFields:
          type: array
          items:
            title: itemOf_customFields
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - business
        - name
        - message
    contactUsEntries_list:
      type: array
      items:
        $ref: '#/components/schemas/contactUsEntries'
    contactUsEntries_pagination:
      title: contactUsEntries pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/contactUsEntries_list'
    certificate-code:
      title: certificate-code
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        code:
          type: string
        isUsed:
          type: boolean
          default: false
        isResend:
          type: boolean
        order:
          type: string
          x-ref: orders
          description: Refers to orders
          pattern: ^[0-9a-fA-F]{24}$
        orderItem:
          type: string
          x-ref: orderItems
          description: Refers to orderItems
          pattern: ^[0-9a-fA-F]{24}$
        dateUsed:
          type: string
          format: date-time
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        __v:
          type: number
      required:
        - tenant
        - code
    certificate-code_list:
      type: array
      items:
        $ref: '#/components/schemas/certificate-code'
    certificate-code_pagination:
      title: certificate-code pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/certificate-code_list'
    artworkStagedModel:
      title: artworkStagedModel
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        customer:
          type: string
          x-ref: customers
          description: Refers to customers
          pattern: ^[0-9a-fA-F]{24}$
        micrositeUser:
          type: string
          x-ref: micrositeCustomers
          description: Refers to micrositeCustomers
          pattern: ^[0-9a-fA-F]{24}$
        originalArtwork:
          title: originalArtwork
          type: object
          properties:
            cloudBucket:
              type: string
            cloudFilename:
              type: string
            contentType:
              type: string
            md5:
              type: string
            originalFilename:
              type: string
            sha1:
              type: string
            size:
              type: number
        previewArtwork:
          title: previewArtwork
          type: object
          properties:
            cloudBucket:
              type: string
            cloudFilename:
              type: string
            contentType:
              type: string
            md5:
              type: string
            originalFilename:
              type: string
            sha1:
              type: string
            size:
              type: number
            publicUrl:
              type: string
        previewStatus:
          type: string
          enum:
            - awaiting-upload
            - pending
            - in-progress
            - complete
            - error
          default: pending
        deleted:
          type: boolean
          default: false
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    artworkStagedModel_list:
      type: array
      items:
        $ref: '#/components/schemas/artworkStagedModel'
    artworkStagedModel_pagination:
      title: artworkStagedModel pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/artworkStagedModel_list'
    importRequests:
      title: importRequests
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        microsite:
          type: string
          x-ref: microsites
          description: Refers to microsites
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        startedAt:
          type: string
          format: date-time
        completedAt:
          type: string
          format: date-time
        expiresAt:
          type: string
          format: date-time
        requestedBy:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        requestedByModel:
          type: string
          enum:
            - user
            - commandCenterUser
            - micrositeCustomers
        importKey:
          type: string
        importName:
          type: string
        file:
          type: string
          x-ref: uploadLog
          description: Refers to uploadLog
          pattern: ^[0-9a-fA-F]{24}$
        status:
          type: string
          enum:
            - queued
            - starting
            - in-progress
            - complete
            - complete-with-failures
            - failure
            - canceled
          default: queued
        errorMessages:
          type: string
        gcPubSubTopic:
          type: string
        metadata:
          type: array
          items:
            title: itemOf_metadata
            type: object
            properties:
              key:
                type: string
              value:
                type: string
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - key
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - requestedBy
        - requestedByModel
        - importKey
        - importName
        - file
        - status
    importRequests_list:
      type: array
      items:
        $ref: '#/components/schemas/importRequests'
    importRequests_pagination:
      title: importRequests pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/importRequests_list'
    intakeChannels:
      title: intakeChannels
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        key:
          type: string
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
    intakeChannels_list:
      type: array
      items:
        $ref: '#/components/schemas/intakeChannels'
    intakeChannels_pagination:
      title: intakeChannels pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/intakeChannels_list'
    fulfillmentStagingLocations:
      title: fulfillmentStagingLocations
      type: object
      properties:
        tenant:
          type: string
          x-ref: tenants
          description: Refers to tenants
          pattern: ^[0-9a-fA-F]{24}$
        vendor:
          type: string
          x-ref: productionVendors
          description: Refers to productionVendors
          pattern: ^[0-9a-fA-F]{24}$
        name:
          type: string
        contains:
          type: array
          items:
            title: itemOf_contains
            type: object
            properties:
              order:
                type: string
                x-ref: orders
                description: Refers to orders
                pattern: ^[0-9a-fA-F]{24}$
              orderItem:
                type: string
                x-ref: orderItems
                description: Refers to orderItems
                pattern: ^[0-9a-fA-F]{24}$
              orderItemHumanId:
                type: string
              quantity:
                type: number
              notes:
                type: string
              productionChannel:
                type: string
                x-ref: productionChannels
                description: Refers to productionChannels
                pattern: ^[0-9a-fA-F]{24}$
              vendor:
                type: string
                x-ref: productionVendors
                description: Refers to productionVendors
                pattern: ^[0-9a-fA-F]{24}$
              addedAt:
                type: string
                format: date-time
              addedBy:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              addedByModel:
                type: string
                enum:
                  - user
                  - commandCenterUser
                  - micrositeCustomers
              _id:
                type: string
                pattern: ^[0-9a-fA-F]{24}$
              createdAt:
                type: string
                format: date-time
              updatedAt:
                type: string
                format: date-time
            required:
              - quantity
              - addedAt
        _id:
          type: string
          pattern: ^[0-9a-fA-F]{24}$
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
        __v:
          type: number
      required:
        - tenant
        - name
    fulfillmentStagingLocations_list:
      type: array
      items:
        $ref: '#/components/schemas/fulfillmentStagingLocations'
    fulfillmentStagingLocations_pagination:
      title: fulfillmentStagingLocations pagination result
      type: object
      properties:
        total:
          type: integer
        limit:
          type: integer
        skip:
          type: integer
        data:
          $ref: '#/components/schemas/fulfillmentStagingLocations_list'
openapi: 3.0.3
tags:
  - name: accounting
    description: A accounting service
  - name: accounting-integration-logs
    description: A accounting-integration-logs service
  - name: activity-log
    description: A activity-log service
  - name: address-book
    description: A address-book service
  - name: artwork-staged
    description: A artwork-staged service
  - name: artwork-transports
    description: A artwork-transports service
  - name: artwork-uploads
    description: A artwork-uploads service
  - name: auth
    description: A auth service
  - name: authentication
    description: A authentication service
  - name: batch-imports
    description: A batch-imports service
  - name: cart
    description: A cart service
  - name: certificate-code
    description: A certificate-code service
  - name: chat-transcripts
    description: A chat-transcripts service
  - name: clear-cache
    description: A clear-cache service
  - name: client-tokens
    description: A client-tokens service
  - name: connected-clients
    description: A connected-clients service
  - name: contact-us-entries
    description: A contact-us-entries service
  - name: content
    description: A content service
  - name: credit-card-transactions
    description: A credit-card-transactions service
  - name: credit-memo
    description: A credit-memo service
  - name: custom
    description: A custom service
  - name: custom-quotes
    description: A custom-quotes service
  - name: customer
    description: A customer service
  - name: customer-artwork-library
    description: A customer-artwork-library service
  - name: customer-artwork-library-collections
    description: A customer-artwork-library-collections service
  - name: customer-link-token
    description: A customer-link-token service
  - name: customer-order-stats
    description: A customer-order-stats service
  - name: customer-product-library
    description: A customer-product-library service
  - name: customer-product-library-collections
    description: A customer-product-library-collections service
  - name: customers
    description: A customers service
  - name: data-views
    description: A data-views service
  - name: design-job-prices
    description: A design-job-prices service
  - name: design-jobs
    description: A design-jobs service
  - name: design-templates
    description: A design-templates service
  - name: design-widget
    description: A design-widget service
  - name: download-archive
    description: A download-archive service
  - name: email-parse
    description: A email-parse service
  - name: entity-audit-log
    description: A entity-audit-log service
  - name: file-uploads-signed
    description: A file-uploads-signed service
  - name: fulfillment-staging-locations
    description: A fulfillment-staging-locations service
  - name: general-ledger-accounts
    description: A general-ledger-accounts service
  - name: geocode
    description: A geocode service
  - name: gift-card-balance
    description: A gift-card-balance service
  - name: gift-card-batches
    description: A gift-card-batches service
  - name: gift-card-transactions
    description: A gift-card-transactions service
  - name: gift-cards
    description: A gift-cards service
  - name: id-server-logs
    description: A id-server-logs service
  - name: imports
    description: A imports service
  - name: intake-channels
    description: A intake-channels service
  - name: integrations
    description: A integrations service
  - name: inventory
    description: A inventory service
  - name: invoice-line-items
    description: A invoice-line-items service
  - name: invoices
    description: A invoices service
  - name: job-scheduler
    description: A job-scheduler service
  - name: late-job-detectors
    description: A late-job-detectors service
  - name: links
    description: A links service
  - name: local-delivery
    description: A local-delivery service
  - name: microsites
    description: A microsites service
  - name: misc-documents
    description: A misc-documents service
  - name: notification
    description: A notification service
  - name: notification-template
    description: A notification-template service
  - name: order-item-statuses
    description: A order-item-statuses service
  - name: order-items
    description: A order-items service
  - name: order_notes
    description: A order_notes service
  - name: orders
    description: A orders service
  - name: packaging
    description: A packaging service
  - name: payment-gateway
    description: A payment-gateway service
  - name: payments
    description: A payments service
  - name: payments-gateway
    description: A payments-gateway service
  - name: pick-list-scanner-logs
    description: A pick-list-scanner-logs service
  - name: pickup-locations
    description: A pickup-locations service
  - name: pre-flights
    description: A pre-flights service
  - name: printable
    description: A printable service
  - name: printable-combined
    description: A printable-combined service
  - name: printable-docs
    description: A printable-docs service
  - name: product-mass-update-log
    description: A product-mass-update-log service
  - name: product-policy
    description: A product-policy service
  - name: product-sync
    description: A product-sync service
  - name: production
    description: A production service
  - name: production-batches-status
    description: A production-batches-status service
  - name: production-batches-status-log
    description: A production-batches-status-log service
  - name: production-status-log
    description: A production-status-log service
  - name: products-legacy
    description: A products-legacy service
  - name: promo-code-engine
    description: A promo-code-engine service
  - name: promo-codes
    description: A promo-codes service
  - name: promo-codes-campaigns
    description: A promo-codes-campaigns service
  - name: proofs
    description: A proofs service
  - name: public-sales-people
    description: A public-sales-people service
  - name: purchase-orders
    description: A purchase-orders service
  - name: purchase-orders-approval
    description: A purchase-orders-approval service
  - name: real-time
    description: A real-time service
  - name: report
    description: A report service
  - name: reports
    description: A reports service
  - name: rfqs
    description: A rfqs service
  - name: rules-engine
    description: A rules-engine service
  - name: sales-orders
    description: A sales-orders service
  - name: sales-people
    description: A sales-people service
  - name: sales-tax
    description: A sales-tax service
  - name: sandbox-sync
    description: A sandbox-sync service
  - name: search
    description: A search service
  - name: settings-provider
    description: A settings-provider service
  - name: shipping
    description: A shipping service
  - name: shipping-originations
    description: A shipping-originations service
  - name: shipping2
    description: A shipping2 service
  - name: slack
    description: A slack service
  - name: starter-templates
    description: A starter-templates service
  - name: store-front
    description: A store-front service
  - name: support
    description: A support service
  - name: tags
    description: A tags service
  - name: upload-log
    description: A upload-log service
  - name: uploads
    description: A uploads service
  - name: uploads-general
    description: A uploads-general service
  - name: uploads-general-records
    description: A uploads-general-records service
  - name: uploads-misc
    description: A uploads-misc service
  - name: use-codes
    description: A use-codes service
  - name: use-codes-apply
    description: A use-codes-apply service
  - name: user
    description: A user service
  - name: user-allotment-increase-requests
    description: A user-allotment-increase-requests service
  - name: user-allotment-policies
    description: A user-allotment-policies service
  - name: user-allotments
    description: A user-allotments service
  - name: user-allotments-apply
    description: A user-allotments-apply service
  - name: user-messages
    description: A user-messages service
  - name: user-permissions
    description: A user-permissions service
  - name: user-roles
    description: A user-roles service
  - name: users
    description: A users service
  - name: vendor-billing-reconciliations
    description: A vendor-billing-reconciliations service
  - name: vendor-billing-reconcillations
    description: A vendor-billing-reconcillations service
  - name: webhook-events
    description: A webhook-events service
  - name: webhook-subscriptions
    description: A webhook-subscriptions service
  - name: workflow-stations
    description: A workflow-stations service
