openapi: 3.0.1
info:
  contact:
    email: api@fulfillmenttools.com
    name: fulfillmenttools
    url: https://fulfillmenttools.com/
  description: >-
    This is the fulfillmenttools API documentation. Visit
    https://docs.fulfillmenttools.com/ for first steps.
  termsOfService: http://swagger.io/terms/
  title: fulfillmenttools - simplifying retail complexity
  version: VERSIONLESS
paths:
  /api/artifacts/{platform}:
    get:
      parameters:
        - description: Platform for which to list artifacts
          in: path
          name: platform
          required: true
          schema:
            enum:
              - android
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArtifactMetadataItems'
          description: All available artifacts for the selected platform
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: The given platform is invalid
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Infrastructure - Artifacts
      description: ''
      operationId: getArtifacts
      summary: Provides metadata for currently available artifacts for a platform
  /api/carriers:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: >-
            Provide the localized names and descriptions for the parcel label
            classifications. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedCarriers'
          description: The current list of available carriers
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: No more elements available
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: getCarriers
      summary: Returns all configured CEP partners
    post:
      parameters:
        - description: >-
            Provide the localized names and descriptions for the parcel label
            classifications. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Carrier'
          description: >-
            The carrier was successfully created. The Location header contains
            the URL of the carrier.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: addCarrier
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CarrierForCreation'
        description: Carrier object
        required: true
      summary: Add a new carrier as a CEP partner
  /api/carriers/{carrierId}:
    get:
      parameters:
        - description: ID of the carrier you want to get
          in: path
          name: carrierId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the parcel label
            classifications. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Carrier'
          description: >-
            Carrier was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: getCarrier
      summary: Get a carrier with the given ID
    patch:
      parameters:
        - description: ID of carrier you want to patch
          in: path
          name: carrierId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the parcel label
            classifications. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Carrier'
          description: >-
            Carrier was found & patch-set has been applied. The patched entity
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: patchCarrier
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CarrierPatchActions'
        description: Patch set
        required: true
      summary: Patches a carrier with the given ID
  /api/carriers/{carrierId}/configuration:
    get:
      parameters:
        - description: ID of the carrier you want to get the configuration
          in: path
          name: carrierId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/CarrierConfiguration'
                  - $ref: '#/components/schemas/GlsCarrierConfiguration'
                  - $ref: '#/components/schemas/FedexCarrierConfiguration'
                  - $ref: '#/components/schemas/BringCarrierConfiguration'
                  - $ref: '#/components/schemas/DpdChCarrierConfiguration'
                  - $ref: '#/components/schemas/DhlV2CarrierConfiguration'
                  - $ref: '#/components/schemas/VceCarrierConfiguration'
                  - $ref: '#/components/schemas/PostNlCarrierConfiguration'
          description: >-
            Carrier Configuration was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Carrier Configuration not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: getCarrierConfiguration
      summary: Get a carrier configuration with the given ID
    put:
      parameters:
        - description: ID of the carrier you want to update the configuration
          in: path
          name: carrierId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/CarrierConfiguration'
                  - $ref: '#/components/schemas/GlsCarrierConfiguration'
                  - $ref: '#/components/schemas/FedexCarrierConfiguration'
                  - $ref: '#/components/schemas/BringCarrierConfiguration'
                  - $ref: '#/components/schemas/DpdChCarrierConfiguration'
                  - $ref: '#/components/schemas/DhlV2CarrierConfiguration'
                  - $ref: '#/components/schemas/VceCarrierConfiguration'
                  - $ref: '#/components/schemas/PostNlCarrierConfiguration'
          description: >-
            Carrier Configuration was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Carrier Configuration not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: putCarrierConfiguration
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/CarrierConfiguration'
                - $ref: '#/components/schemas/GlsCarrierConfiguration'
                - $ref: '#/components/schemas/FedexCarrierConfiguration'
                - $ref: '#/components/schemas/BringCarrierConfiguration'
                - $ref: '#/components/schemas/DpdChCarrierConfiguration'
                - $ref: '#/components/schemas/DhlV2CarrierConfiguration'
                - $ref: '#/components/schemas/VceCarrierConfiguration'
                - $ref: '#/components/schemas/PostNlCarrierConfiguration'
        description: Carrier Configuration
        required: true
      summary: Update a carrier configuration with the given ID
  /api/carriers/{carrierId}/configuration/countryservicemappings:
    get:
      parameters:
        - description: ID of the carrier you want to get the countryservicemappings for
          in: path
          name: carrierId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/CarrierCountryServiceMapping'
          description: >-
            Carrier's countryservicemappings found & you are allowed to access
            it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Carrier's countryservicemappings Configuration not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: getCarrierCountryServiceMappings
      summary: Get a CarrierCountryServiceMappings for carrier with given ID
    post:
      parameters:
        - description: ID of the carrier you want to create a countryservicemapping for
          in: path
          name: carrierId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierCountryServiceMapping'
          description: >-
            CarrierCountryServiceMapping successfully created. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Carrier not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: createCarrierCountryServiceMapping
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CarrierCountryServiceMappingForCreation'
        description: Carrier Configuration
        required: true
      summary: Crwate a carrierCountryServiceMapping for carrier with given ID
  /api/carriers/{carrierId}/configuration/countryservicemappings/{countryServiceMappingId}:
    get:
      parameters:
        - description: ID of the carrier you want to get a countryservicemapping for
          in: path
          name: carrierId
          required: true
          schema:
            type: string
        - description: ID of the countryservicemapping
          in: path
          name: countryServiceMappingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierCountryServiceMapping'
          description: >-
            Carrier's countryservicemapping found & you are allowed to access
            it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Carrier's countryservicemappings Configuration not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: getCarrierCountryServiceMapping
      summary: Get a CarrierCountryServiceMappings for carrier with given ID
    patch:
      parameters:
        - description: ID of the carrier you want to update a countryservicemapping of
          in: path
          name: carrierId
          required: true
          schema:
            type: string
        - description: ID of the countryservicemapping
          in: path
          name: countryServiceMappingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CarrierCountryServiceMapping'
          description: >-
            CarrierCountryServiceMapping successfully updated. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Carrier or CarrierCountryServiceMapping not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: updateCarrierCountryServiceMapping
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CarrierCountryServiceMappingForUpdate'
        description: Carrier Mapping for update
        required: true
      summary: Update a carrierCountryServiceMapping for carrier with given ID
    delete:
      parameters:
        - description: ID of the carrier you want to delete a countryservicemapping from
          in: path
          name: carrierId
          required: true
          schema:
            type: string
        - description: ID of the countryservicemapping
          in: path
          name: countryServiceMappingId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: CarrierCountryServiceMapping successfully deleted.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Carrier or CarrierCountryServiceMapping not found
      tags:
        - Last Mile Integration - Carriers
      description: ''
      operationId: deleteCarrierCountryServiceMapping
      summary: Delete a carrierCountryServiceMapping for carrier with given ID
  /api/configurations/cutofftime:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CutoffTimeConfiguration'
          description: >-
            Cutoff time configuration was found & you were allowed to access it.
            The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Cutoff time configuration not found
      tags:
        - Fulfillment Operations - Picking
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getCutoffTimeConfiguration
      summary: Get a tenant wide cutoff time config
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CutoffTimeConfiguration'
          description: Cutoff time configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Cutoff time configuration not found
      tags:
        - Fulfillment Operations - Picking
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: putCutoffTimeConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CutoffTimeConfiguration'
        required: true
      summary: Update cutoff time configuration of a tenant
  /api/configurations/tenant:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantConfiguration'
          description: >-
            Tenant configuration was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Tenant configuration not found
      tags:
        - Core - Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getTenantConfiguration
      summary: Get a tenant config
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantConfiguration'
          description: Tenant configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Tenant configuration not found
      tags:
        - Core - Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Upsert tenant configuration
      operationId: putTenantConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantConfigurationForUpsert'
        required: true
      summary: Update tenant configuration of a tenant
  /api/configurations/deliverynote:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeliveryNoteConfiguration'
          description: >-
            Delivery note configuration was found & you were allowed to access
            it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Delivery note configuration not found
      tags:
        - Fulfillment Operations - Shipments
      operationId: getDeliveryNoteConfiguration
      summary: Get a tenant wide delivery configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeliveryNoteConfiguration'
          description: Delivery note configuration was successfully updated
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeliveryNoteConfiguration'
          description: Delivery note configuration was successfully created
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      operationId: putDeliveryNoteConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeliveryNoteConfigurationForUpsert'
        required: true
      summary: Update delivery note configuration of a tenant
  /api/configurations/tenantconnector:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantConnectorConfigurations'
          description: >-
            Configuration was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: configuration not found
      tags:
        - Infrastructure - Artifacts
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getTenantConnectorConfigurations
      summary: Get a tenant wide app connector configuration
  /api/configurations/packing:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingConfigurations'
          description: Central Configuration of all packing related things
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      operationId: getPackingConfigurations
      summary: Get the packing configurations
    patch:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingConfigurations'
          description: The packing central configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingConfigurations'
          description: The packing central configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: upsertPackingConfigurations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingConfigurations'
        description: create/update packing central configuration
        required: true
      summary: Change the tenant wide packing central configuration
  /api/configurations/handover:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandoverConfiguration'
          description: >-
            Handover configuration was found & you were allowed to access it.
            The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Handover
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getHandoverConfiguration
      summary: Read handover configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandoverConfiguration'
          description: The handover configuration was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Handover
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: upsertHandoverConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoverConfigurationForCreate'
        description: Desired HandoverConfiguration
        required: true
      summary: Change the handover configuration
  /api/configurations/handover/refusereasons:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AvailableRefusedReason'
          description: Existing refuse reasons
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Handover
      description: ''
      operationId: getAllRefuseReasons
      summary: Get all tenant wide refuse reasons
  /api/configurations/tags/packjob:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackJobTagConfiguration'
          description: Packjob tag config is in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getPackJobTagConfiguration
      summary: Read tag configuration for the specified section
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackJobTagConfiguration'
          description: The packing configuration was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: putPackJobTagConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackJobTagConfiguration'
        description: Desired PackJobTagConfiguration
        required: true
      summary: Change the tag configuration for packjobs
  /api/configurations/tags/parcel:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParcelTagConfiguration'
          description: tag config is in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Shipments
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getParcelTagConfiguration
      summary: Read tag configuration for parcels
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParcelTagConfiguration'
          description: The tag configuration was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: putParcelTagConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParcelTagConfigurationForUpsert'
        description: Desired Tag Configuration for Parcels
        required: true
      summary: Change the tag configuration for Parcels
  /api/configurations/tags/handoverjob:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandoverJobTagConfiguration'
          description: handoverJob tag config is in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Handover
      description: ''
      operationId: getHandoverJobTagConfiguration
      summary: Read tag configuration for handoverJobs
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HandoverJobTagConfiguration'
          description: The handoverjob tag configuration was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Handover
      description: ''
      operationId: putHandoverTagConfigurations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoverJobTagConfiguration'
        description: Desired Tag Configuration for HandoverJobs
        required: true
      summary: Change the tag configuration for HandoverJobs
  /api/configurations/tags/order:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderTagConfiguration'
          description: order tag config is in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - DOMS - Orders
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getOrderTagConfiguration
      summary: Read tag configuration for orders
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderTagConfiguration'
          description: The order tag configuration was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Orders
      description: ''
      operationId: putOrderTagConfigurations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderTagConfiguration'
        description: Desired Tag Configuration for orders
        required: true
      summary: Change the tag configuration for orders
  /api/configurations/domain:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainConfiguration'
          description: Domain config could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Infrastructure - Artifacts
      description: ''
      operationId: getDomainConfiguration
      summary: Get default authentication domain of the tenant
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainConfiguration'
          description: The domain configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DomainConfiguration'
          description: The domain configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Infrastructure - Artifacts
      description: ''
      operationId: putDomainConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DomainConfiguration'
        description: Desired domain note configuration to create/update
        required: true
      summary: Change the tenant's default authentication domain configuration
  /api/configurations/fulfillmentprocessbuffer:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FulfillmentProcessBufferConfiguration'
          description: >-
            Configuration was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Configuration not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getFulfillmentProcessBufferConfiguration
      summary: Get a tenant fulfillment process buffer configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FulfillmentProcessBufferConfiguration'
          description: Configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Configuration not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: putFulfillmentProcessBufferConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FulfillmentProcessBufferConfiguration'
        required: true
      summary: Update fulfillment process buffer configuration of a tenant
  /api/configurations/gdpr:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GdprConfiguration'
          description: >-
            Gdpr configuration was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Gdpr configuration not found
      tags:
        - Core - Configuration
      description: ''
      operationId: getGdprConfiguration
      summary: Get a tenant gdpr config
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GdprConfiguration'
          description: Gdpr configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Gdpr configuration not found
      tags:
        - Core - Configuration
      description: ''
      operationId: putGdprConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GdprConfiguration'
        required: true
      summary: Update gdpr configuration of a tenant
  /api/configurations/loadunit:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitConfiguration'
          description: The load unit configuration can be found in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: getLoadUnitConfiguration
      summary: Get the load unit configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitConfiguration'
          description: The load unit configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitConfiguration'
          description: The load unit configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: putLoadUnitConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoadUnitConfiguration'
        description: Desired load unit configuration to create/update
        required: true
      summary: Change the tenant wide load unit configuration
  /api/configurations/locale:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocaleConfiguration'
          description: The locale Configuration can be found in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Configuration
      description: ''
      operationId: getLocaleConfiguration
      summary: Get the tenant wide default locale configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocaleConfiguration'
          description: The locale Configuration was successfully set.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Configuration
      description: ''
      operationId: putLocaleConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LocaleConfiguration'
        description: Desired default locale configuration to put
        required: true
      summary: Change the tenant wide default locale configuration
  /api/configurations/oidcproviders:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OidcProviders'
          description: existing oidc providers.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Infrastructure - OIDC Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Get the available OIDC providers.
      operationId: getOidcProviders
      summary: Get the available OIDC providers.
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OidcProviderForCreation'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedOidcProvider'
          description: Provider was updated successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Infrastructure - OIDC Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Create an OIDC provider.
      operationId: createOidcProvider
      summary: Create an OIDC provider.
  /api/configurations/oidcproviders/{oidcProviderId}:
    get:
      parameters:
        - description: ID of OIDC provider you want to get.
          in: path
          name: oidcProviderId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedOidcProvider'
          description: Provider was found
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Infrastructure - OIDC Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getOidcProvider
      summary: Get OIDC provider by id.
    put:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OidcProviderForUpdate'
      parameters:
        - description: ID of OIDC provider you want to update.
          in: path
          name: oidcProviderId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OidcProviderForUpdate'
          description: Provider was updated successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Infrastructure - OIDC Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Update an OIDC Provider.
      operationId: updateOidcProvider
      summary: Update an OIDC Provider.
    delete:
      parameters:
        - description: ID of the OIDC provider you want to delete.
          in: path
          name: oidcProviderId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OIDC Provider was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: OIDC Provider not found
      tags:
        - Infrastructure - OIDC Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Delete an OIDC Provider.
      operationId: deleteOidcProvider
      summary: Delete an OIDC Provider.
  /api/configurations/pickingtimes:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultPickingTimesConfiguration'
          description: Picking Times config found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getDefaultPickingTimesConfiguration
      summary: Get the current configuration for tenant wide default picking times
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DefaultPickingTimesConfiguration'
          description: The default picking times configuration was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Configuration version conflict
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: putDefaultPickingTimesConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DefaultPickingTimesConfiguration'
        description: Desired default picking times configuration to create/update
        required: true
      summary: Change the tenant wide default picking times configuration
  /api/configurations/returnnote:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnNoteConfiguration'
          description: Return note config could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Shipments
      operationId: getReturnNoteConfiguration
      summary: Get defined return notes of the tenant
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnNoteConfiguration'
          description: The return note configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnNoteConfiguration'
          description: The return note configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: putReturnNoteConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReturnNoteConfigurationForUpsert'
        description: Desired return note configuration to create/update
        required: true
      summary: Change the tenant wide return note configuration
  /api/configurations/stock:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockConfiguration'
          description: StockConfiguration config found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Inventory Management - Stocks
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getStockConfiguration
      summary: Get the current stock configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockConfiguration'
          description: The stockConfiguration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Inventory Management - Stocks
      description: ''
      operationId: putStockConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StockConfiguration'
        description: Desired stock configuration to put
        required: true
      summary: Change the tenant wide stock configuration
  /api/configurations/substitution:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubstitutionConfiguration'
          description: Substitution config found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getSubstitutionConfiguration
      summary: Get the current configuration for substitution
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubstitutionConfiguration'
          description: The substitution configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubstitutionConfiguration'
          description: The substitution configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility version conflict
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: putSubstitutionConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubstitutionConfiguration'
        description: Desired substitution configuration to create/update
        required: true
      summary: Change the tenant wide substitution configuration
  /api/configurations/supportedlocales:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportedLocales'
          description: The supported locales can be found in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Configuration
      description: ''
      operationId: getLocales
      summary: Get the list of supported locales
  /api/configurations/packing/containerrequired:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingContainerRequiredConfiguration'
          description: The requirement of containers in packing can be found in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated, will be replaced with /api/configurations/packing
      deprecated: true
      operationId: getPackingContainerRequirement
      summary: Get the packing container requirement configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingContainerRequiredConfiguration'
          description: >-
            The packing container requirement configuration was successfully
            updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingContainerRequiredConfiguration'
          description: >-
            The packing container requirement configuration was successfully
            created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated, will be replaced with /api/configurations/packing
      deprecated: true
      operationId: putPackingContainerRequirement
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingContainerRequiredConfiguration'
        description: Validation picking scan code to activate/deactivate
        required: true
      summary: Change the tenant wide packing container requirement configuration
  /api/deliverynotes:
    post:
      parameters:
        - description: >-
            Provide the localized values for the delivery note. If not provided
            the default locale is used. For example de_DE
          in: query
          name: locale
          schema:
            type: string
      responses:
        '201':
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/DeliveryNote'
          description: Successfully created the delivery note.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      operationId: createDeliveryNote
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeliveryNote'
        required: true
      summary: Create delivery note
  /api/facilities:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: Reference to the status you want to get the corresponding facilities
          explode: true
          in: query
          name: status
          required: false
          schema:
            type: array
            items:
              type: string
        - description: number of facilities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: query facilities with the given tenantFacilityId
          in: query
          name: tenantFacilityId
          required: false
          schema:
            type: string
        - description: query facilities orderBy
          in: query
          name: orderBy
          required: false
          schema:
            $ref: '#/components/schemas/FacilityOrderBy'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedFacilities'
          description: Facilities are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Facilities
      description: ''
      operationId: getAllFacilities
      summary: Return all facilities
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Facility'
          description: >-
            The facility was successfully created. The Location header contains
            the URL of the facility.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Facilities
      description: ''
      operationId: addFacility
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityForCreation'
        description: Representation that describes the facility
        required: true
      summary: Add a new facility
  /api/facilities/{facilityId}:
    delete:
      parameters:
        - description: ID of facility you want to delete
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: cascading deletion without pre condition check
          in: query
          name: forceDeletion
          required: false
          schema:
            default: false
            type: boolean
      responses:
        '200':
          description: Facility was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: ''
      operationId: deleteFacility
      summary: deletes a facility with the given ID
    get:
      parameters:
        - description: ID of facility you want to get
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Facility'
          description: >-
            Facility was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: ''
      operationId: getFacility
      summary: Get a facility with the given ID
    patch:
      parameters:
        - description: ID of facility you want to patch
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Facility'
          description: >-
            Facility was found & patch-set has been applied. The patched
            facility is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility version conflict
      tags:
        - Core - Facilities
      description: ''
      operationId: patchFacility
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityPatchActions'
        description: Patch set
        required: true
      summary: Patches a facility with the given ID
  /api/facilities/{facilityId}/actions:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityActionsParameter'
      parameters:
        - description: Reference to the facility you want to call the action for
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Facility'
          description: Updated Facility in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Facilities
      operationId: facilityAction
      summary: Call a single action on a given facility
  /api/facilities/{facilityId}/carriers:
    get:
      parameters:
        - description: ID of facility you want to get
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedCarriers'
          description: >-
            Carriers are found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
          description: Carriers not found
      tags:
        - Core - Facilities
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getFacilityCeps
      summary: Get the available CEPs for a facility
  /api/facilities/{facilityId}/configurations/stock:
    get:
      parameters:
        - description: ID of facility you want to retrieve the configurations for
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityStockConfiguration'
          description: Configuration for stock routing was found.
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: No active configurations found for this facility
      tags:
        - Inventory Management - Stocks
      operationId: getFacilityStockConfiguration
      summary: >-
        Gets the facility's current configuration for stock related order
        distribution
    patch:
      parameters:
        - description: ID of facility you want to get
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityStockConfiguration'
          description: >-
            Facility was found & patch-set has been applied. The patched
            facility configuration is in the body.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility Configuration not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility version conflict
      tags:
        - Inventory Management - Stocks
      description: ''
      operationId: patchFacilityConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StockConfigurationPatchActions'
        description: Patch set
        required: true
      summary: Patches a facility configuration with the given ID
  /api/facilities/{facilityId}/listings:
    get:
      parameters:
        - description: ID of facility you want to get listing
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of facilities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: Array of tenantArticleIds
          in: query
          name: tenantArticleIds
          required: false
          explode: false
          schema:
            type: array
            maxItems: 500
            items:
              type: string
        - description: limit results to this scannableCode
          in: query
          name: scannableCode
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedListings'
          description: >-
            Facility was found & you were allowed to access it. The results are
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Listings
      description: ''
      operationId: getFacilityListing
      summary: Get a facility with the given ID
    put:
      parameters:
        - description: ID of facility you want to put listings to
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ListingBulkOperationResult'
          description: >-
            Facility listing was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Core - Listings
      description: >-
        Bulk PUT for Listings. Please note: This endpoint has legacy behaviour,
        i.e. all PUTs fail if a single PUT fails.
      operationId: putFacilityListing
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListingsForReplacement'
        description: listings for put
        required: true
      summary: Create or Update listings of a facility with the given ID
    delete:
      parameters:
        - description: ID of facility you want to delete all listings of
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Facility listings were found and successfully deleted
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Core - Listings
      description: ''
      operationId: deleteListingsOfFacility
      summary: deletes all listings of a facility with the given ID
  /api/facilities/{facilityId}/listings/{tenantArticleId}:
    delete:
      parameters:
        - description: ID of facility you want to delete a listing of
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: tenant ID of the articles listing you want to delete
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Facility listing was found and successfully deleted
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Core - Listings
      description: ''
      operationId: deleteFacilityListing
      summary: deletes a listing with the given ID of a facility with the given ID
    get:
      parameters:
        - description: ID of facility you want to get listing
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: tenantArticleId of listing you want to get
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the listing. If not
            provided the default locale is used., for example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Listing'
          description: >-
            Listing is found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Listings not found
      tags:
        - Core - Listings
      description: ''
      operationId: getListing
      summary: Get a Listings with the given ID
    patch:
      parameters:
        - description: ID of facility you want to patch a listing of
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: tenant ID of the articles listing you want to patch
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Listing'
                type: array
          description: Facility listing was found and successfully patched
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Listing version conflict
      tags:
        - Core - Listings
      description: ''
      operationId: patchFacilityListing
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListingPatchActions'
        description: listings for put
        required: true
      summary: Update a listing with the given ID of a facility with the given ID
  /api/facilities/{facilityId}/listings/{tenantArticleId}/partialstocks:
    get:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />This endpoint is deprecated. Use /api/stocks endpoints instead.
      parameters:
        - description: ID of facility you want to get the partial stocks
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of listing you want to get partial stocks
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PartialStock'
                type: array
          description: >-
            Facility and listing were found & you are allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility or Listing not found
      tags:
        - Core - Listings
      operationId: getFacilityListingPartialStock
      summary: Get a partial stocks for a listing
    put:
      deprecated: true
      description: >
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />This endpoint is deprecated. Use /api/stocks endpoints instead.

        Replaces the current partial stock object related to its listing
      parameters:
        - description: ID of facility you want to get listing
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of listing you want to get partial stocks
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Facility listing was found & you were allowed to update it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Core - Listings
      operationId: putFacilityListingPartialStock
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartialStocksForReplacement'
        description: Patch set
        required: true
      summary: Replace partial stocks of a listings of a facility with the given ID
    patch:
      deprecated: true
      description: >
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />This endpoint is deprecated. Use /api/stocks endpoints instead.

        Adds new partial stocks, updates existing partial stocks and keeps
        stocks that are previously present in the database.


        1. If a stock exists in the patch action but not in the database it is
        added.

        2. If a stock exists both in the patch action and in the database it is
        updated and the contents are merged.

        3. If a stock exists only in the database, it is left untouched.
      parameters:
        - description: ID of facility you want to patch the partial stocks
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of listing you want to get partial stocks
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Facility listing was found & you were allowed to update it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Core - Listings
      operationId: patchFacilityListingPartialStock
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartialStockPatchActions'
        description: Patch set
        required: true
      summary: Patches partial stocks of a listings of a facility with the given ID
    delete:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />This endpoint is deprecated. Use /api/stocks endpoints instead.
      parameters:
        - description: ID of facility from whom you want to delete the partial stock
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of listing you want to get partial stocks
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            Facility listing was found & you were allowed to delete the partial
            stock.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Core - Listings
      operationId: deleteFacilityListingPartialStock
      summary: Delete partial stocks of a listings of a facility with the given ID
  /api/validations/postalcodes:
    post:
      responses:
        '200':
          description: The given postal code is valid for the given country
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: The given postal code is invalid for the given country
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '422':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: The given country can't be validated
      tags:
        - Core - Validations
      description: ''
      operationId: validatePostalCode
      summary: Validate a given postal code for a given country
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostalCodeValidation'
        description: Branding object
        required: true
  /api/features:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Features'
          description: The available feature for all active modules
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Infrastructure - Features
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getFeatures
      summary: Returns all features grouped by active modules
  /api/features/{featureName}:
    get:
      parameters:
        - description: Name of the feature requested
          in: path
          name: featureName
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Feature'
          description: The requested feature
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Infrastructure - Features
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getFeature
      summary: Returns a feature
    patch:
      parameters:
        - description: Name of the feature requested
          in: path
          name: featureName
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Feature'
          description: >-
            Module was found & patch-set has been applied. The patched entity is
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Infrastructure - Features
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: patchFeature
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FeaturePatchActions'
        description: Patch set
        required: true
      summary: Patches a feature
  /api/pickruns:
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickRun'
          description: >-
            The PickRun was successfully created. The Location header contains
            the URL of it.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: addPickRun
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickRunForCreation'
        required: true
      summary: Add a new PickRun
  /api/pickruns/{pickRunId}:
    get:
      parameters:
        - description: id of pickRun
          in: path
          name: pickRunId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickRun'
          description: PickRun is found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getPickRun
      summary: Return a PickRun
    patch:
      parameters:
        - description: id of pickRun
          in: path
          name: pickRunId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickRun'
          description: The updated PickRun.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Version conflict
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: patchPickRun
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickRunPatchAction'
        required: true
  /api/pickruns/{pickRunId}/pickjobs:
    patch:
      parameters:
        - description: id of pickRun
          in: path
          name: pickRunId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickRunPickJobsPatchAction'
      responses:
        '200':
          description: Pick job was successfully from pick run removed.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: patchPickRunPickJobs
      summary: Update pick jobs of a pick run
  /api/pickruns/{pickRunId}/actions:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickRunActionsParameter'
      parameters:
        - description: Reference to the pick run you want to call the action for
          in: path
          name: pickRunId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickRun'
          description: Updated Pick Run in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: pickRunAction
      summary: Call a single action on a given pickRun
  /api/handoverjobs:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: This query can be used to find handoverjobs for a referenced pickjob
          in: query
          name: pickJobRef
          required: false
          schema:
            type: string
        - description: >-
            This query can be used to find handoverjobs for a referenced
            shipment
          in: query
          name: shipmentRef
          required: false
          schema:
            type: string
        - description: >-
            Reference to the facility you want to get the corresponding
            handoverJobs
          in: query
          name: facilityRef
          required: false
          schema:
            type: string
        - description: >-
            Reference to the status you want to get the corresponding
            handoverJobs
          explode: true
          in: query
          name: status
          required: false
          schema:
            items:
              type: string
            type: array
        - description: >-
            Reference to the carriers you want to get the corresponding
            handoverJobs
          in: query
          name: carrierRefs
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the channel you want to get the corresponding
            handoverJobs
          in: query
          name: channel
          required: false
          schema:
            type: string
        - description: Parameter to filter anonymized handover jobs
          in: query
          name: anonymized
          required: false
          schema:
            type: boolean
        - description: Perform full text search over all searchable attributes
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
        - description: Start date range for pick jobs
          in: query
          name: startTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: End date range for pick jobs
          in: query
          name: endTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedHandoverjobs'
          description: Handoverjobs are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Handover
      description: ''
      operationId: getAllHandoverjobs
      summary: Return all handoverjobs
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Handoverjob'
          description: >-
            The handoverjob was successfully created. The Location header
            contains the URL of it.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Handover
      operationId: addHandoverjob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoverjobForCreation'
        required: true
      summary: Add a new handoverjob
  /api/handoverjobs/{handoverjobId}:
    get:
      parameters:
        - description: ID of the handoverjob you want to get
          in: path
          name: handoverjobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Handoverjob'
          description: >-
            Handoverjob was found & you were allowed to access it. The result is
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Handover
      description: ''
      operationId: getHandoverjob
      summary: Get a Handoverjob with the given ID
    patch:
      parameters:
        - description: ID of handoverjob you want to patch
          in: path
          name: handoverjobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Handoverjob'
          description: >-
            Handoverjob was found & patch-set has been applied. The patched
            entity is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Fulfillment Operations - Handover
      description: ''
      operationId: patchHandoverjob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoverjobPatchActions'
        description: Patch set
        required: true
      summary: Patches a handoverjob with the given ID
  /api/handoverjobs/{handoverJobId}/actions:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/HandoverJobActionsParameter'
      parameters:
        - description: Reference to the handover job you want to call the action for
          in: path
          name: handoverJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Handoverjob'
          description: Updated Handover job in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Handover
      operationId: handoverJobAction
      summary: Call a single action on a given Handover job
  /api/loadunits:
    delete:
      parameters:
        - description: Reference to the pickJob of which you want to delete the loadUnits
          in: query
          name: pickJobRef
          required: false
          schema:
            type: string
        - description: Load unit ids
          explode: true
          in: query
          name: id
          required: false
          schema:
            items:
              type: string
            type: array
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnits'
          description: Load units are successfully deleted.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '422':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: LoadUnits could not be removed due to failing conditions
      tags:
        - Fulfillment Operations - Picking
      operationId: deleteLoadUnits
      summary: Delete loadunits by pickJobRef
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of loadUnits to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: query load units with the given pickJobRef
          in: query
          name: pickJobRef
          required: false
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the routing
            configuration. If not provided the default locale is used., for
            example de_DE
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnits'
          description: Load units are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: getAllLoadUnits
      summary: Return all load units
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnits'
          description: Load units are successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: addLoadUnit
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoadUnitsForCreation'
        description: Representation that describes the unit load
        required: true
      summary: Add new load units
  /api/loadunits/{loadUnitId}:
    delete:
      parameters:
        - in: path
          name: loadUnitId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnit'
          description: Successfully deleted load unit.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: deleteLoadUnit
      summary: Delete load unit
    get:
      parameters:
        - in: path
          name: loadUnitId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the routing
            configuration. If not provided the default locale is used., for
            example de_DE
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnit'
          description: The found load unit.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: getLoadUnitByID
      summary: Get a loadUnit by its ID
    patch:
      parameters:
        - in: path
          name: loadUnitId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the routing
            configuration. If not provided the default locale is used., for
            example de_DE
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnit'
          description: The found load unit.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: patchLoadUnitByID
      summary: Patch a loadUnit by its ID
      requestBody:
        content:
          application/json:
            schema:
              anyOf:
                - $ref: '#/components/schemas/LoadUnitPatchActions'
                - $ref: '#/components/schemas/LoadUnit'
        required: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />LoadUnitPatchActions: Deprecated - For future usage please use
        the /actions endpoints mentioned in the corresponding PatchActions

        LoadUnit: Partial Patch on this entity.
      deprecated: true
  /api/loadunittypes:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: >-
            Provide the localized names and descriptions for the routing
            configuration. If not provided the default locale is used., for
            example de_DE
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitTypes'
          description: All load unit types.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: getLoadUnitTypes
      summary: Get all load unit types
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitType'
          description: Successfully created resource.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: createLoadUnitTypes
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoadUnitTypeForCreation'
        required: true
      summary: Create new load unit type
  /api/loadunittypes/{loadUnitTypeId}:
    get:
      parameters:
        - in: path
          name: loadUnitTypeId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the routing
            configuration. If not provided the default locale is used., for
            example de_DE
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitType'
          description: The found load unit type.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: getLoadUnitTypeByID
      summary: Get a loadUnitType by its ID
    patch:
      parameters:
        - in: path
          name: loadUnitTypeId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitType'
          description: Successfully updated load unit type.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: updateLoadUnitType
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LoadUnitTypePatchActions'
        description: Patch set
        required: true
      summary: Update load unit type
  /api/loadunittypes/{loadUnitTypeId}/icon:
    put:
      parameters:
        - in: path
          name: loadUnitTypeId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitType'
          description: Successfully updated load unit type icon.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnitType'
          description: Successfully created load unit type icon.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: uploadLoadUnitTypeIcon
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/NamedFile'
        description: Base64 encoded icon to upload
        required: true
      summary: Upload icon for load unit type.
  /api/measurementunits:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of measurementUnits to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: key of the measurementUnit
          in: query
          name: key
          required: false
          schema:
            type: string
        - description: >-
            Provide the localized names for the measurementUnit. If not provided
            the default locale is used., for example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementUnits'
          description: The found measurementUnit.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Listings
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getAllMeasurementUnits
      summary: Get all measurementUnits
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementUnit'
          description: Successfully created the measurementUnit.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Listings
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: createMeasurementUnit
      requestBody:
        $ref: '#/components/requestBodies/MeasurementUnitForCreation'
      summary: Create measurementUnit
  /api/measurementunits/{measurementUnitId}:
    delete:
      parameters:
        - in: path
          name: measurementUnitId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successfully deleted the measurementUnit.
        '401':
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Listings
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: deleteMeasurementUnit
      summary: Delete measurementUnit
    get:
      parameters:
        - in: path
          name: measurementUnitId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementUnit'
          description: The found measurementUnit.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Listings
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getMeasurementUnitByID
      summary: Get a measurementUnit by its ID
    put:
      parameters:
        - in: path
          name: measurementUnitId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeasurementUnit'
          description: Successfully updated the measurementUnit.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Listings
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: updateMeasurementUnit
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MeasurementUnitForCreation'
        required: true
      summary: Update measurementUnit
  /api/parcels:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedParcels'
          description: Parcels are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: getAllParcels
      summary: Return all parcels
  /api/parcels/{parcelId}:
    delete:
      parameters:
        - description: ID of the parcel you want to delete
          in: path
          name: parcelId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Parcel was successfully deleted
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: deleteParcel
      summary: Delete a parcel with the given ID
    get:
      parameters:
        - description: ID of the parcel you want to get
          in: path
          name: parcelId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Parcel'
          description: >-
            Parcel was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: getParcel
      summary: Get a parcel with the given ID
    patch:
      parameters:
        - description: ID of the parcel you want to get
          in: path
          name: parcelId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Parcel'
          description: Successfully updated the parcel.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: patchParcel
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParcelPatchActions'
        description: Patch set
        required: true
      summary: Patches a parcel with the given ID
  /api/parcels/{parcelId}/labels/{labelDocument}:
    get:
      parameters:
        - description: ID of the parcel you want to get a label for
          in: path
          name: parcelId
          required: true
          schema:
            type: string
        - description: >-
            Within a parcel different labels can be created. The following types
            of labels are currently supported: all.pdf, send.pdf and return.pdf
            = Parcel label plus (if configured) retoure label.
          in: path
          name: labelDocument
          required: true
          schema:
            enum:
              - return.pdf
              - all.pdf
              - send.pdf
              - customs.pdf
            type: string
      responses:
        '200':
          content:
            application/pdf: {}
          description: >-
            Parcel was found & you were allowed to access it. The label is in
            the body.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: getLabelForParcel
      summary: Get a label for the parcel with the given ID
  /api/parcels/{parcelId}/deliverynote:
    get:
      parameters:
        - description: ID of parcel you want to retrieve deliveryNote for
          in: path
          name: parcelId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized values for the delivery note. If not provided
            the default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/DeliveryNote'
          description: Get delivery note as pdf.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Parcel not found
      tags:
        - Fulfillment Operations - Shipments
      operationId: getParcelDeliveryNote
      summary: Get deliveryNote for a parcel
  /api/parcels/{parcelId}/returnnote:
    get:
      parameters:
        - description: ID of parcel you want to retrieve returnNote for
          in: path
          name: parcelId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized values for the returnNote. If not provided the
            default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/ReturnNote'
          description: Get delivery note as pdf.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Parcel not found
      tags:
        - Fulfillment Operations - Shipments
      operationId: getParcelReturnNote
      summary: Get returnNote for a parcel
  /api/pickjobs:
    get:
      parameters:
        - description: >-
            Search term you want to get the corresponding pickjobs. Search will
            be performed on multiple fields, like tenantOrderId, consumerName,
            tenantArticleId and more
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
        - description: Reference to the carrier you want to get the corresponding pickjobs
          explode: false
          in: query
          name: carrierKeys
          required: false
          schema:
            items:
              type: string
              maxItems: 100
            type: array
        - description: >-
            Reference to the orderDate you want to get the corresponding
            pickjobs
          in: query
          name: startOrderDate
          required: false
          schema:
            type: string
        - description: >-
            Reference to the orderDate you want to get the corresponding
            pickjobs
          in: query
          name: endOrderDate
          required: false
          schema:
            type: string
        - description: Reference to the order you want to get the corresponding pickjobs
          in: query
          name: orderRef
          required: false
          schema:
            type: string
        - description: Reference to the facility you want to get the corresponding pickjobs
          in: query
          name: facilityRef
          required: false
          schema:
            type: string
        - description: Reference to the status you want to get the corresponding pickjobs
          explode: false
          in: query
          name: status
          required: false
          schema:
            items:
              type: string
            type: array
        - description: Reference to the zones you want to get the corresponding pickjobs
          explode: false
          in: query
          name: zoneRefs
          required: false
          schema:
            items:
              type: string
            type: array
        - description: >-
            Reference to the tenantOrderId you want to get the corresponding
            pickjobs
          in: query
          name: tenantOrderId
          required: false
          schema:
            type: string
        - description: The channel of the pickJob you want to filter by
          in: query
          name: channel
          required: false
          schema:
            enum:
              - COLLECT
              - SHIPPING
            type: string
        - description: >-
            Reference to the consumer name you want to get the corresponding
            pickjobs
          in: query
          name: consumerName
          required: false
          schema:
            type: string
        - description: Reference to the shortId you want to get the corresponding pickjobs
          in: query
          name: shortId
          required: false
          schema:
            type: string
        - description: >-
            Reference to the articleTitle you want to get the corresponding
            pickjobs
          in: query
          name: articleTitle
          required: false
          schema:
            type: string
        - description: >-
            Reference to the anonymized you want to get the corresponding
            pickjobs
          in: query
          name: anonymized
          required: false
          schema:
            type: boolean
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: query pickjobs orderBy
          in: query
          name: orderBy
          required: false
          schema:
            type: string
        - description: Start date range for pick jobs
          in: query
          name: startTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: End date range for pick jobs
          in: query
          name: endTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: Reference to pickjobs
          explode: false
          in: query
          name: pickJobRefs
          required: false
          schema:
            items:
              type: string
              maxItems: 100
            type: array
        - description: Reference to the user ID you want to get the corresponding pickjobs
          in: query
          name: modifiedByUsername
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedPickJobs'
          description: PickJobs were found. The results are in the body.
        '204':
          description: No PickJobs were found as a result to the given query.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: queryPickJobs
      summary: Simple query interface to find pickjobs
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickJob'
          description: >-
            The pick job was successfully created. The Location header contains
            the URL of the pickjob.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: addPickJob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickJobForCreation'
        description: Pick job object
        required: true
      summary: Add a new pick job for fulfillment
  /api/documents/{documentId}/file:
    get:
      parameters:
        - in: path
          name: documentId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The document with given id
      tags:
        - Core - Processes
      description: ''
      operationId: downloadProcessDocument
      summary: Download a document
  /api/documentSet/{documentSetRef}:
    get:
      parameters:
        - description: Reference to the entity you want to get
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentSet'
          description: Documents were found. The results are in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Document Sets
      operationId: getDocumentSetDeprecated
      summary: Simple query interface to find documents
      deprecated: true
      description: Deprecated, use /api/documentsets/{documentSetRef} instead
  /api/documentSet/{documentSetRef}/documents:
    post:
      parameters:
        - description: Reference to the documentSet you want to add a file to
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalPrintableDocumentForCreation'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrintableDocument'
          description: Document was found. The results are in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Document Sets
      operationId: addDocumentDeprecated
      deprecated: true
      description: Deprecated, use /api/documentsets/{documentSetRef}/documents instead
  /api/documentSet/{documentSetRef}/documents/{documentRef}:
    patch:
      parameters:
        - description: Reference to the documentSet you want to update
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
        - description: Reference to the single document you want to update
          in: path
          name: documentRef
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrintableDocumentForUpdate'
        description: PartialDocument
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrintableDocument'
          description: Document was found. The results are in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Document Sets
      operationId: updateDocumentDeprecated
      summary: Simple query interface to find documents
      deprecated: true
      description: >-
        Deprecated, use
        /api/documentsets/{documentSetRef}/documents/{documentRef} instead
  /api/documentSet/{documentSetRef}/documents/{documentRef}/file:
    get:
      parameters:
        - description: Reference to the documentSet you want to download a file from
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
        - description: Reference to the single document you want to download
          in: path
          name: documentRef
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The document as a stream
      tags:
        - Core - Document Sets
      description: ''
      operationId: downloadDocumentDeprecated
      summary: Download a document
    put:
      parameters:
        - description: Reference to the documentSet you want to update
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
        - description: Reference to the single document you want to update
          in: path
          name: documentRef
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalDocumentContentForUpdate'
        description: Document Content with id and version
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrintableDocument'
          description: Changed Document
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Document Sets
      operationId: addContentToDocumentDeprecated
      deprecated: true
      description: >-
        Deprecated, use
        /api/documentsets/{documentSetRef}/documents/{documentRef}/file instead
  /api/documentsets/{documentSetRef}:
    get:
      parameters:
        - description: Reference to the entity you want to get
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentSet'
          description: Documents were found. The results are in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Document Sets
      operationId: getDocumentSet
      description: ''
      summary: Simple query interface to find documents
  /api/documentsets/{documentSetRef}/documents:
    post:
      parameters:
        - description: Reference to the documentSet you want to add a file to
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalPrintableDocumentForCreation'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrintableDocument'
          description: Document was found. The results are in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Document Sets
      operationId: addDocument
  /api/documentsets/{documentSetRef}/documents/{documentRef}:
    patch:
      parameters:
        - description: Reference to the documentSet you want to update
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
        - description: Reference to the single document you want to update
          in: path
          name: documentRef
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PrintableDocumentForUpdate'
        description: PartialDocument
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrintableDocument'
          description: Document was found. The results are in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Document Sets
      operationId: updateDocument
      summary: Simple query interface to find documents
  /api/documentsets/{documentSetRef}/documents/{documentRef}/file:
    get:
      parameters:
        - description: Reference to the documentSet you want to download a file from
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
        - description: Reference to the single document you want to download
          in: path
          name: documentRef
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The document as a stream
      tags:
        - Core - Document Sets
      description: ''
      operationId: downloadDocument
      summary: Download a document
    put:
      parameters:
        - description: Reference to the documentSet you want to update
          in: path
          name: documentSetRef
          required: true
          schema:
            type: string
        - description: Reference to the single document you want to update
          in: path
          name: documentRef
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalDocumentContentForUpdate'
        description: Document Content with id and version
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PrintableDocument'
          description: Changed Document
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Document Sets
      operationId: addContentToDocument
  /api/pickjobs/{pickJobId}/actions:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickJobActionsParameter'
      parameters:
        - description: Reference to the pick job you want to call an action for
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickJob'
          description: Updated PickJob in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: pickJobAction
      summary: Call a single action on a given pickJob
  /api/pickjobs/{pickJobId}/picklineitems/{pickLineItemId}/availablesubstitutes:
    get:
      parameters:
        - description: Reference to the pick job you to get the available substitutes for
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
        - description: >-
            Reference to the pickLineItem you to get the available substitutes
            for
          in: path
          name: pickLineItemId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResolvedSubstitutes'
          description: Available substitutes for given pickLineItem
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: queryPickLineItemsSubstitutes
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/pickjobs/{pickJobId}/loadunits:
    get:
      parameters:
        - description: >-
            Reference to the pick job you want to get the corresponding
            loadunits
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LoadUnits'
          description: Loadunits were found. The results are in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      operationId: queryPickJobLoadUnits
      summary: Simple query interface to find load units of a pickjob
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickingLoadUnit'
          description: The load units was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: addPickJobLoadUnits
      parameters:
        - description: >-
            Reference to the pick job you want to get the corresponding
            loadunits
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickingLoadUnitForCreation'
        description: Pick job load unit object
        required: true
      summary: Add a new load unit for pick job
  /api/pickjobs/{pickJobId}:
    get:
      parameters:
        - description: ID of the pickjob you want to get
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickJob'
          description: >-
            PickJob was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getPickJob
      summary: Get a pick job with the given ID
    patch:
      parameters:
        - description: ID of the pickjob you want to get
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickJob'
          description: >-
            PickJob was found & patch-set has been applied. The patched pick job
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: PickJob not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: PickJob version conflict
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: patchPickJob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickingPatchActions'
        description: Patch set
        required: true
      summary: Patches a pick job with the given ID
  /api/pickjobs/{pickjobId}/returnnote:
    get:
      parameters:
        - description: ID of the Pickjob
          in: path
          name: pickjobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf: {}
          description: Returns a return note for the pickjob.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getReturnNotesForPickjob
      summary: Get the return note for the pickjob with the given ID
  /api/pickjobs/{pickJobId}/deliverynote:
    get:
      parameters:
        - description: ID of the pick job for which you want to get a deliverynote
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized values for the delivery note. If not provided
            the default locale is used. For example de_DE
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf: {}
          description: The deliverynote for the given pickjob
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getPickJobDeliveryNote
      summary: Get a deliverynote for the pick job with the given ID
  /api/process:
    get:
      parameters:
        - in: query
          name: tenantOrderId
          required: false
          schema:
            type: string
        - in: query
          name: orderRef
          required: false
          schema:
            type: string
        - in: query
          name: pickJobRef
          required: false
          schema:
            type: string
        - in: query
          name: shipmentRef
          required: false
          schema:
            type: string
        - in: query
          name: handoverJobRef
          required: false
          schema:
            type: string
        - in: query
          name: returnRef
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
          description: Process belonging to the given parameters
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: The given parameters are invalid
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Processes
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getProcesses
      summary: >-
        Returns a process belonging to the given parameters. At least one
        parameter needs to be supplied.
  /api/processes:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: Reference to the status you want to get the corresponding processes
          explode: true
          in: query
          name: status
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the operativeStatus you want to get the corresponding
            processes
          explode: true
          in: query
          name: operativeStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Perform full text search base on the tenantOrderId
          in: query
          name: tenantOrderId
          required: false
          schema:
            type: string
        - description: >-
            Return the Processes which have related pickjobs with a targettime
            on or after this date
          in: query
          name: startTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: >-
            Return the Processes which have related pickjobs with a targettime
            on or before this date
          in: query
          name: endTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: Return the Processes created on or after this date
          in: query
          name: startDate
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: Return the Processes created on or before this date
          in: query
          name: endDate
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: Id's of the facilities from which you want to get the processes
          explode: true
          in: query
          name: facilityRefs
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Consumer country codes from which you want to get the processes
          explode: true
          in: query
          name: countries
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Facility country codes from which you want to get the processes
          explode: true
          in: query
          name: facilityCountries
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Brand ids for which you want to get the processes
          explode: true
          in: query
          name: brandRefs
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Order delivery preferences service level
          explode: true
          in: query
          name: serviceLevels
          required: false
          schema:
            type: array
            items:
              type: string
              enum:
                - DELIVERY
                - SAMEDAY
        - description: Whether an order is click and collect or delivery
          explode: true
          in: query
          name: serviceTypes
          required: false
          schema:
            type: array
            items:
              type: string
              enum:
                - COLLECT
                - SHIPPING
        - description: >-
            Reference to the orderDomainStatus you want to get the corresponding
            processes
          explode: true
          in: query
          name: orderDomainStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the routingDomainStatus you want to get the
            corresponding processes
          explode: true
          in: query
          name: routingDomainStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the pickingDomainStatus you want to get the
            corresponding processes
          explode: true
          in: query
          name: pickingDomainStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the packingDomainStatus you want to get the
            corresponding processes
          explode: true
          in: query
          name: packingDomainStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the shippingDomainStatus you want to get the
            corresponding processes
          explode: true
          in: query
          name: shippingDomainStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the handoverDomainStatus you want to get the
            corresponding processes
          explode: true
          in: query
          name: handoverDomainStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the returnDomainStatus you want to get the
            corresponding processes
          explode: true
          in: query
          name: returnDomainStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Stickers attached to a order
          explode: true
          in: query
          name: stickers
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Perform full text search over all searchable attributes
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
        - description: SortingParameter name for the query
          in: query
          name: sortBy
          required: false
          schema:
            $ref: '#/components/schemas/SortParameterName'
        - description: Sorting direction for the query
          in: query
          name: sortByDirection
          required: false
          schema:
            $ref: '#/components/schemas/SortDirection'
        - description: '@deprecated Use orderStatus instead'
          in: query
          name: locked
          required: false
          schema:
            type: boolean
        - description: Order status for the query
          in: query
          name: orderStatus
          required: false
          schema:
            $ref: '#/components/schemas/OrderStatus'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Processes'
          description: Process are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Processes
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getAllProcesses
      summary: Return all processes
  /api/processes/retrynotroutable:
    post:
      responses:
        '204':
          description: >-
            The retry for all not routable proceses has been succesfully
            triggered
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: The retry task can not be triggered due to a conflicting operation
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Processes
      description: ''
      operationId: triggerRetryNotRoutable
      summary: triggers the retry of not routable plans
  /api/processes/{processId}:
    patch:
      parameters:
        - description: ID of process you want to patch
          in: path
          name: processId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
          description: >-
            Process was found & patch-set has been applied. The patched process
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Process not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Process version conflict
      tags:
        - Core - Processes
      description: ''
      operationId: patchProcess
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ProcessPatchActions'
        description: Patch set
        required: true
      summary: Patches a process with the given ID
    get:
      parameters:
        - in: path
          name: processId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
          description: The found process.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Processes
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getProcessByID
      summary: Get a process by its ID
  /api/processes/{processId}/reroute:
    post:
      parameters:
        - description: ID of process you want to reroute
          in: path
          name: processId
          required: true
          schema:
            type: string
        - description: Version of process you want to reroute
          in: query
          name: version
          required: true
          schema:
            type: number
        - description: The id of the rerouteDescription
          in: query
          name: rerouteDescriptionId
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Process'
          description: >-
            Process was found the corresponding reroute operations have been
            triggered.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Process not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Process version conflict
      tags:
        - Core - Processes
      description: ''
      operationId: postProcess
      summary: Reroutes a process with the given ID
  /api/processes/{processId}/documents:
    post:
      parameters:
        - in: path
          name: processId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalDocument'
          description: The document was successfully created
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalDocumentForCreation'
        description: ''
        required: true
      tags:
        - Core - Processes
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: addDocumentToProcess
      summary: Create a new document on this process
  /api/processes/{processId}/documents/{documentId}/file:
    get:
      parameters:
        - in: path
          name: processId
          required: true
          schema:
            type: string
        - in: path
          name: documentId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf: {}
          description: The document with given id attached to the selected process
      tags:
        - Core - Processes
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: downloadDocumentInProcess
      summary: Read a document on this process
    put:
      parameters:
        - in: path
          name: processId
          required: true
          schema:
            type: string
        - in: path
          name: documentId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalDocument'
          description: The document was successfully updated
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalDocumentForUpdate'
        description: ''
        required: true
      tags:
        - Core - Processes
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: updateDocumentInProcess
      summary: Update a document on this process
  /api/processes/{processId}/documents/{documentId}:
    get:
      parameters:
        - in: path
          name: processId
          required: true
          schema:
            type: string
        - in: path
          name: documentId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalDocument'
          description: >-
            The document meta information with given id attached to the selected
            process
      tags:
        - Core - Processes
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: readDocumentMetaInProcess
      summary: Read meta information about document on this process
  /api/returns:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnJobs'
          description: Return Jobs that were found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Returns
      operationId: getReturnJobs
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show (max 500 per request)
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: Reference to the facility you want to filter for
          in: query
          name: facilityRef
          required: false
          schema:
            type: string
        - description: >-
            Reference to the status you want to get the corresponding return
            jobs to
          in: query
          name: status
          required: false
          schema:
            items:
              type: string
            type: array
      summary: Get Return Jobs
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnJob'
          description: The return was successfully created
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Returns
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />
      deprecated: true
      operationId: addReturn
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReturnJobForCreation'
        description: 'ReturnJob object '
        required: true
      summary: Add a new return
  /api/returns/{returnId}:
    get:
      parameters:
        - description: ID of the return you want to get
          in: path
          name: returnId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnJob'
          description: >-
            Return was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - Fulfillment Operations - Returns
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Will be replaced in the future with the new /itemreturnjob.
      deprecated: true
      operationId: getReturnLines
      summary: Get return with the given return ID
    patch:
      parameters:
        - description: ID of return you want to patch
          in: path
          name: returnId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReturnJob'
          description: >-
            Return was found & patch-set has been applied. The patched entity is
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Fulfillment Operations - Returns
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />
      operationId: patchReturn
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReturnPatchActions'
        description: Patch set
        required: true
      summary: Patches a return with the given ID
      deprecated: true
  /api/scopedcapabilities:
    get:
      parameters:
        - description: id of the facility
          in: query
          name: facilityId
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScopedCapabilities'
          description: All ScopedCapabilities whic are at least inactive
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Infrastructure - Features
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getCapabilities
      summary: >-
        Returns all scopedcapabilities which are at least inactive and available
        to a facility/user
  /api/shipments:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: This query can be used to find shipments for a referenced pickjob
          in: query
          name: pickJobRef
          required: false
          schema:
            type: string
        - description: >-
            This query can be used to find shipments belonging to the referenced
            facility
          in: query
          name: facilityRef
          required: false
          schema:
            type: string
        - description: This query can be used to find shipments for a referenced carrier
          in: query
          name: carrierRef
          required: false
          schema:
            type: string
        - description: Find shipments with one the the given carriers
          explode: false
          in: query
          name: carrierKeys
          required: false
          schema:
            items:
              type: string
            type: array
        - description: Find shipments in one of the given status
          explode: false
          in: query
          name: status
          required: false
          schema:
            items:
              type: string
            type: array
        - description: Find shipments with parcels in one of the given status
          explode: false
          in: query
          name: parcelStatus
          required: false
          schema:
            items:
              type: string
            type: array
        - description: Start date range for shipments
          in: query
          name: startTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: End date range for shipments
          in: query
          name: endTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: Parameter to filter anonymized shipments
          in: query
          name: anonymized
          required: false
          schema:
            type: boolean
        - description: >-
            Fulltext search in shipment's tenantOrderId, shortId,
            parcels.carrierTrackingNumber, lineItems.article.tenantArticleId,
            lineItems.article.title, invoiceAddress, targetAddress and
            customerName
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedShipments'
          description: Shipments are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: getAllShipments
      summary: Return all shipments
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: >-
            The Shipment was successfully created. The Location header contains
            the URL of the Shipment.
        '303':
          description: >-
            The Shipment already exists. The Location header contains the URL of
            the Shipment.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      operationId: addShipment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShipmentForCreation'
        description: Shipment object supplied by your picking app
        required: true
      summary: Add a new Shipment
  /api/shipments/{shipmentId}:
    get:
      parameters:
        - description: ID of Shipment you want to get
          in: path
          name: shipmentId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: >-
            Shipment was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Shipment not found
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: getShipment
      summary: Get a Shipment with the given ID
    patch:
      parameters:
        - description: ID of shipment you want to patch
          in: path
          name: shipmentId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Shipment'
          description: >-
            Shipment was found & patch-set has been applied. The patched entity
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: patchShipment
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ShipmentPatchActions'
        description: Patch set
        required: true
      summary: Patches a shipment with the given ID
  /api/shipments/{shipmentId}/deliverynote:
    get:
      parameters:
        - description: ID of shipment you want to retrieve delivery note for
          in: path
          name: shipmentId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized values for the delivery note. If not provided
            the default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/DeliveryNote'
          description: Get delivery note as pdf.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Shipment not found
      tags:
        - Fulfillment Operations - Shipments
      operationId: getShipmentDeliveryNote
      summary: Get delivery note for a shipment
  /api/shipments/{shipmentId}/parcels:
    post:
      parameters:
        - description: ID of shipment you want to create parcel for
          in: path
          name: shipmentId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Parcel'
          description: >-
            The Parcel was successfully created. The Location header contains
            the URL of the Shipment.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '422':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Parcel could not be processed due to failing conditions
      tags:
        - Fulfillment Operations - Shipments
      description: ''
      operationId: addParcel
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ParcelForCreation'
        description: Payload of the parcel you want to create
      summary: Creates a new parcel for a shipment
  /api/status:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Status'
          description: The status result
      tags:
        - Infrastructure - Health
      description: ''
      operationId: status
      summary: A public status endpoint that renders general availability information
  /api/subscriptions:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscriptions'
          description: All subscriptions.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Eventing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getSubscriptions
      summary: Get all subscriptions
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
          description: Subscription is successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Eventing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: addSubscription
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubscriptionForCreation'
        description: Representation that describes the subscription
        required: true
      summary: >-
        Add new Subscription. Please note: Currently it is only possible to add
        one subscription per event.
  /api/subscriptions/{subscriptionId}:
    delete:
      parameters:
        - description: ID of the subscription you want to delete
          in: path
          name: subscriptionId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Subscription'
          description: Subscription is successfully deleted.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Eventing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: deleteSubscription
      summary: Delete subscription by Id
  /api/substitutes:
    get:
      parameters:
        - description: the tenantArticleId substitutes are requested for
          in: query
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Substitutes'
          description: >-
            There are substitutes for the given tenantArticleId. The result can
            be found in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Fulfillment Operations - Picking
      operationId: getResultingSubstitutesForTenantArticleId
      summary: Get the resulting substitutes for a specific tenantArticleId.
  /api/substitutes/{tenantArticleId}:
    delete:
      parameters:
        - description: the tenant article ID the subsitutes should be deleted for
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            The substitutes for the given tenantArticleId were successfully
            deleted
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: deleteSubstitutesForTenantArticleId
      summary: deletes substitutes for the given tenant article id
    get:
      parameters:
        - description: ''
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Substitutes'
          description: >-
            The substitutes for the given tenantArticleId can be found in the
            body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Fulfillment Operations - Picking
      description: Get the substitutes for a given tenant article id
      operationId: getSubstitutesForTenantArticleId
      summary: Get the substitutes for a given tenant article id
    put:
      parameters:
        - description: Tenant article ID of the article the substitutes should be set for
          in: path
          name: tenantArticleId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Substitutes'
          description: The substitutes for tenantArticleId were successfully updated
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility listing not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: putSubstitutesForTenantArticleID
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubstitutesForUpsert'
        description: substitutes to set
        required: true
      summary: Set possible substitutes for a tenant article ID
  /api/supportedevents:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SupportedEvents'
          description: All supported events.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Eventing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getEvents
      summary: Get a list of supported events you can subscribe to.
  /api/users:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: query users orderBy
          in: query
          name: orderBy
          required: false
          schema:
            $ref: '#/components/schemas/UserOrderBy'
        - description: filter by facility id
          in: query
          name: facilityId
          required: false
          schema:
            type: string
        - description: include admin users without a facility
          in: query
          name: includeAdminUsers
          required: false
          schema:
            type: boolean
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedUsers'
          description: User are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - User Management
      description: ''
      operationId: getAllUsers
      summary: Return all users
    post:
      responses:
        '201':
          description: The user is successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - User Management
      description: ''
      operationId: createUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserForCreation'
        description: User object
        required: true
      summary: Create a new user
  /api/users/branding/{clientName}:
    put:
      parameters:
        - description: Identifier for the client you want to set the branding for.
          in: path
          name: clientName
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The branding was successfully set.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Unknown clientName
      tags:
        - Core - User Management
      operationId: putBranding
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Branding'
        description: Branding object
        required: true
      summary: 'Sets the branding '
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated, will be replaced by /api/configurations/tenant
  /api/users/sign/transloadit/{templateId}:
    get:
      parameters:
        - description: The id of the template to sign the request
          in: path
          name: templateId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The signed request is returned.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - User Management
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated, image upload is no longer supported
      operationId: signTransloaditRequest
      summary: Sign an upload request for a given template
  /api/users/{userId}:
    delete:
      parameters:
        - description: user ID of the user you want to delete
          in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: User was found and successfully deleted
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - Core - User Management
      description: ''
      operationId: deleteUser
      summary: Deletes a User with the given ID
    get:
      parameters:
        - description: ID of User you want to get
          in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
          description: >-
            User was found & you were allowed to access it. The result is in the
            body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - Core - User Management
      description: ''
      operationId: getUser
      summary: Get a User with the given ID
    patch:
      parameters:
        - description: ID of the user you want to patch
          in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/User'
          description: The user is successfully modified.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility version conflict
      tags:
        - Core - User Management
      description: ''
      operationId: patchUser
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserPatchActions'
        description: ModifyUser object
        required: true
      summary: Patch an existing user with the given ID
  /api/users/{userId}/permissions:
    get:
      parameters:
        - description: ID of User you want to get
          in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Roles'
          description: >-
            User was found & you were allowed to access it. The result is in the
            body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - Core - User Management
      description: ''
      operationId: getUserRoles
      summary: Get a User with the given ID
  /api/users/{userId}/assignedFacilities:
    post:
      parameters:
        - description: ID of User you want to assign a facility
          in: path
          name: userId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The facility was correctly assigned
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserAssignedFacilityForCreation'
        description: The facility you want to assign the user
        required: true
      tags:
        - Core - User Management
      description: ''
      operationId: postAssignedFacilities
      summary: Assigns a facility to an user
  /api/users/{userId}/assignedFacilities/{assignedFacilityId}:
    delete:
      parameters:
        - description: User ID from whom you want to delete the facility
          in: path
          name: userId
          required: true
          schema:
            type: string
        - description: Facility id you want to delete from the user
          in: path
          name: assignedFacilityId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The assigned facility was correctly removed from the user.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - Core - User Management
      description: ''
      operationId: deleteAssignedFacilities
      summary: Removes an assigned facility from the user
  /api/brands:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedBrands'
          description: All brands on listings for this tenant
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Processes
      description: ''
      operationId: getAllBrands
      summary: Return all brands
  /api/returnnotes:
    post:
      parameters:
        - description: >-
            Provide the localized values for the return note. If not provided
            the default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '201':
          content:
            application/pdf:
              schema:
                $ref: '#/components/schemas/ReturnNote'
          description: Successfully created the return note.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Shipments
      operationId: createReturnNote
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReturnNote'
        required: true
      summary: Create return note
  /api/packjobs:
    get:
      parameters:
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: Parameter to filter anonymized pack jobs
          in: query
          name: anonymized
          required: false
          schema:
            type: boolean
        - description: Reference to the status you want to get the corresponding pickjobs
          explode: false
          in: query
          name: status
          required: false
          schema:
            items:
              type: string
            type: array
        - description: Reference to the facility you want to get the corresponding packjobs
          in: query
          name: facilityRef
          required: false
          schema:
            type: string
        - description: Term by which to search through the fields
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
        - description: Reference to the channel you want to get the corresponding packjobs
          in: query
          name: channel
          required: false
          schema:
            enum:
              - COLLECT
              - SHIPPING
            type: string
        - description: filter by  packingsourcecontainer containing codes
          in: query
          name: sourceContainerCodes
          required: false
          schema:
            type: array
            items:
              type: string
        - description: query packjobs orderBy
          in: query
          name: orderBy
          required: false
          schema:
            type: string
        - description: Start date range for pack jobs
          in: query
          name: startTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: End date range for pack jobs
          in: query
          name: endTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackJobs'
          description: >-
            Pack jobs was loaded & you were allowed to access it. The result is
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getPackJobs
      summary: Get all pack jobs
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackJob'
          description: >-
            The pack job was successfully created. The Location header contains
            the URL of the pack job.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: addPackJob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackJobForCreation'
        description: Pack job object
        required: true
      summary: Add a new pack job
  /api/packingcontainertypes:
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingContainerType'
          description: >-
            The packing container type was successfully created. The Location
            header contains the URL of the packing container type.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: addPackingContainerType
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingContainerTypeForCreation'
        description: Packing type object
        required: true
      summary: Add a new packing container type
    get:
      parameters:
        - description: >-
            Provide the localized values for the entity. If not provided the
            default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
        - description: all entities after given id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PackingContainerType'
                type: array
          description: Found PackingContainerTypes
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getPackingContainerTypes
      summary: Get all packing container types
  /api/packingcontainertypes/{packingContainerTypeId}:
    get:
      parameters:
        - description: >-
            Provide the localized values for the entity. If not provided the
            default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
        - description: id of entity
          in: path
          name: packingContainerTypeId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingContainerType'
          description: Found PackingContainerType
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getPackingContainerType
      summary: Get a packing container type by its id
    patch:
      parameters:
        - description: ID of the packingcontainertype you want to change
          in: path
          name: packingContainerTypeId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingContainerType'
          description: >-
            PackingContainerType was found & patch-set has been applied. The
            patched PackingContainerType is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: PackingContainerType not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: PackingContainerType version conflict
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: updatePackingContainerType
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingContainerTypePatchActions'
        description: Patch set
        required: true
      summary: Patches a PackingContainerType with the given ID
  /api/pickjobs/{pickJobId}/documenthandling:
    get:
      parameters:
        - description: ID of the pick job you want to get document handling information
          in: path
          name: pickJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentHandling'
          description: >-
            Pick job document handling was found & you were allowed to access
            it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getPickJobDocumentHandling
      summary: Get a pick job document handling information with the given ID
  /api/packingsourcecontainers/{packingSourceContainerId}:
    get:
      parameters:
        - description: ID of the packingSourceContainer
          in: path
          name: packingSourceContainerId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized values for the entity. If not provided the
            default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PackingSourceContainer'
                type: array
          description: Found packingSourceContainer
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />Get PackingSourceContainer by ID.
      operationId: getPackingSourceContainerById
      summary: Get a single packingSourceContainer
  /api/packingsourcecontainers:
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingSourceContainer'
          description: >-
            The packing source container  was successfully created. The Location
            header contains the URL of the packing source container.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />Creating new packingSourceContainer.
      operationId: addPackingSourceContainer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingSourceContainerForCreation'
        description: Packing type object
        required: true
      summary: Add a new packingSourceContainer
    get:
      parameters:
        - description: >-
            Provide the localized values for the entity. If not provided the
            default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
        - description: all entities after given id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
            maximum: 500
        - description: filter by packJobRef
          in: query
          name: packJobRef
          required: false
          schema:
            type: string
        - description: filter by facilityRef
          in: query
          name: facilityRef
          required: true
          schema:
            type: string
        - description: filter by scannablecodes
          in: query
          name: codes
          required: false
          schema:
            type: array
            items:
              type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PaginatedPackingSourceContainers'
                type: array
          description: Found Packing Source Container
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Listing packingSourceContainer.
      operationId: getPackingSourceContainers
      summary: Get all packingSourceContainers
  /api/packjobs/{packJobId}/documenthandling:
    get:
      parameters:
        - description: ID of the pack job you want to get document handling information
          in: path
          name: packJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentHandling'
          description: >-
            Pack job document handling was found & you were allowed to access
            it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getPackJobDocumentHandling
      summary: Get a pack job document handling information with the given ID
  /api/packjobs/{packJobId}:
    get:
      parameters:
        - description: ID of the pack job you want to get
          in: path
          name: packJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackJob'
          description: >-
            Pack job was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getPackJob
      summary: Get a pack job with the given ID
    patch:
      parameters:
        - description: ID of the packjob you want to get
          in: path
          name: packJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackJob'
          description: >-
            PackJob was found & patch-set has been applied. The patched pack job
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: PackJob not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: PackJob version conflict
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: patchPackJob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackJobPatchActions'
        description: Patch set
        required: true
      summary: Patches a pack job with the given ID
  /api/packjobs/{packJobId}/returnnote:
    get:
      parameters:
        - description: ID of the PackJob
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized values for the delivery note. If not provided
            the default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf: {}
          description: Returns a return note for the packjob.
        '401':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/pdf:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getReturnNotesForPackJob
      summary: Get the return note for the packjob with the given ID
  /api/packjobs/{packJobId}/deliverynote:
    get:
      parameters:
        - description: ID of the pack job for which you want to get a deliverynote
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized values for the delivery note. If not provided
            the default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/pdf: {}
          description: The deliverynote for the given packjob
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getPackJobDeliveryNote
      summary: Get a deliverynote for the pack job with the given ID
  /api/packjobs/{packJobId}/targetcontainers/{targetcontainerId}:
    get:
      parameters:
        - description: >-
            Provide the localized values for the entity. If not provided the
            default locale is used. For example de_DE.
          in: query
          name: locale
          schema:
            type: string
        - description: ID of the pack job you want to get
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: ID of the target container you want to get
          in: path
          name: targetcontainerId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingTargetContainer'
          description: >-
            Entity was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getTargetcontainer
      summary: Get a packing target container with the given ID on given packJob
    patch:
      parameters:
        - description: ID of corresponding packJob you want to patch
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: ID of container you want to patch
          in: path
          name: targetcontainerId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingTargetContainer'
          description: >-
            Container was found & patch-set has been applied. The patched entity
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Fulfillment Operations - Packing
      operationId: patchTargetcontainer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingTargetContainerPatchActions'
        description: Patch set
        required: true
      summary: Patches a packing container with the given ID
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
    post:
      parameters:
        - description: ID of the pack job you want to get
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: ID of the container you want to add new line item to it
          in: path
          name: targetcontainerId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingTargetContainer'
          description: The packing container was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: addTargetcontainer
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingTargetContainerLineItemForCreation'
        description: Packing Container line item object
        required: true
      summary: Add a new packing container line item
    delete:
      parameters:
        - description: ID of corresponding packJob you want to patch
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: ID of container you want to delete
          in: path
          name: targetcontainerId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Container was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: deletePackingTargetContainer
      summary: deletes a packing target container with the given ID
  /api/packjobs/{packJobId}/targetcontainers/{targetcontainerId}/lineitems/{lineItemId}:
    patch:
      parameters:
        - description: ID of corresponding packJob you want to patch
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: ID of container you want to patch
          in: path
          name: targetcontainerId
          required: true
          schema:
            type: string
        - description: ID of line item you want to patch
          in: path
          name: lineItemId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingTargetContainer'
          description: >-
            Container was found & patch-set has been applied. The patched entity
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Patch line item of a packing container
      operationId: patchTargetContainerLineItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingTargetContainerActionsParameter'
        description: Patch set
        required: true
      summary: Patches a packing container with the given ID
    delete:
      parameters:
        - description: ID of corresponding packJob you want to patch
          in: path
          name: packJobId
          required: true
          schema:
            type: string
        - description: ID of container you want to patch
          in: path
          name: targetcontainerId
          required: true
          schema:
            type: string
        - description: ID of line item you want to patch
          in: path
          name: lineItemId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: LineItem was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: deleteLineItemTargetContainers
      summary: deletes a lineItem of a packing container with the given ID
  /api/packjobs/{packJobId}/targetcontainers:
    get:
      parameters:
        - description: ID of the pack job you want to get
          in: path
          name: packJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PackingTargetContainer'
          description: >-
            Entity was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getAllTargetcontainers
      summary: Get all packing container on given packJob
    post:
      parameters:
        - description: ID of the pack job you want to get
          in: path
          name: packJobId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PackingTargetContainer'
          description: The packing container was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Packing
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: addTargetContainers
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PackingTargetContainerForCreation'
        description: Packing Container object
        required: true
      summary: Add a new packing container
  /api/tags:
    get:
      parameters:
        - description: all entities
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedTags'
          description: The current list of available tags
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: No more elements available
      tags:
        - Core - Tags
      description: ''
      operationId: getTags
      summary: Returns all tags
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag'
          description: The tag was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Tags
      description: ''
      operationId: addTag
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagForCreation'
        description: Tag object
        required: true
      summary: Add a new tag
  /api/tags/{tagRef}:
    get:
      parameters:
        - description: Id of the tag you want to get
          in: path
          name: tagRef
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag'
          description: >-
            Tag was found & you were allowed to access it. The result is in the
            body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - Core - Tags
      description: ''
      operationId: getTag
      summary: Get a tag with the given key
    patch:
      parameters:
        - description: Id of the tag you want to update
          in: path
          name: tagRef
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tag'
          description: >-
            Tag was found & you were allowed to access it. The result is in the
            body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Tag not found
      tags:
        - Core - Tags
      description: ''
      operationId: putTag
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagPatchActions'
        description: Tag patch action
        required: true
      summary: Update a tag with the given key
  /api/tags/packing/needspacking:
    post:
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/TagReference'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/NeedsPacking'
          description: >-
            NeedsPacking information for this tag was found & you were allowed
            to access it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Packing
      description: ''
      operationId: getNeedsPacking
      summary: Get packing information for given Tag
  /api/restowitems:
    get:
      parameters:
        - description: Reference to the facility you want to get the corresponding restows
          in: query
          name: facilityRef
          required: false
          schema:
            type: string
        - description: Reference restowed status of the restoe items
          in: query
          name: restowed
          required: false
          schema:
            type: boolean
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestowedItems'
          description: Restow items were found. The results are in the body.
        '204':
          description: No restow items were found as a result to the given query.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Restow
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: queryRestowItems
      summary: Simple query interface to find restowItems
  /api/restowitems/{restowItemId}:
    get:
      parameters:
        - description: ID of the restow item you want to get
          in: path
          name: restowItemId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestowItem'
          description: >-
            RestowItem was found & you were allowed to access it. The result is
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Restow
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getRestowItem
      summary: Get a restow item with the given ID
    patch:
      parameters:
        - description: ID of the restow item you want to update
          in: path
          name: restowItemId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RestowItem'
          description: >-
            RestowItem was found & patch-set has been applied. The patched
            restow item is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: RestowItem not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: RestowItem version conflict
      tags:
        - Fulfillment Operations - Restow
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: patchRestowItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RestowItemPatchActions'
        description: Patch set
        required: true
      summary: Patches a restow item with the given ID
  /api/configurations/picking:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickingConfigurations'
          description: Central Configuration of all picking related things
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      operationId: getPickingConfigurations
      summary: Get the picking configurations
    patch:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickingConfigurations'
          description: The picking central configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickingConfigurations'
          description: The picking central configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: putPickingConfigurations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickingConfigurations'
        description: create/update picking central configuration
        required: true
      summary: Change the tenant wide picking central configuration
  /api/configurations/tags/pickjob:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickJobTagConfiguration'
          description: pickjob tag config is in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: getPickJobTagConfiguration
      summary: Read tag configuration for pickjobs
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PickJobTagConfiguration'
          description: The packing configuration was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Picking
      description: ''
      operationId: putPickJobTagConfigurations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PickJobTagConfiguration'
        description: Desired Tag Configuration for Pickjobs
        required: true
      summary: Change the tag configuration for Pickjobs
  /api/remoteconfigs:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoteConfigurationForCreation'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoteConfiguration'
          description: Created entity in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Remote Configuration
      operationId: createRemoteConfiguration
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      summary: Create a new remote configuration
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: facility to filter to
          in: query
          name: facilityId
          required: false
          schema:
            type: string
        - description: groups to filter to
          in: query
          name: groups
          required: false
          schema:
            type: array
            items:
              type: string
        - description: userId to filter to
          in: query
          name: userId
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/RemoteConfiguration'
          description: Central RemoteConfiguration
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Remote Configuration
      operationId: getAllRemoteConfigurations
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      summary: Get all remote configurations
  /api/remoteconfigs/{id}:
    get:
      parameters:
        - description: Reference to the remote config you want to get
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoteConfiguration'
          description: Central RemoteConfiguration
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Remote Configuration
      operationId: getRemoteConfiguration
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      summary: Get a single remote configuration
    delete:
      parameters:
        - description: Reference to the remote config you want to delete
          in: path
          name: id
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Successfully Deleted
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Remote Configuration
      operationId: deleteRemoteConfiguration
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      summary: Delete a single remote configuration
    patch:
      parameters:
        - description: Reference to the remote config you want to change
          in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoteConfigurationForUpdate'
      responses:
        '200':
          description: Successfully Changed
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Remote Configuration
      operationId: updateRemoteConfiguration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      summary: Update a single remote configuration
    put:
      parameters:
        - description: Reference to the remote config you want to change
          in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RemoteConfigurationForPut'
      responses:
        '200':
          description: Successfully Changed
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Remote Configuration
      operationId: putRemoteConfiguration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      summary: Override a single remote configuration
  /api/remoteconfigs/{id}/scopes:
    post:
      parameters:
        - description: Reference to the remote config you want to change
          in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddRemoteConfigurationScopeParameter'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoteConfiguration'
          description: Updated RemoteConfiguration in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Remote Configuration
      operationId: addRemoteConfigurationScope
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      summary: add a new scope to a remote configuration
  /api/remoteconfigs/{id}/scopes/{scopeId}:
    delete:
      parameters:
        - description: Reference to the remote config you want to alter
          in: path
          name: id
          required: true
          schema:
            type: string
        - description: Reference to the remote config scope you want to delete
          in: path
          name: scopeId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RemoteConfiguration'
          description: Successfully Deleted
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Remote Configuration
      operationId: deleteScopeFromRemoteConfiguration
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      summary: Delete a scope from a given remote configuration
  /api/configurations/return:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalizedReturnConfiguration'
          description: Return config found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getReturnConfiguration
      summary: Get the current configuration for returns
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalizedReturnConfiguration'
          description: The return configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocalizedReturnConfiguration'
          description: The return configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Fulfillment Operations - Returns
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: upsertReturnConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReturnConfiguration'
        description: Desired return configuration to create/update
        required: true
      summary: Change the tenant wide return configuration
  /api/itemreturns:
    get:
      parameters:
        - description: >-
            Search term you want to get the corresponding item returns. Search
            will be performed on multiple fields, including return id, tenant
            order id, customer name, tenant article ids, artile titles
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
        - description: facilities to filter the results
          in: query
          name: facilityRefs
          required: false
          schema:
            type: array
            items:
              type: string
        - description: ItemReturnStatus of an included ItemReturn to filter the results
          in: query
          name: itemReturnStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            ItemReturnLineItemStatus of an included itemReturnLineItem to filter
            the results
          in: query
          name: itemReturnLineItemStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: entity to start after
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ItemReturn'
          description: All Item Returns matching the given parameters
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: findItemReturns
      summary: Get all Item Returns
  /api/itemreturnjobs/{itemReturnJobId}/itemreturns:
    get:
      parameters:
        - description: item return job to read the item return for
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
        - description: entity to start after
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ItemReturn'
          description: Get all item returns for a given item return job
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getItemReturns
      summary: Get item returns
    post:
      parameters:
        - description: Id of the item return job to create the item return for
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddItemReturnToItemReturnJob'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturnJob'
          description: ItemReturnJob containing the newly created item return
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Create a new item return for an item return job
      operationId: createItemReturn
      summary: Creates a new ItemReturn
  /api/itemreturnjobs/{itemReturnJobId}/itemreturns/{itemReturnId}:
    get:
      parameters:
        - description: item return job to read the item return for
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
        - description: id of the item return you want to read
          in: path
          name: itemReturnId
          required: true
          schema:
            type: string
        - description: entity to start after
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturn'
          description: Get a specific item return
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getItemReturn
      summary: Get item return by id
    delete:
      parameters:
        - description: id of the item return job to delete the item return for
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
        - description: id of the item return you want to delete
          in: path
          name: itemReturnId
          required: true
          schema:
            type: string
        - description: version of the item return job to delete the item return for
          in: query
          name: itemReturnJobVersion
          required: true
          schema:
            type: number
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturn'
          description: >-
            item return was found and successfully deleted. Updated item return
            job is returned.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Delete an item return from an item return job
      operationId: deleteItemReturn
      summary: Delete an item return from an item return job
  /api/itemreturnjobs/{itemReturnJobId}/itemreturns/{itemReturnId}/returnedlineitems:
    put:
      parameters:
        - description: id of the item return job the item return belongs to
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
        - description: id of the item return the returned line items belong to
          in: path
          name: itemReturnId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReplaceReturnedLineItems'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturnJob'
          description: >-
            The returned line items were successfully updated. Updated item
            return job is returned.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />Replace returned line items of an item return of an item return job.
      operationId: replaceReturnedLineItems
      summary: replace returned line items
  /api/itemreturnjobs:
    get:
      parameters:
        - description: facility to filter the results
          in: query
          name: facilityId
          required: false
          schema:
            type: string
        - description: scannableCodes of the item return job to filter the results
          in: query
          name: itemReturnJobScannableCodes
          required: false
          schema:
            type: array
            items:
              type: string
        - description: scannableCodes of the item return to filter the results
          in: query
          name: itemReturnScannableCodes
          required: false
          schema:
            type: array
            items:
              type: string
        - description: ItemReturnJobStatus to filter the results
          in: query
          name: itemReturnJobStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: ItemReturnStatus of an included ItemReturn to filter the results
          in: query
          name: itemReturnStatus
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Term by which to search through the fields
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
        - description: entity to start after
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ItemReturnJob'
          description: All Item Return Jobs matching the given parameters
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getItemReturnJobs
      summary: Get all Item Return Jobs
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemReturnJobForCreation'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturnJob'
          description: Created entity
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: createItemReturnJob
      summary: Creates a new ItemReturnJob
  /api/itemreturnjobs/{itemReturnJobId}:
    get:
      parameters:
        - description: id of the item return job
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturnJob'
          description: Returns Item Return Job with the provided id
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getItemReturnJob
      summary: Get Item Return Job by id
  /api/itemreturnjobs/{itemReturnJobId}/actions:
    post:
      parameters:
        - description: id of the Item Return Job
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemReturnJobActionsParameter'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturnJob'
          description: Updated entity
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: updateItemReturnJob
      summary: Updates a new ItemReturnJob
  /api/itemreturnjobs/{itemReturnJobId}/itemreturns/{itemReturnId}/actions:
    post:
      parameters:
        - description: id of the Item Return Job
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
        - description: id of the Item Return
          in: path
          name: itemReturnId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemReturnActionsParameter'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturnJob'
          description: Updated entity
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: itemReturnActions
      summary: Actions for a ItemReturn
  /api/itemreturnjobs/{itemReturnJobId}/itemreturns/{itemReturnId}/returnedlineitems/{returnedLineItemId}:
    patch:
      parameters:
        - description: id of the Item Return Job
          in: path
          name: itemReturnJobId
          required: true
          schema:
            type: string
        - description: id of the Item Return
          in: path
          name: itemReturnId
          required: true
          schema:
            type: string
        - description: id of the returnedLineItem
          in: path
          name: returnedLineItemId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ItemReturnLineItemForUpdate'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemReturnJob'
          description: Updated ItemReturnJob
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Returns
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: updateItemReturnLineItem
      summary: Patch for a ItemReturn LineItem
  /api/configurations/expiry:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiryConfiguration'
          description: config found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getExpiryConfiguration
      summary: Get the current configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiryConfiguration'
          description: The configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiryConfiguration'
          description: The configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - Core - Configuration
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: upsertExpiryConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpiryConfiguration'
        description: Desired configuration to create/update
        required: true
      summary: Change the tenant wide configuration
  /api/expiries:
    get:
      parameters:
        - description: Status to filter the results
          in: query
          name: status
          required: false
          schema:
            $ref: '#/components/schemas/ExpiryEntityStatus'
        - description: ProcessRef to filter the results
          in: query
          name: processRef
          required: false
          schema:
            type: string
        - description: >-
            StartDate to filter the results. Expiry Date of results is after or
            equals the given value
          in: query
          name: startDate
          required: false
          schema:
            type: string
            format: date-time
            example: '2020-02-03T08:45:51.525Z'
        - description: >-
            EndDate to filter the results. Expiry Date of results is before or
            equals the given value
          in: query
          name: endDate
          required: false
          schema:
            type: string
        - description: entity to start after
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ExpiryEntity'
          description: found entities in the result.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Expiries
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getExpiries
      summary: Get expiries by filter parameter
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpiryEntityForCreation'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiryEntity'
          description: created entity in the result.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Expiries
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: createExpiry
      summary: Create Expiry
  /api/expiries/{expiryId}:
    get:
      parameters:
        - description: id for the searched entity
          in: path
          name: expiryId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiryEntity'
          description: found entity in the result.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Expiries
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getExpiry
      summary: Get Expiry by Id
    patch:
      parameters:
        - description: id of the entity to be changed
          in: path
          name: expiryId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExpiryEntityForUpdate'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExpiryEntity'
          description: changed entity in the result.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Expiries
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: updateExpiry
      summary: Update Expiry
  /api/externalactions:
    get:
      parameters:
        - description: all entities after given Id.
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: Filter by the given group or groups
          explode: true
          in: query
          name: groups
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Filter by the given processRef
          in: query
          name: processRef
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ExternalAction'
                type: array
          description: Returning the list of external actions available.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: External action not found
      tags:
        - Core - Processes - External Actions
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />Returns a list with all external actions.
      operationId: getExternalActions
      summary: Get the external actions related to a process
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalAction'
          description: The external action was successfully created.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: External action not found
      tags:
        - Core - Processes - External Actions
      description: Creates a new external action for a process.
      operationId: postExternalAction
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalActionForCreation'
        description: The external action to be created
        required: true
      summary: Create an external action
  /api/externalactions/{externalActionId}:
    get:
      parameters:
        - description: Id of the external action you want to get
          in: path
          name: externalActionId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ExternalAction'
                type: array
          description: >-
            External action was found & you are allowed to get it. The result is
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: External action not found
      tags:
        - Core - Processes - External Actions
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />Returns an external action with the given id if found.
      operationId: getExternalAction
      summary: Get an external action
    delete:
      parameters:
        - description: ID of the external action that you want delete
          in: path
          name: externalActionId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: External action was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: External action not found
      tags:
        - Core - Processes - External Actions
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: deleteExternalAction
      summary: Delete an external action with the given id.
    put:
      parameters:
        - description: ID of the external action that you want update
          in: path
          name: externalActionId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ExternalAction'
          description: External action was found & you are allowed to update it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Processes - External Actions
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />Replaces the external action with the provided in the body.
      operationId: putExternalAction
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalActionForReplacement'
        description: Updates an external action
        required: true
      summary: Replace an external action
  /api/externalactions/{externalActionId}/logs:
    post:
      parameters:
        - description: ID of the external action you want to create the log for
          in: path
          name: externalActionId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalActionLog'
          description: The log for the external action was successfully created.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: External action not found
      tags:
        - Core - Processes - External Actions Logs
      description: Creates a new external action log.
      operationId: postExternalActionLog
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalActionLogForCreation'
        description: The external action log to be created
        required: true
      summary: Creates a log for an external action
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: Id of the external action you want to get the logs from
          in: path
          name: externalActionId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ExternalActionLogs'
                type: array
          description: >-
            Logs were found & you are allowed to get it. The result is in the
            body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: External action logs not found
      tags:
        - Core - Processes - External Actions Logs
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />Returns the logs related with the given external action.
      operationId: getExternalActionLogs
      summary: Get the logs for an external action
  /api/facilities/{facilityId}/carriers/{carrierRef}:
    get:
      parameters:
        - description: ID of facility you want to get listing
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: >-
            The ID that describes the connection of this facility to the
            referenced carrier
          in: path
          name: carrierRef
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the parcel label
            classifications. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityCarrierConnection'
          description: >-
            Carrier to facility connections was found & you were allowed to
            access it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            There is no connection to a carrier with this facility referenced by
            the provided facilityCarrierConnectionId
      tags:
        - Core - Facilities
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getFacilityCarrier
      summary: Get the details for a carrier related to the facility with the given ID
    post:
      parameters:
        - description: ID of facility you want to get
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: The referenced carrier ID
          in: path
          name: carrierRef
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the parcel label
            classifications. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityCarrierConnection'
          description: Creation was successful.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            There is no connection to a carrier with this facility referenced by
            the provided facilityCarrierConnectionId.
      tags:
        - Core - Facilities
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: createCarrierToFacility
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityCarrierConnectionForCreation'
        description: Representation that describes the facility
        required: true
      summary: >-
        Create a connection of a configured carrier to the facility with given
        ID
    put:
      parameters:
        - description: ID of facility you want to get
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: The referenced carrier ID
          in: path
          name: carrierRef
          required: true
          schema:
            type: string
        - description: >-
            Provide the localized names and descriptions for the parcel label
            classifications. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityCarrierConnection'
          description: Modification was successful.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            There is no connection to a carrier with this facility referenced by
            the provided facilityCarrierConnectionId.
      tags:
        - Core - Facilities
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: connectCarrierToFacility
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityCarrierConnectionForModification'
        description: Representation that describes the facility
        required: true
      summary: 'Connect a configured carrier to the facility with given ID '
  /api/health:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HealthResult'
          description: Result of all tested dependencies for their health status
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Manual reroute configuration not found
      tags:
        - Infrastructure - Health
      description: ''
      operationId: healthCheck
      summary: Do a health check
  /api/facilities/{facilityId}/storagelocations:
    get:
      parameters:
        - description: ID of facility from whom you want to get the storage locations
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: limit result to storage locations with scannable code
          in: query
          name: scannableCode
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/StorageLocation'
                type: array
          description: >-
            Facility was found & you are allowed to get the storage locations.
            The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: ''
      operationId: getFacilityStorageLocations
      summary: Get the storage locations of this facility
    post:
      parameters:
        - description: ID of facility from whom you want to create the storage location
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageLocation'
          description: The storage location was successfully created.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: Creates a new storage location in this facility.
      operationId: postFacilityStorageLocations
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StorageLocationForCreation'
        description: Patch set
        required: true
      summary: Create a new storage location
  /api/facilities/{facilityId}/storagelocations/{storageLocationId}:
    get:
      parameters:
        - description: ID of facility from whom you want to get the storage locations
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: the ID of the storageLocation
          in: path
          name: storageLocationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/StorageLocation'
                type: array
          description: >-
            Facility was found & you are allowed to get the storage locations.
            The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: ''
      operationId: getFacilityStorageLocation
      summary: Get the storage location of this facility
    delete:
      parameters:
        - description: ID of facility from whom you want to delete the storage location
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of the storageLocation you want to delete
          in: path
          name: storageLocationId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Storage location was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility or storage location not found
      tags:
        - Core - Facilities
      description: ''
      operationId: deleteFacilityStorageLocation
      summary: Delete a storage location of a facility with the given ID
    put:
      parameters:
        - description: ID of facility from whom you want to put the storage locations
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: the ID of the storageLocation
          in: path
          name: storageLocationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageLocation'
          description: Storage location was found & you were allowed to update it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility or Storage Location not found
      tags:
        - Core - Facilities
      description: >-
        Replaces the current storage locations of this Facility with the
        provided in the body.
      operationId: putFacilityStorageLocation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StorageLocationForReplacement'
        description: Patch set
        required: true
      summary: Replace the storage locations of a Facility
    patch:
      parameters:
        - description: ID of facility you want to patch the storage locations
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: the ID of the storageLocation
          in: path
          name: storageLocationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StorageLocation'
          description: Storage location was found & you were allowed to update it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility or Storage location not found
      tags:
        - Core - Facilities
      description: >
        Adds new storage locations, updates existing ones and keeps the
        previously present ones in the database.


        1. If a storage location exists in the patch action but not in the
        database it is added.

        2. If a storage location exists both in the patch action and in the
        database it is updated and the contents merged.

        3. If a storage location exists only in the database, it is left
        untouched.
      operationId: patchFacilityStorageLocation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StorageLocationPatchActions'
        description: Patch set
        required: true
      summary: Patches the storage locations of a facility with the given ID
  /api/facilities/{facilityId}/zones:
    get:
      parameters:
        - description: ID of facility from whom you want to get the zones
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Zone'
                type: array
          description: >-
            Facility was found & you are allowed to get the zones. The result is
            in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: ''
      operationId: getFacilityZones
      summary: Get the zones of this facility
    post:
      parameters:
        - description: ID of facility from whom you want to create the zone
          in: path
          name: facilityId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Zone'
          description: The zone was successfully created.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Zone not found
      tags:
        - Core - Facilities
      description: Creates a new zone in this facility.
      operationId: postFacilityZone
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ZoneForCreation'
        description: The zone to be created
        required: true
      summary: Create a zone
  /api/facilities/{facilityId}/zones/{zoneId}:
    get:
      parameters:
        - description: ID of facility from whom you want to get the zones
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: the ID of the zone
          in: path
          name: zoneId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Zone'
                type: array
          description: >-
            Zone was found & you are allowed to get it. The result is in the
            body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: ''
      operationId: getFacilityZone
      summary: Get the zone of this facility
    delete:
      parameters:
        - description: ID of facility from whom you want to delete the zone
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of the zone you want to delete
          in: path
          name: zoneId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Zone was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility or storage location not found
      tags:
        - Core - Facilities
      description: ''
      operationId: deleteFacilityZone
      summary: Delete a zone of a facility with the given ID
    put:
      parameters:
        - description: ID of facility from whom you want to put the zone
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: the ID of the zone
          in: path
          name: zoneId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Zone'
          description: Zone was found & you are allowed to update it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Facility not found
      tags:
        - Core - Facilities
      description: >-
        Replaces the current zone of this Facility with the provided in the
        body.
      operationId: putFacilityZone
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ZoneForReplacement'
        description: Patch set
        required: true
      summary: Replace the zones of a Facility
  /api/customservices/{customServiceId}:
    patch:
      parameters:
        - description: ID of custom service you want to patch
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: >-
            custom service was found & patch-set has been applied. The patched
            custom service is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: custom service not found
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: custom service version conflict
      tags:
        - Core - Custom Services
      operationId: patchCustomService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomServicePatchActions'
        description: Patch set
        required: true
      summary: Patches a custom service with the given ID
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
    get:
      parameters:
        - description: ID of custom service you want to get
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: Custom service config could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Custom Services
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getCustomService
      summary: Get requested Custom service
  /api/customservices/{customServiceId}/additionalinformation:
    post:
      parameters:
        - description: ID of custom service you want to create service job for
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Custom Services
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: createCustomServiceAdditionalInformation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdditionalInformationForCreation'
        description: Desired custom service to create
        required: true
      summary: Create a custom service additional information
  /api/customservices/{customServiceId}/additionalinformation/{additionalInformationId}:
    delete:
      parameters:
        - description: ID of custom service
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
        - description: ID of additional information you want to delete
          in: path
          name: additionalInformationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Custom Services
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: deleteAdditionalInfo
      summary: Delete a custom service
    put:
      parameters:
        - description: ID of custom service
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
        - description: ID of additional information you want to put
          in: path
          name: additionalInformationId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Custom Services
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: updateCustomServiceAdditionalInformation
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AdditionalInformationForCreation'
        description: Desired custom service to create
        required: true
      summary: Update a custom service additional information
  /api/customservices:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedCustomServices'
          description: Custom service config could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Custom Services
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getCustomServices
      summary: Get Custom services
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CustomService'
          description: The custom service was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Custom Services
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: createCustomService
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CustomServiceForCreation'
        description: Desired custom service to create
        required: true
      summary: Create a custom service
  /api/facilities/{facilityId}/customservices:
    get:
      parameters:
        - description: ID of facility
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedFacilityCustomServiceConnections'
          description: Custom service connections could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Facilities
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getFacilityCustomServiceConnections
      summary: Get requested Custom service connection for a facility
  /api/facilities/{facilityId}/customservices/{customServiceId}:
    get:
      parameters:
        - description: ID of facility
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of the custom service
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityCustomServiceConnection'
          description: Custom service connection could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Core - Facilities
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getFacilityCustomService
      summary: Get requested Custom service connection for a facility
    patch:
      parameters:
        - description: ID of facility
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of the custom service
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityCustomServiceConnection'
          description: The custom service connection was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Facilities
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: updateFacilityCustomServiceConnction
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityCustomServiceConnectionForUpdate'
        description: Desired custom service connection to create/update
        required: true
      summary: Update a facility custom service connection
    post:
      parameters:
        - description: ID of facility
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of the custom service
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FacilityCustomServiceConnection'
          description: The custom service connection was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Facilities
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: createFacilityCustomServiceConnection
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityCustomServiceConnectionForCreation'
        description: Desired custom service connection to create/update
        required: true
      summary: Create a facility custom service connection
    delete:
      parameters:
        - description: ID of facility
          in: path
          name: facilityId
          required: true
          schema:
            type: string
        - description: ID of the custom service
          in: path
          name: customServiceId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The custom service connection was successfully deleted.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Core - Facilities
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: deleteFacilityCustomServiceConnection
      summary: Delete a facility custom service connection
  /api/servicejobs:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceJobs'
          description: Service Jobs could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Custom Services
      operationId: getServiceJobs
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: Reference of the facility you want to filter for
          in: query
          name: facilityRef
          required: false
          schema:
            type: string
        - description: >-
            Reference to the statuses you want to get the corresponding service
            job
          in: query
          name: status
          required: false
          schema:
            type: array
            items:
              type: string
        - description: Type of channel you want to filter for
          in: query
          name: channel
          required: false
          schema:
            $ref: '#/components/schemas/ServiceJobFilterChannel'
        - description: Start target date range for service jobs
          in: query
          name: startTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: End target date range for service jobs
          in: query
          name: endTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: >-
            Search term you want to get the corresponding service jobs. Search
            will be performed on multiple fields, like tenantOrderId,
            consumerName, tenantArticleId and more
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
      summary: Get Service Jobs
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceJob'
          description: The service job was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Custom Services
      operationId: createServiceJob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceJobForCreation'
        description: Desired service job to create
        required: true
      summary: Create a service job
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/servicejobs/{serviceJobId}:
    get:
      parameters:
        - description: ID of service job you want to get
          in: path
          name: serviceJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceJob'
          description: Service Job could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Custom Services
      operationId: getServiceJob
      summary: Get requested service job
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/servicejobs/{serviceJobId}/actions:
    post:
      parameters:
        - description: ID of service job you want to update
          in: path
          name: serviceJobId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceJob'
          description: The service job was successfully updated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Custom Services
      operationId: updateServiceJob
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceJobActionsParameter'
        description: Desired change to a service job
        required: true
      summary: Update a service job
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/linkedservicejobs:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedServiceJobsPaginatedResult'
          description: LinkedServiceJobs could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Custom Services
      operationId: getLinkedServiceJobs
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: facilities to filter to
          in: query
          name: facilityIds
          required: false
          schema:
            type: array
            items:
              type: string
        - description: >-
            Reference to the statuses you want to get the corresponding linked
            service jobs
          in: query
          name: status
          required: false
          schema:
            type: array
            items:
              type: string
        - description: sort order
          in: query
          name: orderBy
          required: false
          schema:
            $ref: '#/components/schemas/LinkedServiceJobsOrderBy'
        - description: type of channel you want to filter for
          in: query
          name: channel
          required: false
          schema:
            $ref: '#/components/schemas/LinkedServiceJobsFilterChannel'
        - description: Start target date range for linked service jobs
          in: query
          name: startTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: End target date range for linked service jobs
          in: query
          name: endTargetTime
          required: false
          schema:
            type: string
            example: '2020-02-03T08:45:50.525Z'
            format: date-time
        - description: >-
            Search term you want to get the corresponding linked service jobs.
            Search will be performed on multiple fields, like tenantOrderId,
            consumerName, tenantArticleId and more
          in: query
          name: searchTerm
          required: false
          schema:
            type: string
      summary: Get LinkedServiceJobs
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/linkedservicejobs/{linkedServiceJobsId}:
    get:
      parameters:
        - description: ID of LinkedServiceJobs you want to get
          in: path
          name: linkedServiceJobsId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedServiceJobs'
          description: LinkedServiceJobs could be found in response body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Custom Services
      operationId: getLinkedServiceJobsById
      summary: Get requested LinkedServiceJobs
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/linkedservicejobs/{linkedServiceJobsId}/servicejoblinks:
    post:
      parameters:
        - description: ID of LinkedServiceJobs you want to alter
          in: path
          name: linkedServiceJobsId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedServiceJobs'
          description: The ServiceJobLink was successfully added to the LinkedServiceJobs.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Custom Services
      operationId: addServiceJobLink
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceJobLinkForAdding'
        description: Desired ServiceJobLink to add
        required: true
      summary: Add a ServiceJobLink to an LinkedServiceJobs on root level
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/linkedservicejobs/{linkedServiceJobsId}/servicejoblinks/{serviceJobLinkId}:
    post:
      parameters:
        - description: ID of LinkedServiceJobs you want to alter
          in: path
          name: linkedServiceJobsId
          required: true
          schema:
            type: string
        - description: >-
            ID of ServiceJobLink you want to add the new ServiceJobLink
            underneath
          in: path
          name: serviceJobLinkId
          required: true
          schema:
            type: string
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkedServiceJobs'
          description: >-
            The ServiceJobLink was successfully added nested inside the
            LinkedServiceJobs.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - Fulfillment Operations - Custom Services
      operationId: addNestedServiceJobLink
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ServiceJobLinkForAdding'
        description: Desired ServiceJobLink to add
        required: true
      summary: Add a ServiceJobLink to an ServiceJobLInk inside the LinkedServiceJobs
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/operativeprocesses:
    get:
      parameters:
        - description: facility to filter the results
          in: query
          name: facilityId
          required: true
          schema:
            type: string
        - description: entity to start after
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
            maximum: 500
            minimum: 1
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OperativeProcess'
          description: All operative processes matching the given parameters
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Operative Process
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getOperativeProcesses
      summary: Get all operativeProcesses
  /api/operativeprocesses/{operativeProcessId}:
    get:
      parameters:
        - description: id of the operativeProcess you want to retrieve
          in: path
          name: operativeProcessId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OperativeProcess'
          description: Found operativeProcess by given ID
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - Fulfillment Operations - Operative Process
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getOperativeProcessById
      summary: Get operativeProcess by ID
  /api/cancelationreasons:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelationReasons'
          description: >-
            Cancelation reasons were found & you were allowed to access them.
            The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - DOMS - Cancelation reasons
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getCancelationReasons
      summary: Get a list with all cancelation reasons
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelationReason'
          description: >-
            The cancelation reason has been successfully created. The Location
            header includes the URL of the document.
        '303':
          description: >-
            The Cancelation Reason already exists. The Location header contains
            the URL of the document.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Cancelation reasons
      operationId: postCancelationReason
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CancelationReasonForCreation'
        description: Cancelation reason
        required: true
      summary: Post a new cancelation reason
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/cancelationreasons/{cancelationReasonId}:
    get:
      parameters:
        - description: Id of the cancelation reason you wish to retrieve
          in: path
          name: cancelationReasonId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelationReason'
          description: >-
            Cancelation reason was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - DOMS - Cancelation reasons
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getCancelationReasonById
      summary: Get a cancelation reason with the given id
    put:
      parameters:
        - description: ID of the cancelation reason you intend to modify
          in: path
          name: cancelationReasonId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CancelationReasonForModification'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CancelationReason'
          description: >-
            Cancelation reason was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Cancelation reason not found
      tags:
        - DOMS - Cancelation reasons
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: putCancelationReason
      summary: Update a reroute description
    delete:
      parameters:
        - description: ID of the cancelation reason you intend to delete
          in: path
          name: cancelationReasonId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            The cancelation reason was found, and you have been granted
            permission to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Cancelation reason not found
      tags:
        - DOMS - Cancelation reasons
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: deleteCancelationReason
      summary: Delete a cancelation reason
  /api/configurations/routing/toolkit/fences:
    get:
      parameters:
        - description: all entities
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolkitFencesTransporter'
          description: The current list of available toolkit fences
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: No more elements available
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getToolkitFences
      summary: Returns all toolkit fences
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolkitFenceForCreation'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ToolkitFence'
          description: Toolkit Fence was created successfully.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: postToolkitFence
      summary: Creates a toolkit fence
  /api/configurations/routing/toolkit/fences/{toolkitFenceId}:
    get:
      parameters:
        - description: Id of the toolkit fence you want to get
          in: path
          name: toolkitFenceId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolkitFence'
          description: >-
            ToolkitFence was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getToolkitFenceById
      summary: Get a tag with the given key
    put:
      parameters:
        - description: ID of the toolkit fence you want to update
          in: path
          name: toolkitFenceId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolkitFenceForModification'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolkitFence'
          description: >-
            Toolkit fence was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Toolkit fence not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: putToolkitFence
      summary: Update a toolkit fence
    delete:
      parameters:
        - description: ID of the toolkit fence you want to delete
          in: path
          name: toolkitFenceId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Toolkit fence was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Toolkit fence not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: deleteToolkitFence
      summary: Delete a toolkit fence
  /api/configurations/routing/toolkit/ratings:
    get:
      parameters:
        - description: all entities
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolkitRatingTransporter'
          description: The current list of available toolkit fences
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: No more elements available
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getToolkitRatings
      summary: Returns all toolkit ratings
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolkitRatingForCreation'
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ToolkitRating'
          description: Toolkit Rating was created successfully.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: postToolkitRating
      summary: Creates a toolkit rating
  /api/fulfillability:
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Fulfillability'
          description: The result of the fulfillability .
        '204':
          description: >-
            There was no result of the fulfillability request. Please make sure
            to provide at least one of the attributes shipping or collect.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Checkout Options
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated: use /api/promises instead
      operationId: queryFulfillability
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FulfillabilityQuery'
        description: Representation that describes the fulfillability query
        required: true
      summary: >-
        Provides information which kind of fulfillment is possible under given
        circumstances.
  /api/fulfillability/clickandcollect:
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FulfillabilityResult'
          description: The result of the fulfillability for click and collect.
        '204':
          description: >-
            There was no result of the fulfillability request. Please make sure
            to provide at least one of the attributes shipping or collect.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Checkout Options
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated: use /api/promises instead
      operationId: queryFulfillabilityClickAndCollect
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FulfillabilityClickAndCollectQuery'
        description: Representation that describes the fulfillability query
        required: true
      summary: >-
        Provides information which kind of fulfillment is possible under given
        circumstances.
  /api/fulfillability/shipfromstore:
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FulfillabilityResult'
          description: The result of the fulfillability for ship from store.
        '204':
          description: There was no result of the fulfillability request.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Checkout Options
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated: use /api/promises instead
      operationId: queryFulfillabilityShipFromStore
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FulfillabilityShipFromStoreQuery'
        description: Representation that describes the fulfillability query
        required: true
      summary: >-
        Provides information which kind of fulfillment is possible under given
        circumstances.
  /api/promises/checkoutoptions/delivery/earliest:
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutOptionsDeliveryEarliestResponse'
          description: |-

            The request could be evaluated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: |-

            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Checkout Options
      description: >-
        The list of items depicts the items you would like to get information
        about their earliest possbile delivery. The provided list of tenant
        article ids are considered individual (as if not in a basket together,
        but seperately ordered). Additionally you can add information about the
        address these items should be delivered to to further refine the
        response. 
      operationId: checkoutoptionDeliveryEarliest
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckoutOptionsDeliveryEarliestRequest'
        required: true
      summary: delivery/earliest
  /api/promises/checkoutoptions/delivery/timeperiod:
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutOptionsDeliveryTimePeriodResponse'
          description: |-

            The request could be evaluated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Checkout Options
      operationId: checkoutoptionDeliveryTimePeriod
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckoutOptionsDeliveryTimePeriodRequest'
        required: true
      summary: delivery/timeperiod
      description: >-
        The basket attribute depicts the items you would like to get details
        about their possbile delivery. All the provided tenantArticleIds within
        the basket are considered together (as if they are in the same
        basket/order). Additionally you can add information about the address
        these items should be delivered to to further refine the quality of the
        response.
  /api/promises/checkoutoptions:
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                anyOf:
                  - $ref: '#/components/schemas/ResponseForCNCCheckoutOptions'
                  - $ref: '#/components/schemas/ResponseForSFSCheckoutOptions'
          description: ''
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Orders
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: postCheckoutOptions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckoutOptionsInput'
        description: The CheckoutOptionsInput
        required: true
      summary: Evaluate a checkout options input against the DOMS
  /api/promises/checkoutoptions/delivery/timepoint:
    post:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CheckoutOptionsDeliveryTimePointResponse'
          description: |-

            The request could be evaluated.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Checkout Options
      operationId: checkoutOptionsTimepoint
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CheckoutOptionsDeliveryTimePointRequest'
        required: true
      summary: >-
        This endpoint is to be used to get information about the possible
        delivery of items
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
  /api/orders:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
        - description: filter orders by tenantOrderId
          in: query
          name: tenantOrderId
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StrippedOrders'
          description: Orders are found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Orders
      description: ''
      operationId: getAllOrders
      summary: Return all orders
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: >-
            The order was successfully created. The Location header contains the
            URL of the order.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Orders
      description: ''
      operationId: addOrder
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderForCreation'
        description: Order object supplied by your shop instance
        required: true
      summary: Add a new order for future fulfillment
  /api/orders/{orderId}:
    get:
      parameters:
        - description: ID of order you want to get
          in: path
          name: orderId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: >-
            Order was found & you were allowed to access it. The result is in
            the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - DOMS - Orders
      description: ''
      operationId: getOrder
      summary: Get a order with the given ID
  /api/orders/{orderId}/actions:
    post:
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderActionsParameter'
      parameters:
        - description: Reference to the order you want to call the action for
          in: path
          name: orderId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: Updated Order in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Orders
      operationId: orderAction
      summary: Call a single action on a given order
  /api/routing/commands/reroute:
    post:
      responses:
        '200':
          description: Rerouting was successfully triggered
        '401':
          content:
            '*/*':
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: reRoute
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RerouteRoutingPlan'
        description: >-
          An object, that can contain either lists of identifiers for which a
          reroute should be executed or an option to reroute every reroutable
          plan.
        required: true
      summary: Triggers rerouting of failed routing plans
  /api/routingplans:
    get:
      parameters:
        - description: >-
            Reference to the order you want to get the corresponding routing
            plan.
          in: query
          name: orderRef
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingPlans'
          description: >-
            Routing plan was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found, please look at details.
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: getRoutingPlanBaseOnOrderRef
      summary: Get a routing plan regarding to orderRef
  /api/routingplans/{routingplanId}:
    get:
      parameters:
        - description: ID of the routing plan want to get
          in: path
          name: routingplanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingPlan'
          description: >-
            Routing plan was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Not found, please look at details.
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: getRoutingPlan
      summary: Get a routing plan with the given ID
    patch:
      parameters:
        - description: ID of routing plan you want to patch
          in: path
          name: routingplanId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingPlan'
          description: >-
            Routing plan was found & patch-set has been applied. The patched
            entity is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found, for more information please look at details.
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: patchRoutingPlan
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingPlanPatchActions'
        description: Patch set
        required: true
      summary: Patches a routing plan with the given ID
  /api/routingplans/{routingplanId}/decisionlogs/{routingRun}:
    get:
      parameters:
        - description: ID of the routing plan you want to get it's decision log
          in: path
          name: routingplanId
          required: true
          schema:
            type: string
        - description: ID of the decision log you want to get
          in: path
          name: routingRun
          required: true
          schema:
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DecisionLog'
          description: Decision log was found.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Decision log not found
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: getDecisionlog
      summary: Get decision log of a routing plan with the given ID
  /api/reroutedescriptions:
    get:
      parameters:
        - description: all entities after given Id
          in: query
          name: startAfterId
          required: false
          schema:
            type: string
        - description: number of entities to show
          in: query
          name: size
          required: false
          schema:
            default: 25
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteDescriptions'
          description: >-
            RerouteDescription were found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getRerouteDescriptions
      summary: Get a list with all reroute descriptions
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteDescription'
          description: >-
            The RerouteDescription has been successfully created. The Location
            header includes the URL of the document.
        '303':
          description: >-
            The RerouteDescription already exists. The Location header contains
            the URL of the document.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Routing Plans
      operationId: postRerouteDescription
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RerouteDescriptionForCreation'
        description: The RerouteDescription
        required: true
      summary: Post a new RerouteDescription
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
  /api/reroutedescriptions/{rerouteDescriptionId}:
    get:
      parameters:
        - description: Id of the reroute description you wish to retrieve
          in: path
          name: rerouteDescriptionId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteDescription'
          description: >-
            RerouteDescription was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getRerouteDescriptionById
      summary: Get a reroute description with the given key
    put:
      parameters:
        - description: ID of the reroute description you intend to modify
          in: path
          name: rerouteDescriptionId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RerouteDescriptionForModification'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteDescription'
          description: >-
            RerouteDescription rating was found & you were allowed to access it.
            The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: RerouteDescription not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: putRerouteDescription
      summary: Update a reroute description
    delete:
      parameters:
        - description: ID of the reroute description you intend to delete
          in: path
          name: rerouteDescriptionId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            The reroute description was found, and you have been granted
            permission to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: RerouteDescription not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: deleteRerouteDescription
      summary: Delete a reroute description
  /api/configurations/capacityplanningtimeframe:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityPlanningTimeframeConfiguration'
          description: >-
            Configuration was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Configuration not found
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: getCapacityPlanningTimeframeConfiguration
      summary: Get a tenant capacity planning timeframe configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CapacityPlanningTimeframeConfiguration'
          description: Configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Configuration not found
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: putCapacityPlanningTimeframeConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CapacityPlanningTimeframeConfiguration'
        required: true
      summary: Update capacity planning timeframe configuration of a tenant
  /api/orders/{orderId}/cancel:
    post:
      parameters:
        - description: ID of order you want to cancel
          in: path
          name: orderId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Order'
          description: Order was cancelled sucessfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found
      tags:
        - DOMS - Orders
      operationId: cancelOrder
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                cancelationReasonId:
                  description: ID of the cancelation reason
                  type: string
      summary: Cancel an order with the given ID
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated: Use /actions with "CANCEL" instead.
  /api/promises/deliverypromise:
    post:
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseForDeliveryPromise'
          description: The order promise was created URL of the order promse.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Orders
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: postDeliveryPromise
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderForCreation'
        description: Order object supplied by your shop instance
        required: true
      summary: Add a new order for future fulfillment
  /api/configurations/routing/toolkit/ratings/{toolkitRatingId}:
    get:
      parameters:
        - description: Id of the tag you want to get
          in: path
          name: toolkitRatingId
          required: true
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolkitRating'
          description: >-
            ToolkitRating was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: User not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getToolkitRatingById
      summary: Get a tag with the given key
    put:
      parameters:
        - description: ID of the toolkit rating you want to update
          in: path
          name: toolkitRatingId
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ToolkitRatingForModification'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ToolkitRating'
          description: >-
            Toolkit rating was found & you were allowed to access it. The result
            is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Toolkit rating not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: putToolkitRating
      summary: Update a toolkit rating
    delete:
      parameters:
        - description: ID of the toolkit rating you want to delete
          in: path
          name: toolkitRatingId
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Toolkit rating was found & you were allowed to delete it.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Toolkit rating not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: deleteToolkitRating
      summary: Delete a toolkit rating
  /api/configurations/routing/rerouteshortpick:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteShortPickConfiguration'
          description: >-
            Reroute short pick configuration was found & you were allowed to
            access it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Reroute configuration not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getRerouteShortPickConfiguration
      summary: Get a tenant reroute short pick config
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteShortPickConfiguration'
          description: Reroute short pick configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Reroute short pick configuration not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: putRerouteShortPickConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RerouteShortPickConfiguration'
        required: true
      summary: Update reroute short pick configuration of a tenant
  /api/configurations/routing/reroutetimetriggered:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteTimeTriggeredConfiguration'
          description: >-
            Reroute time triggered configuration was found & you were allowed to
            access it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Reroute configuration not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getRerouteTimeTriggeredConfiguration
      summary: Get a tenant reroute time triggered config
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteTimeTriggeredConfiguration'
          description: Reroute time triggered configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Reroute configuration not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: putRerouteTimeTriggeredConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RerouteTimeTriggeredConfiguration'
        required: true
      summary: Update reroute time triggered configuration of a tenant
  /api/configurations/routing/manualreroute:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManualRerouteConfiguration'
          description: >-
            Manual reroute configuration was found & you were allowed to access
            it. The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Manual reroute configuration not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated, use GlobalManualRerouteConfiguration in
        /api/configurations/routing
      deprecated: true
      operationId: getManualRerouteConfiguration
      summary: Get a tenant manual order reroute config
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ManualRerouteConfiguration'
          description: Manual order reroute configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Reroute configuration not found
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Deprecated, use GlobalManualRerouteConfiguration in
        /api/configurations/routing
      deprecated: true
      operationId: putManualRerouteConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ManualRerouteConfiguration'
        required: true
      summary: Update manual order reroute configuration of a tenant
  /api/configurations/promises:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromisesConfiguration'
          description: >-
            Promises configuration was found & you were allowed to access it.
            The result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Promises configuration not found
      tags:
        - DOMS - Orders
      description: ''
      operationId: getPromisesConfiguration
      summary: Get a tenant promises config
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PromisesConfiguration'
          description: The promisesConfiguration was successfully put.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Orders
      description: ''
      operationId: putPromisesConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PromisesConfiguration'
        description: Desired promises configuration to put
        required: true
      summary: Change the tenant wide promises configuration
  /api/configurations/routing:
    get:
      parameters:
        - description: Provide  to get an older version of the configuration
          in: query
          name: version
          schema:
            type: number
        - description: >-
            Provide the localized names and descriptions for the routing
            configuration. If not provided the default locale is used., for
            example de_DE.
          in: query
          name: locale
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingConfiguration'
          description: >-
            Routing configuration was found & you were allowed to access it. The
            result is in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Routing configuration not found
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: getRoutingConfiguration
      summary: Get a tenant routing config
    patch:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingConfiguration'
          description: Routing configuration was found & patch-set has been applied.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity not found, for more information please look at details.
        '409':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Entity version conflict
      tags:
        - DOMS - Routing Plans
      description: >-
        Important: You can only change the name and the description for fences,
        ratings and prioritizations of type CUSTOM. For Fences and Ratings
        provided by fulfillmenttools you can not change the fields 'name' and
        'description'.
      operationId: patchRoutingConfig
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingConfigurationsPatchActions'
        description: Patch set
        required: true
      summary: Patches routing configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RoutingConfiguration'
          description: Routing configuration was written successfully
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
        '404':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Routing configuration not found
      tags:
        - DOMS - Routing Plans
      description: >-
        Important: You can only change the name and the description for fences,
        ratings and prioritizations of type CUSTOM. For Fences and Ratings
        provided by fulfillmenttools you can not change the fields 'name' and
        'description'. <br> Also you can not delete an existing fulfillmenttools
        Fence or Rating by calling this endpoint.
      operationId: putRoutingConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingConfiguration'
        required: true
      summary: Update routing configuration of a tenant
  /api/configurations/orderrouting:
    get:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderRoutingConfiguration'
          description: The Order Routing Configuration can be found in the body.
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Routing Plans
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      operationId: getOrderRoutingConfiguration
      summary: Get the tenant wide order routing configuration
    put:
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderRoutingConfiguration'
          description: The order routing configuration was successfully updated.
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrderRoutingConfiguration'
          description: The order routing configuration was successfully created.
        '400':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Invalid input. See response for details
        '401':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: Your user is not allowed to operate against this API instance
        '403':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/ApiError'
          description: >-
            Your user, although recognized, is not authorized to use this
            endpoint
      tags:
        - DOMS - Routing Plans
      description: ''
      operationId: putOrderRoutingConfiguration
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderRoutingConfiguration'
        description: Desired order routing configuration to create/update
        required: true
      summary: Change the tenant wide order routing configuration
  /api/articles:
    get:
      operationId: getArticles
      summary: Search articles tenant-wide based on title or tenantArticleId
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />
      parameters:
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
        - name: facilityRef
          required: false
          in: query
          schema:
            type: string
        - name: searchTerm
          required: false
          in: query
          schema:
            minLength: 1
            type: string
        - name: locale
          required: false
          in: query
          schema:
            type: string
            $ref: '#/components/schemas/SupportedLocale'
        - name: tenantArticleId
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: >-
            Articles search result according to the request. The result is in
            the body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryArticlePaginatedResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/articles/{tenantArticleId}/forecasts:
    get:
      operationId: getForecastsForArticle
      summary: Get the forecast for a specific tenantArticleId
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: tenantArticleId
          required: true
          in: path
          schema:
            type: string
        - name: period
          required: false
          in: query
          schema:
            enum:
              - DAILY
            type: string
      responses:
        '200':
          description: >-
            Forecast for the specified tenantArticleId. The result is in the
            body.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ArticleStockForecast'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/purchaseorders/{purchaseOrderId}:
    get:
      operationId: getPurchaseOrder
      summary: Get a Purchase Order by ID
      deprecated: false
      description: ''
      parameters:
        - name: purchaseOrderId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Purchase Order entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseOrder'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    put:
      operationId: upsertPurchaseOrder
      summary: Update or create a Purchase Order
      deprecated: false
      description: ''
      parameters:
        - name: purchaseOrderId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PurchaseOrderForUpdate'
      responses:
        '200':
          description: Updated/created Purchase Order entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseOrder'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    patch:
      operationId: patchPurchaseOrder
      summary: Partially updates a Purchase Order using a selection of fields
      deprecated: false
      description: ''
      parameters:
        - name: purchaseOrderId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PurchaseOrderForPartialUpdate'
      responses:
        '200':
          description: Updated Purchase Order entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseOrder'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/purchaseorders:
    post:
      operationId: createPurchaseOrder
      summary: Create a new Purchase Order
      deprecated: false
      description: ''
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PurchaseOrderForCreation'
      responses:
        '201':
          description: Created Purchase Order entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PurchaseOrder'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/inboundprocesses:
    get:
      operationId: getInboundProcesses
      summary: Get multiple Inbound Processes
      deprecated: false
      description: ''
      parameters:
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
        - name: sort
          required: false
          in: query
          schema:
            enum:
              - ORIGIN_NAME_ASC
              - REQUESTED_DATE_ASC
              - LAST_MODIFIED_ASC
              - ORIGIN_NAME_DESC
              - REQUESTED_DATE_DESC
              - LAST_MODIFIED_DESC
            type: string
        - name: facilityRef
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: status
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - OPEN
                - PARTIAL_DELIVERY
                - ON_HOLD
                - CLOSED
        - name: searchTerm
          required: false
          in: query
          description: >
            Matches partial values; The queries terms and therefore the result
            set of the query can change in the future:

            - tenantInboundProcessId

            - scannableCodes

            - receipts.receivedItems.tenantArticleId

            - purchaseOrder.requestedItems.tenantArticleId

            - purchaseOrder.supplier.name

            - values of related listings
              - listing.title
              - listing.scannableCodes
          schema:
            type: string
        - name: searchTermExact
          required: false
          in: query
          description: >
            Only matches complete values; The queries terms and therefore the
            result set of the query can change in the future:

            - tenantInboundProcessId

            - scannableCodes

            - receipts.receivedItems.tenantArticleId

            - purchaseOrder.requestedItems.tenantArticleId

            - purchaseOrder.supplier.name

            - values of related listings
              - listing.title
              - listing.scannableCodes
          schema:
            type: string
        - name: purchaseOrder_cancelled
          required: false
          in: query
          schema:
            type: boolean
        - name: receipt_status
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - IN_PROGRESS
                - FINISHED
      responses:
        '200':
          description: Paginated result containing the matching Inbound Process entities
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundProcessPaginatedResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    post:
      operationId: createInboundProcess
      summary: Create a new Inbound Process
      deprecated: false
      description: ''
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundProcessForCreation'
      responses:
        '200':
          description: Created Inbound Process entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundProcess'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/inboundprocesses/{inboundProcessId}:
    get:
      operationId: getInboundProcess
      summary: Get an Inbound Process by ID
      deprecated: false
      description: ''
      parameters:
        - name: inboundProcessId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Requested Inbound Process entity
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundProcess'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    delete:
      operationId: deleteInboundProcess
      summary: Delete an Inbound Process by ID
      deprecated: false
      description: ''
      parameters:
        - name: inboundProcessId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Inbound Process successfully deleted
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    patch:
      operationId: Patch InboundProcess
      summary: Patch an Inbound Process by ID
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: inboundProcessId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundProcessForPatch'
      responses:
        '200':
          description: Inbound Process successfully patched
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/inboundprocesses/{inboundProcessId}/purchaseorder:
    put:
      operationId: upsertInboundProcessPurchaseOrder
      summary: >-
        Creates or updates the specific purchase order of an existing inbound
        process.
      deprecated: false
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      parameters:
        - name: inboundProcessId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundProcessPurchaseOrderForUpsert'
      responses:
        '200':
          description: Purchase order successfully updated on inbound process
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundProcessPurchaseOrder'
        '201':
          description: Purchase order successfully created on inbound process
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundProcessPurchaseOrder'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/inboundprocesses/{inboundProcessId}/receipts:
    post:
      operationId: addReceiptToInboundProcess
      summary: Adds a receipt to an inbound process.
      deprecated: false
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      parameters:
        - name: inboundProcessId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundReceiptForCreation'
      responses:
        '201':
          description: Receipt was added to the inbound process
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundReceipt'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/inboundreceiptjobs:
    get:
      operationId: getInboundReceiptJobs
      summary: Get InboundReceiptJobs
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
        - name: facilityRef
          required: false
          in: query
          schema:
            type: array
            items:
              type: string
        - name: status
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - OPEN
                - PARTIAL_DELIVERY
                - ON_HOLD
                - CLOSED
        - name: searchTerm
          required: false
          in: query
          schema:
            minLength: 1
            type: string
        - name: searchTermExact
          required: false
          in: query
          schema:
            minLength: 1
            type: string
        - name: fromDate
          required: false
          in: query
          schema:
            format: date-time
            type: string
        - name: toDate
          required: false
          in: query
          schema:
            format: date-time
            type: string
      responses:
        '200':
          description: Paginated Inbound Receipt Jobs
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundReceiptJobPaginatedResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/inboundreceiptjobs/{inboundEntryId}:
    get:
      operationId: getInboundReceiptJob
      summary: Get an Inbound Receipt Job by ID
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: inboundEntryId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundReceiptJob'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/receipts:
    post:
      operationId: createReceipt
      summary: Creates a receipt
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReceiptForCreation'
      responses:
        '201':
          description: Created inbound receipt
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Receipt'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/receipts/{receiptId}:
    get:
      operationId: getReceipt
      summary: Get receipt by id
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: receiptId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Receipt'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    put:
      operationId: putReceipt
      summary: Put receipt to id
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: receiptId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundReceiptForUpdate'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Receipt'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    patch:
      operationId: patchReceipt
      summary: Patch receipt by id
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: receiptId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundReceiptForPatch'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Receipt'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
    delete:
      operationId: deleteReceipt
      summary: Delete receipt by id
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: receiptId
          required: true
          in: path
          schema:
            type: string
        - name: version
          required: true
          in: query
          schema:
            type: number
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Receipt'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/configurations/inventory:
    patch:
      operationId: upsertInventoryConfigurations
      summary: Update Inventory Configuration
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryConfigurationForPatch'
      responses:
        '200':
          description: Requested Inventory Configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryConfiguration'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    get:
      operationId: getInventoryConfigurations
      summary: Get Inventory Configuration
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      responses:
        '200':
          description: Requested Inventory Configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryConfiguration'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/facilities/{facilityId}/configurations/inventory:
    patch:
      operationId: upsertInventoryFacilityConfigurations
      summary: Update Inventory Configuration for a Facility
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: facilityId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InventoryFacilityConfigurationForPatch'
      responses:
        '200':
          description: Requested Inventory Facility Configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryFacilityConfiguration'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    get:
      operationId: getInventoryFacilityConfigurations
      summary: Get Inventory Configuration for a Facility
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: facilityId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Requested Inventory Facility Configuration
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InventoryFacilityConfiguration'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/stocks/{stockId}/locationrecommendations:
    get:
      operationId: getStorageLocationRecommendations
      summary: Get the Storage Location recommendations for a specific Stock
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: stockId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: >-
            List of Storage Locations sorted by the stock sum ascending. The
            result is in the body.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StorageLocationRecommendation'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/inboundprocesses/attachments:
    post:
      operationId: createAttachment
      summary: Creates an attachment
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/InboundAttachmentForCreation'
      responses:
        '201':
          description: Created attachment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InboundAttachment'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/inboundprocesses/attachments/{attachmentId}/signedurl:
    get:
      operationId: getSignedAttachmentUrl
      summary: Retrieves a signed url for an attachment
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: attachmentId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Signed url
          content:
            application/json:
              schema:
                type: string
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Inbound
  /api/stocks/summaries:
    get:
      operationId: getStockSummaries
      summary: Get the accumulated Stock for each Article
      deprecated: false
      description: ''
      parameters:
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
        - name: facilityServiceTypes
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - SHIP_FROM_STORE
                - PICKUP
        - name: facilityStatus
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - ONLINE
                - SUSPENDED
                - OFFLINE
        - name: facilityRefs
          required: false
          in: query
          explode: true
          schema:
            type: array
            items:
              type: string
        - name: allowStale
          required: false
          in: query
          schema:
            type: boolean
        - name: tenantArticleIds
          required: false
          in: query
          explode: true
          schema:
            type: array
            items:
              type: string
        - name: channelRefs
          required: false
          in: query
          explode: true
          description: >-
            The channels to included under "channelAdjusted" in the stock
            summary. Provide up to 50 channelRefs, specify "UNALLOCATED for
            unallocated stock."
          schema:
            maxItems: 50
            type: array
            items:
              type: string
      responses:
        '200':
          description: >-
            Stock summaries was loaded & you were allowed to access it. The
            result is in the body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockSummaries'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/inventory/stocks/summaries:
    get:
      operationId: getStockSummariesDeprecated
      summary: This endpoint is deprecated. Please use /api/stocks/summaries instead.
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />
      parameters:
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
        - name: facilityServiceTypes
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - SHIP_FROM_STORE
                - PICKUP
        - name: facilityStatus
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - ONLINE
                - SUSPENDED
                - OFFLINE
        - name: facilityRefs
          required: false
          in: query
          explode: true
          schema:
            type: array
            items:
              type: string
        - name: allowStale
          required: false
          in: query
          schema:
            type: boolean
        - name: tenantArticleIds
          required: false
          in: query
          explode: true
          schema:
            type: array
            items:
              type: string
        - name: channelRefs
          required: false
          in: query
          explode: true
          description: >-
            The channels to included under "channelAdjusted" in the stock
            summary. Provide up to 50 channelRefs, specify "UNALLOCATED for
            unallocated stock."
          schema:
            maxItems: 50
            type: array
            items:
              type: string
      responses:
        '200':
          description: >-
            Stock summaries was loaded & you were allowed to access it. The
            result is in the body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockSummaries'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/articles/{tenantArticleId}/stockdistribution:
    get:
      operationId: getStockDistribution
      summary: >-
        Stock per Facility for a specific tenantArticleId, also includes the
        Tenant-Wide Summary
      deprecated: false
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      parameters:
        - name: tenantArticleId
          required: true
          in: path
          schema:
            minLength: 1
            type: string
        - name: facilityServiceTypes
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - SHIP_FROM_STORE
                - PICKUP
        - name: facilityStatus
          required: false
          in: query
          explode: false
          schema:
            type: array
            items:
              type: string
              enum:
                - ONLINE
                - SUSPENDED
                - OFFLINE
        - name: facilityName
          required: false
          in: query
          schema:
            minLength: 1
            type: string
        - name: facilityIds
          required: false
          in: query
          explode: true
          schema:
            type: array
            items:
              type: string
        - name: channelRefs
          required: false
          in: query
          explode: true
          description: >-
            The channels to included under "channelAdjusted" in each summary and
            facility stock. Provide up to 50 channelRefs, specify "UNALLOCATED
            for unallocated stock."
          schema:
            maxItems: 50
            type: array
            items:
              type: string
      responses:
        '200':
          description: >-
            Stock distribution was loaded & you were allowed to access it. The
            result is in the body.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockDistribution'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/facilities/{facilityId}/stocks:
    get:
      operationId: getFacilityStocks
      summary: Get stock related to a facilityRef
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Use <a
        href="https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/entities#stock">Inventory
        Stock</a> instead
      parameters:
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
        - name: facilityId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Stock was loaded and you were allowed to access it.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FacilityStock'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    put:
      operationId: bulkUpdateFacilityStock
      summary: Update Stock in bulk facilityRef and tenantArticleId
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />Use <a
        href="https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/entities#stock">Inventory
        Stock</a> instead
      parameters:
        - name: facilityId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FacilityStockBulkOperations'
      responses:
        '207':
          description: Update Result of each targeted tenantArticleId
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/FacilityStockBulkResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/stocks:
    post:
      operationId: createStock
      summary: Create stock
      deprecated: false
      description: ''
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StockForCreation'
      responses:
        '201':
          description: Stock was created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stock'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    get:
      operationId: getStocks
      summary: Get stocks
      deprecated: false
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      parameters:
        - name: facilityRef
          required: false
          in: query
          schema:
            type: string
        - name: tenantArticleId
          required: false
          in: query
          schema:
            maxItems: 500
            type: array
            items:
              type: string
        - name: locationRef
          required: false
          in: query
          schema:
            maxItems: 500
            type: array
            items:
              type: string
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Stocks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockPaginatedResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    put:
      operationId: upsertStocks
      summary: Update and create many stocks at once
      deprecated: false
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StocksForUpsert'
      responses:
        '200':
          description: Stock upsert result
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/StockUpsertOperationResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/stocks/{stockId}:
    put:
      operationId: updateStock
      summary: Update stock
      deprecated: false
      description: ''
      parameters:
        - name: stockId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/StockForUpdate'
                - type: object
                  properties:
                    value:
                      type: integer
                      minimum: 0
                      format: int32
                    locationRef:
                      type: string
                      nullable: true
                  required:
                    - value
                  not:
                    required:
                      - version
      responses:
        '200':
          description: Stock
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stock'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    delete:
      operationId: deleteStock
      summary: Delete stock
      deprecated: false
      description: ''
      parameters:
        - name: stockId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Stock was deleted.
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    get:
      operationId: getStock
      summary: Get stock
      deprecated: false
      description: ''
      parameters:
        - name: stockId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Stock
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Stock'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/stocks/actions:
    post:
      operationId: performStocksActions
      summary: Perform stocks actions
      deprecated: false
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StockAction'
      responses:
        '200':
          description: Stock action result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StockActionResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/safetystocks:
    get:
      operationId: getSafetyStocks
      summary: Get all Safety Stocks
      deprecated: false
      description: ''
      parameters:
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
        - name: tenantArticleId
          required: false
          in: query
          schema:
            type: string
        - name: facilityRef
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Available Safety Stocks
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetyStocksPaginatedResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
    put:
      operationId: bulkUpdateSafetyStock
      summary: Update Safety Stocks in bulk
      deprecated: false
      description: ''
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SafetyStockBulkOperations'
      responses:
        '207':
          description: Result of the bulk operations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SafetyStockBulkOperationResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/safetystocks/{safetyStockId}:
    delete:
      operationId: deleteSafetyStock
      summary: Delete a single Safety Stock
      deprecated: false
      description: ''
      parameters:
        - name: safetyStockId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: Result of the bulk operations
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Stocks
  /api/configurations/notifications:
    get:
      operationId: getNotificationCenterConfig
      summary: Returns the notification center configuration.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      responses:
        '200':
          description: The notification center configuration was successfully returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
    put:
      operationId: upsertNotificationCenterConfig
      summary: Creates or updates an existing notification center configuration.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/NotificationCenterConfigForUpdate'
                - type: object
                  allOf:
                    - $ref: '#/components/schemas/NotificationCenterConfigForCreation'
                  not:
                    required:
                      - version
      responses:
        '200':
          description: Notification center configuration was successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '201':
          description: Notification center configuration was successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '400':
          description: Invalid input. See response for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: A version conflict occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
  /api/configurations/notifications/channels/{channelId}:
    delete:
      operationId: deleteNotificationCenterConfigChannel
      summary: Deletes a notification center config channel.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: channelId
          required: true
          in: path
          schema:
            type: string
        - name: version
          required: true
          in: query
          schema:
            type: number
      responses:
        '200':
          description: Notification center config channel was successfully deleted.
        '400':
          description: Invalid input. See response for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: A version conflict occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
  /api/configurations/notifications/actions:
    post:
      operationId: executeNotificationCenterConfigAction
      summary: Executes an action to manipulate the notification center configuration.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/AddChannelAction'
                - $ref: '#/components/schemas/UpdateChannelByIdAction'
      responses:
        '200':
          description: Notification center configuration action was successfully executed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '400':
          description: Invalid input. See response for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: A version conflict occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
  /api/facilities/{facilityRef}/configurations/notifications:
    get:
      operationId: getNotificationCenterFacilityConfig
      summary: Returns the notification center facility configuration.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: facilityRef
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: >-
            The notification center facility configuration was successfully
            returned.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
    put:
      operationId: upsertNotificationCenterFacilityConfig
      summary: >-
        Creates or updates an existing notification center facility
        configuration.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: facilityRef
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/NotificationCenterConfigForUpdate'
                - type: object
                  allOf:
                    - $ref: '#/components/schemas/NotificationCenterConfigForCreation'
                  not:
                    required:
                      - version
      responses:
        '200':
          description: Notification center facility configuration was successfully updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '201':
          description: Notification center facility configuration was successfully created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '400':
          description: Invalid input. See response for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: A version conflict occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
  /api/facilities/{facilityRef}/configurations/notifications/channels/{channelId}:
    delete:
      operationId: deleteNotificationCenterFacilityConfigChannel
      summary: Deletes a notification center facility config channel.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: facilityRef
          required: true
          in: path
          schema:
            type: string
        - name: channelId
          required: true
          in: path
          schema:
            type: string
        - name: version
          required: true
          in: query
          schema:
            type: number
      responses:
        '200':
          description: >-
            Notification center facility config channel was successfully
            deleted.
        '400':
          description: Invalid input. See response for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: A version conflict occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
  /api/facilities/{facilityRef}/configurations/notifications/actions:
    post:
      operationId: executeNotificationCenterFacilityConfigAction
      summary: >-
        Executes an action to manipulate the notification center facility
        configuration.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: facilityRef
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
                - $ref: '#/components/schemas/AddChannelAction'
                - $ref: '#/components/schemas/UpdateChannelByIdAction'
      responses:
        '200':
          description: >-
            Notification center facility configuration action was successfully
            executed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationCenterConfig'
        '400':
          description: Invalid input. See response for details.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '409':
          description: A version conflict occurred.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Core - Notification Center
  /api/availabilitychannels:
    post:
      operationId: createAvailabilityChannel
      summary: Create a new Availability Channel
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvailabilityChannelForCreation'
      responses:
        '200':
          description: The created Availability Channel
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityChannel'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    get:
      operationId: getAvailabilityChannels
      summary: Get all Availability Channels
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: searchTerm
          required: false
          in: query
          schema:
            type: string
        - name: searchTermExact
          required: false
          in: query
          schema:
            type: string
        - name: strategy
          required: false
          in: query
          schema:
            enum:
              - REGULAR
              - IRON_RESERVE
              - RESTRICT
            type: string
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Available Availability Channels
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityChannelPaginatedResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
  /api/availabilitychannels/{availabilityChannelId}:
    put:
      operationId: replaceAvailabilityChannel
      summary: Replace an existing Availability Channel
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvailabilityChannelForReplacement'
      responses:
        '200':
          description: The replaced Availability Channel
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityChannel'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    get:
      operationId: getAvailabilityChannelById
      summary: Get an Availability Channel by its id
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: The Availability Channel
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityChannel'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    delete:
      operationId: deleteAvailabilityChannel
      summary: >-
        Delete an existing Availability Channel. PLEASE NOTE: This will also
        delete all groups and allocations under this channel.
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: The channel has been deleted
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
  /api/availabilitychannels/{availabilityChannelId}/groups:
    get:
      operationId: getGroupsUnderChannel
      summary: Get Groups under Channel
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
        - name: searchTerm
          required: false
          in: query
          schema:
            type: string
        - name: searchTermExact
          required: false
          in: query
          schema:
            type: string
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Available Groups
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/AvailabilityAllocationGroupPaginatedResult
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    post:
      operationId: createGroupUnderChannel
      summary: Create a Group under Channel
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/AvailabilityAllocationGroupForCreationUnderChannel
      responses:
        '200':
          description: The created Group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityAllocationGroup'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
  /api/availabilitychannels/{availabilityChannelId}/groups/{groupId}:
    put:
      operationId: replaceGroupUnderChannel
      summary: Replace a  Group under Channel
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
        - name: groupId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvailabilityAllocationGroupForReplacement'
      responses:
        '200':
          description: The replaced Group
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityAllocationGroup'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    get:
      operationId: getGroupUnderChannelById
      summary: Get Groups under Channel by its ID
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
        - name: groupId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: The Group
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/AvailabilityAllocationGroupPaginatedResult
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    delete:
      operationId: deleteGroupUnderChannel
      summary: Delete an existing Group and all its allocations under Channel
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: groupId
          required: true
          in: path
          schema:
            type: string
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: The Group has been deleted.
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
  /api/availabilitychannels/{availabilityChannelId}/groups/{groupId}/allocations:
    get:
      operationId: getAllocationsUnderGroup
      summary: Get Allocations under Group
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: groupId
          required: true
          in: path
          schema:
            type: string
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
        - name: searchTerm
          required: false
          in: query
          schema:
            type: string
        - name: searchTermExact
          required: false
          in: query
          schema:
            type: string
        - name: size
          required: false
          in: query
          schema:
            minimum: 1
            maximum: 100
            default: 25
            type: number
        - name: startAfterId
          required: false
          in: query
          schema:
            type: string
      responses:
        '200':
          description: Available Allocations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityAllocationPaginatedResult'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    post:
      operationId: createAllocationUnderGroup
      summary: Create a new Allocation under Group
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: groupId
          required: true
          in: path
          schema:
            type: string
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvailabilityAllocationForCreationUnderGroup'
      responses:
        '200':
          description: The created Allocation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityAllocation'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
  /api/availabilitychannels/{availabilityChannelId}/groups/{groupId}/allocations/{allocationId}:
    put:
      operationId: replaceAllocationUnderGroup
      summary: Replace an existing Allocation under a group
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: groupId
          required: true
          in: path
          schema:
            type: string
        - name: allocationId
          required: true
          in: path
          schema:
            type: string
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AvailabilityAllocationForReplacement'
      responses:
        '200':
          description: The replaced Allocation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityAllocation'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    get:
      operationId: getAllocationUnderGroupById
      summary: Get an Allocation under a Group by its id
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: groupId
          required: true
          in: path
          schema:
            type: string
        - name: allocationId
          required: true
          in: path
          schema:
            type: string
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: The Allocation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailabilityAllocation'
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
    delete:
      operationId: deleteAllocationUnderGroup
      summary: Delete an existing Allocation under Group
      deprecated: false
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      parameters:
        - name: allocationId
          required: true
          in: path
          schema:
            type: string
        - name: groupId
          required: true
          in: path
          schema:
            type: string
        - name: availabilityChannelId
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: The Allocation has been deleted
        '401':
          description: Your user is not allowed to operate against this API instance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: Your user, although recognized, is not authorized to use this
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: The requested entity was not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      tags:
        - Inventory Management - Channel Availability
  /graphql:
    get:
      responses:
        '200':
          description: The GraphQL playground
      tags:
        - Infrastructure - GraphQL
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: getGraphQLPlayground
      summary: Get the GraphQL playground
    post:
      responses:
        '200':
          description: The GraphQL command was successfully executed.
        '400':
          description: GraphQL validation error
      tags:
        - Infrastructure - GraphQL
      description: |-
        <i><center>
          <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
          </center> <br /> This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
          </i><br /><br />
      operationId: executeGraphQLCommand
      summary: Endpoint for executing GraphQL commands
components:
  requestBodies:
    MeasurementUnitForCreation:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/MeasurementUnitForCreation'
      required: true
  schemas:
    AbstractCarrierCredentials:
      discriminator:
        propertyName: key
      properties:
        key:
          type: string
      required:
        - key
      type: object
      xml:
        name: AbstractCarrierCredentials
    AbstractModificationAction:
      discriminator:
        propertyName: action
      properties:
        action:
          description: ''
          enum:
            - AddAllowedValueToTag
            - ModifyPickJob
            - ModifyPickJobLastEditor
            - RestartPickJob
            - ResetPickJob
            - CancelPickRun
            - CancelHandoverjob
            - AbortPickJob
            - FinishPickRun
            - StartPickRun
            - ModifyPickLineItem
            - ModifyPickRunLineItem
            - ModifyPackJob
            - PausePackJob
            - ModifyPackLineItem
            - ModifyFacility
            - ModifyListing
            - ModifyRetainedOfflineStock
            - ModifyListingReactivationAfter
            - ModifyUser
            - ModifyShipment
            - ModifyHandoverjob
            - ModifyCarrier
            - ModifyShortpick
            - ModifyReturn
            - ModifyReturnLineItem
            - ModifyRoutingPlan
            - ModifyFence
            - ModifyRating
            - ModifyTimingMode
            - ModifyGlobalRoutingConfiguration
            - ModifyOrderSplit
            - ModifyPrioritization
            - ModifyLoadUnitType
            - ModifyFeature
            - ModifyParcel
            - ModifyParcelLoadUnit
            - ModifyRestowItem
            - RemovePickJobFromPickRunAction
            - ModifyPartialStock
            - AddTagsToProcess
            - AssignFacilityToProcess
            - ModifyStorageLocation
            - ModifyPackingContainerType
            - ModifyPackingContainerTypeIcon
            - ReplaceCodesInPackingTargetContainer
            - ReplaceLoadUnitLineItems
            - AddLineItemToPackingTargetContainer
            - RemoveLineItemFromPackingTargetContainer
            - UpdateLineItemOnPackingTargetContainer
            - ModifyCustomService
            - UnlockOrder
          example: <Use the corresponding action, see documentation>
          type: string
      required:
        - action
      type: object
      xml:
        name: AbstractModificationAction
    AbstractModifyCarrierCredentials:
      discriminator:
        propertyName: key
      properties:
        key:
          type: string
      required:
        - key
      type: object
      xml:
        name: AbstractModifyCarrierCredentials
    Address:
      properties:
        additionalAddressInfo:
          example: 'to care of: Mrs. Müller'
          type: string
        city:
          example: Langenfeld
          pattern: ^.+$
          type: string
        country:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        province:
          example: NRW
          pattern: ^.+$
          type: string
        customAttributes:
          description: >-
            Attributes that can be added to the address. These attributes cannot
            be used within fulfillment processes, but it could be useful to have
            the informations carried here.
          type: object
        houseNumber:
          example: 42a
          pattern: ^.+$
          type: string
        phoneNumbers:
          items:
            properties:
              customAttributes:
                description: >-
                  Attributes that can be added to the phonenumber. These
                  attributes cannot be used within fulfillment processes, but it
                  could be useful to have the informations carried here.
                type: object
              label:
                description: >-
                  Can be used to give a description for the number, like
                  "private", "business number", etc.
                type: string
              type:
                enum:
                  - MOBILE
                  - PHONE
                type: string
              value:
                description: The number itself. We do not enforce any format (yet).
                type: string
            required:
              - value
              - type
            type: object
          type: array
        postalCode:
          example: '40764'
          pattern: ^.+$
          type: string
        street:
          example: Hauptstr.
          pattern: ^.+$
          type: string
      required:
        - street
        - city
        - postalCode
        - country
      type: object
    ArtifactMetadataItem:
      properties:
        buildDate:
          description: Date of the build of the artifact
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        download:
          properties:
            expiration:
              description: Expiration date of the download link
              example: '2020-02-03T08:45:50.525Z'
              format: date-time
              type: string
            url:
              description: URL for the download of the artifact
              type: string
          type: object
        versionCode:
          description: Version Code of the artifact
          example: 42
          type: number
        versionName:
          description: Version Name of the artifact
          example: 1.0.42
          type: string
      required:
        - download
        - versionCode
        - versionName
        - buildDate
      type: object
    ArtifactMetadataItems:
      properties:
        artifacts:
          items:
            $ref: '#/components/schemas/ArtifactMetadataItem'
          type: array
        platform:
          description: Platform name for which the artifact list is generated
          example: android
          type: string
      required:
        - artifacts
        - platform
      type: object
    Branding:
      properties:
        logoUrl:
          description: The logo URL for the tenant
          example: https://ocff-transloadit.storage.googleapis.com/thumbnails/logo.jpg
          format: uri
          type: string
        primaryColor:
          description: The hexcode representation of the desired primary color.
          example: '#FFC0CB'
          pattern: ^#([A-Fa-f0-9]{6})$
          type: string
      required:
        - primaryColor
        - logoUrl
      type: object
      xml:
        name: Branding
    CallbackHeader:
      properties:
        key:
          description: 'This is the key of the header. e.g.: `Authorization`'
          type: string
        value:
          description: >-
            This is the value for the header. e.g.: `Basic
            dXNlcm5hbWU6cGFzc3dvcmQ=`
          type: string
      required:
        - key
        - value
      type: object
    CapabilityStatus:
      enum:
        - enabled
        - inactive
        - disabled
      type: string
    ParcelLabelClassificationForCreation:
      additionalProperties: false
      properties:
        nameLocalized:
          description: Localized name for parcel label classification
          example:
            de_DE: S-Paket
            en_US: S-Parcel
            ru_RU: S-пакет
          $ref: '#/components/schemas/LocaleString'
        services:
          $ref: '#/components/schemas/ParcelLabelClassificationServices'
        dimensions:
          $ref: '#/components/schemas/ParcelDimensions'
      required:
        - nameLocalized
        - dimensions
      type: object
    ParcelLabelClassification:
      additionalProperties: false
      properties:
        name:
          description: Name of the parcel label classification
          example: S-Parcel
          type: string
        nameLocalized:
          description: Localized name for parcel label classification
          example:
            de_DE: S-Paket
            en_US: S-Parcel
            ru_RU: S-пакет
          $ref: '#/components/schemas/LocaleString'
        services:
          $ref: '#/components/schemas/ParcelLabelClassificationServices'
        dimensions:
          $ref: '#/components/schemas/ParcelDimensions'
      required:
        - nameLocalized
        - dimensions
      type: object
    ParcelLabelClassificationServices:
      additionalProperties: false
      properties:
        bulkyGoods:
          type: boolean
          default: false
      type: object
    Carrier:
      allOf:
        - $ref: '#/components/schemas/CarrierForCreation'
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            id:
              description: The id of the carrier
              example: LGMl2DuvPnfPoSHhYFOm
              type: string
            deliveryType:
              $ref: '#/components/schemas/CarrierDeliveryType'
            lifecycle:
              $ref: '#/components/schemas/CarrierLifecycle'
            parcelLabelClassifications:
              items:
                $ref: '#/components/schemas/ParcelLabelClassification'
              type: array
          required:
            - id
            - status
          type: object
      xml:
        name: Carrier
    BringCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/CarrierConfiguration'
      properties:
        customerId:
          type: string
          example: '12345'
          description: Bring Carrier customer number.
        supportPhoneNumber:
          type: string
          example: '0031121424242'
          description: Bring Carrier support phone number.
        shipmentProduct:
          type: string
          example: '5600'
          description: Product that will be used for the shipment booking
        returnProduct:
          type: string
          example: '9300'
          description: Product that will be used for return
        trackAndTraceUrl:
          type: string
        webhookFftHost:
          type: string
      required:
        - customerId
        - supportPhoneNumber
    FedexCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/CarrierConfiguration'
      properties:
        useEconomyService:
          type: boolean
          example: true
          description: Indicates if the economy services of fedex should be used.
        defaultPriceValue:
          type: number
          example: 10.99
          description: Default value of shipped goods
        defaultPriceCurrency:
          type: string
          example: EUR
          description: default currency of shipped goods as 3 letter iso code
          pattern: ^[A-Z]{3}$
        defaultManufactureCountry:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        defaultCommodityDescription:
          type: string
          example: Description goes here
          description: Describes the shipped goods
        trackAndTraceUrl:
          type: string
      required:
        - useEconomyService
        - defaultPriceCurrency
        - defaultPriceValue
        - defaultManufactureCountry
        - defaultCommodityDescription
    DpdChCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/CarrierConfiguration'
      properties:
        alternativeSendAddress:
          $ref: '#/components/schemas/FacilityAddress'
        trackAndTraceUrl:
          type: string
    DhlV2CarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/CarrierConfiguration'
      properties:
        alternativeReturnAddress:
          $ref: '#/components/schemas/FacilityAddress'
        trackAndTraceUrl:
          type: string
    VceCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/CarrierConfiguration'
      properties:
        alternativeReturnAddress:
          $ref: '#/components/schemas/FacilityAddress'
    GlsCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/CarrierConfiguration'
      properties:
        alternativeSendAddressLocationId:
          type: string
          minLength: 1
        alternativeReturnAddressLocationId:
          type: string
          minLength: 1
        trackAndTraceUrl:
          type: string
        trackAndTraceWsdlUrl:
          type: string
    PostNlCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/CarrierConfiguration'
      properties:
        trackAndTraceUrl:
          type: string
    CarrierDeliveryType:
      description: 'Provided delivery of this CEP. Default: DELIVERY'
      enum:
        - SAMEDAY
        - DELIVERY
      type: string
    CarrierForCreation:
      additionalProperties: false
      properties:
        credentials:
          $ref: '#/components/schemas/AbstractCarrierCredentials'
        key:
          description: >-
            References the KEP. Currently allowed values are DHL_V2, DPD_CH,
            ANGEL, GLS, FEDEX, POSTNL, BRING, UPS, POST_NORD, DHL_EXPRESS,
            CUSTOM and to distinct between multiple custom carriers one can use
            CUSTOM_ combined with a unique name.
          example: DHL_V2
          type: string
        logoUrl:
          minLength: 1
          type: string
        name:
          description: >-
            This is the well known name for a supported CEP partner. Can be
            adapted to the clients needs.
          example: DHL Köln
          type: string
        status:
          $ref: '#/components/schemas/CarrierStatus'
        defaultParcelWeightInGram:
          description: Default weight for a parcel in gram
          default: 1000
          type: number
        parcelLabelClassifications:
          items:
            $ref: '#/components/schemas/ParcelLabelClassificationForCreation'
          type: array
        productValueNeeded:
          type: boolean
          example: true
          description: >-
            Setting to enable the Client to ask for the parcel product value
            while ordering a label. This information is mandatory for sending
            parcels between different countries (customs declaration)
      required:
        - name
        - key
      type: object
      xml:
        name: CarrierForCreation
    CarrierLifecycle:
      description: >-
        Used to determine if a carrier is available for configuration. GA
        carriers are generally available and are covered by our SLA. BETA
        carriers are available, but subject to change and not covered by SLA.
        ALPHA carriers are not implemented completely, yet. Default: GA
      enum:
        - GA
        - BETA
        - ALPHA
      type: string
    CarrierPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyCarrierAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: ShipmentPatchActions
    NonDeliveryDaysPerCountryAndProvince:
      type: object
      additionalProperties: false
      properties:
        country:
          type: string
        nonDeliveryDays:
          type: array
          items:
            $ref: '#/components/schemas/NonDeliveryDays'
        recurringNonDeliveryWeekdays:
          type: array
          items:
            $ref: '#/components/schemas/WeekDay'
        nonDeliveryDaysPerProvince:
          type: array
          items:
            $ref: '#/components/schemas/NonDeliveryDaysPerProvince'
      required:
        - country
        - nonDeliveryDays
        - recurringNonDeliveryWeekdays
        - nonDeliveryDaysPerProvince
    NonDeliveryDaysPerProvince:
      type: object
      additionalProperties: false
      properties:
        province:
          type: string
        nonDeliveryDays:
          type: array
          items:
            $ref: '#/components/schemas/NonDeliveryDays'
        recurringNonDeliveryWeekdays:
          type: array
          items:
            $ref: '#/components/schemas/WeekDay'
      required:
        - province
        - nonDeliveryDays
        - recurringNonDeliveryWeekdays
    NonDeliveryDays:
      type: object
      additionalProperties: false
      properties:
        nonDeliveryType:
          $ref: '#/components/schemas/NonDeliveryType'
          default: SINGLE
        nonDeliveryDay:
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      required:
        - nonDeliveryDay
    NonDeliveryType:
      type: string
      enum:
        - SINGLE
        - RECURRING
    SortDirection:
      enum:
        - ASCENDING
        - DESCENDING
      type: string
    SortParameter:
      type: object
      properties:
        sortDirection:
          $ref: '#/components/schemas/SortDirection'
        sortParameterName:
          $ref: '#/components/schemas/SortParameterName'
      required:
        - sortDirection
        - sortParameterName
    SortParameterName:
      enum:
        - NAME
        - ADDRESS
        - STATUS
        - OPERATIVESTATUS
        - SERVICETYPE
        - ORDEREDAMOUNT
        - ORDERDATE
        - ORDERID
      type: string
    CarrierStatus:
      description: 'It is taken into consideration for all carriers. Default: INACTIVE'
      enum:
        - ACTIVE
        - INACTIVE
      type: string
    ClosingDay:
      description: At this day the facility is closed and does not do picking
      properties:
        date:
          description: The day at which the Facility is closed
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        reason:
          description: The reason why the Facility is closed on this day
          type: string
        recurrence:
          enum:
            - YEARLY
            - NONRECURRING
          type: string
      required:
        - reason
        - date
        - recurrence
      type: object
    CompanyAddress:
      properties:
        city:
          example: Langenfeld
          pattern: ^.+$
          type: string
        country:
          example: Germany
          pattern: ^.+$
          type: string
        houseNumber:
          example: 42a
          pattern: ^.+$
          type: string
        name:
          example: OC fulfillment GmbH
          pattern: ^.+$
          type: string
        postalCode:
          example: '40764'
          pattern: ^.+$
          type: string
        street:
          example: Hauptstr.
          pattern: ^.+$
          type: string
      required:
        - name
        - street
        - postalCode
        - city
        - country
      type: object
    ConsumerAddress:
      allOf:
        - $ref: '#/components/schemas/Address'
      properties:
        companyName:
          example: Speedy Boxales Ltd.
          type: string
        firstName:
          example: Maxine
          type: string
        lastName:
          example: Muller
          type: string
        salutation:
          example: Frau
          type: string
        email:
          type: string
          minLength: 1
          format: email
          example: test@try.de
        addressType:
          $ref: '#/components/schemas/AddressType'
        coordinates:
          $ref: '#/components/schemas/Coordinates'
      type: object
    Coordinates:
      description: >-
        Coordinates of the WGS84 geodetic reference system in Mercator
        projection, as used e.g. by the Google Maps API
      properties:
        lat:
          description: Latitude value
          example: 50.937531
          type: number
        lon:
          description: Longitude value
          example: 6.960279
          type: number
      required:
        - lat
        - lon
      type: object
    Roles:
      description: A list of all rolenames and permissions assigned to the user
      type: array
      items:
        type: object
        properties:
          name:
            $ref: '#/components/schemas/UserRoleNames'
          facilityRefs:
            type: array
            items:
              type: string
          permissions:
            type: array
            items:
              type: string
        required:
          - name
          - permissions
    CustomClaims:
      description: Include all different claims could be assigned to a user
      properties:
        roles:
          $ref: '#/components/schemas/UserRoles'
      required:
        - roles
      type: object
      xml:
        name: CustomClaims
    CustomPrioritizationRule:
      allOf:
        - $ref: '#/components/schemas/PrioritizationRule'
      description: >-
        You can supply a CUSTOM Prioritization rule. In order to successfully
        supply such a rule you also need to provide an evaluatable Expression in
        vmExpression. This expression needs to return an integer value that adds
        additional priority to an order.
      properties:
        vmExpression:
          example: >-
            order.customAttributes && order.customAttributes.amazon === true ?
            100 : 0
          type: string
      required:
        - vmExpression
      type: object
      xml:
        name: CustomPrioritizationRule
    CutoffTime:
      properties:
        hour:
          default: 12
          example: 16
          type: number
        minute:
          default: 0
          example: 30
          type: number
      required:
        - hour
        - minute
      type: object
    TenantConfiguration:
      type: object
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        clearName:
          type: string
      required:
        - clearName
    TenantConfigurationForUpsert:
      type: object
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        clearName:
          type: string
        version:
          type: number
      required:
        - clearName
        - version
    CutoffTimeConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        clickAndCollect:
          $ref: '#/components/schemas/CutoffTime'
        shipFromStore:
          $ref: '#/components/schemas/CutoffTime'
        id:
          type: string
      required:
        - shipFromStore
        - clickAndCollect
      type: object
    DefaultPickingTimesConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        pickingTimes:
          $ref: '#/components/schemas/PickingTimes'
          description: The default picking times are Mo-Sa 09:00-17:00
      required:
        - pickingTimes
      type: object
    DeliveryAddressWithType:
      allOf:
        - $ref: '#/components/schemas/DeliveryAddress'
      properties:
        addressType:
          $ref: '#/components/schemas/AddressType'
      required:
        - street
        - houseNumber
        - postalCode
        - city
        - addressType
      type: object
    DeliveryAddress:
      properties:
        city:
          example: Langenfeld
          pattern: ^.+$
          type: string
        companyName:
          example: OC Fulfillment GmbH
          pattern: ^.+$
          type: string
        firstName:
          example: Maxine
          pattern: ^.+$
          type: string
        houseNumber:
          example: 42a
          pattern: ^.+$
          type: string
        lastName:
          example: Muller
          pattern: ^.+$
          type: string
        postalCode:
          example: '40764'
          pattern: ^.+$
          type: string
        street:
          example: Hauptstr.
          pattern: ^.+$
          type: string
      required:
        - street
        - postalCode
        - city
      type: object
    DeliveryArea:
      properties:
        country:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        postalCode:
          example: '40764'
          pattern: ^.+$
          type: string
      required:
        - country
        - postalCode
      type: object
    DeliveryNote:
      properties:
        companyAddress:
          $ref: '#/components/schemas/CompanyAddress'
        deliveryAddress:
          description: use this if no deliveryAddresses are passed.
          $ref: '#/components/schemas/DeliveryAddress'
        deliveryAddresses:
          description: >-
            if this field is filled, the delivery address will be taken from
            here according to this sorting: PARCEL_LOCKER > POSTAL_ADDRESS >
            INVOICE_ADDRESS. Each type is only allowed once.
          items:
            $ref: '#/components/schemas/DeliveryAddressWithType'
          type: array
        items:
          items:
            $ref: '#/components/schemas/DeliveryNoteItem'
          type: array
        orderInformation:
          $ref: '#/components/schemas/OrderInformation'
      required:
        - orderInformation
        - items
      type: object
    DeliveryNoteConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        articleIdLabel:
          $ref: '#/components/schemas/LocaleString'
        articleTitleLabel:
          $ref: '#/components/schemas/LocaleString'
        companyAddress:
          $ref: '#/components/schemas/CompanyAddress'
        description:
          $ref: '#/components/schemas/LocaleString'
        disclaimer:
          $ref: '#/components/schemas/LocaleString'
        headline:
          $ref: '#/components/schemas/LocaleString'
        id:
          example: delivery-note
          type: string
        logoUrl:
          type: string
        substituteText:
          $ref: '#/components/schemas/LocaleString'
        orderDateLabel:
          $ref: '#/components/schemas/LocaleString'
        orderNumberLabel:
          $ref: '#/components/schemas/LocaleString'
        pageLabel:
          $ref: '#/components/schemas/LocaleString'
        quantityLabel:
          $ref: '#/components/schemas/LocaleString'
        pdfBackgroundConfiguration:
          $ref: '#/components/schemas/PdfBackgroundConfiguration'
      required:
        - id
        - orderNumberLabel
        - orderDateLabel
        - headline
        - quantityLabel
        - articleIdLabel
        - articleTitleLabel
        - pageLabel
      type: object
    DeliveryNoteConfigurationForUpsert:
      properties:
        articleIdLabel:
          $ref: '#/components/schemas/LocaleString'
        articleTitleLabel:
          $ref: '#/components/schemas/LocaleString'
        companyAddress:
          $ref: '#/components/schemas/CompanyAddress'
        description:
          $ref: '#/components/schemas/LocaleString'
        disclaimer:
          $ref: '#/components/schemas/LocaleString'
        headline:
          $ref: '#/components/schemas/LocaleString'
        logo:
          $ref: '#/components/schemas/NamedFile'
        pdfBackgroundConfiguration:
          $ref: '#/components/schemas/PdfBackgroundConfigurationForUpsert'
        orderDateLabel:
          $ref: '#/components/schemas/LocaleString'
        orderNumberLabel:
          $ref: '#/components/schemas/LocaleString'
        pageLabel:
          $ref: '#/components/schemas/LocaleString'
        quantityLabel:
          $ref: '#/components/schemas/LocaleString'
        substituteText:
          $ref: '#/components/schemas/LocaleString'
        version:
          description: >-
            Version field is used in the optimistic locking process. If the
            configuration doesn't exists, this field is ignored.
          example: 1
          type: number
      required:
        - version
        - orderNumberLabel
        - orderDateLabel
        - headline
        - quantityLabel
        - articleIdLabel
        - articleTitleLabel
        - pageLabel
      type: object
    DeliveryNoteItem:
      properties:
        id:
          type: string
        quantity:
          type: string
        title:
          type: string
        substitutes:
          type: string
          description: Titel of the item which is substituted through this item
      required:
        - id
        - title
        - quantity
      type: object
    ReturnNote:
      properties:
        companyAddress:
          $ref: '#/components/schemas/CompanyAddress'
        orderInformation:
          $ref: '#/components/schemas/OrderInformation'
        deliveryAddress:
          $ref: '#/components/schemas/DeliveryAddress'
        deliveryAddresses:
          description: >-
            if this field is filled, the delivery address will be taken from
            here according to this sorting: INVOICE_ADDRESS > POSTAL_ADDRESS.
            Each type is only allowed once.
          items:
            $ref: '#/components/schemas/DeliveryAddressWithType'
          type: array
        qrCodeContent:
          type: string
        items:
          items:
            $ref: '#/components/schemas/ReturnNoteItem'
          type: array
      required:
        - orderInformation
        - items
      type: object
    ReturnNoteItem:
      properties:
        id:
          type: string
        title:
          type: string
        quantity:
          description: optional parameter for picked quantity of the given line item
          type: integer
        substitutes:
          type: string
          description: Titel of the item which is substituted through this item
      required:
        - title
      type: object
    HandoverJobOrderBy:
      description: STATUS_TARGET_TIME_LAST_MODIFIED_DATE is deprecated
      enum:
        - STATUS_TARGET_TIME_LAST_MODIFIED_DATE
        - TARGET_TIME_ASC
    TenantConnectorConfigurations:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        connectApps:
          type: array
          minItems: 1
          description: All possible apps
          items:
            $ref: '#/components/schemas/TenantConnectorConfiguration'
      required:
        - version
        - connectApps
      type: object
    TenantConnectorConfiguration:
      properties:
        app:
          $ref: '#/components/schemas/ConnectAppTypeEnum'
        firebaseProjectId:
          type: string
          example: some-name
        apiUrl:
          type: string
          example: https://some-name.api.fulfillmenttools.com
        firebaseWebApiKey:
          type: string
          example: GTasGTHJZ_ku_gaad_P2A4KRDQW_MM_-AS-Lglk
        firebaseAppId:
          type: string
          example: 1:180217824890:android:f1fbf11eb8a613cbda9ee4
        firebaseAppIdDebug:
          type: string
          example: 1:180217824890:android:c861c7b58d938e05da9ee4
      additionalProperties: false
      required:
        - app
        - firebaseProjectId
        - apiUrl
        - firebaseWebApiKey
        - firebaseAppId
        - firebaseAppIdDebug
    ConnectAppTypeEnum:
      example: PICKING
      description: The type of possible Apps
      enum:
        - PICKING
        - INVENTORY
        - OPERATIONS_ANDROID
        - OPERATIONS_IOS
      type: string
    CarrierServices:
      example: SIGNATURE
      description: Services which should be booked from carrier
      enum:
        - SIGNATURE
      type: string
    DHLV2CarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - properties:
            apiKey:
              description: Internal API Key to communicate with the DHL Api
              type: string
            fallback:
              $ref: '#/components/schemas/DHLV2BusinessCredentials'
          required:
            - apiKey
          type: object
      xml:
        name: DhlV2CarrierCredentials
    VceCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - properties:
            user:
              description: Internal user to identify with the VCE Api
              type: string
            password:
              description: Password to authenticate with the VCE Api
              type: string
          required:
            - user
            - password
          type: object
      xml:
        name: VceCarrierCredentials
    DHLV2BusinessCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - properties:
            billingNumber:
              description: >-
                Abrechnungsnummer DHL Paket, displayed in the DHL
                Geschäftskundenportal under 'Vertragspositionen'
              type: string
              example: 22222222220101
              minLength: 1
            retoureBillingNumber:
              description: >-
                Abrechnungsnummer DHL Retoure, displayed in the DHL
                Geschäftskundenportal under 'Vertragspositionen'
              type: string
              example: 22222222220701
              minLength: 1
            internationalBillingNumber:
              description: >-
                Abrechnungsnummer DHL international shipping, displayed in the
                DHL Geschäftskundenportal under 'Vertragspositionen'
              type: string
              example: 22222222220701
              minLength: 1
            dhlBusinessPassword:
              description: Password you use to login to the DHL Geschäftskundenportal
              type: string
              minLength: 1
            dhlBusinessUsername:
              description: >-
                Username (Benutzername) you use to login to the DHL
                Geschäftskundenportal
              type: string
              minLength: 1
            dhlBusinessUsergroup:
              description: (optional) User group to use to obtain a label
              type: string
              minLength: 1
          required:
            - dhlBusinessUsername
            - dhlBusinessPassword
            - billingNumber
          type: object
          xml:
            name: DHLV2BusinessCredentials
    FedexCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - properties:
            accountNumber:
              description: Your fedex accountnumber
              type: string
            apiKey:
              description: Internal API Key to communicate with the CEP Api
              type: string
            secretKey:
              description: Internal API Key to communicate with the CEP Api
              type: string
          required:
            - apiKey
            - secretKey
            - accountNumber
          type: object
      xml:
        name: FedexCarrierCredentials
    BringCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - properties:
            apiUid:
              description: Internal API Uid to communicate with the CEP Api
              type: string
            apiKey:
              description: Internal API Key to communicate with the CEP Api
              type: string
            clientUrl:
              description: Url of the requesting client, can be a static value
              type: string
            authToken:
              description: Identifier for Track&Trace Webhook
              type: string
          required:
            - apiUid
            - apiKey
            - clientUrl
          type: object
      xml:
        name: BringCarrierCredentials
    DomainConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        value:
          description: User's default domain for authentication
          example: yourDomain.com
          type: string
        id:
          type: string
      required:
        - value
      type: object
    TagConfiguration:
      properties:
        offeredDocumentsPerTag:
          type: array
          description: >-
            All entries with a match in their matchingValues will be combined
            when determining what documents belong to an entity
          items:
            $ref: '#/components/schemas/OfferedDocumentPerTag'
        offeredDocumentsByDefault:
          type: array
          description: >-
            This configuration is a fallback and applies only if none of the
            entries in offeredDocumentsPerTag can be applied
          items:
            $ref: '#/components/schemas/OfferedDocument'
      required:
        - offeredDocumentsPerTag
        - offeredDocumentsByDefault
    StickerConfiguration:
      additionalProperties: false
      properties:
        offeredStickersByTag:
          type: array
          items:
            $ref: '#/components/schemas/OfferedStickersByTag'
    ExpectedPickLineItemForCreation:
      allOf:
        - $ref: '#/components/schemas/PickLineItemForCreation'
      properties:
        transferId:
          type: string
      required:
        - transferId
    PickLineItemForCreation:
      properties:
        article:
          $ref: '#/components/schemas/PickLineItemArticle'
        customAttributes:
          description: >-
            Attributes that can be added to the pick line. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the information carried here.
          type: object
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        quantity:
          description: quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 1
          type: integer
        secondaryMeasurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        secondaryQuantity:
          description: quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 0
          type: integer
        measurementValidation:
          $ref: '#/components/schemas/MeasurementValidation'
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
        partialStockLocations:
          description: >-
            Indicates where the items to pick could be found and from where the
            picking should be started.
          items:
            $ref: >-
              #/components/schemas/PickJobLineItemPartialStockLocationForCreation
        tags:
          items:
            $ref: '#/components/schemas/TagReference'
          type: array
        stickers:
          items:
            $ref: '#/components/schemas/Sticker'
          type: array
        allowedSubstitutes:
          items:
            $ref: '#/components/schemas/Substitute'
          type: array
      required:
        - quantity
        - article
      type: object
    PickLineItem:
      allOf:
        - $ref: '#/components/schemas/PickLineItemForCreation'
        - properties:
            id:
              description: >-
                The id of this lineItem. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: climk4dcQFiPdA5ULuhS
              type: string
            picked:
              description: The amount of articles that were picked for this pickline.
              example: 20
              format: int64
              minimum: 0
              type: integer
            secondaryPicked:
              description: >-
                The secondary amount of articles that were picked for this
                pickline.
              example: 20
              format: int64
              minimum: 0
              type: integer
            pickedAt:
              description: Date when the line has been picked.
              example: '2024-02-03T08:45:51.525Z'
              format: date-time
              type: string
            status:
              $ref: '#/components/schemas/PickLineItemStatus'
            substituteLineItems:
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
                  /></center> <br /> <i>This part of the API is currently under development.
                  That means that this endpoint, model, etc. can contain breaking changes
                  and / or might not be available at all times in your API instance. It
                  could disappear also without warning. Thus, it currently does not fall
                  under our SLA regulations. For details on this topic please check our
                  <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
              items:
                $ref: '#/components/schemas/SubstituteLineItem'
              type: array
            stockEmptied:
              example: true
              type: boolean
            pickJobLineItemRef:
              example: '12345'
              type: string
              description: used for line items in pick runs to be split up correctly again
            partialStockLocations:
              description: >-
                Indicates where the items to pick could be found and from where
                the picking should be started.
              items:
                $ref: '#/components/schemas/PickJobLineItemPartialStockLocation'
            scannedCodes:
              items:
                $ref: '#/components/schemas/PickLineItemScannedCode'
              type: array
              minimum: 0
            scanningRule:
              deprecated: true
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
                <br /> <i>This endpoint is deprecated and has been
                replaced.</i><br /><br />Deprecated: Use scanningRules instead.
                This value indicates which scanning rule should be applied for
                this pick line. Only generated on demand on separate call, no
                persistence.
              $ref: '#/components/schemas/ScanningRuleConfiguration'
            scanningRules:
              properties:
                scanningMode:
                  $ref: '#/components/schemas/PickingScanningConfigurationEnum'
                scanningType:
                  items:
                    $ref: '#/components/schemas/ScanningRuleValue'
                  type: array
            shortPickReason:
              $ref: '#/components/schemas/PickLineShortPickReason'
          required:
            - id
            - picked
            - status
          type: object
    ExpectedPickLineItem:
      allOf:
        - $ref: '#/components/schemas/ExpectedPickLineItemForCreation'
        - properties:
            id:
              description: >-
                The id of this lineItem. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: climk4dcQFiPdA5ULuhS
              type: string
          required:
            - id
          type: object
    PickLineShortPickReason:
      additionalProperties: false
      properties:
        reason:
          description: translated reasonLocalized according to the given locale
          type: string
        reasonLocalized:
          description: Localized reason
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
      required:
        - reasonLocalized
    PickingScanningConfigurationEnum:
      example: MUST_SCAN_FIRST
      description: Way in which the scanning of articles during picking is enforced
      enum:
        - MUST_SCAN_FIRST
        - MUST_SCAN_EACH
        - SCAN_NOT_REQUIRED
      type: string
    PickLineItemStatus:
      description: >-
        A pickjob line item initially has the status OPEN and picking can start.
        When a line item is opened within the picking app, the item changes its
        status to IN_PROGRESS. When the commissioning is finished the state is
        CLOSED
      enum:
        - OPEN
        - IN_PROGRESS
        - CLOSED
      type: string
      xml:
        name: PickLineItemStatus
    PickLineItemScannedCode:
      properties:
        code:
          description: scannable code i.e. barcode
          example: 1245678
          type: string
        quantity:
          description: scanned quantity
          example: 7
          format: int64
          minimum: 0
          type: integer
      required:
        - code
        - quantity
      type: object
    OfferedStickersByTag:
      additionalProperties: false
      properties:
        tagRef:
          type: string
        matchingValues:
          type: array
          minItems: 1
          items:
            type: string
        stickers:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/Sticker'
      required:
        - tagRef
        - matchingValues
        - stickers
      type: object
    Sticker:
      additionalProperties: false
      properties:
        key:
          type: string
          description: unique identifier
          example: LGMl2DuvPnfPoSHhYFOm
        priority:
          description: priority of the given sticker
          example: 100
          format: int64
          maximum: 10000
          minimum: 1
          type: integer
        nameLocalized:
          description: >-
            Dictionary of possible translations, min 1 entry, max 14 characters
            per description
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
        name:
          description: Translated display name
          type: string
          example: SomeName
        color:
          type: string
          description: optional color coding for the sticker
          example: '#19b6b5'
      required:
        - key
        - nameLocalized
        - priority
    PackJobTagConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/TagConfiguration'
        - type: object
          properties:
            stickerConfiguration:
              $ref: '#/components/schemas/StickerConfiguration'
            lineItemStickerConfiguration:
              $ref: '#/components/schemas/StickerConfiguration'
            packJobCreationPerTag:
              type: array
              description: >-
                All entries with a match in their matchingValues will be
                combined when determining what documents belong to an entity
              items:
                $ref: '#/components/schemas/PackJobCreationPerTag'
          required:
            - packJobCreationPerTag
    HandoverJobTagConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/TagConfiguration'
      properties:
        stickerConfiguration:
          $ref: '#/components/schemas/StickerConfiguration'
    OrderTagConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/TagConfiguration'
      properties:
        stickerConfiguration:
          $ref: '#/components/schemas/StickerConfiguration'
    ParcelTagConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        alternativeReturnAddressConfiguration:
          $ref: '#/components/schemas/AlternativeReturnAddressConfiguration'
      required:
        - alternativeReturnAddressConfiguration
      additionalProperties: false
    ParcelTagConfigurationForUpsert:
      properties:
        version:
          type: number
          example: 0
        alternativeReturnAddressConfiguration:
          $ref: '#/components/schemas/AlternativeReturnAddressConfiguration'
      required:
        - alternativeReturnAddressConfiguration
      additionalProperties: false
    AlternativeReturnAddressConfiguration:
      additionalProperties: false
      properties:
        alternativeReturnAddressPerTag:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/AlternativeReturnAddressPerTag'
      required:
        - alternativeReturnAddressPerTag
    AlternativeReturnAddressPerTag:
      properties:
        tagRef:
          type: string
          description: needs to be an existing tag id
        matchingValues:
          type: array
          minItems: 1
          items:
            type: string
        alternativeReturnAddress:
          $ref: '#/components/schemas/FacilityAddress'
      required:
        - tagRef
        - matchingValues
        - alternativeReturnAddress
      additionalProperties: false
    PackJobCreationPerTag:
      properties:
        tagRef:
          type: string
        matchingValues:
          type: array
          items:
            type: string
            minItems: 1
        packJobCreationDisabled:
          type: boolean
      required:
        - packJobCreationDisabled
        - matchingValues
        - tagRef
      type: object
    NeedsPacking:
      properties:
        needsPacking:
          type: boolean
      required:
        - needsPacking
      type: object
    OfferedDocumentPerTag:
      properties:
        tagRef:
          type: string
        matchingValues:
          type: array
          items:
            type: string
            minItems: 1
        offeredDocuments:
          type: array
          items:
            $ref: '#/components/schemas/OfferedDocument'
      required:
        - offeredDocuments
        - matchingValues
        - tagRef
      type: object
    OfferedDocument:
      type: object
      properties:
        documentCategory:
          $ref: '#/components/schemas/DocumentCategory'
      required:
        - documentCategory
    DpdChCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - properties:
            delisId:
              description: Delis ID to create a DPD CH auth token
              type: string
            password:
              description: Password to create a DPD CH auth token
              type: string
          required:
            - delisId
            - password
          type: object
      xml:
        name: DpdChCarrierCredentials
    AngelCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - required:
            - username
            - password
          type: object
          properties:
            username:
              type: string
              description: Angel username
            password:
              type: string
              description: angel password
            authToken:
              type: string
              description: X-Auth-Token for callbacks from Angel
      xml:
        name: AngelCarrierCredentials
    GLSCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - required:
            - username
            - password
            - trackAndTraceUsername
            - trackAndTracePassword
          type: object
          properties:
            username:
              type: string
              description: GLS username
            password:
              type: string
              description: GLS password
            trackAndTraceUsername:
              type: string
              description: GLS Track And Trace username
            trackAndTracePassword:
              type: string
              description: GLS Track And Trace password
      xml:
        name: GLSCarrierCredentials
    PostNLCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractCarrierCredentials'
        - required:
            - apiKey
          type: object
          properties:
            apiKey:
              type: string
              description: PostNL API Key
      xml:
        name: PostNLCarrierCredentials
    Editor:
      properties:
        userId:
          description: ID of the user who edits the pickjob
          type: string
        username:
          description: username of the user who edits the pickjob
          type: string
      required:
        - username
      type: object
    Entity:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          description: The id of the entity.
          type: string
      required:
        - id
      type: object
    ApiError:
      items:
        $ref: '#/components/schemas/ErrorInner'
      type: array
      xml:
        name: ApiError
    ErrorInner:
      properties:
        description:
          example: Missing attributes were name, address, items
          type: string
        requestVersion:
          description: The version provided within an invalid request.
          example: 41
          format: int64
          type: integer
        summary:
          example: One or more mandatory attributes were not provided.
          type: string
        version:
          example: 42
          format: int64
          type: integer
      required:
        - summary
      type: object
    Facility:
      allOf:
        - $ref: '#/components/schemas/FacilityForCreation'
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            address:
              $ref: '#/components/schemas/FacilityAddress'
            configs:
              items:
                $ref: '#/components/schemas/LinkedConfiguration'
              type: array
            id:
              description: >-
                The id of this facility. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: Esb20gpHBL94X5NdMp3C
              type: string
            status:
              $ref: '#/components/schemas/FacilityStatus'
          required:
            - id
            - status
            - address
          type: object
    FacilityAddress:
      allOf:
        - $ref: '#/components/schemas/FacilityAddressForCreation'
        - properties:
            resolvedTimeZone:
              $ref: '#/components/schemas/TimeZone'
          type: object
      type: object
    FacilityAddressForCreation:
      allOf:
        - $ref: '#/components/schemas/Address'
        - properties:
            companyName:
              example: Speedy Boxales Ltd.
              type: string
            emailAddresses:
              items:
                properties:
                  recipient:
                    description: >-
                      Human readable information who is the recipient for emails
                      sent to this address.
                    example: >-
                      'Mailinglist reaching all the employees', 'Marc Fulton,
                      Manager', etc.
                    type: string
                  value:
                    type: string
                required:
                  - value
                type: object
              type: array
            resolvedCoordinates:
              $ref: '#/components/schemas/Coordinates'
              description: >-
                The coordinates correspond to the address of this facility. If
                the coordinates are not provided during the creation or updating
                of the facility, they are automatically resolved by the backend
                system
          required:
            - companyName
          type: object
      type: object
    PostalCodeValidation:
      properties:
        country:
          description: Country in Format [A-Z]{2}
          example: DE
          type: string
        postalCode:
          description: Postal code for validation
          example: '50667'
          type: string
      required:
        - country
        - postalCode
      type: object
      xml:
        name: PostalCodeValidation
    DeliveryTarget:
      type: string
      description: The destination for a delivery
      enum:
        - SHIP_TO_STORE
        - SHIP_TO_CUSTOMER
    FacilityServiceType:
      type: string
      description: The description of the service this facility offers.
      enum:
        - SHIP_FROM_STORE
        - PICKUP
    FacilityForCreation:
      additionalProperties: false
      properties:
        address:
          $ref: '#/components/schemas/FacilityAddressForCreation'
        closingDays:
          description: >-
            Days of the year where the facility is closed and doesn't allows
            picking
          items:
            $ref: '#/components/schemas/ClosingDay'
          type: array
        contact:
          properties:
            customAttributes:
              description: >-
                Attributes that can be added to the contact. These attributes
                cannot be used within fulfillment processes, but it could be
                useful to have the informations carried here.
              type: object
            firstName:
              type: string
            lastName:
              type: string
            roleDescription:
              example: Manager, Supervisor, Teamleader, etc.
              type: string
          required:
            - firstName
            - lastName
          type: object
        customAttributes:
          description: >-
            Attributes that can be added to the facility. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        fulfillmentProcessBuffer:
          default: 240
          description: Duration in minutes until an order is processed
          example: '240'
          minimum: 0
          type: integer
        locationType:
          default: STORE
          enum:
            - STORE
            - WAREHOUSE
            - EXTERNAL
          type: string
        name:
          example: Hamburg NW2
          type: string
        capacityPlanningTimeframe:
          description: >-
            The range in days per facility which defines how many days in the
            future the capacity of the facility can be planned
          type: integer
          minimum: 1
        pickingTimes:
          $ref: '#/components/schemas/PickingTimes'
          description: >-
            Time ranges defining the picking times per weekday. No overlapping
            ranges are allowed
        pickingMethods:
          description: Picking Methods supported by this facility.
          items:
            $ref: '#/components/schemas/PickingMethodEnum'
          type: array
        scanningRule:
          $ref: '#/components/schemas/ScanningRuleConfiguration'
        services:
          items:
            properties:
              type:
                $ref: '#/components/schemas/FacilityServiceType'
            required:
              - type
            type: object
          type: array
        status:
          $ref: '#/components/schemas/FacilityStatus'
        tenantFacilityId:
          description: The id of the facility in the tenants own system
          example: K12345
          type: string
        capacityEnabled:
          type: boolean
          default: false
          description: >-
            Indicates that configured capacity limits for picking times are
            considered
        tags:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
      required:
        - name
        - address
      type: object
    FacilityPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyFacilityAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: FacilityPatchActions
    FacilityStatus:
      description: >-
        The state of the facility. ONLINE means that this facility can process
        new orders and pickjobs, SUSPENDED means it cannot get new orders but is
        able to fulfill the current workload and OFFLINE means that it cannot
        fulfill any new or existing orders. Processes already running might be
        rescheduled to another facility depending on the preferences.
      enum:
        - ONLINE
        - SUSPENDED
        - OFFLINE
      type: string
    FacilityStockConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            id:
              type: string
            listingReactivationAfter:
              properties:
                active:
                  default: true
                  description: The disabling of listings is enabled or disabled.
                  type: boolean
                value:
                  default: 24
                  description: >-
                    Time in hours that has to pass for a deactivated listing
                    (e.g. due to manual deactivation or as a result of a
                    shortpick ) to be become active again.
                  type: number
              type: object
            retainedOfflineStock:
              properties:
                active:
                  description: The retained Offline Stock is enabled or disabled.
                  type: boolean
                value:
                  default: 0.2
                  description: >-
                    The overall percentage of stock that should be reserved to
                    offline clients.
                  example: 0.15
                  maximum: 1
                  minimum: 0.01
                  type: number
              type: object
            shortpick:
              properties:
                active:
                  default: true
                  description: >-
                    Inventory adjustment in the case of insufficient order
                    picking
                  type: boolean
              required:
                - active
              type: object
          required:
            - retainedOfflineStock
            - listingReactivationAfter
            - shortpick
            - id
          type: object
    Feature:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        name:
          type: string
        status:
          $ref: '#/components/schemas/FeatureStatus'
      required:
        - name
        - status
      type: object
    FeaturePatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyFeatureAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: FeaturePatchActions
    FeatureStatus:
      enum:
        - enabled
        - inactive
        - disabled
      type: string
    Features:
      properties:
        features:
          items:
            $ref: '#/components/schemas/Feature'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    NamedFile:
      additionalProperties: false
      properties:
        content:
          description: File content base64 encoded
          example: >-
            JVBERi0xLjEKJcKlwrHDqwoKMSAwIG9iagogIDw8IC9UeXBlIC9DYXRhbG9nCiAgICAgL1BhZ2VzIDIgMCBSCiAgPj4KZW5kb2JqCgoyIDAgb2JqCiAgPDwgL1R5cGUgL1BhZ2VzCiAgICAgL0tpZHMgWzMgMCBSXQogICAgIC9Db3VudCAxCiAgICAgL01lZGlhQm94IFswIDAgMzAwIDE0NF0KICA+PgplbmRvYmoKCjMgMCBvYmoKICA8PCAgL1R5cGUgL1BhZ2UKICAgICAgL1BhcmVudCAyIDAgUgogICAgICAvUmVzb3VyY2VzCiAgICAgICA8PCAvRm9udAogICAgICAgICAgIDw8IC9GMQogICAgICAgICAgICAgICA8PCAvVHlwZSAvRm9udAogICAgICAgICAgICAgICAgICAvU3VidHlwZSAvVHlwZTEKICAgICAgICAgICAgICAgICAgL0Jhc2VGb250IC9UaW1lcy1Sb21hbgogICAgICAgICAgICAgICA+PgogICAgICAgICAgID4+CiAgICAgICA+PgogICAgICAvQ29udGVudHMgNCAwIFIKICA+PgplbmRvYmoKCjQgMCBvYmoKICA8PCAvTGVuZ3RoIDU1ID4+CnN0cmVhbQogIEJUCiAgICAvRjEgMTggVGYKICAgIDAgMCBUZAogICAgKEhlbGxvIFdvcmxkKSBUagogIEVUCmVuZHN0cmVhbQplbmRvYmoKCnhyZWYKMCA1CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDAxOCAwMDAwMCBuIAowMDAwMDAwMDc3IDAwMDAwIG4gCjAwMDAwMDAxNzggMDAwMDAgbiAKMDAwMDAwMDQ1NyAwMDAwMCBuIAp0cmFpbGVyCiAgPDwgIC9Sb290IDEgMCBSCiAgICAgIC9TaXplIDUKICA+PgpzdGFydHhyZWYKNTY1CiUlRU9GCg==
          type: string
        name:
          description: File name with extension
          example: example.pdf
          type: string
      required:
        - name
        - content
      type: object
      xml:
        name: NamedFile
    FulfillmentProcessBufferConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        minutes:
          default: 240
          description: Duration in minutes until an order is processed
          example: '240'
          minimum: 0
          type: integer
        id:
          type: string
      required:
        - minutes
      type: object
    GdprConfiguration:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        retentionTime:
          description: Number of days after that anonymization is triggered.
          example: 30
          minimum: 1
          type: number
        deletionTimeAfterRetention:
          description: Number of days since anonymization until deletion is triggered
          example: 30
          minimum: 1
          type: number
        version:
          example: 42
          format: int64
          type: integer
        id:
          type: string
      required:
        - retentionTime
        - version
      type: object
    HandoverLineItem:
      properties:
        article:
          $ref: '#/components/schemas/HandoverLineItemArticle'
        quantity:
          description: quantity of the specific item that has been provided for handover
          example: 21
          format: int64
          minimum: 1
          type: integer
        handedOverQuantity:
          description: quantity of the specific item that has been handed over
          example: 20
          format: int64
          minimum: 0
          type: integer
        substituteLineItems:
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
              /></center> <br /> <i>This part of the API is currently under development.
              That means that this endpoint, model, etc. can contain breaking changes
              and / or might not be available at all times in your API instance. It
              could disappear also without warning. Thus, it currently does not fall
              under our SLA regulations. For details on this topic please check our
              <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
          items:
            $ref: '#/components/schemas/HandoverSubstituteLineItem'
          type: array
        tags:
          items:
            $ref: '#/components/schemas/TagReference'
          type: array
        stickers:
          items:
            $ref: '#/components/schemas/Sticker'
          type: array
      required:
        - quantity
        - article
        - handedOverQuantity
      type: object
    HandoverLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
          type: object
      xml:
        name: HandoverLineItemArticle
    HandoverSubstituteLineItem:
      allOf:
        - $ref: '#/components/schemas/SubstituteLineItem'
        - properties:
            quantity:
              description: >-
                quantity of the specific item to substitute the original line
                item that has been provided for handover
              example: 21
              format: int64
              minimum: 1
              type: integer
            handedOverQuantity:
              description: >-
                quantity of the specific item to substitute the original line
                item that has been handed over
              example: 20
              format: int64
              minimum: 0
              type: integer
      required:
        - quantity
        - article
    Handoverjob:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/HandoverjobForCreation'
        - properties:
            anonymized:
              description: Indicates if gdpr related data was anonymized
              example: false
              type: boolean
            id:
              description: >-
                The id of this handoverjob. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: 95EWrieX09OmeriXIUbb
              type: string
            documents:
              type: array
              items:
                $ref: '#/components/schemas/PrintableDocument'
            stickers:
              type: array
              items:
                $ref: '#/components/schemas/Sticker'
            documentsRef:
              description: Reference to the documents collection from this entity
              type: string
            carrierKey:
              description: Key of the carrier that is used for this entity
              type: string
      required:
        - id
        - status
      type: object
    HandoverjobForCreation:
      properties:
        carrierLogoUrl:
          description: The URL to the carrier logo
          type: string
        carrierRef:
          type: string
        carrierTrackingNumber:
          description: Tracking number for the created shipment
          type: string
        channel:
          enum:
            - DELIVERY
            - COLLECT
          type: string
        customAttributes:
          description: >-
            Attributes that can be added to the handover job. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        facilityRef:
          description: The id of the facility reference.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        handoverJobLineItems:
          items:
            $ref: '#/components/schemas/HandoverLineItem'
          type: array
        loadUnitRefs:
          description: Reference to array of load unit Refs
          items:
            type: string
          type: array
        orderDate:
          description: The date this order was created at the supplying system.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        parcelRef:
          description: The reference to the parcel.
          example: 2fOge2ZGW54K4TgvDTQw
          type: string
        pickJobRef:
          description: >-
            The reference to the pickjob for which the handoverjob is assigned
            to
          example: ca525716-7208-4a63-a2a6-11274eb37f67-0
          type: string
        processId:
          description: >-
            Id of the global process related to this entity. For example used
            for starting the GDPR process and others.
          type: string
        operativeProcessRef:
          type: string
        shipmentRef:
          description: The reference to the shipment belonging to the handoverjob
          example: Esb20gpHBL94X5NdMp3C
          type: string
        shortIdentifier:
          description: The short identifier of the shipment.
          type: string
        status:
          $ref: '#/components/schemas/HandoverjobStatus'
        targetTime:
          description: >-
            The time the handoverjob is expected to be picked up at the
            facility.
          format: date-time
          type: string
        tenantOrderId:
          description: >-
            Field can be used as a reference number in foreign systems, for
            example as a reference to the source system's identifier for this
            order.
          example: R456728546
          type: string
        paid:
          description: Indicates if the order is already paid
          example: false
          type: boolean
        tags:
          description: >-
            Tags can only be set when there is no process related with this
            handoverJob. Setting processId and tags will lead to an
            validationError.
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        stickers:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/Sticker'
        cancelReason:
          $ref: '#/components/schemas/HandoverJobCancelReason'
        invoiceAddress:
          $ref: '#/components/schemas/ConsumerAddress'
        recipientAddress:
          $ref: '#/components/schemas/ConsumerAddress'
        fullIdentifier:
          type: string
          description: An information to identify the recipient
        transfers:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/OperativeTransfer'
      required:
        - facilityRef
        - targetTime
        - channel
        - orderDate
      type: object
    HandoverjobPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyHandoverjobAction'
              - $ref: '#/components/schemas/CancelHandoverjobAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: HandoverjobPatchActions
    HandoverjobStatus:
      enum:
        - OPEN
        - HANDED_OVER
        - OBSOLETE
        - CANCELED
      type: string
    HandoverJobCancelReason:
      enum:
        - CONSUMER_NO_SHOW
        - CONSUMER_REJECTS
        - ORDER_CANCELED
      type: string
    HandoverConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        availableRefusedReasons:
          items:
            $ref: '#/components/schemas/AvailableRefusedReason'
      type: object
    HandoverConfigurationForCreate:
      additionalProperties: false
      properties:
        version:
          type: number
        availableRefusedReasons:
          items:
            $ref: '#/components/schemas/AvailableRefuseReasonForCreation'
      required:
        - version
      type: object
    AvailableRefusedReason:
      additionalProperties: false
      properties:
        active:
          type: boolean
        refusedReasonLocalized:
          $ref: '#/components/schemas/LocaleString'
        refusedReason:
          description: translated refusedReason selected from refusedReasonLocalized
          example: Broken Item
          type: string
      required:
        - refusedReasonLocalized
        - active
    AvailableRefuseReasonForCreation:
      additionalProperties: false
      properties:
        active:
          type: boolean
          example: true
        refusedReasonLocalized:
          description: Localized reason
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
      required:
        - active
        - refusedReasonLocalized
    AvailableRefuseReasonForUpdate:
      additionalProperties: false
      properties:
        active:
          type: boolean
          example: true
        version:
          type: number
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
        refusedReasonLocalized:
          description: Localized reason
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
      required:
        - active
        - refusedReasonLocalized
        - version
    UpdateRefuseReasonParameter:
      additionalProperties: false
      properties:
        handoverConfigurationVersion:
          type: number
        availableRefuseReasonForUpdate:
          $ref: '#/components/schemas/AvailableRefuseReasonForUpdate'
      required:
        - handoverConfigurationVersion
        - availableRefuseReasonForUpdate
    DeleteRefuseReasonParameter:
      additionalProperties: false
      properties:
        handoverConfigurationVersion:
          type: number
      required:
        - handoverConfigurationVersion
    AddRefuseReasonParameter:
      additionalProperties: false
      properties:
        handoverConfigurationVersion:
          type: number
        availableRefuseReasonForCreation:
          $ref: '#/components/schemas/AvailableRefuseReasonForCreation'
      required:
        - handoverConfigurationVersion
        - availableRefuseReasonForCreation
    LinkedConfiguration:
      properties:
        ref:
          type: string
        rel:
          type: string
      type: object
    Listing:
      allOf:
        - $ref: '#/components/schemas/ListingForCreation'
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            stockinformation:
              $ref: '#/components/schemas/StockInformation'
              deprecated: true
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
                <br /> <i>This endpoint is deprecated and has been
                replaced.</i><br /><br />@deprecated This field is deprecated
                since 11th of September 2023.

                Use /api/stocks endpoints instead.
            facilityId:
              description: This is a reference to a facility
              example: '4711'
              type: string
            id:
              example: fsfdsf87fsd
              type: string
            status:
              enum:
                - ACTIVE
                - INACTIVE
              type: string
            partialStocks:
              type: array
              deprecated: true
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
                <br /> <i>This endpoint is deprecated and has been
                replaced.</i><br /><br />@deprecated This field is deprecated
                since 11th of September 2023. Use /api/stocks endpoints instead.
              items:
                $ref: '#/components/schemas/PartialStock'
            scannableCodes:
              items:
                description: Codes, that identify the article
                type: string
              type: array
          required:
            - status
            - facilityId
            - id
          type: object
      xml:
        name: Listing
    ListingAttributeItem:
      allOf:
        - $ref: '#/components/schemas/ArticleAttributeItem'
      properties:
        keyLocalized:
          $ref: '#/components/schemas/LocaleString'
        valueLocalized:
          $ref: '#/components/schemas/LocaleString'
    BrandForCreation:
      properties:
        name:
          description: The name of the brand for this listing
          type: string
          example: Adidas
      required:
        - name
      type: object
      xml:
        name: BrandForCreation
    Brand:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/BrandForCreation'
      properties:
        id:
          example: fsfdsf87fsd
          type: string
        name:
          description: The name of the brand for this listing
          type: string
          example: Adidas
      required:
        - name
        - id
      type: object
      xml:
        name: Brand
    StrippedBrands:
      properties:
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
        brands:
          items:
            $ref: '#/components/schemas/Brand'
          type: array
      type: object
    SupportedFilterEntityTypesEnum:
      example: STICKER
      description: Entity types supported as filter entities
      enum:
        - STICKER
      type: string
    FilterEntity:
      properties:
        id:
          example: fsfdsf87fsd
          type: string
        type:
          $ref: '#/components/schemas/SupportedFilterEntityTypesEnum'
        value:
          example: stickerValue
          type: string
        valueLocalized:
          $ref: '#/components/schemas/LocaleString'
      required:
        - valueLocalized
        - id
        - type
      type: object
      xml:
        name: FilterEntity
    StrippedFilterEntities:
      properties:
        total:
          description: Total number of found filter entities for this query
          example: 42
          type: integer
        filterEntities:
          items:
            $ref: '#/components/schemas/FilterEntity'
          type: array
      type: object
    ListingLegal:
      type: object
      additionalProperties: false
      properties:
        hsCode:
          type: string
          maxLength: 50
    ListingForCreation:
      properties:
        attributes:
          items:
            $ref: '#/components/schemas/ListingAttributeItem'
          type: array
        imageUrl:
          description: >-
            A web link to a picture of this article. Please make sure that no
            authentication is required to fetch the image!
          type: string
        price:
          example: 1200
          type: number
        stockinformation:
          $ref: '#/components/schemas/StockInformationForCreation'
          deprecated: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated This field is deprecated since 11th of September
            2023.

            Use /api/stocks endpoints instead.
        tenantArticleId:
          description: This is a reference to an article Id
          example: '4711'
          type: string
          minLength: 1
        title:
          description: a title describing the article
          example: Adidas Superstar
          type: string
        titleLocalized:
          $ref: '#/components/schemas/LocaleString'
        partialStocks:
          type: array
          deprecated: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated This field is deprecated since 11th of September
            2023.

            Use /api/stocks endpoints instead.
          items:
            $ref: '#/components/schemas/PartialStockForCreation'
        weight:
          type: number
          minimum: 0
        scanningRule:
          $ref: '#/components/schemas/ScanningRuleConfiguration'
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
        outOfStockBehaviour:
          enum:
            - BACKORDER
          type: string
        availabilityTimeframe:
          $ref: '#/components/schemas/AvailabilityTimeframe'
        tags:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/TagReference'
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        currency:
          description: >-
            The currency of the price as an ISO 4217 code. Attention - Routing
            currently does not convert between different currencies. Don't use
            multiple currencies when using price ratings in order routing.
          example: EUR
          nullable: true
          allOf:
            - $ref: '#/components/schemas/CurrencyCode'
        stockProperties:
          type: object
          additionalProperties:
            $ref: '#/components/schemas/StockPropertyDefinition'
        stockAvailableUntil:
          $ref: '#/components/schemas/AvailableUntilDefinition'
        legal:
          $ref: '#/components/schemas/ListingLegal'
        customAttributes:
          nullable: true
          description: >-
            Attributes that can be added to the listing. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
          type: object
      required:
        - tenantArticleId
        - title
      type: object
      xml:
        name: ListingForCreation
    PickingStockProperty:
      additionalProperties:
        type: string
      example:
        color: yellow
      type: object
    PickingStockPropertyPreset:
      type: object
      properties:
        expiry:
          type: string
    StockPropertyDefinition:
      properties:
        inputType:
          $ref: '#/components/schemas/StockPropertyInputType'
        required:
          description: Indicates if this property is required.
          type: boolean
        defaultValue:
          description: |-
            <i><center>
              <img src='https://storage.googleapis.com/ocff-assets/api/fft-alpha_174x51.png'/>
              </center> <br /> This part of the API is currently under development.
              That means that this endpoint, model, etc. can contain breaking changes
              and / or might not be available at all times in your API instance. It
              could disappear also without warning. Thus, it currently does not fall
              under our SLA regulations. For details on this topic please check our
              <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a>
              </i><br /><br />If {{NOW}} is provided, this will be replaced with a timestamp.
          type: string
      required:
        - inputType
        - required
      type: object
    AvailableUntilDefinition:
      properties:
        calculationBase:
          $ref: '#/components/schemas/AvailableUntilCalculationBase'
        modifier:
          description: >-
            Moves the calculated date by the given period, defined in ISO-8601
            duration notation. Use negative values to move the date backwards.
            Example: "-P30D" places the "availableUntil" value 30 days before
            the calculated date.
          type: string
          pattern: ^-?P(?:(\d+W)|(\d+Y)?(\d+M)?(\d+D)?(?:T(\d+H)?(\d+M)?(\d+S)?)?)$
          example: '-P30D'
      required:
        - calculationBase
    AvailableUntilCalculationBase:
      description: >-
        The base for the calculation of the available until date. If it can't be
        resolved into a valid date (i.e. missing expiry value), an undefined
        "availableUntil" is the result
      enum:
        - EXPIRY
        - CREATION
      type: string
      xml:
        name: AvailableUntilCalculationBase
    AvailabilityTimeframe:
      properties:
        start:
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      type: object
    ListingForReplacement:
      allOf:
        - $ref: '#/components/schemas/ListingForCreation'
      properties:
        version:
          example: 42
          format: int64
          type: integer
        status:
          enum:
            - ACTIVE
            - INACTIVE
          type: string
      type: object
      xml:
        name: ListingForReplacement
    ListingPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyListingAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: ListingPatchActions
    ListingsForCreation:
      properties:
        listings:
          items:
            $ref: '#/components/schemas/ListingForCreation'
          minItems: 1
          type: array
      required:
        - listings
      type: object
      xml:
        name: ListingsForCreation
    ListingsForReplacement:
      properties:
        listings:
          items:
            $ref: '#/components/schemas/ListingForReplacement'
          minItems: 1
          maxItems: 500
          type: array
      required:
        - listings
      type: object
      xml:
        name: ListingsForReplacement
    LoadUnitDimensions:
      properties:
        heightInCm:
          description: The height of the container (in cm)
          example: 50
          type: number
        lengthInCm:
          description: The length of the container (in cm)
          example: 100
          type: number
        weightInG:
          description: The weight of the container (in g)
          example: 1700
          type: number
        widthInCm:
          description: The width of the container (in cm)
          example: 25
          type: number
      type: object
    LoadUnit:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/LoadUnitForCreation'
      properties:
        dimensions:
          $ref: '#/components/schemas/LoadUnitDimensions'
        weightLimitInG:
          description: 'Maximal weight in gramm(gr) the loadunit can handle. '
          type: number
          minimum: 1
        description:
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system. But it is not updatable via PUT request
          example: Esb20gpHBL94X5NdMp3C
          type: string
        iconUrl:
          type: string
        id:
          type: string
        name:
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        loadUnitLineItems:
          type: array
          items:
            $ref: '#/components/schemas/LoadUnitLineItem'
      required:
        - id
        - nameLocalized
        - version
        - facilityRef
      type: object
    LoadUnitConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        maxCount:
          default: 20
          description: Max creatable count of load units per load unit type
          example: 20
          type: integer
      type: object
    LoadUnitLineItemForCreation:
      properties:
        article:
          $ref: '#/components/schemas/PickLineItemArticle'
        customAttributes:
          description: >-
            Attributes that can be added to the orderline. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        quantity:
          description: quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 1
          type: integer
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
      required:
        - article
    LoadUnitLineItem:
      allOf:
        - $ref: '#/components/schemas/LoadUnitLineItemForCreation'
      properties:
        id:
          type: string
      required:
        - id
    LoadUnitForCreation:
      properties:
        codes:
          items:
            description: List of codes
            type: string
          type: array
        loadUnitTypeRef:
          type: string
        loadUnitLineItems:
          type: array
          items:
            $ref: '#/components/schemas/LoadUnitLineItemForCreation'
        pickJobRefs:
          items:
            description: List of corresponding pickjob Ids
            type: string
          maxItems: 1
          minItems: 1
          type: array
        customAttributes:
          description: >-
            Attributes that can be added to the LoadUnit. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
      required:
        - loadUnitTypeRef
        - pickJobRefs
      type: object
    PickingLoadUnit:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/PickingLoadUnitForCreation'
      properties:
        description:
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system. But it is not updatable via PUT request
          example: Esb20gpHBL94X5NdMp3C
          type: string
        iconUrl:
          type: string
        id:
          type: string
        name:
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        loadUnitLineItems:
          type: array
          items:
            $ref: '#/components/schemas/LoadUnitLineItem'
      required:
        - id
        - nameLocalized
        - version
        - facilityRef
      type: object
    PickingLoadUnitForCreation:
      properties:
        codes:
          items:
            description: List of codes
            type: string
          type: array
          minItems: 1
        loadUnitTypeRef:
          type: string
        loadUnitLineItems:
          type: array
          items:
            $ref: '#/components/schemas/LoadUnitLineItemForCreation'
        customAttributes:
          description: >-
            Attributes that can be added to the PickingLoadUnit. These
            attributes cannot be used within fulfillment processes, but it could
            be useful to have the informations carried here.
          type: object
      required:
        - loadUnitTypeRef
        - codes
      type: object
    LoadUnitType:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        dimensions:
          $ref: '#/components/schemas/LoadUnitDimensions'
        weightLimitInG:
          description: 'Maximal weight in gramm(gr) the loadunit can handle. '
          type: number
          minimum: 1
        description:
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        iconUrl:
          description: ''
          type: string
        id:
          description: ''
          type: string
        name:
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        priority:
          description: >-
            This value gives the priority in the respective loadUnitType. The
            lower the value the higher is the priority, e.g. priority 1 is
            higher than priority 10. The priority can be used to order
            loadUnityTypes.
          example: 100
          format: int64
          maximum: 10000
          minimum: 1
          type: integer
      required:
        - id
        - version
        - nameLocalized
      type: object
    LoadUnitTypeForCreation:
      additionalProperties: false
      properties:
        dimensions:
          $ref: '#/components/schemas/LoadUnitDimensions'
        weightLimitInG:
          description: 'Maximal weight in gramm(gr) the loadunit can handle. '
          type: number
          minimum: 1
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        icon:
          $ref: '#/components/schemas/NamedFile'
          description: ''
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        priority:
          description: >-
            This value gives the priority in the respective loadUnitType. The
            lower the value the higher is the priority, e.g. priority 1 is
            higher than priority 10. The priority can be used to order
            loadUnityTypes.
          example: 100
          format: int64
          maximum: 10000
          minimum: 1
          type: integer
      required:
        - nameLocalized
      type: object
    LoadUnitTypePatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyLoadUnitTypeAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: LoadUnitTypePatchActions
    LoadUnitTypes:
      items:
        $ref: '#/components/schemas/LoadUnitType'
      type: array
    LoadUnits:
      properties:
        loadUnits:
          items:
            $ref: '#/components/schemas/LoadUnit'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    LoadUnitsForCreation:
      properties:
        loadUnits:
          items:
            $ref: '#/components/schemas/LoadUnitForCreation'
          minItems: 1
          type: array
      required:
        - loadUnits
      type: object
    PackingSourceContainerForCreation:
      properties:
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system. But it is not updatable.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        icon:
          $ref: '#/components/schemas/NamedFile'
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        packJobRefs:
          type: array
          minItems: 1
          description: List of references to packJobs
          items:
            type: string
            example: 0857914c-d965-421e-b6cf-330501bcca58
        codes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
          minItems: 1
      required:
        - packJobRefs
        - nameLocalized
        - facilityRef
      type: object
    PaginatedPackingSourceContainers:
      properties:
        packingSourceContainers:
          items:
            $ref: '#/components/schemas/PackingSourceContainer'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    StrippedPackingSourceContainer:
      additionalProperties: false
      type: object
      properties:
        id:
          type: string
          example: c7467ba8-c28a-4473-8748-a4e54e675e4c
        loadUnitRef:
          type: string
          example: 2357914c-d965-421e-b6cf-330501bccaab
        codes:
          items:
            description: Codes, that identify the container
            type: string
          type: array
          minItems: 1
    PackingSourceContainer:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system. But it is not updatable.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        iconUrl:
          description: ''
          type: string
        description:
          type: string
        name:
          type: string
        id:
          type: string
          example: c7467ba8-c28a-4473-8748-a4e54e675e4c
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        packJobRefs:
          type: array
          minItems: 1
          description: List of references to packJobs
          items:
            type: string
            example: 0857914c-d965-421e-b6cf-330501bcca58
        loadUnitRef:
          type: string
          example: 2357914c-d965-421e-b6cf-330501bccaab
        codes:
          items:
            description: Codes, that identify the container
            type: string
          type: array
          minItems: 1
      additionalProperties: false
      required:
        - packJobRefs
        - nameLocalized
        - facilityRef
        - id
        - version
        - lastModified
        - created
      type: object
    LocaleConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        locale:
          $ref: '#/components/schemas/SupportedLocale'
        countryLanguageMapping:
          $ref: '#/components/schemas/CountryLanguageMapping'
        id:
          type: string
      required:
        - locale
      type: object
    CountryLanguageMapping:
      additionalProperties:
        type: string
      example:
        DE: de_DE
        US: en_US
        RU: ru_RU
      type: object
    MeasurementUnit:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/MeasurementUnitForCreation'
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        abbreviation:
          description: Translated abbreviation of the measurement unit
          example: kg
          type: string
        id:
          example: c5300790-9477-475c-bd6d-98e5d61f6413
          type: string
        name:
          description: Translated name of the measurement unit
          example: kilogramm
          type: string
      required:
        - id
      type: object
    MeasurementUnitForCreation:
      properties:
        abbreviationLocalized:
          allOf:
            - $ref: '#/components/schemas/LocaleString'
          description: Abbreviation of the unit. Maximum 4 chars long.
          example:
            de_DE: kg
            en_US: kg
            ru_RU: кг
        key:
          description: Descriptor for the measurement unit
          example: kilogramm
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        requiresMeasurement:
          description: Indicates that the given unit need to be measured.
          example: true
          type: boolean
      required:
        - nameLocalized
        - abbreviationLocalized
        - key
      type: object
    MeasurementUnits:
      properties:
        measurementUnits:
          items:
            $ref: '#/components/schemas/MeasurementUnit'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ModifyAddress:
      properties:
        additionalAddressInfo:
          example: 'to care of: Mrs. Müller'
          type: string
        city:
          example: Langenfeld
          pattern: ^.+$
          type: string
        country:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        province:
          example: Nordrhein-Westfalen
          pattern: ^.+$
          type: string
        customAttributes:
          description: >-
            Attributes that can be added to the address. These attributes cannot
            be used within fulfillment processes, but it could be useful to have
            the informations carried here.
          type: object
        houseNumber:
          example: 42a
          pattern: ^.+$
          type: string
        phoneNumbers:
          items:
            properties:
              customAttributes:
                description: >-
                  Attributes that can be added to the phonenumber. These
                  attributes cannot be used within fulfillment processes, but it
                  could be useful to have the informations carried here.
                type: object
              label:
                description: >-
                  Can be used to give a description for the number, like
                  "private", "business number", etc.
                type: string
              type:
                enum:
                  - MOBILE
                  - PHONE
                type: string
              value:
                description: The number itself. We do not enforce any format (yet).
                type: string
            type: object
          type: array
        postalCode:
          example: '40764'
          pattern: ^.+$
          type: string
        street:
          example: Hauptstr.
          pattern: ^.+$
          type: string
        resolvedCoordinates:
          $ref: '#/components/schemas/Coordinates'
      type: object
    ModifyCarrierAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyCarrierAction', because you want to modify a
                carrier
              enum:
                - ModifyCarrier
              type: string
            defaultParcelWeightInGram:
              description: Default weight for a parcel in gram
              default: 1000
              type: number
            parcelLabelClassifications:
              items:
                $ref: '#/components/schemas/ParcelLabelClassificationForCreation'
              type: array
            credentials:
              $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
            deliveryType:
              $ref: '#/components/schemas/CarrierDeliveryType'
            lifecycle:
              $ref: '#/components/schemas/CarrierLifecycle'
            logoUrl:
              minLength: 1
              type: string
            name:
              description: >-
                This is the well known name for a supported CEP partner. Can be
                adapted to the clients needs.
              example: DHL Köln
              type: string
            status:
              $ref: '#/components/schemas/CarrierStatus'
            productValueNeeded:
              type: boolean
              example: true
              description: >-
                Setting to enable the Client to ask for the parcel product value
                while ordering a label. This information is mandatory for
                sending parcels between different countries (customs
                declaration)
          required:
            - action
          type: object
      xml:
        name: ModifyCarrierAction
    ModifyDpdChCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
        - additionalProperties: false
          properties:
            delisId:
              description: Delis ID to create a DPD CH auth token.
              type: string
            key:
              description: Use value 'DPD_CH' in order to provide DPD credentials
              type: string
            password:
              description: Password to create a DPD CH auth token.
              type: string
          required:
            - key
          type: object
      xml:
        name: ModifyDpdChCarrierCredentials
    ModifyPostNLCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
        - additionalProperties: false
          properties:
            apiKey:
              description: Key to access the postNl api.
              type: string
            key:
              description: Use value 'POSTNL' in order to provide POSTNL credentials
              type: string
          required:
            - key
          type: object
      xml:
        name: ModifyPostNLCarrierCredentials
    ModifyBringCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
        - additionalProperties: false
          properties:
            apiUid:
              type: string
              description: Internal API Uid to communicate with the CEP Api
            apiKey:
              type: string
              description: Internal API Key to communicate with the CEP Api
            clientUrl:
              type: string
              description: Url of the requesting client, can be a static value
            authToken:
              type: string
              description: Identifier for Track&Trace Webhook
            key:
              description: Use value 'BRING' in order to provide BRING credentials
              type: string
          required:
            - key
          type: object
      xml:
        name: ModifyBringCarrierCredentials
    ModifyDHLV2CarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
        - additionalProperties: false
          properties:
            apiKey:
              description: Internal API Key to communicate with the DHL Api
              type: string
              minLength: 1
            fallback:
              $ref: '#/components/schemas/DHLV2BusinessCredentials'
          required:
            - key
            - apiKey
          type: object
      xml:
        name: ModifyDHLV2CarrierCredentials
    ModifyFedexCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
        - properties:
            accountNumber:
              description: Your fedex accountnumber
              type: string
            apiKey:
              description: Internal API Key to communicate with the CEP Api
              type: string
            secretKey:
              description: Internal API Key to communicate with the CEP Api
              type: string
            key:
              description: Use value 'FEDEX' in order to provide FEDEX credentials
              type: string
          required:
            - key
          type: object
      xml:
        name: ModifyFedexCarrierCredentials
    ModifyAngelCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
        - properties:
            username:
              description: Your Angel username
              type: string
            password:
              description: Your password for Angel carrier
              type: string
            authToken:
              description: X-Auth-Token for callbacks from Angel
              type: string
            key:
              description: Use value 'ANGEL' in order to provide ANGEL credentials
              type: string
          required:
            - key
          type: object
      xml:
        name: ModifyAngelCarrierCredentials
    ModifyGLSCarrierCredentials:
      allOf:
        - $ref: '#/components/schemas/AbstractModifyCarrierCredentials'
        - properties:
            username:
              description: Your Angel username
              type: string
            password:
              description: Your password for Angel carrier
              type: string
            trackAndTraceUsername:
              description: GLS Track And Trace username
              type: string
            trackAndTracePassword:
              description: GLS Track And Trace password
              type: string
            key:
              description: Use value 'GLS' in order to provide GLS credentials
              type: string
          required:
            - key
          type: object
      xml:
        name: ModifyGLSCarrierCredentials
    ModifyFacilityAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyFacility', because you want to modify a
                facility
              enum:
                - ModifyFacility
              type: string
            address:
              $ref: '#/components/schemas/ModifyFacilityAddress'
            closingDays:
              description: >-
                Days of the year where the facility is closed and doesn't allows
                picking
              items:
                $ref: '#/components/schemas/ClosingDay'
              type: array
            contact:
              properties:
                customAttributes:
                  description: >-
                    Attributes that can be added to the contact. These
                    attributes cannot be used within fulfillment processes, but
                    it could be useful to have the informations carried here.
                  type: object
                firstName:
                  type: string
                lastName:
                  type: string
                roleDescription:
                  example: Manager, Supervisor, Teamleader, etc.
                  type: string
              required:
                - firstName
                - lastName
              type: object
            customAttributes:
              description: >-
                Attributes that can be added to the facility. These attributes
                cannot be used within fulfillment processes, but it could be
                useful to have the informations carried here.
              type: object
            fulfillmentProcessBuffer:
              description: Duration in minutes until an order is processed
              example: '240'
              minimum: 0
              type: integer
            locationType:
              enum:
                - STORE
                - WAREHOUSE
                - EXTERNAL
              type: string
            name:
              example: Hamburg NW2
              type: string
            capacityPlanningTimeframe:
              description: >-
                The range in days per facility which defines how many days in
                the future the capacity of the facility can be planned
              type: integer
              minimum: 1
            pickingTimes:
              $ref: '#/components/schemas/PickingTimes'
              description: >-
                Time ranges defining the picking times per weekday. No
                overlapping ranges are allowed
            pickingMethods:
              description: Picking Methods supported by this facility.
              items:
                $ref: '#/components/schemas/PickingMethodEnum'
              type: array
            scanningRule:
              $ref: '#/components/schemas/ScanningRuleConfiguration'
            services:
              items:
                properties:
                  type:
                    description: The description of the service this facility offers.
                    enum:
                      - SHIP_FROM_STORE
                      - PICKUP
                    type: string
                required:
                  - type
                type: object
              type: array
            status:
              description: >-
                The state of the facility. ONLINE means that this facility can
                process new orders and pickjobs, SUSPENDED means it cannot get
                new orders but is able to fulfill the current workload and
                OFFLINE means that it cannot fulfill any new or existing orders.
                Processes already running might be rescheduled to another
                facility depending on the preferences.
              enum:
                - ONLINE
                - SUSPENDED
                - OFFLINE
              type: string
            tenantFacilityId:
              description: The id of the facility in the tenants own system
              example: K12345
              type: string
            capacityEnabled:
              type: boolean
            tags:
              type: array
              minItems: 0
              items:
                $ref: '#/components/schemas/TagReference'
          required:
            - action
          type: object
      xml:
        name: ModifyFacilityAction
    AbstractFacilityActionsParameter:
      discriminator:
        propertyName: name
      properties:
        name:
          type: string
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    UpdateFacilityCoordinatesActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityActionsParameter'
      properties:
        name:
          enum:
            - UPDATE_FACILITY_COORDINATES
          type: string
        coordinates:
          $ref: '#/components/schemas/Coordinates'
      required:
        - name
        - coordinates
        - version
    RemoveFacilityCoordinatesActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityActionsParameter'
      properties:
        name:
          enum:
            - REMOVE_FACILITY_COORDINATES
          type: string
      required:
        - name
        - version
    FacilityActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/RemoveFacilityCoordinatesActionParameter'
        - $ref: '#/components/schemas/UpdateFacilityCoordinatesActionParameter'
    ModifyFacilityAddress:
      allOf:
        - $ref: '#/components/schemas/ModifyAddress'
        - type: object
        - properties:
            companyName:
              example: Speedy Boxales Ltd.
              type: string
            emailAddresses:
              items:
                properties:
                  recipient:
                    description: >-
                      Human readable information who is the recipient for emails
                      sent to this address.
                    example: >-
                      'Mailinglist reaching all the employees', 'Marc Fulton,
                      Manager', etc.
                    type: string
                  value:
                    format: email
                    type: string
                required:
                  - value
                type: object
              type: array
          type: object
    ModifyParcelAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'ModifyParcel', because you want to modify a Parcel
              enum:
                - ModifyParcel
              type: string
            status:
              $ref: '#/components/schemas/ParcelStatus'
              description: The state of the parcel we want to change.
            result:
              $ref: '#/components/schemas/ParcelResult'
              description: The result of the parcel
            customAttributes:
              type: object
            carrierProduct:
              nullable: true
              type: string
              description: Only changable on status OPEN or FAILED of the existing Parcel
            services:
              nullable: true
              $ref: '#/components/schemas/ParcelServices'
              description: Only changable on status OPEN or FAILED of the existing Parcel
          required:
            - action
          type: object
      xml:
        name: ModifyParcelAction
    ModifyParcelLoadUnitsAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyParcelLoadUnit', because you want to modify
                loadunitRefs in Parcel
              enum:
                - ModifyParcelLoadUnit
              type: string
            loadUnitRefs:
              type: array
              items:
                type: string
          required:
            - action
            - loadUnitRefs
          type: object
      xml:
        name: ModifyParcelLoadUnitsAction
    ReplaceLoadUnitLineItemsAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ReplaceLoadUnitLineItems', because you want to
                replace loadunit line items
              enum:
                - ReplaceLoadUnitLineItems
              type: string
            loadUnitLineItems:
              type: array
              items:
                $ref: '#/components/schemas/LoadUnitLineItem'
          required:
            - action
            - loadUnitLineItems
          type: object
      xml:
        name: ReplaceLoadUnitLineItemsAction
    ParcelPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyParcelAction'
              - $ref: '#/components/schemas/ModifyParcelLoadUnitsAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: ParcelPatchActions
    LoadUnitPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ReplaceLoadUnitLineItemsAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: LoadUnitPatchActions
    ModifyFeatureAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'ModifyFeature', because you want to modify a Feature
              enum:
                - ModifyFeature
              type: string
            status:
              $ref: '#/components/schemas/FeatureStatus'
              description: The state of the feature we want to change.
          required:
            - action
            - status
          type: object
      xml:
        name: ModifyFeatureAction
    ModifyHandoverjobAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyHandoverjob', because you want to modify a
                handoverjob
              enum:
                - ModifyHandoverjob
              type: string
            customAttributes:
              description: >-
                Attributes that can be added to the handoverJob. These
                attributes cannot be used within fulfillment processes, but it
                could be useful to have the informations carried here.
              type: object
            status:
              $ref: '#/components/schemas/HandoverjobStatus'
          required:
            - action
          type: object
      xml:
        name: ModifyHandoverjobAction
    CancelHandoverjobAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use api/handoverjobs/:id/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'CancelHandoverjob', because you want to cancel a
                handover job
              enum:
                - CancelHandoverjob
              type: string
            handoverJobCancelReason:
              $ref: '#/components/schemas/HandoverJobCancelReason'
          required:
            - action
            - handoverJobCancelReason
          type: object
      xml:
        name: CancelHandoverjobAction
    ModifyListingAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'ModifyListing', because you want to modify a listing
              enum:
                - ModifyListing
              type: string
            attributes:
              description: The attributes of this listing
              items:
                $ref: '#/components/schemas/ListingAttributeItem'
              type: array
            imageUrl:
              description: >-
                A web link to a picture of this article. Please make sure that
                no authentication is required to fetch the image!
              type: string
            price:
              example: 1200
              type: number
            currency:
              description: >-
                The currency of the price as an ISO 4217 code. Attention -
                Routing currently does not convert between different currencies.
                Don't use multiple currencies when using price ratings in order
                routing.
              example: EUR
              nullable: true
              allOf:
                - $ref: '#/components/schemas/CurrencyCode'
            status:
              description: The status indicates if a listing is available or not
              enum:
                - ACTIVE
                - INACTIVE
              type: string
            stockinformation:
              $ref: '#/components/schemas/StockInformationForCreation'
              deprecated: true
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
                <br /> <i>This endpoint is deprecated and has been
                replaced.</i><br /><br />@deprecated This field is deprecated
                since 11th of September 2023. Use /api/stocks endpoints instead.
            subtitle:
              description: a subtitle describing the article
              example: 44 2/3
              type: string
            title:
              description: a title describing the article
              example: Adidas Superstar
              type: string
            titleLocalized:
              $ref: '#/components/schemas/LocaleString'
            tags:
              type: array
              minItems: 0
              items:
                $ref: '#/components/schemas/TagReference'
            scanningRule:
              $ref: '#/components/schemas/ScanningRuleConfiguration'
            scannableCodes:
              items:
                description: Codes, that identify the article
                type: string
              type: array
            weight:
              type: number
            outOfStockBehaviour:
              enum:
                - BACKORDER
              type: string
            availabilityTimeframe:
              $ref: '#/components/schemas/AvailabilityTimeframe'
            measurementUnitKey:
              type: string
              nullable: true
              example: kg
            stockProperties:
              type: object
              nullable: true
              additionalProperties:
                $ref: '#/components/schemas/StockPropertyDefinition'
            stockAvailableUntil:
              $ref: '#/components/schemas/AvailableUntilDefinition'
            legal:
              $ref: '#/components/schemas/ListingLegal'
            customAttributes:
              nullable: true
              description: >-
                Attributes that can be added to the listing. These attributes
                **cannot** be used within fulfillment processes, but enable you
                to attach custom data from your systems to fulfillmenttools
                entities.
              type: object
          required:
            - action
          type: object
      xml:
        name: ModifyListingAction
    ModifyListingReactivationAfterAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyListingReactivationAfter', if you want to
                modify the listingReactivationAfter of a facility
              enum:
                - ModifyListingReactivationAfter
              type: string
            listingReactivationAfter:
              properties:
                active:
                  default: true
                  description: The disabling of listings is enabled or disabled.
                  type: boolean
                value:
                  default: 24
                  description: >-
                    Time in hours that has to pass for a deactivated listing
                    (e.g. due to manual deactivation or as a result of a
                    shortpick ) to be become active again.
                  type: number
              type: object
          required:
            - action
          type: object
      xml:
        name: ModifyListingReactivationAfterAction
    ModifyLoadUnitTypeAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyLoadUnitType', because you want to modify a
                LoadUnitType
              enum:
                - ModifyLoadUnitType
              type: string
            descriptionLocalized:
              $ref: '#/components/schemas/LocaleString'
            nameLocalized:
              $ref: '#/components/schemas/LocaleString'
            priority:
              description: >-
                This value gives the priority in the respective loadUnitType.
                The lower the value the higher is the priority, e.g. priority 1
                is higher than priority 10. The priority can be used to order
                loadUnityTypes.
              example: 100
              format: int64
              maximum: 10000
              minimum: 1
              type: integer
            dimensions:
              $ref: '#/components/schemas/LoadUnitDimensions'
            weightLimitInG:
              description: 'Maximal weight in gramm(gr) the loadunit can handle. '
              type: number
              minimum: 1
          required:
            - action
          type: object
      xml:
        name: ModifyLoadUnitTypeAction
    RestartPickJobAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use api/pickjobs/:id/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'RestartPickJob' to restart the pickJob and set it
                back to status IN_PROGRESS.
              enum:
                - RestartPickJob
              type: string
          required:
            - action
          type: object
      xml:
        name: RestartPickJobAction
    ResetPickJobAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use api/pickjobs/:id/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ResetPickJobAction' to reset the pickJob and set it
                back to status OPEN and reset the pick line items.
              enum:
                - ResetPickJob
              type: string
          required:
            - action
          type: object
      xml:
        name: ResetPickJobAction
    ModifyPickJobLastEditorAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyPickJobLastEditorAction' to set the last editor
                to your user and therefor take over the pickjob.
              enum:
                - ModifyPickJobLastEditor
              type: string
          required:
            - action
          type: object
      xml:
        name: ModifyPickJobLastEditorAction
    ModifyPickJobAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'ModifyPickJob', because you want to modify a pickjob
              enum:
                - ModifyPickJob
              type: string
            preferredPickingMethods:
              description: Preferred way of picking a given pickJob.
              items:
                $ref: '#/components/schemas/PickingMethodEnum'
              type: array
            paymentInformation:
              $ref: '#/components/schemas/PaymentInformation'
            customAttributes:
              description: >-
                Attributes that can be added to the pickJob. These attributes
                cannot be used within fulfillment processes, but it could be
                useful to have the informations carried here.
              type: object
            status:
              $ref: '#/components/schemas/PickJobStatusUnprotected'
          required:
            - action
          type: object
      xml:
        name: ModifyPickJobAction
    AbortPickJobAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use api/pickjobs/:id/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'AbortPickJob', because you want to cancel a pickjob
              enum:
                - AbortPickJob
              type: string
          required:
            - action
          type: object
      xml:
        name: AbortPickJobAction
    ModifyPickLineItemAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyPickLineItem', because you want to modify a
                pick line item
              enum:
                - ModifyPickLineItem
              type: string
            id:
              description: >-
                The id of this lineItem. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: climk4dcQFiPdA5ULuhS
              type: string
            picked:
              description: The amount of articles that were picked for this pickline.
              example: 20
              format: int64
              minimum: 0
              type: integer
            pickedAt:
              description: Date when the line has been picked.
              example: '2024-02-03T08:45:51.525Z'
              format: date-time
              type: string
            customAttributes:
              description: >-
                Attributes that can be added to the pick ine item. These
                attributes cannot be used within fulfillment processes, but it
                could be useful to have the informations carried here.
              type: object
            stockEmptied:
              example: true
              type: boolean
            stickers:
              items:
                $ref: '#/components/schemas/Sticker'
              type: array
            partialStockLocations:
              items:
                $ref: >-
                  #/components/schemas/PickJobLineItemPartialStockLocationForUpdate
            scannedCodes:
              description: Scanned Codes of the given picked line item
              items:
                $ref: '#/components/schemas/PickLineItemScannedCode'
              minItems: 0
            status:
              $ref: '#/components/schemas/PickLineItemStatus'
            secondaryPicked:
              type: integer
            substituteLineItems:
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
                  /></center> <br /> <i>This part of the API is currently under development.
                  That means that this endpoint, model, etc. can contain breaking changes
                  and / or might not be available at all times in your API instance. It
                  could disappear also without warning. Thus, it currently does not fall
                  under our SLA regulations. For details on this topic please check our
                  <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
              items:
                $ref: '#/components/schemas/SubstituteLineItemForCreation'
              type: array
            shortPickReasonLocalized:
              description: Localized reason
              example: '{ en_US: ''SomeName'' }'
              nullable: true
              $ref: '#/components/schemas/LocaleString'
          required:
            - id
            - action
          type: object
          additionalProperties: false
      xml:
        name: ModifyPickLineItemAction
    ModifyRetainedOfflineStockAction:
      deprecated: true
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyRetainedOfflineStock', if you want to modify
                the retained offline stocks of a facility
              enum:
                - ModifyRetainedOfflineStock
              type: string
            active:
              description: The retained Offline Stock is enabled or disabled.
              type: boolean
            value:
              default: 0.2
              description: >-
                The overall percentage of stock that should be reserved to
                offline clients.
              example: 0.15
              maximum: 1
              minimum: 0.01
              type: number
          required:
            - action
          type: object
      xml:
        name: ModifyRetainedOfflineStockAction
    ModifyReturnAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              enum:
                - ModifyReturn
              type: string
            status:
              $ref: '#/components/schemas/ReturnStatus'
          required:
            - action
          type: object
      xml:
        name: ModifyReturnAction
    ModifyReturnLineItemAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyReturnLineItem', because you want to modify a
                return line item
              enum:
                - ModifyReturnLineItem
              type: string
            id:
              description: Id of the return line item you want to update
              type: string
            returned:
              $ref: '#/components/schemas/Returned'
            status:
              $ref: '#/components/schemas/ReturnLineStatus'
          required:
            - id
            - action
            - returned
          type: object
      xml:
        name: ModifyReturnLineItemAction
    ModifyShipmentAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyShipment', because you want to modify a
                shipment
              enum:
                - ModifyShipment
              type: string
            carrierRef:
              description: >-
                The reference to the carrier for which the shipment is assigned
                to
              example: ca525716-7208-4a63-a2a6-11274eb37f67-0
              type: string
            carrierProduct:
              description: Desired product of given carrier to choose when ordering a label
              type: string
              example: EXPRESS
            pickJobRef:
              description: >-
                The reference to the pickjob for which the shipment is assigned
                to
              example: ca525716-7208-4a63-a2a6-11274eb37f67-0
              type: string
            paymentInformation:
              $ref: '#/components/schemas/PaymentInformation'
            status:
              $ref: '#/components/schemas/ShipmentStatus'
            targetAddress:
              $ref: '#/components/schemas/ConsumerAddress'
          required:
            - action
          type: object
      xml:
        name: ModifyShipmentAction
    ModifyShortpickAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyShortpick', if you want to modify the
                ModifyShortPick of a facility
              enum:
                - ModifyShortpick
              type: string
            active:
              default: true
              description: Inventory adjustment in the case of insufficient order picking
              type: boolean
          required:
            - action
          type: object
      xml:
        name: ModifyShortpickAction
    ModifyUserAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'ModifyUser', because you want to modify a user
              enum:
                - ModifyUser
              type: string
            firstname:
              example: Alex
              type: string
            lastname:
              example: Schneider
              type: string
            locale:
              $ref: '#/components/schemas/SupportedLocale'
            password:
              example: fsdf6556
              minLength: 6
              type: string
            roles:
              $ref: '#/components/schemas/UserRoles'
            assignedFacilities:
              items:
                $ref: '#/components/schemas/UserAssignedFacilityForCreation'
              type: array
            customAttributes:
              nullable: true
              description: >-
                Attributes that can be added to the user. These attributes
                **cannot** be used within fulfillment processes, but enable you
                to attach custom data from your systems to fulfillmenttools
                entities.
              type: object
          required:
            - action
          type: object
      xml:
        name: ModifyUserAction
    OrderInformation:
      properties:
        orderDate:
          description: The date the order was created.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        orderNumber:
          description: An identifier for the order.
          example: R456728546
          pattern: ^.+$
          type: string
      type: object
    MeasurementValidation:
      properties:
        shortPickSoftTolerancePercentage:
          description: Allowed soft short pick deviation tolerance.
          example: 10
          minimum: 0
          maximum: 100
          type: number
        shortPickHardTolerancePercentage:
          description: Allowed hard short pick deviation tolerance.
          example: 15
          minimum: 0
          maximum: 100
          type: number
        overPickSoftTolerancePercentage:
          description: Allowed soft over pick deviation tolerance.
          example: 15
          minimum: 0
          type: number
        overPickHardTolerancePercentage:
          description: Allowed hard over pick deviation tolerance.
          example: 20
          minimum: 0
          type: number
    OrderStatus:
      description: The state of the order. Initially it is OPEN.
      enum:
        - OPEN
        - CANCELLED
        - PROMISED
        - LOCKED
        - OBSOLETE
      type: string
    ParcelDimensions:
      properties:
        height:
          description: The height of the package (in cm)
          example: 50
          type: number
        length:
          description: The length of the package (in cm)
          example: 100
          type: number
        weight:
          description: The weight of the package (in g)
          example: 1700
          type: number
        width:
          description: The width of the package (in cm)
          example: 25
          type: number
      type: object
    ParcelServices:
      additionalProperties: false
      properties:
        bulkyGoods:
          type: boolean
        signature:
          description: Signature from anyone needed
          type: boolean
        adultSignature:
          description: Signature from some adult
          type: boolean
        customerSignature:
          description: Signature from the ordering customer needed
          type: boolean
    Parcel:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            anonymized:
              description: Indicates if gdpr related data was anonymized
              example: false
              type: boolean
            carrierRef:
              description: Reference to the carrier this parcel should be send by
              example: cf00e102-34f2-45c1-a846-6a21f384321e
              type: string
            carrierProduct:
              description: Desired product of given carrier to choose when ordering a label
              type: string
              example: EXPRESS
            customAttributes:
              description: >-
                Attributes that can be added to the parcel. These attributes
                cannot be used within fulfillment processes, but it could be
                useful to have the information carried here.
              type: object
            dimensions:
              $ref: '#/components/schemas/ParcelDimensions'
            services:
              $ref: '#/components/schemas/ParcelServices'
            id:
              description: >-
                The id of this parcel. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: 95EWrieX09OmeriXIUbb
              type: string
            documentsRef:
              description: Reference to the documents collection from this entity
              type: string
            loadUnitRefs:
              description: Reference to array of load unit Refs
              items:
                type: string
              type: array
            recipient:
              $ref: '#/components/schemas/ConsumerAddress'
            invoice:
              $ref: '#/components/schemas/ConsumerAddress'
            processRef:
              type: string
            operativeProcessRef:
              type: string
            items:
              items:
                $ref: '#/components/schemas/ParcelItem'
              type: array
            postalCharges:
              $ref: '#/components/schemas/ParcelPostalCharge'
            returnAddress:
              $ref: '#/components/schemas/FacilityAddress'
            result:
              $ref: '#/components/schemas/ParcelResult'
            sender:
              $ref: '#/components/schemas/FacilityAddress'
            shipmentRef:
              description: The id of this shipment this parcel has been created for.
              example: 95EWrieX09OmeriXIUbb
              type: string
            status:
              $ref: '#/components/schemas/ParcelStatus'
            paymentInformation:
              $ref: '#/components/schemas/PaymentInformation'
            pickUpInformation:
              $ref: '#/components/schemas/ParcelPickUpInformation'
            productValue:
              description: >-
                Monetary value of all goods in this parcel. Needed for sending
                cross border packages (customs) To be interpreted as money in
                the currency given under paymentInformation.currency
              type: number
              example: 12.5
            transfers:
              type: array
              minItems: 0
              items:
                $ref: '#/components/schemas/OperativeTransfer'
          required:
            - id
            - status
            - carrierRef
            - shipmentRef
            - processRef
            - sender
            - recipient
            - loadUnitRefs
          type: object
    ParcelForCreation:
      additionalProperties: false
      properties:
        status:
          $ref: '#/components/schemas/ParcelStatus'
        carrierProduct:
          description: Desired product of given carrier to choose when ordering a label
          type: string
          example: EXPRESS
        customAttributes:
          description: >-
            Attributes that can be added to the parcel. These attributes cannot
            be used within fulfillment processes, but it could be useful to have
            the information carried here.
          type: object
        dimensions:
          $ref: '#/components/schemas/ParcelDimensions'
        services:
          $ref: '#/components/schemas/ParcelServices'
        loadUnitRefs:
          description: Reference to array of load unit Refs
          items:
            type: string
          type: array
        items:
          items:
            $ref: '#/components/schemas/ParcelItem'
          type: array
        recipient:
          $ref: '#/components/schemas/ConsumerAddress'
        invoice:
          $ref: '#/components/schemas/ConsumerAddress'
        sender:
          $ref: '#/components/schemas/FacilityAddress'
        returnAddress:
          $ref: '#/components/schemas/FacilityAddress'
        paymentInformation:
          $ref: '#/components/schemas/PaymentInformation'
        pickUpInformation:
          $ref: '#/components/schemas/ParcelPickUpInformation'
        productValue:
          description: >-
            Monetary value of all goods in this parcel. Needed for sending cross
            border packages (customs) To be interpreted as money in the currency
            given under paymentInformation.currency
          type: number
          example: 12.5
        result:
          $ref: '#/components/schemas/ParcelResult'
        transfers:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/OperativeTransfer'
      type: object
    ParcelPickUpInformation:
      additionalProperties: false
      properties:
        startTime:
          description: needs to be before end time
          format: date-time
          type: string
        endTime:
          description: needs to be after start time
          format: date-time
          type: string
      required:
        - startTime
        - endTime
    ParcelPostalCharge:
      properties:
        value:
          type: number
          description: Monetary Value in the given currency
          example: 15.5
        currency:
          type: string
          description: Currency of the given value
          example: EUR
      required:
        - currency
        - value
    ParcelItem:
      properties:
        quantity:
          type: integer
          minimum: 1
          description: amount of the given items
          example: 5
        hsCode:
          type: string
          maxLength: 50
        description:
          description: Description of the given item/items
          example: Item Description
          type: string
        weightInGram:
          type: integer
          description: Weight of a single item in gram
          example: 10000
        parcelItemValue:
          $ref: '#/components/schemas/ParcelItemValue'
        countryOfManufacture:
          type: string
        article:
          $ref: '#/components/schemas/ParcelItemArticle'
      required:
        - quantity
      type: object
      xml:
        name: ParcelItem
    ParcelItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
          type: object
      xml:
        name: ParcelItemArticle
    ParcelItemValue:
      properties:
        value:
          type: number
          description: Monetary Value of a single item in the given currency
          example: 15.5
        currency:
          type: string
          description: Currency of the given value
          example: EUR
      required:
        - value
        - currency
      type: object
    ParcelStatus:
      enum:
        - OPEN
        - PROCESSING
        - DONE
        - FAILED
        - CANCELED
        - OBSOLETE
        - WAITING_FOR_INPUT
      type: string
    UserModificationHistory:
      additionalProperties: false
      type: object
      required:
        - modificationDate
        - username
      properties:
        userId:
          description: ID of the user who commited this modification
          type: string
        username:
          description: Username of the user who commited this modification
          type: string
        modificationDate:
          format: date-time
          type: string
    PickJob:
      allOf:
        - $ref: '#/components/schemas/PickJobForCreation'
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            usersModificationHistory:
              type: array
              items:
                $ref: '#/components/schemas/UserModificationHistory'
            anonymized:
              description: Indicates if gdpr related data was anonymized
              example: false
              type: boolean
            deliveryinformation:
              $ref: '#/components/schemas/PickjobDeliveryInformation'
            editor:
              $ref: '#/components/schemas/Editor'
            id:
              description: >-
                The id of this pickjob. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: Esb20gpHBL94X5NdMp3C
              type: string
            pickLineItems:
              items:
                $ref: '#/components/schemas/PickLineItem'
              type: array
            expectedPickLineItems:
              items:
                $ref: '#/components/schemas/ExpectedPickLineItem'
              type: array
            shortId:
              description: >-
                A short identifier that helps assigning a pickJob to a customer.
                This is automatically created during creation.
              example: AS12
              type: string
            status:
              $ref: '#/components/schemas/PickJobStatus'
            pickRunRef:
              type: string
              description: Pick run id to which the pick job belongs
            tags:
              type: array
              minItems: 1
              items:
                $ref: '#/components/schemas/TagReference'
            documentHandling:
              $ref: '#/components/schemas/DocumentHandling'
            resetBlocked:
              type: boolean
              default: false
              description: Indicates if pickJob can still be resetted or restarted
            documentsRef:
              description: Reference to the documents collection from this entity
              type: string
            statusReason:
              type: string
              description: >-
                The reason for the current status. Currently, only reroute
                reasons are supported.
            pickingZones:
              type: array
              items:
                $ref: '#/components/schemas/PickingZone'
          required:
            - id
            - status
            - pickLineItems
            - shortId
            - deliveryinformation
            - documentsRef
          type: object
    PickJobForCreation:
      properties:
        operativeProcessRef:
          type: string
        customAttributes:
          description: >-
            Attributes that can be added to the pickjob. These attributes cannot
            be used within fulfillment processes, but it could be useful to have
            the informations carried here.
          type: object
        deliveryinformation:
          $ref: '#/components/schemas/PickjobDeliveryInformationForCreation'
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        orderDate:
          description: The date this order was created at the supplying system.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        orderRef:
          description: >-
            The id of the order reference. The given ID has to be present in the
            system.
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
        pickLineItems:
          items:
            $ref: '#/components/schemas/PickLineItemForCreation'
          minItems: 0
          type: array
        expectedPickLineItems:
          items:
            $ref: '#/components/schemas/ExpectedPickLineItemForCreation'
          minItems: 0
          type: array
        paymentInformation:
          $ref: '#/components/schemas/PaymentInformation'
        processId:
          description: >-
            Id of the global process related to this entity. For example used
            for starting the GDPR process and others.
          type: string
        shortId:
          description: A short identifier that helps assigning a pick job to a customer.
          example: AS12
          type: string
        status:
          $ref: '#/components/schemas/PickJobStatus'
        tenantOrderId:
          description: >-
            Field can be used as a reference number in foreign systems, for
            example as a reference to the source system's identifier for this
            order.
          example: R456728546
          type: string
        tags:
          description: >-
            Tags can only be set when there is no process related with this
            pickJob. Setting processId and tags will lead to an validationError.
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        stickers:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/Sticker'
        routingPlanRef:
          description: Reference to the routingplan which created this pickjob
          type: string
        preferredPickingMethods:
          description: Preferred way of picking a given pickJob.
          items:
            $ref: '#/components/schemas/PickingMethodEnum'
          type: array
        transfers:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/OperativeTransfer'
      required:
        - orderDate
        - facilityRef
        - pickLineItems
      additionalProperties: false
      type: object
      xml:
        name: Pickjob
    PickingZone:
      description: Zones from which items can be picked
      properties:
        zoneRef:
          type: string
      required:
        - zoneRef
    PaymentInformation:
      properties:
        currency:
          description: The currency in which the consumer paid with
          example: EUR
          type: string
      type: object
    ProductInformation:
      properties:
        productName:
          description: The name of the product used by the carrier
          example: Express
          type: string
        mandatoryShippingAttributes:
          type: array
          items:
            $ref: '#/components/schemas/MandatoryShippingAttribute'
        mandatoryShippingItemAttributes:
          type: array
          items:
            $ref: '#/components/schemas/MandatoryShippingItemAttribute'
    PickJobStatusUnprotected:
      description: >-
        The status of a pickjob. These are the status that are still allowed to
        be used in the deprecated status field of ModifyPickJob actions
      enum:
        - OPEN
        - IN_PROGRESS
        - CLOSED
        - PICKED
        - REROUTED
        - REJECTED
        - RESTOWED
        - EXPIRED
        - WAITING_FOR_INPUT
      type: string
      xml:
        name: PickJobStatusUnprotected
    PickJobStatus:
      description: The status of a pickjob.
      enum:
        - ABORTED
        - OPEN
        - IN_PROGRESS
        - CLOSED
        - PICKED
        - REROUTED
        - REJECTED
        - RESTOWED
        - EXPIRED
        - CANCELED
        - OBSOLETE
        - WAITING_FOR_INPUT
      type: string
      xml:
        name: PickJobStatus
    PickJobLineItemPartialStockLocationForUpdate:
      properties:
        tenantPartialStockId:
          type: string
        picked:
          example: 21
          format: int64
          minimum: 0
          type: number
        stockEmptied:
          example: true
          type: boolean
      required:
        - tenantPartialStockId
        - picked
      type: object
    PickJobLineItemPartialStockLocation:
      allOf:
        - $ref: '#/components/schemas/PickJobLineItemPartialStockLocationForCreation'
      properties:
        picked:
          example: 21
          format: int64
          minimum: 0
          type: number
        stockEmptied:
          example: true
          type: boolean
      required:
        - tenantPartialStockId
      type: object
    PickJobLineItemPartialStockLocationForCreation:
      properties:
        tenantPartialStockId:
          type: string
        quantity:
          description: >-
            quantity of the specific article that should be picked from given
            stockLocation
          example: 21
          format: int64
          minimum: 0
          type: number
        available:
          example: 21
          format: int64
          minimum: 0
          type: number
        ratingScore:
          type: number
        sequenceScore:
          type: number
        location:
          $ref: '#/components/schemas/Location'
        stockProperties:
          anyOf:
            - $ref: '#/components/schemas/PickingStockPropertyPreset'
            - $ref: '#/components/schemas/PickingStockProperty'
      required:
        - tenantPartialStockId
      type: object
    SubstituteLineItemPartialStockLocation:
      properties:
        quantity:
          example: 21
          format: int64
          minimum: 0
          type: number
        location:
          $ref: '#/components/schemas/Location'
      required:
        - location
        - quantity
      type: object
    PickLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
            prices:
              items:
                $ref: '#/components/schemas/ArticlePrice'
              type: array
          type: object
      xml:
        name: PickLineItemArticle
    ArticlePrice:
      additionalProperties: false
      type: object
      properties:
        pricePerUnit:
          type: number
          example: 9.99
          description: Price value for a given currency per unit
          minimum: 0
        currency:
          description: The currency of the price as an ISO 4217 code.
          example: EUR
          nullable: true
          allOf:
            - $ref: '#/components/schemas/CurrencyCode'
      required:
        - pricePerUnit
        - currency
    ReturnedLineItemRefundPrice:
      additionalProperties: false
      properties:
        value:
          example: 20.55
          description: 0.0 till line item price that should be refunded
          type: number
        currency:
          description: The currency of the price as an ISO 4217 code.
          example: EUR
          allOf:
            - $ref: '#/components/schemas/CurrencyCode'
      required:
        - value
        - currency
    PickingPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyPickLineItemAction'
              - $ref: '#/components/schemas/ModifyPickJobAction'
              - $ref: '#/components/schemas/ModifyPickJobLastEditorAction'
              - $ref: '#/components/schemas/RestartPickJobAction'
              - $ref: '#/components/schemas/ResetPickJobAction'
              - $ref: '#/components/schemas/AbortPickJobAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: PickingPatchActions
    PickRunPatchAction:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyPickRunLineItemAction'
              - $ref: '#/components/schemas/StartPickRunAction'
              - $ref: '#/components/schemas/CancelPickRunAction'
              - $ref: '#/components/schemas/FinishPickRunAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: PickRunPatchAction
    PickRunPickJobsPatchAction:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/RemovePickJobFromPickRunAction'
          minItems: 1
          maxItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: PickRunPickJobsPatchAction
    CancelPickRunAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use api/pickruns/:id/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'CancelPickRun', because you want to cancel a pickrun
              enum:
                - CancelPickRun
              type: string
          required:
            - action
          type: object
      xml:
        name: CancelPickRunAction
    StartPickRunAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use api/pickruns/:id/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'StartPickRun', because you want to start a pickrun
              enum:
                - StartPickRun
              type: string
          required:
            - action
          type: object
      xml:
        name: StartPickRunAction
    FinishPickRunAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use api/pickruns/:id/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'FinishPickRun', because you want to finish a pickrun
              enum:
                - FinishPickRun
              type: string
          required:
            - action
          type: object
      xml:
        name: FinishPickRunAction
    PickJobActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/PickJobAbortActionParameter'
        - $ref: '#/components/schemas/PickJobRestartActionParameter'
        - $ref: '#/components/schemas/PickJobResetActionParameter'
        - $ref: '#/components/schemas/PickJobObsoleteActionParameter'
        - $ref: '#/components/schemas/ModifyPickLineItemsActionParameter'
    PickJobAbortActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickJobAbortActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    PickJobAbortActionEnum:
      enum:
        - ABORT
      type: string
    PickJobRestartActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickJobRestartActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    PickJobRestartActionEnum:
      enum:
        - RESTART
      type: string
    PickJobObsoleteActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickJobObsoleteActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    ModifyPickLineItemsActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ModifyPickJobLineItemsActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        pickJobLineItemUpdates:
          items:
            $ref: '#/components/schemas/PickLineItemUpdate'
          minItems: 1
      required:
        - name
        - version
        - pickJobLineItemUpdates
    PickLineItemUpdate:
      properties:
        id:
          description: >-
            The id of this lineItem. It is generated during creation
            automatically and suits as the primary identifier of the described
            entity.
          example: climk4dcQFiPdA5ULuhS
          type: string
        picked:
          description: The amount of articles that were picked for this pickline.
          example: 20
          format: int64
          minimum: 0
          type: integer
        pickedAt:
          description: >-
            Date when the line has been picked. example:
            '2024-02-03T08:45:51.525Z' format: date-time type: string
        customAttributes:
          description: >-
            Attributes that can be added to the pick ine item. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        stockEmptied:
          example: true
          type: boolean
        stickers:
          items:
            $ref: '#/components/schemas/Sticker'
            type: array
        partialStockLocations:
          items:
            $ref: '#/components/schemas/PickJobLineItemPartialStockLocationForUpdate'
        scannedCodes:
          description: Scanned Codes of the given picked line item
          items:
            $ref: '#/components/schemas/PickLineItemScannedCode'
          minItems: 0
        status:
          $ref: '#/components/schemas/PickLineItemStatus'
        secondaryPicked:
          type: integer
        substituteLineItems:
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
              /></center> <br /> <i>This part of the API is currently under development.
              That means that this endpoint, model, etc. can contain breaking changes
              and / or might not be available at all times in your API instance. It
              could disappear also without warning. Thus, it currently does not fall
              under our SLA regulations. For details on this topic please check our
              <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
          items:
            $ref: '#/components/schemas/SubstituteLineItemForCreation'
          type: array
        shortPickReason:
          properties:
            reasonLocalized:
              description: Localized reason
              example: '{ en_US: ''SomeName'' }'
              $ref: '#/components/schemas/LocaleString'
      required:
        - id
      type: object
      additionalProperties: false
    ModifyPickJobLineItemsActionEnum:
      enum:
        - MODIFY_PICK_JOB_LINE_ITEMS
      type: string
    PickJobObsoleteActionEnum:
      enum:
        - OBSOLETE
      type: string
    PickJobResetActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickJobResetActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    PickJobResetActionEnum:
      enum:
        - RESET
      type: string
    PackingTargetContainerActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/UpdatePackingTargetContainerLineItemAction'
        - $ref: >-
            #/components/schemas/ReplacePackingTargetContainerLineItemCodesAction
    UpdatePackingTargetContainerLineItemAction:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/UpdatePackingTargetContainerLineItemEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        payload:
          additionalProperties: false
          properties:
            lineItem:
              $ref: '#/components/schemas/PackingTargetContainerLineItem'
          required:
            - lineItem
      required:
        - version
        - payload
        - name
    UpdatePackingTargetContainerLineItemEnum:
      enum:
        - UpdateLineItem
      type: string
    ReplacePackingTargetContainerLineItemCodesEnum:
      enum:
        - ReplaceLineItemCodes
      type: string
    ReplacePackingTargetContainerLineItemCodesAction:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ReplacePackingTargetContainerLineItemCodesEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        payload:
          additionalProperties: false
          properties:
            codes:
              items:
                description: List of codes
                type: string
                minItems: 1
              type: array
          required:
            - codes
      required:
        - payload
        - version
        - name
    PickRunActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/PickRunStartActionParameter'
        - $ref: '#/components/schemas/PickRunFinishActionParameter'
        - $ref: '#/components/schemas/PickRunCancelActionParameter'
        - $ref: '#/components/schemas/PickRunRemovePickJobActionParameter'
    PickRunFinishActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickRunFinishActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    PickRunFinishActionEnum:
      enum:
        - FINISH
      type: string
    PickRunStartActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickRunStartActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    PickRunStartActionEnum:
      enum:
        - START
      type: string
    PickRunRemovePickJobActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickRunRemovePickJobActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        payload:
          additionalProperties: false
          properties:
            pickJobId:
              type: string
              example: 4baaa052-7286-4dc2-937f-6e703ece25ac
          required:
            - pickJobId
      required:
        - name
        - version
        - payload
    PickRunRemovePickJobActionEnum:
      enum:
        - REMOVE_PICK_JOB
      type: string
    PickRunCancelActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PickRunCancelActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    PickRunCancelActionEnum:
      enum:
        - CANCEL
      type: string
    HandoverJobActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/HandoverJobCancelActionParameter'
    HandoverJobCancelActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/HandoverJobCancelActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        payload:
          additionalProperties: false
          properties:
            handoverJobCancelReason:
              $ref: '#/components/schemas/HandoverJobCancelReason'
          required:
            - handoverJobCancelReason
      required:
        - name
        - version
        - payload
    HandoverJobCancelActionEnum:
      enum:
        - CANCEL
      type: string
    ModifyPickRunLineItemAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyPickRunLineItem', because you want to modify a
                pick line item
              enum:
                - ModifyPickRunLineItem
              type: string
            id:
              description: >-
                The id of this lineItem. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: climk4dcQFiPdA5ULuhS
              type: string
            picked:
              description: The amount of articles that were picked for this pickline.
              example: 20
              format: int64
              minimum: 0
              type: integer
            status:
              $ref: '#/components/schemas/PickLineItemStatus'
            partialStockLocations:
              items:
                $ref: >-
                  #/components/schemas/PickJobLineItemPartialStockLocationForUpdate
          required:
            - id
            - action
          type: object
      xml:
        name: ModifyPickRunLineItemAction
    RemovePickJobFromPickRunAction:
      deprecated: true
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
        <br /> <i>This endpoint is deprecated and has been replaced.</i><br
        /><br />@deprecated Use /api/pickruns/{pickRunId}/actions instead
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'RemovePickJobFromPickRunAction', because you want to
                remove a pickjob
              enum:
                - RemovePickJobFromPickRunAction
              type: string
            pickJobRef:
              description: PickJob reference of the PickJob you want to remove.
              type: string
          required:
            - action
            - pickJobRef
          type: object
      xml:
        name: RemovePickJobFromPickRunAction
    PickingTimes:
      description: There must be no overlaps for time ranges on a day
      properties:
        friday:
          items:
            $ref: '#/components/schemas/TimeRange'
          type: array
        monday:
          items:
            $ref: '#/components/schemas/TimeRange'
          type: array
        saturday:
          items:
            $ref: '#/components/schemas/TimeRange'
          type: array
        sunday:
          items:
            $ref: '#/components/schemas/TimeRange'
          type: array
        thursday:
          items:
            $ref: '#/components/schemas/TimeRange'
          type: array
        tuesday:
          items:
            $ref: '#/components/schemas/TimeRange'
          type: array
        wednesday:
          items:
            $ref: '#/components/schemas/TimeRange'
          type: array
      type: object
    PickjobDeliveryInformation:
      allOf:
        - $ref: '#/components/schemas/PickjobDeliveryInformationForCreation'
        - required:
            - targetTime
            - channel
    PickjobDeliveryInformationForCreation:
      properties:
        channel:
          enum:
            - COLLECT
            - SHIPPING
          type: string
        details:
          properties:
            collect:
              properties:
                identifier:
                  description: Includes information about Click & Collect recipient
                  type: string
                paid:
                  default: false
                  description: Indicates if the order is already paid.
                  type: boolean
              type: object
            shipping:
              properties:
                carrierKey:
                  type: string
                carrierProduct:
                  description: >-
                    Desired product of given carrier to choose when ordering a
                    label
                  type: string
                  example: EXPRESS
                carrierServices:
                  type: array
                  items:
                    $ref: '#/components/schemas/CarrierServices'
                identifier:
                  description: >-
                    Includes information on how to identify Ship from Store
                    recipient (Name, PIN, Reference number, ...)
                  type: string
                recipientaddress:
                  $ref: '#/components/schemas/ConsumerAddress'
                invoiceAddress:
                  $ref: '#/components/schemas/ConsumerAddress'
                postalAddress:
                  $ref: '#/components/schemas/ConsumerAddress'
                serviceLevel:
                  description: TBD
                  enum:
                    - DELIVERY
                    - SAMEDAY
                  type: string
              type: object
          type: object
        targetTime:
          description: At which time the result is expected.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        targetTimeBaseDate:
          description: The start date for the targetTime calculation.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      type: object
    PreselectedFacility:
      properties:
        facilityRef:
          description: Reference to the facility which is supposed to fulfill the order
          type: string
      required:
        - facilityRef
      type: object
    PrioritizationRule:
      description: >-
        You can select a default Prioritization Rule from the catalog. When you
        decide to select 'CUSTOM' you must also provide a vmExpression to match
        the type CustomPrioritizationRule.
      properties:
        active:
          type: boolean
        id:
          description: >-
            This value identifies this very instance of the prioritization rule.
            It is set autmatically by the server when the configuration is
            updated.
          example: 9156fafb-d0b4-4f99-815e-5f231cb50fae
          type: string
        implementation:
          $ref: '#/components/schemas/PrioritizationRuleImplementation'
        name:
          type: string
      required:
        - active
        - name
        - implementation
      type: object
    PrioritizationRuleImplementation:
      enum:
        - CUSTOM
      type: string
      xml:
        name: PrioritizationRuleImplementation
    Processes:
      properties:
        processes:
          items:
            $ref: '#/components/schemas/Process'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    DomainStatusHistoryItem:
      description: >-
        This item represent a process status change triggered by a specific
        domain.
      properties:
        timestamp:
          description: >-
            Timestamp of the moment at which the state was notified by the
            domain.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        domain:
          description: The domain of the entity that caused the status change.
          $ref: '#/components/schemas/DomainType'
        domainRef:
          description: The id of the domain entity that caused the status change.
          type: string
        domainEntityProcessStatus:
          description: The assigned status
          $ref: '#/components/schemas/DomainStatus'
      required:
        - timestamp
        - domain
        - domainEntityProcessStatus
        - domainRef
      type: object
    LastDomainEntityStatusItem:
      description: >-
        An object holding the last DomainStatus of a given entity and its
        corresponding domain.
      properties:
        domain:
          description: The domain of the entity that caused the status change.
          $ref: '#/components/schemas/DomainType'
        status:
          description: The status of the entity.
          $ref: '#/components/schemas/DomainStatus'
        entityId:
          description: The entity id
          type: string
      required:
        - domain
        - status
        - entityId
      type: object
    Process:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        tags:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        flatRefs:
          description: >-
            This field references all IDs of any entity connected to this
            process.
          items:
            type: string
          type: array
        gdprCleanupDate:
          description: >-
            The date that defines when the entities will be or have been
            anonymized.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        deletionDate:
          description: >-
            The date that defines when the entities will be or have been
            deleted.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        handoverJobRefs:
          description: References to Handoverjobs connected to this process (if present).
          items:
            type: string
          type: array
        id:
          description: ID of this process
          type: string
        isAnonymized:
          description: Indicates if the entities have been anonymized.
          type: boolean
        orderRef:
          description: References to the Order connected to this process (if present).
          type: string
        routingPlanRefs:
          description: >-
            References the RoutingPlans that were used during this process (if
            present).
          items:
            type: string
          type: array
        pickJobRefs:
          description: References to the Pickjobs connected to this process (if present).
          items:
            type: string
          type: array
        returnRefs:
          description: References to the Returns connected to this process (if present).
          items:
            type: string
          type: array
        itemReturnJobsRef:
          description: >-
            References to the Item Return Job connected to this process (if
            present).
          items:
            type: string
          type: array
        shipmentRefs:
          description: References to the Shipments connected to this process (if present).
          items:
            type: string
          type: array
        tenantOrderId:
          description: The tenantOrderId referencing this process.
          type: string
        documentRefs:
          description: References to documents that are attached to this process.
          items:
            type: string
          type: array
        status:
          description: Overall status of the process.
          $ref: '#/components/schemas/ProcessStatus'
          default: CREATED
        domsStatus:
          description: Overall DOMS status of the process.
          $ref: '#/components/schemas/ProcessStatus'
          default: CREATED
        operativeStatus:
          description: Overall operative status of the process
          $ref: '#/components/schemas/ProcessStatus'
          default: CREATED
        returnStatus:
          description: Overall return status of the process
          $ref: '#/components/schemas/ProcessStatus'
          default: NOT_AVAILABLE
        domainStatuses:
          type: object
          description: Overview of the different domain adherent status of the process.
          additionalProperties:
            $ref: '#/components/schemas/DomainStatus'
        lastDomainEntityStatuses:
          type: array
          description: The last domain statuses of each domain
          items:
            $ref: '#/components/schemas/LastDomainEntityStatusItem'
        packJobRefs:
          description: References of the Packjobs connected to this process (if present).
          items:
            type: string
          type: array
        facilityRefs:
          description: References of the Facilities connected to this process (if any).
          items:
            type: string
          type: array
        domainStatusHistory:
          description: >-
            History of process status changes caused by changes on the related
            domains.
          type: array
          items:
            $ref: '#/components/schemas/DomainStatusHistoryItem'
        serviceJobRefs:
          description: >-
            References to the Service Jobs connected to this process (if
            present).
          items:
            type: string
          type: array
        externalActionRefs:
          description: >-
            References to the external actions connected to this process (if
            any).
          items:
            type: string
          type: array
      required:
        - gdprCleanupDate
        - id
      type: object
    ProcessProgressLog:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          type: string
        processRef:
          type: string
        domainEntityProcessStatus:
          $ref: '#/components/schemas/DomainStatus'
        domain:
          $ref: '#/components/schemas/DomainType'
        domainRef:
          type: string
        domainStatus:
          type: string
        domainLastModified:
          description: The last modified date of the related domain entity
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        domainVersion:
          description: The version of the related domain entity
          example: 1
          format: int64
          type: integer
        attributes:
          type: object
      required:
        - id
        - domainVersion
        - processRef
        - domainEntityProcessStatus
        - domain
        - domainRef
        - domainStatus
    DomainStatus:
      enum:
        - PENDING
        - CREATED
        - IN_PROGRESS
        - STUCK
        - FINISHED
        - CANCELED
        - OBSOLETE
      type: string
    ProcessStatus:
      enum:
        - CREATED
        - IN_PROGRESS
        - FINISHED
        - CANCELED
        - ERROR
        - NOT_AVAILABLE
      type: string
    DomainType:
      enum:
        - ORDER
        - ROUTING_PLAN
        - PICKJOB
        - PACKJOB
        - SHIPMENT
        - HANDOVER
        - RETURN
        - SERVICE_JOB
        - ITEM_RETURN_JOB
      type: string
    Section:
      enum:
        - ORDER
        - PACKJOB
        - PICKJOB
        - HANDOVERJOB
        - PARCEL
      type: string
    DocumentType:
      enum:
        - PDF
        - PNG
        - JPG
        - GIF
        - JPEG
      type: string
    ExternalDocument:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        type:
          $ref: '#/components/schemas/DocumentType'
        section:
          $ref: '#/components/schemas/Section'
        name:
          type: string
        path:
          type: string
        id:
          type: string
        priority:
          type: number
          minimum: 0
      required:
        - type
        - section
        - id
      type: object
    ExternalDocumentInSectionForCreation:
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/DocumentType'
        file:
          $ref: '#/components/schemas/NamedFile'
        priority:
          type: number
          minimum: 0
      required:
        - type
      type: object
    ExternalDocumentForCreation:
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/DocumentType'
        section:
          $ref: '#/components/schemas/Section'
        file:
          $ref: '#/components/schemas/NamedFile'
        priority:
          type: number
          minimum: 0
      required:
        - type
        - section
      type: object
    ExternalDocumentForUpdate:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        file:
          $ref: '#/components/schemas/NamedFile'
      required:
        - file
      type: object
    OidcProviders:
      properties:
        providers:
          items:
            $ref: '#/components/schemas/StrippedOidcProvider'
          type: array
        total:
          type: number
      required:
        - providers
        - total
    OidcProviderForUpdate:
      allOf:
        - $ref: '#/components/schemas/OidcProviderForCreation'
      properties:
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
    OidcProviderForCreation:
      properties:
        name:
          type: string
          minLength: 3
          maxLength: 15
        status:
          $ref: '#/components/schemas/OidcProviderStatus'
        issuer:
          type: string
        clientId:
          type: string
        customParameters:
          type: array
          items:
            $ref: '#/components/schemas/OidcProviderCustomParameter'
          minItems: 0
          maxItems: 3
        clientSecret:
          type: string
        assignedGroups:
          type: array
          items:
            $ref: '#/components/schemas/AssignedGroup'
      required:
        - clientSecret
        - name
        - status
        - issuer
        - clientId
        - customParameters
        - assignedGroups
    OidcProviderCustomParameter:
      type: object
      properties:
        key:
          type: string
        value:
          type: string
      required:
        - key
        - value
    StrippedOidcProvider:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          type: string
        name:
          type: string
          minLength: 3
          maxLength: 15
        status:
          $ref: '#/components/schemas/OidcProviderStatus'
        issuer:
          type: string
        clientId:
          type: string
        customParameters:
          items:
            $ref: '#/components/schemas/OidcProviderCustomParameter'
          minItems: 0
          maxItems: 3
          type: array
        assignedGroups:
          type: array
          items:
            $ref: '#/components/schemas/AssignedGroup'
      required:
        - id
        - name
        - status
        - issuer
        - clientId
        - customParameters
        - assignedGroups
    OidcProviderStatus:
      description: Status of Provider
      enum:
        - ACTIVE
        - INACTIVE
      type: string
    AssignedGroup:
      type: object
      properties:
        group:
          type: string
          minLength: 1
        facilityRefs:
          type: array
          minItems: 1
          items:
            type: string
      required:
        - group
        - facilityRefs
    RerouteShortPickConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        blacklistAssignedFacilities:
          default: false
          description: >-
            Does not consider facilities which previously owned the pickjob
            during routing.
          type: boolean
        clickAndCollectReroute:
          $ref: '#/components/schemas/ClickAndCollectRerouteConfiguration'
        restowAfterMinutes:
          description: The amount of minutes after which an automated restow is executed
          example: '60'
          type: number
        shipFromStoreReroute:
          $ref: '#/components/schemas/ShipFromStoreRerouteConfiguration'
        id:
          type: string
        rerouteZeroPicksOnly:
          default: false
          description: Whether or not only pickjobs with zero items picked may be rerouted
          type: boolean
      required:
        - clickAndCollectReroute
        - shipFromStoreReroute
      type: object
    ClickAndCollectRerouteConfiguration:
      properties:
        active:
          type: boolean
        rerouteType:
          $ref: '#/components/schemas/RerouteType'
      required:
        - active
      type: object
    ShipFromStoreRerouteConfiguration:
      properties:
        active:
          type: boolean
        allowManualReroute:
          default: false
          description: >-
            @deprecated This config property is deprecated since 26/02/24. Use
            GlobalManualRerouteConfiguration instead.
          type: boolean
          deprecated: true
        facilityWideRerouteOnShortPick:
          default: false
          type: boolean
        rerouteTargetTime:
          description: >-
            Only pickJobs where the targetTime in not larger than now plus this
            number are rerouted
          example: '48'
          type: number
        rerouteType:
          $ref: '#/components/schemas/RerouteType'
      required:
        - active
        - rerouteType
      type: object
    RerouteType:
      description: |-
        The type of reroute to apply to the order
          * `REROUTE`- the complete routing plan is rerouted.
          * `ORDERSPLIT`- the order is splitted. The short picked line items will be moved to a new routing plan and rerouted
      enum:
        - REROUTE
        - ORDERSPLIT
      type: string
    ReturnArticleAttributeItem:
      allOf:
        - $ref: '#/components/schemas/ArticleAttributeItem'
    ReturnConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        active:
          deprecated: true
          default: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />Enable or disable legacy returns. Use
            returnTypeConfiguration instead
          type: boolean
        returnTypeConfiguration:
          $ref: '#/components/schemas/ReturnTypeConfiguration'
        availableItemConditions:
          items:
            $ref: '#/components/schemas/AvailableItemCondition'
        availableReturnReasons:
          items:
            $ref: '#/components/schemas/AvailableReturnReason'
      required:
        - active
      type: object
    ExpiryConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        provisioningTimeOffsetInMinutes:
          type: integer
          minimum: 0
      required:
        - provisioningTimeOffsetInMinutes
      type: object
    AvailableItemCondition:
      additionalProperties: false
      properties:
        conditionLocalized:
          description: Will be translated into 'condition' when requested
          $ref: '#/components/schemas/LocaleString'
          example:
            de_DE: Beschädigt
            en_US: Damaged
    AvailableReturnReason:
      additionalProperties: false
      properties:
        reasonLocalized:
          description: Will be translated into 'reason' when requested
          example:
            de_DE: Beschädigt
            en_US: Damaged
          $ref: '#/components/schemas/LocaleString'
      required:
        - reasonLocalized
    LocalizedReturnConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        active:
          deprecated: true
          default: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />Enable or disable legacy returns. Use
            returnTypeConfiguration instead
          type: boolean
        returnTypeConfiguration:
          $ref: '#/components/schemas/ReturnTypeConfiguration'
        availableItemConditions:
          items:
            $ref: '#/components/schemas/LocalizedAvailableItemCondition'
        availableReturnReasons:
          items:
            $ref: '#/components/schemas/LocalizedAvailableReturnReason'
      required:
        - active
      type: object
    LocalizedAvailableItemCondition:
      additionalProperties: false
      properties:
        condition:
          type: string
          example: Damaged
          description: translated conditionsLocalized
        conditionLocalized:
          $ref: '#/components/schemas/LocaleString'
          example:
            de_DE: Beschädigt
            en_US: Damaged
      required:
        - conditionLocalized
        - condition
    LocalizedAvailableReturnReason:
      allOf:
        - $ref: '#/components/schemas/AvailableReturnReason'
      additionalProperties: false
      properties:
        reason:
          type: string
          example: Damaged
          description: translated reasonLocalized
      required:
        - reasonLocalized
        - reason
    ReturnTypeConfiguration:
      properties:
        type:
          $ref: '#/components/schemas/ReturnConfigurationType'
      required:
        - type
    ReturnConfigurationType:
      type: string
      enum:
        - RETURN
        - ITEM_RETURN
    ReturnItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ReturnArticleAttributeItem'
              type: array
          type: object
      xml:
        name: ReturnItemArticle
    ReturnJob:
      allOf:
        - $ref: '#/components/schemas/ReturnJobForCreation'
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            facilityRef:
              description: >-
                Reference to the facility which could have been given via
                tenantFacilityID while creating
              type: string
            anonymized:
              description: Indicates if gdpr related data was anonymized
              example: false
              type: boolean
            id:
              description: >-
                The id of this returnJob. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: Esb20gpHBL94X5NdMp3C
              minItems: 1
              type: string
          required:
            - id
          type: object
      xml:
        name: ReturnJob
    ReturnJobForCreation:
      additionalProperties: false
      properties:
        carrierTrackingNumber:
          example: '84168117830018'
          type: string
        consumerAddress:
          $ref: '#/components/schemas/ConsumerAddress'
        facilityAddress:
          $ref: '#/components/schemas/FacilityAddress'
        tenantFacilityId:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        orderRef:
          description: The id of the order
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
        processId:
          description: >-
            Id of the global process related to this entity. For example used
            for starting the GDPR process and others.
          type: string
        returnLines:
          items:
            $ref: '#/components/schemas/ReturnLine'
          minItems: 1
          type: array
        status:
          $ref: '#/components/schemas/ReturnStatus'
        tenantOrderId:
          type: string
        customAttributes:
          description: >-
            Attributes that can be added to the return job. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the information carried here.
      required:
        - returnLines
      type: object
    ReturnJobs:
      properties:
        returnJobs:
          items:
            $ref: '#/components/schemas/ReturnJob'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      required:
        - returnJobs
        - total
    ReturnLine:
      properties:
        article:
          $ref: '#/components/schemas/ReturnItemArticle'
        delivered:
          description: The amount of articles that were delivered
          example: 20
          format: int64
          minimum: 0
          type: integer
        id:
          description: >-
            The id of this return Item. It is generated during creation
            automatically and suits as the primary identifier of the described
            entity.
          example: climk4dcQFiPdA5ULuhS
          type: string
        pickJobRefs:
          items:
            description: List of corresponding pickjob Ids
            type: string
          minItems: 1
          type: array
        returned:
          $ref: '#/components/schemas/Returned'
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
        status:
          $ref: '#/components/schemas/ReturnLineStatus'
        customAttributes:
          description: >-
            Attributes that can be added to the return job. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the information carried here.
      required:
        - pickJobRefs
        - id
        - status
        - delivered
        - returned
        - scannableCodes
        - article
      type: object
    ShortPickReason:
      additionalProperties: false
      properties:
        reason:
          description: translated reasonLocalized according to the given locale
          type: string
        active:
          type: boolean
          example: true
          description: Flag to mark a reason as active or inactive
        reasonLocalized:
          description: Localized reason
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
      required:
        - active
        - reasonLocalized
    ReturnLineStatus:
      description: A return item line initially has the status INITIAL.
      enum:
        - INITIAL
        - ADVISED
        - ACCEPTED
        - DECLINED
        - CANCELED
      type: string
      xml:
        name: ReturnItemStatus
    ReturnNoteConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          example: delivery-note
          type: string
        logoUrl:
          type: string
        pdfBackgroundConfiguration:
          $ref: '#/components/schemas/PdfBackgroundConfiguration'
        companyAddress:
          $ref: '#/components/schemas/CompanyAddress'
        orderDateLabel:
          $ref: '#/components/schemas/LocaleString'
        orderNumberLabel:
          $ref: '#/components/schemas/LocaleString'
        headline:
          $ref: '#/components/schemas/LocaleString'
        quantityLabel:
          $ref: '#/components/schemas/LocaleString'
        articleIdLabel:
          $ref: '#/components/schemas/LocaleString'
        articleTitleLabel:
          $ref: '#/components/schemas/LocaleString'
        returnReasonLabel:
          $ref: '#/components/schemas/LocaleString'
        returnReasonExplanationHeadline:
          $ref: '#/components/schemas/LocaleString'
        returnReasonExplanation:
          $ref: '#/components/schemas/LocaleString'
        reasons:
          deprecated: true
          description: Deprecated - use ReturnConfiguration.availableReturnReasons instead
          items:
            $ref: '#/components/schemas/LocaleString'
          type: array
        disclaimerHeadline:
          $ref: '#/components/schemas/LocaleString'
        disclaimer:
          $ref: '#/components/schemas/LocaleString'
        displayPageLabel:
          type: boolean
          default: false
          description: Determines if the page label should be shown
        pageLabel:
          $ref: '#/components/schemas/LocaleString'
        substituteText:
          $ref: '#/components/schemas/LocaleString'
      required:
        - id
        - orderDateLabel
        - orderNumberLabel
        - headline
        - quantityLabel
        - articleIdLabel
        - articleTitleLabel
        - returnReasonLabel
        - disclaimerHeadline
        - disclaimer
        - pageLabel
      type: object
    PdfBackgroundConfiguration:
      properties:
        firstPageBackgroundFileUrl:
          description: >-
            File url of the background image that will be used for the first
            page
          type: string
        followingPageBackgroundFileUrl:
          description: File url of background image that will be used for 2-n pages
          type: string
      type: object
    PdfBackgroundConfigurationForUpsert:
      properties:
        firstPageBackgroundFile:
          $ref: '#/components/schemas/NamedFile'
        followingPageBackgroundFile:
          $ref: '#/components/schemas/NamedFile'
      type: object
    ReturnNoteConfigurationForUpsert:
      additionalProperties: false
      properties:
        logo:
          $ref: '#/components/schemas/NamedFile'
        pdfBackgroundConfiguration:
          $ref: '#/components/schemas/PdfBackgroundConfigurationForUpsert'
        companyAddress:
          $ref: '#/components/schemas/CompanyAddress'
        orderDateLabel:
          $ref: '#/components/schemas/LocaleString'
        orderNumberLabel:
          $ref: '#/components/schemas/LocaleString'
        headline:
          $ref: '#/components/schemas/LocaleString'
        quantityLabel:
          $ref: '#/components/schemas/LocaleString'
        articleIdLabel:
          $ref: '#/components/schemas/LocaleString'
        articleTitleLabel:
          $ref: '#/components/schemas/LocaleString'
        returnReasonLabel:
          $ref: '#/components/schemas/LocaleString'
        returnReasonExplanationHeadline:
          $ref: '#/components/schemas/LocaleString'
        returnReasonExplanation:
          $ref: '#/components/schemas/LocaleString'
        reasons:
          deprecated: true
          description: Deprecated - use ReturnConfiguration.availableReturnReasons instead
          items:
            $ref: '#/components/schemas/LocaleString'
          type: array
        disclaimerHeadline:
          $ref: '#/components/schemas/LocaleString'
        disclaimer:
          $ref: '#/components/schemas/LocaleString'
        displayPageLabel:
          type: boolean
          default: false
          description: Determines if the page label should be shown
        pageLabel:
          $ref: '#/components/schemas/LocaleString'
        substituteText:
          $ref: '#/components/schemas/LocaleString'
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - orderDateLabel
        - orderNumberLabel
        - headline
        - quantityLabel
        - articleIdLabel
        - articleTitleLabel
        - returnReasonLabel
        - disclaimerHeadline
        - disclaimer
        - pageLabel
        - version
      type: object
    ReturnPatchActions:
      description: >-
        You can choose from patch actions for the ReturnLineItems
        (ModifyReturnLineItemAction, action value: 'ModifyReturnLineItem') or
        the return itself (ModifyReturnAction, action value 'ModifyReturn').
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyReturnAction'
              - $ref: '#/components/schemas/ModifyReturnLineItemAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: ReturnPatchActions
    ReturnStatus:
      description: >-
        A return initially has the status INITIAL. As soon as one of the
        returnlines is returned partly or in full the state changes to CLAIMED.
        When the return option voids the state could change to CLOSED. Please
        note that this last step might depend on configuration values.
      enum:
        - INITIAL
        - IN_PROGRESS
        - CLAIMED
        - CLOSED
        - CANCELED
      type: string
      xml:
        name: ReturnItemStatus
    Returned:
      properties:
        reason:
          description: Reason of return.
          example: Zu klein
          type: string
        returnedAmount:
          description: Amount of item which is returned
          example: 5
          minimum: 0
          type: number
      required:
        - returnedAmount
      type: object
    ScopedCapabilities:
      properties:
        capabilities:
          items:
            $ref: '#/components/schemas/ScopedCapability'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ScopedCapability:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        currentUserPermissions:
          items:
            type: string
          type: array
        name:
          type: string
        status:
          $ref: '#/components/schemas/CapabilityStatus'
        configurations:
          items:
            anyOf:
              - $ref: '#/components/schemas/SubstitutionConfiguration'
              - $ref: '#/components/schemas/CarrierConfiguration'
              - $ref: '#/components/schemas/RerouteShortPickConfiguration'
              - $ref: '#/components/schemas/ReturnNoteConfiguration'
          type: array
      required:
        - name
        - status
      type: object
    ShipmentOrderBy:
      description: STATUS_TARGET_TIME_LAST_MODIFIED_DATE is depricated
      enum:
        - STATUS_TARGET_TIME_ORDER_DATE
    ShipmentWithSearchPath:
      allOf:
        - $ref: '#/components/schemas/Shipment'
        - properties:
            searchPaths:
              items:
                type: string
              type: array
              minItems: 0
          additionalProperties: false
          type: object
    Shipment:
      allOf:
        - $ref: '#/components/schemas/ShipmentForCreation'
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            anonymized:
              default: false
              description: Indicates if gdpr related data was anonymized
              example: false
              type: boolean
            hasActiveCarrier:
              default: true
              description: >-
                Indicates if there is an active carrier configuration to fulfill
                this shipment
              example: false
              type: boolean
            carrierKey:
              type: string
              example: DPD
            id:
              description: >-
                The id of this Shipment. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: 95EWrieX09OmeriXIUbb
              type: string
            lineItems:
              items:
                $ref: '#/components/schemas/ShipmentLineItem'
              type: array
            parcels:
              items:
                $ref: '#/components/schemas/StrippedParcel'
              type: array
            status:
              $ref: '#/components/schemas/ShipmentStatus'
          required:
            - id
            - status
            - hasActiveCarrier
          type: object
    ShipmentForCreation:
      additionalProperties: false
      properties:
        operativeProcessRef:
          type: string
        carrierLogoUrl:
          description: The URL to the carrier logo
          type: string
        carrierRef:
          description: The reference to the carrier for which the shipment is assigned to
          example: ca525716-7208-4a63-a2a6-11274eb37f67-0
          type: string
        carrierProduct:
          description: Desired product of given carrier to choose when ordering a label
          type: string
          example: EXPRESS
        carrierServices:
          type: array
          items:
            $ref: '#/components/schemas/CarrierServices'
        customAttributes:
          description: >-
            Attributes that can be added to the shipment. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        facilityRef:
          description: The reference to the facility which the shipment is assigned to.
          type: string
        lineItems:
          items:
            $ref: '#/components/schemas/ShipmentLineItemForCreation'
          type: array
        orderDate:
          description: The date this order was created at the supplying system.
          format: date-time
          type: string
        pickJobRef:
          description: The id of the facility reference.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        processId:
          description: >-
            Id of the global process related to this entity. For example used
            for starting the GDPR process and others.
          type: string
        shortId:
          description: The short identifier of the shipment.
          type: string
        sourceAddress:
          $ref: '#/components/schemas/FacilityAddress'
        targetAddress:
          $ref: '#/components/schemas/ConsumerAddress'
        invoiceAddress:
          $ref: '#/components/schemas/ConsumerAddress'
        postalAddress:
          $ref: '#/components/schemas/ConsumerAddress'
        targetTime:
          description: At which time the result is expected.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        tenantOrderId:
          description: Reference to the order in the tenant system.
          type: string
        targetTimeBaseDate:
          description: The start date for the targetTime calculation.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        paymentInformation:
          $ref: '#/components/schemas/PaymentInformation'
        tags:
          items:
            $ref: '#/components/schemas/TagReference'
          type: array
        transfers:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/OperativeTransfer'
      required:
        - facilityRef
        - targetTime
        - orderDate
      type: object
      xml:
        name: Shipment
    ShipmentLineItem:
      allOf:
        - $ref: '#/components/schemas/ShipmentLineItemForCreation'
        - properties:
            id:
              description: >-
                The id of this lineItem. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: climk4dcQFiPdA5ULuhS
              type: string
          required:
            - id
          type: object
    ShipmentLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
          type: object
      xml:
        name: PickLineItemArticle
    ShipmentLineItemForCreation:
      properties:
        article:
          $ref: '#/components/schemas/ShipmentLineItemArticle'
        customAttributes:
          description: >-
            Attributes that can be added to the orderline. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        quantity:
          description: quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 1
          type: integer
        tags:
          items:
            $ref: '#/components/schemas/TagReference'
          type: array
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
      required:
        - quantity
        - article
      type: object
    ShipmentPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyShipmentAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: ShipmentPatchActions
    ShipmentStatus:
      description: >-
        Every newly created shipment is in state INITIAL. When the parcel labels
        should be requested the state changes to REQUEST and as soon as all
        parcel labels are successfully requested the state changes to CONFIRMED.
        The state COMPLETED is set in the end or the process
      enum:
        - INITIAL
        - REQUEST
        - RETRYABLE
        - CONFIRMED
        - COMPLETED
        - CANCELED
        - OBSOLETE
      type: string
    Status:
      additionalProperties: false
      properties:
        status:
          description: The current state of the API
          enum:
            - UP
            - DEGRADED
            - DOWN
          type: string
      required:
        - status
      type: object
      xml:
        name: Status
    StockConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        stockModificationEnabled:
          default: true
          description: Indicates if manual stock modification is allowed
          example: true
          type: boolean
        id:
          type: string
      required:
        - stockModificationEnabled
      type: object
      xml:
        name: StockConfiguration
    StockConfigurationPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyRetainedOfflineStockAction'
              - $ref: '#/components/schemas/ModifyListingReactivationAfterAction'
              - $ref: '#/components/schemas/ModifyShortpickAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: FacilityPatchActions
    StockInformationForCreation:
      description: >-
        @deprecated This object is deprecated since 30th of November 2023. This
        object carries information about the current stock of this listing.
      deprecated: true
      properties:
        reserved:
          deprecated: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated This field is deprecated since 8th of February
            2023.

            Reserved can't be overridden by the API, because its internally now
            handled by open PickJobs (or other upcoming ways to reserve Stock)

            Any Value provided will be ignored upon arrival.
          example: 24
          minimum: 0
          multipleOf: 1
          type: number
        stock:
          description: >-
            This the amount of the given article that is in stock for the given
            facility
          example: 42
          minimum: 0
          multipleOf: 1
          type: number
      required:
        - stock
      type: object
    StockInformation:
      allOf:
        - $ref: '#/components/schemas/StockInformationForCreation'
        - properties:
            reserved:
              example: 24
              minimum: 0
              multipleOf: 1
              type: number
            available:
              description: The actual available amount for this stock
              example: 24
              minimum: 0
              multipleOf: 1
              type: number
      required:
        - available
      type: object
    StrippedCarrier:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            deliveryType:
              $ref: '#/components/schemas/CarrierDeliveryType'
            id:
              description: >-
                The id of this carrier. It is generated during creation
                automatically and suits as the primary identifier of the
                described carrier.
              example: climk4dcQFiPdA5ULuhS
              type: string
            key:
              type: string
            lifecycle:
              $ref: '#/components/schemas/CarrierLifecycle'
            name:
              description: >-
                This is the well known name for a supported CEP partner. Can be
                adapted to the clients needs.
              example: DHL Köln
              type: string
            status:
              $ref: '#/components/schemas/CarrierStatus'
          required:
            - id
            - name
            - key
          type: object
      xml:
        name: StrippedCarrier
    StrippedCarriers:
      properties:
        carriers:
          items:
            $ref: '#/components/schemas/StrippedCarrier'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    StrippedFacilities:
      properties:
        facilities:
          items:
            $ref: '#/components/schemas/StrippedFacility'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    StrippedFacility:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/Address'
        - properties:
            id:
              type: string
            name:
              description: name of the facility
              example: Köln store
              type: string
            status:
              $ref: '#/components/schemas/FacilityStatus'
            tenantFacilityId:
              description: The id of the facility in the tenants own system
              example: K12345
              type: string
          required:
            - id
            - status
          type: object
    StrippedHandoverjob:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            carrierRef:
              type: string
            channel:
              enum:
                - DELIVERY
                - COLLECT
              type: string
            facilityRef:
              description: The id of the facility reference.
              example: Esb20gpHBL94X5NdMp3C
              type: string
            id:
              description: >-
                The id of this handoverjob. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: 95EWrieX09OmeriXIUbb
              type: string
            loadUnitRefs:
              description: Reference to array of load unit Refs
              items:
                type: string
              type: array
            orderDate:
              description: The date this order was created at the supplying system.
              example: '2020-02-03T08:45:50.525Z'
              format: date-time
              type: string
            parcelRef:
              description: The reference to the parcel.
              example: 2fOge2ZGW54K4TgvDTQw
              type: string
            pickJobRef:
              description: >-
                The reference to the pickjob for which the handoverjob is
                assigned to
              example: ca525716-7208-4a63-a2a6-11274eb37f67-0
              type: string
            shipmentRef:
              description: The reference to the shipment belonging to the handoverjob
              example: Esb20gpHBL94X5NdMp3C
              type: string
            status:
              $ref: '#/components/schemas/HandoverjobStatus'
            tenantOrderId:
              description: >-
                Field can be used as a reference number in foreign systems, for
                example as a reference to the source system's identifier for
                this order.
              example: R456728546
              type: string
            searchPaths:
              description: This is the search term that was used to find the handover job
              example: R456728546
              type: array
              items:
                type: string
              minItems: 0
          required:
            - id
            - status
            - facilityRef
            - channel
          type: object
    StrippedHandoverjobs:
      properties:
        handoverjobs:
          items:
            $ref: '#/components/schemas/StrippedHandoverjob'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    StrippedListing:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            id:
              example: fsfdsf87fsd
              type: string
            status:
              enum:
                - ACTIVE
                - INACTIVE
              type: string
            tenantArticleId:
              description: This is a reference to an article Id
              example: '4711'
              type: string
          required:
            - status
            - facilityId
            - id
            - tenantArticleId
          type: object
    StrippedListings:
      properties:
        listings:
          items:
            $ref: '#/components/schemas/StrippedListing'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ListingBulkOperationResult:
      type: object
      properties:
        listing:
          $ref: '#/components/schemas/Listing'
        status:
          $ref: '#/components/schemas/BulkOperationResultStatus'
      required:
        - listing
        - status
    BulkOperationResultStatus:
      type: string
      enum:
        - UPDATED
        - CREATED
        - FAILED
    StrippedParcel:
      properties:
        carrierRef:
          description: The reference to the carrier for which the parcel is assigned to
          example: ca525716-7208-4a63-a2a6-11274eb37f67-0
          type: string
        parcelRef:
          example: 15EZrieW09OmeriXIUbc
          type: string
        status:
          $ref: '#/components/schemas/ParcelStatus'
        carrierTrackingNumber:
          example: '84168117830018'
          type: string
      required:
        - parcelRef
        - carrierRef
        - status
      type: object
    StrippedParcels:
      properties:
        parcels:
          items:
            $ref: '#/components/schemas/StrippedParcel'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    StrippedPickJob:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            searchPaths:
              items:
                type: string
              type: array
              minItems: 0
            carrierKey:
              type: string
              example: DPD
            facilityRef:
              description: >-
                The id of the facility reference. The given ID has to be present
                in the system.
              example: Esb20gpHBL94X5NdMp3C
              type: string
            id:
              type: string
            orderRef:
              description: >-
                The id of the order that lead to the creation of this pickjob.
                Can be empty / not present when the pickjob was created without
                having an order.
              example: LGMl2DuvPnfPoSHhYFOm
              type: string
            targetTime:
              description: At which time the result is expected.
              example: '2020-02-03T09:45:51.525Z'
              format: date-time
              type: string
            status:
              $ref: '#/components/schemas/PickJobStatus'
          required:
            - id
            - status
            - created
            - lastModified
            - version
          type: object
    StrippedPickJobs:
      properties:
        pickjobs:
          items:
            $ref: '#/components/schemas/StrippedPickJob'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    PickRunForCreation:
      properties:
        pickJobRefs:
          items:
            type: string
          type: array
          minItems: 1
        status:
          $ref: '#/components/schemas/PickRunStatus'
        facilityRef:
          type: string
        pickRunType:
          $ref: '#/components/schemas/PickRunType'
      required:
        - pickJobRefs
        - facilityRef
      type: object
    PickRun:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            pickLineItems:
              items:
                $ref: '#/components/schemas/PickLineItem'
              type: array
            pickJobRefs:
              items:
                type: string
              type: array
            facilityRef:
              type: string
            status:
              $ref: '#/components/schemas/PickRunStatus'
            id:
              type: string
            editor:
              $ref: '#/components/schemas/Editor'
            pickRunType:
              $ref: '#/components/schemas/PickRunType'
      required:
        - pickLineItems
        - pickJobRefs
        - facilityRef
        - status
        - id
      type: object
    StrippedShipments:
      properties:
        shipments:
          items:
            $ref: '#/components/schemas/ShipmentWithSearchPath'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    StrippedUsers:
      properties:
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
        users:
          items:
            $ref: '#/components/schemas/User'
          type: array
      type: object
    Subscription:
      allOf:
        - $ref: '#/components/schemas/SubscriptionForCreation'
      properties:
        created:
          description: >-
            The date this subscription was created at the platform. This value
            is generated by the service.
          example: '2020-02-03T08:45:51.525Z'
          format: date-time
          type: string
        id:
          type: string
      required:
        - id
        - created
      type: object
    SubscriptionForCreation:
      properties:
        callbackUrl:
          type: string
        event:
          type: string
        headers:
          items:
            $ref: '#/components/schemas/CallbackHeader'
          minItems: 1
          type: array
        name:
          type: string
      required:
        - name
        - event
        - callbackUrl
        - headers
      type: object
    Subscriptions:
      properties:
        subscriptions:
          items:
            $ref: '#/components/schemas/Subscription'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    Substitute:
      properties:
        attributes:
          items:
            $ref: '#/components/schemas/SubstituteAttributeItem'
          type: array
        imageUrl:
          type: string
        priority:
          description: >-
            This field allows you to rank substitutes against each other. The
            lowest number is the most preferrable substitute.
          minimum: 0
          type: number
        scannableCodes:
          items:
            description: Strings, that identify the substitute article
            type: string
          type: array
        tenantArticleId:
          type: string
        title:
          type: string
      required:
        - title
        - tenantArticleId
      type: object
      xml:
        name: Substitute
    SubstituteAttributeItem:
      allOf:
        - $ref: '#/components/schemas/ArticleAttributeItem'
    SubstituteLineItem:
      properties:
        article:
          $ref: '#/components/schemas/SubstituteLineItemArticle'
        priority:
          description: >-
            This field allows you to rank substitutes against each other. The
            lowest number is the most preferrable substitute.
          minimum: 0
          type: number
        pickedAt:
          description: Date when the line has been picked.
          example: '2024-02-03T08:45:51.525Z'
          format: date-time
          type: string
        quantity:
          description: >-
            quantity of the specific article that has been picked to substitute
            the ordered line item
          example: 21
          format: int64
          minimum: 1
          type: integer
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
        partialStockLocations:
          items:
            $ref: '#/components/schemas/SubstituteLineItemPartialStockLocation'
      required:
        - quantity
        - article
      type: object
    SubstituteLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
          type: object
      xml:
        name: SubstituteLineItemArticle
    SubstituteLineItemForCreation:
      properties:
        quantity:
          description: >-
            quantity of the specific article that has been picked to substitute
            the ordered line item
          example: 21
          format: int64
          minimum: 1
          type: integer
        tenantArticleId:
          description: TenantArticleId of the substitute article
          type: string
        pickedAt:
          description: Date when the line has been picked.
          example: '2024-02-03T08:45:51.525Z'
          format: date-time
          type: string
      required:
        - quantity
        - tenantArticleId
      type: object
    Substitutes:
      allOf:
        - $ref: '#/components/schemas/Entity'
        - $ref: '#/components/schemas/SubstitutesForUpsert'
      required:
        - tenantArticleId
        - substitutes
      type: object
      xml:
        name: Substitutes
    SubstitutesForUpsert:
      properties:
        substitutes:
          items:
            $ref: '#/components/schemas/Substitute'
          type: array
        tenantArticleId:
          type: string
        version:
          description: >-
            Version field is used in the optimistic locking process. If the
            Substitute is for the tenantArticleId is not set yet, this field is
            ignored.
          example: 1
          type: number
      required:
        - substitutes
        - version
        - tenantArticleId
      type: object
      xml:
        name: SubstitutesForUpsert
    ResolvedSubstitutes:
      properties:
        substitutes:
          items:
            $ref: '#/components/schemas/Substitute'
          type: array
        tenantArticleId:
          type: string
      required:
        - substitutes
        - tenantArticleId
      type: object
      xml:
        name: ResolvedSubstitutes
    PackingConfigurations:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        packingContainerRequiredConfiguration:
          $ref: '#/components/schemas/PackingContainerRequiredConfiguration'
        packingItemConfirmationNeededConfiguration:
          $ref: '#/components/schemas/PackingItemConfirmationNeededConfiguration'
        packingSourceContainerConfiguration:
          $ref: '#/components/schemas/PackingSourceContainerConfiguration'
        scanningConfiguration:
          $ref: '#/components/schemas/PackingScanningConfiguration'
      type: object
    PackingSourceContainerConfiguration:
      description: Can this tenant use the packing source container
      properties:
        active:
          default: false
          type: boolean
      required:
        - active
      type: object
    PackingScanningConfiguration:
      properties:
        scanningType:
          $ref: '#/components/schemas/PackingScanningConfigurationEnum'
      type: object
    ScanningRuleConfiguration:
      description: >-
        Configuration to show the client how the items should be scanned during
        picking
      properties:
        values:
          items:
            $ref: '#/components/schemas/ScanningRuleValue'
          type: array
    ScanningRuleValue:
      properties:
        priority:
          description: >-
            This field allows you to rank scanningRuleType against each other.
            The lowest number is the most preferable.
          minimum: 0
          type: number
        scanningRuleType:
          $ref: '#/components/schemas/ScanningRuleTypeEnum'
      required:
        - priority
        - scanningRuleType
    ScanningRuleTypeEnum:
      example: ARTICLE
      description: Type of scanning rule
      enum:
        - ARTICLE
        - LOCATION
      type: string
    StockPropertyInputType:
      example: DATE
      description: Input Type for this property, used for clients.
      enum:
        - DATE
        - TEXT
      type: string
    PackingScanningConfigurationEnum:
      enum:
        - MUST_SCAN_EACH
        - SCAN_NOT_REQUIRED
      type: string
    PickingMethodEnum:
      example: SINGLE_ORDER
      description: >-
        Way in which the picking should be handled Deprecated: BATCH_PICKING,
        use BATCH instead
      enum:
        - SINGLE_ORDER
        - MULTI_ORDER
        - BATCH_PICKING
        - BATCH
      type: string
    PackingContainerRequiredConfiguration:
      additionalProperties: false
      properties:
        active:
          type: boolean
          default: false
      required:
        - active
      type: object
    PackingItemConfirmationNeededConfiguration:
      description: Do the customer need to validate which items are part of a pack job
      additionalProperties: false
      properties:
        active:
          type: boolean
          default: true
      required:
        - active
      type: object
    SubstitutionConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        active:
          default: true
          description: Toggle for substitution articles.
          example: false
          type: boolean
      required:
        - active
      type: object
    SupportedEvent:
      properties:
        description:
          type: string
        event:
          type: string
      type: object
    SupportedEvents:
      properties:
        supportedEvents:
          items:
            $ref: '#/components/schemas/SupportedEvent'
          type: array
      type: object
    SupportedLocale:
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />ISO 3166 conform country code and ISO 639-1 conform language code (de_DE, en_US, ch_FR, etc.)
      enum:
        - de_DE
        - en_US
        - pl_PL
        - ru_RU
        - nl_NL
        - fr_FR
        - it_IT
        - nb_NO
        - es_ES
      example: de_DE
      type: string
    SupportedLocales:
      items:
        $ref: '#/components/schemas/SupportedLocale'
      type: array
    TargetAddress:
      allOf:
        - $ref: '#/components/schemas/ConsumerAddress'
        - properties:
            facilityRef:
              description: >-
                The id of the facility reference. The given ID has to be present
                in the system.
              example: Esb20gpHBL94X5NdMp3C
              type: string
          type: object
      type: object
    TimeRange:
      properties:
        end:
          $ref: '#/components/schemas/TimeStamp'
        start:
          $ref: '#/components/schemas/TimeStamp'
        capacity:
          type: number
          minimum: 0
      required:
        - start
        - end
      type: object
    TimeStamp:
      properties:
        hour:
          maximum: 23
          minimum: 0
          type: number
        minute:
          maximum: 59
          minimum: 0
          type: number
      required:
        - hour
        - minute
      type: object
    TimeZone:
      description: Timezone for information retrieved e.g. by the Google Maps API
      properties:
        offsetInSeconds:
          description: offset in seconds to standard time
          example: 28800
          type: number
        timeZoneId:
          description: official id of the timezone
          example: America/Los_Angeles
          type: string
        timeZoneName:
          description: descriptive name of the timezone
          example: Pacific Standard Time
          type: string
      required:
        - timeZoneId
        - timeZoneName
        - offsetInSeconds
      type: object
    TrackingStatus:
      description: The state of the KEP
      enum:
        - registered
        - picked_up
        - delivered
        - not_delivered
        - transit
        - exception
        - out_for_delivery
        - destroyed
        - unknown
        - canceled
        - awaits_pickup_by_receiver
        - delayed
        - notification
      type: string
    PickRunStatus:
      description: The state of the PickRun
      enum:
        - OPEN
        - IN_PROGRESS
        - CLOSED
        - CANCELED
      type: string
    UserAssignedZone:
      description: A facility zone that was assigned to an user
      properties:
        zoneRef:
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
      required:
        - zoneRef
      type: object
    UserAssignedFacilityForCreation:
      description: A facility that was assigned to an user
      properties:
        facilityRef:
          description: The id of the assigned facility
          example: 0T1vKaEar0nuG58CxzA5
          type: string
        assignedZones:
          items:
            $ref: '#/components/schemas/UserAssignedZone'
          type: array
      required:
        - facilityRef
      type: object
    UserAssignedFacility:
      description: A facility that was assigned to an user
      allOf:
        - $ref: '#/components/schemas/UserAssignedFacilityForCreation'
        - properties:
            id:
              example: LGMl2DuvPnfPoSHhYFOm
              type: string
      required:
        - id
      type: object
    User:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            customClaims:
              $ref: '#/components/schemas/CustomClaims'
            firstname:
              example: Alex
              type: string
            id:
              example: LGMl2DuvPnfPoSHhYFOm
              type: string
            lastname:
              example: Schneider
              type: string
            locale:
              $ref: '#/components/schemas/SupportedLocale'
            username:
              example: aschneider
              type: string
            authenticationProviderType:
              deprecated: true
              enum:
                - EMAIL_PASSWORD
                - OIDC
              type: string
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
                <br /> <i>This endpoint is deprecated and has been
                replaced.</i><br /><br />@deprecated use authenticationProvider
                instead.
            authenticationProvider:
              $ref: '#/components/schemas/AuthenticationProvider'
            assignedFacilities:
              items:
                $ref: '#/components/schemas/UserAssignedFacility'
              type: array
            customAttributes:
              nullable: true
              description: >-
                Attributes that can be added to the user. These attributes
                **cannot** be used within fulfillment processes, but enable you
                to attach custom data from your systems to fulfillmenttools
                entities.
              type: object
          required:
            - id
            - username
            - firstname
            - lastname
            - locale
            - authenticationProvider
          type: object
      xml:
        name: User
    AuthenticationProviderType:
      enum:
        - EMAIL_PASSWORD
        - OIDC
      type: string
    AuthenticationProvider:
      properties:
        type:
          $ref: '#/components/schemas/AuthenticationProviderType'
        id:
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
      required:
        - type
      type: object
      xml:
        name: AuthenticationProvider
    UserForCreation:
      properties:
        firstname:
          example: Alex
          type: string
        lastname:
          example: Schneider
          type: string
        locale:
          $ref: '#/components/schemas/SupportedLocale'
        password:
          example: Ghg9u8X7ms8A8tLT
          type: string
        roles:
          $ref: '#/components/schemas/UserRoles'
        username:
          example: aschneider
          type: string
        assignedFacilities:
          items:
            $ref: '#/components/schemas/UserAssignedFacilityForCreation'
          type: array
        customAttributes:
          nullable: true
          description: >-
            Attributes that can be added to the user. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
          type: object
      required:
        - username
        - password
        - firstname
        - lastname
        - roles
      type: object
      xml:
        name: UserForCreation
    UserPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyUserAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: UserPatchActions
    UserRole:
      properties:
        facilities:
          default: []
          description: List of facility Ids that the user is assigned to
          example:
            - 0T1vKaEar0nuG58CxzA5
          items:
            type: string
          maxItems: 23
          minItems: 0
          type: array
        name:
          $ref: '#/components/schemas/UserRoleNames'
      required:
        - name
      type: object
    UserRoleNames:
      enum:
        - FULFILLER
        - SUPERVISOR
        - ADMINISTRATOR
      type: string
    UserRoles:
      description: 'roles of a user '
      items:
        $ref: '#/components/schemas/UserRole'
      maxItems: 1
      minItems: 1
      type: array
    VersionedResource:
      properties:
        created:
          description: >-
            The date this entity was created at the platform. This value is
            generated by the service.
          example: '2020-02-03T08:45:51.525Z'
          format: date-time
          type: string
        lastModified:
          description: >-
            The date this entity was modified last. This value is generated by
            the service.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
      type: object
    CustomAttributesResource:
      type: object
      properties:
        customAttributes:
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
          type: object
    CustomAttributableVersionedResource:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/CustomAttributesResource'
      type: object
    PickJobOrderBy:
      description: Attribute to order a pickJobs by
      enum:
        - TARGET_TIME_DESC
        - TARGET_TIME_ASC
        - LAST_MODIFIED_DESC
        - LAST_MODIFIED_ASC
        - ORDER_DATE_DESC
        - ORDER_DATE_ASC
        - LAST_MODIFIED_BY_USER_DESC
        - LAST_MODIFIED_BY_USER_ASC
      type: string
      xml:
        name: PickJobOrderBy
    PackJobOrderBy:
      description: Attribute to order a packJobs by
      enum:
        - TARGET_TIME_DESC
        - TARGET_TIME_ASC
        - LAST_MODIFIED_DESC
        - LAST_MODIFIED_ASC
        - ORDER_DATE_DESC
        - ORDER_DATE_ASC
      type: string
      xml:
        name: PackJobOrderBy
    FacilityOrderBy:
      description: Attribute to order a facility list
      enum:
        - NAME
        - CREATED
        - POSTAL_CODE_ASC
      type: string
      xml:
        name: FacilityOrderBy
    UserOrderBy:
      description: Attribute to order a user list
      enum:
        - LASTNAME
      type: string
      xml:
        name: UserOrderBy
    CarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          type: string
        carrierRef:
          type: string
        returnLabel:
          default: false
          description: >-
            When enabled, a return label will be created by creating a shipping
            label
          example: false
          type: boolean
        additionalWeightInPercent:
          description: >-
            It is an amount of percentage for packaging weight which will be
            added to the calculated shipping weight
          type: number
          minimum: 0
        mustBeWeighed:
          description: >-
            Indicates if the content of a parcel must be weighed before ordering
            a label
          type: boolean
          default: false
          example: false
        fallBackTrackAndTraceEmail:
          description: >-
            EmailAddress used to receive track and trace information when no
            other emailaddress was provided
          type: string
          example: max@speedyboxales.com
          format: email
          minLength: 1
        nonDeliveryDaysPerCountryAndProvince:
          type: array
          items:
            $ref: '#/components/schemas/NonDeliveryDaysPerCountryAndProvince'
        countryServiceMappings:
          items:
            $ref: '#/components/schemas/CarrierCountryServiceMapping'
          type: array
        serviceUrl:
          type: string
      required:
        - returnLabel
        - carrierRef
      type: object
    DeliveryCost:
      type: object
      additionalProperties: false
      properties:
        cost:
          type: number
          example: 10.99
          description: The cost of sending with a carrier
        currency:
          type: string
          example: EUR
          description: currency as 3 letter iso code
          pattern: ^[A-Z]{3}$
      required:
        - cost
        - currency
    CarrierCountryServiceMapping:
      type: object
      additionalProperties: false
      properties:
        id:
          description: unique identifier for a countryServiceMapping
          example: bc5b581a-8f65-45b0-9f81-6e0d4babbcb2
          type: string
        source:
          $ref: '#/components/schemas/RegionInformation'
        destinations:
          description: The destination regions this mapping should be applied to.
          items:
            $ref: '#/components/schemas/RegionInformation'
          minItems: 1
          type: array
        sourceCountry:
          deprecated: true
          type: string
          minLength: 2
          maxLength: 2
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated Use source instead.
          example: DE
        destinationCountries:
          deprecated: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated Use destination instead.
          items:
            $ref: '#/components/schemas/CountryCode'
          minItems: 1
          type: array
        mandatoryShippingAttributes:
          items:
            $ref: '#/components/schemas/MandatoryShippingAttribute'
          type: array
          minItems: 0
        mandatoryShippingItemAttributes:
          items:
            $ref: '#/components/schemas/MandatoryShippingItemAttribute'
          type: array
          minItems: 0
        product:
          type: string
          example: EXPRESS
        carrierProductCategory:
          $ref: '#/components/schemas/CarrierProductCategory'
        transitTime:
          $ref: '#/components/schemas/CarrierTransitTime'
        deliveryCosts:
          items:
            $ref: '#/components/schemas/DeliveryCost'
          type: array
          maxItems: 1
      required:
        - id
        - source
        - destinations
    CarrierCountryServiceMappingForCreation:
      type: object
      additionalProperties: false
      properties:
        carrierConfigurationVersion:
          description: >-
            The version of the carrier configuration to be used in optimistic
            locking mechanisms.
          example: 42
          format: int64
          type: integer
        source:
          $ref: '#/components/schemas/RegionInformation'
        destinations:
          description: The destination regions this mapping should be applied to.
          items:
            $ref: '#/components/schemas/RegionInformation'
          minItems: 1
          type: array
        sourceCountry:
          deprecated: true
          type: string
          minLength: 2
          maxLength: 2
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated Use source instead.
          example: DE
        destinationCountries:
          deprecated: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated Use destination instead.
          items:
            $ref: '#/components/schemas/CountryCode'
          minItems: 1
          type: array
        mandatoryShippingAttributes:
          items:
            $ref: '#/components/schemas/MandatoryShippingAttribute'
          type: array
          minItems: 0
        mandatoryShippingItemAttributes:
          items:
            $ref: '#/components/schemas/MandatoryShippingItemAttribute'
          type: array
          minItems: 0
        product:
          type: string
          example: EXPRESS
        carrierProductCategory:
          $ref: '#/components/schemas/CarrierProductCategory'
        transitTime:
          $ref: '#/components/schemas/CarrierTransitTime'
        deliveryCosts:
          items:
            $ref: '#/components/schemas/DeliveryCost'
          type: array
          minItems: 1
          maxItems: 1
      required:
        - carrierConfigurationVersion
        - source
        - destinations
    CarrierCountryServiceMappingForUpdate:
      type: object
      additionalProperties: false
      properties:
        carrierConfigurationVersion:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
        source:
          $ref: '#/components/schemas/RegionInformation'
        destinations:
          description: The destination regions this mapping should be applied to.
          items:
            $ref: '#/components/schemas/RegionInformation'
          minItems: 1
          type: array
        sourceCountry:
          deprecated: true
          type: string
          minLength: 2
          maxLength: 2
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated Use source instead.
          example: DE
        destinationCountries:
          deprecated: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated Use destination instead.
          items:
            $ref: '#/components/schemas/CountryCode'
          minItems: 1
          type: array
        mandatoryShippingAttributes:
          items:
            $ref: '#/components/schemas/MandatoryShippingAttribute'
          type: array
          minItems: 0
        mandatoryShippingItemAttributes:
          items:
            $ref: '#/components/schemas/MandatoryShippingItemAttribute'
          type: array
          minItems: 0
        product:
          type: string
          example: EXPRESS
        carrierProductCategory:
          $ref: '#/components/schemas/CarrierProductCategory'
        transitTime:
          $ref: '#/components/schemas/CarrierTransitTime'
        deliveryCosts:
          items:
            $ref: '#/components/schemas/DeliveryCost'
          type: array
          minItems: 1
          maxItems: 1
      required:
        - carrierConfigurationVersion
    CarrierProductCategory:
      type: string
      enum:
        - STANDARD
        - EXPRESS
        - VALUE
        - FORWARDING
    CarrierTransitTime:
      type: object
      properties:
        minTransitDays:
          description: Minimum days a carrier needs for transit
          example: 1
          type: integer
          minimum: 0
        maxTransitDays:
          description: Maximum days a carrier needs for transit
          example: 3
          type: integer
          minimum: 0
      required:
        - maxTransitDays
        - minTransitDays
    MandatoryShippingItemAttribute:
      properties:
        referencedField:
          type: string
          enum:
            - description
            - weightInGram
            - quantity
            - parcelItemValue.value
            - parcelItemValue.currency
            - countryOfManufacture
            - tenantArticleId
          description: 'Deprecated: quantity, this field is now mandatory in the item'
        dataType:
          type: string
          enum:
            - Number
            - String
            - Date
        description:
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
      type: object
    MandatoryShippingAttribute:
      properties:
        referencedField:
          type: string
          enum:
            - dimensions.weight
            - productValue
            - pickUpInformation.startTime
            - pickUpInformation.endTime
        dataType:
          type: string
          enum:
            - Number
            - String
            - Date
        description:
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
      type: object
    RegionInformation:
      type: object
      properties:
        countryCode:
          $ref: '#/components/schemas/CountryCode'
        postalCodes:
          type: array
          items:
            type: string
      required:
        - countryCode
    CountryCode:
      type: string
      minLength: 2
      maxLength: 2
      description: ISO 3166 ALPHA-2 of country
      example: DE
    PackJobForCreation:
      properties:
        customAttributes:
          description: >-
            Attributes that can be added to the pack job. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        facilityRef:
          description: Reference to the facility you want to get the corresponding packjob
          example: Esb50gpH7794X5NdMp3C
          type: string
        pickJobRef:
          description: Reference to a pick job
          example: Pic50gpH7794X5NdMp3C
          type: string
        status:
          $ref: '#/components/schemas/PackJobStatus'
        lineItems:
          items:
            $ref: '#/components/schemas/PackLineItemForCreation'
          type: array
        processId:
          description: >-
            Id of the global process related to this entity. For example used
            for starting the GDPR process and others.
          type: string
        operativeProcessRef:
          type: string
        tenantOrderId:
          type: string
        targetTime:
          description: Until when the pack job must be finished.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        orderDate:
          description: Date when the order was placed.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        tags:
          description: >-
            Tags can only be set when there is no process related with this
            packJob. Setting processId and tags will lead to an validationError.
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        recipient:
          $ref: '#/components/schemas/ConsumerAddress'
        invoice:
          $ref: '#/components/schemas/ConsumerAddress'
        deliveryChannel:
          enum:
            - COLLECT
            - SHIPPING
          type: string
        shortId:
          description: The short identifier of the shipment.
          type: string
        transfers:
          type: array
          minItems: 0
          items:
            $ref: '#/components/schemas/OperativeTransfer'
      required:
        - facilityRef
        - lineItems
      type: object
      xml:
        name: PackJobForCreation
    DocumentHandling:
      type: object
      properties:
        sendLabel:
          type: object
          properties:
            enabled:
              type: boolean
              default: false
          required:
            - enabled
      required:
        - sendLabel
    PackJob:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            id:
              description: >-
                The id of this pack job. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: Esb20gpHBL94X5NdMp3C
              type: string
            editor:
              $ref: '#/components/schemas/Editor'
            facilityRef:
              description: >-
                Reference to the facility you want to get the corresponding
                packjob
              example: Esb50gpH7794X5NdMp3C
              type: string
            pickJobRef:
              description: Reference to a pick job
              example: Pic50gpH7794X5NdMp3C
              type: string
            status:
              $ref: '#/components/schemas/PackJobStatus'
            lineItems:
              items:
                $ref: '#/components/schemas/PackLineItem'
              type: array
            packingSourceContainers:
              items:
                $ref: '#/components/schemas/StrippedPackingSourceContainer'
            processId:
              description: >-
                Id of the global process related to this entity. For example
                used for starting the GDPR process and others.
              type: string
            operativeProcessRef:
              type: string
            targetTime:
              description: Until when the pack job must be finished.
              example: '2020-02-03T09:45:51.525Z'
              format: date-time
              type: string
            orderDate:
              description: Date when the order was placed.
              example: '2020-02-03T09:45:51.525Z'
              format: date-time
              type: string
            tags:
              type: array
              minItems: 1
              items:
                $ref: '#/components/schemas/TagReference'
            stickers:
              items:
                $ref: '#/components/schemas/Sticker'
              type: array
            recipient:
              $ref: '#/components/schemas/ConsumerAddress'
            invoice:
              $ref: '#/components/schemas/ConsumerAddress'
            tenantOrderId:
              type: string
            documentsRef:
              description: Reference to the documents collection from this entity
              type: string
            documentHandling:
              $ref: '#/components/schemas/DocumentHandling'
            anonymized:
              description: Indicates if gdpr related data was anonymized
              example: false
              type: boolean
            deliveryChannel:
              enum:
                - COLLECT
                - SHIPPING
              type: string
            customAttributes:
              description: >-
                Attributes that can be added to the pack job. These attributes
                cannot be used within fulfillment processes, but it could be
                useful to have the informations carried here.
              type: object
            shortId:
              description: The short identifier of the shipment.
              type: string
            transfers:
              type: array
              minItems: 0
              items:
                $ref: '#/components/schemas/OperativeTransfer'
          required:
            - id
            - facilityRef
            - documentsRef
            - status
            - lineItems
            - processId
          type: object
          xml:
            name: PackJob
    TagReference:
      required:
        - value
        - id
      properties:
        value:
          type: string
        id:
          type: string
    PackJobStatus:
      description: >-
        A pack job initially has the status OPEN and packing can start. When
        packing has started, the pack job changes its status to IN_PROGRESS.
        After a pack job has been completely packed its status becomes CLOSED.
      enum:
        - OPEN
        - IN_PROGRESS
        - CLOSED
        - OBSOLETE
        - CANCELED
        - PAUSED
      type: string
      xml:
        name: PackJobStatus
    TagPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/AddAllowedValueToTagAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: TagPatchActions
    AddAllowedValueToTagAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'AddAllowedValueToTag', because you want to add an
                allowed value to a tag
              enum:
                - AddAllowedValueToTag
              type: string
            allowedValue:
              type: string
          required:
            - action
            - allowedValue
          type: object
      xml:
        name: AddAllowedValueToTagAction
    PackLineItemForCreation:
      properties:
        article:
          $ref: '#/components/schemas/PackLineItemArticle'
        customAttributes:
          description: >-
            Attributes that can be added to the pack line. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the information carried here.
          type: object
        quantity:
          description: quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 1
          type: integer
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        tags:
          items:
            $ref: '#/components/schemas/TagReference'
          type: array
        stickers:
          items:
            $ref: '#/components/schemas/Sticker'
          type: array
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
      required:
        - quantity
        - article
      type: object
      xml:
        name: PackLineItemForCreation
    PackLineItem:
      allOf:
        - $ref: '#/components/schemas/PackLineItemForCreation'
        - properties:
            id:
              description: >-
                The id of this lineItem. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: climk4dcQFiPdA5ULuhS
              type: string
            packed:
              description: The amount of articles that were packed for this packline.
              example: 20
              format: int32
              minimum: 0
              type: integer
          required:
            - id
      type: object
      xml:
        name: PackLineItem
    PackLineItemForUpdate:
      properties:
        id:
          type: string
          description: references the id of the packLineItem of a packJob
        packed:
          description: >-
            The amount of articles that were packed for this packline. Can't be
            more than picked before.
          example: 20
          format: int64
          minimum: 0
          type: integer
      required:
        - id
        - packed
      type: object
      xml:
        name: PackLineItemForUpdate
    PackLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
          type: object
      xml:
        name: PackLineItemArticle
    PackJobWithSearchPath:
      allOf:
        - $ref: '#/components/schemas/PackJob'
        - additionalProperties: false
      properties:
        searchPaths:
          items:
            type: string
          type: array
          minItems: 0
      xml:
        name: PackJobWithPath
    PackJobs:
      properties:
        packJobs:
          items:
            $ref: '#/components/schemas/PackJobWithSearchPath'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    PackJobPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyPackJobAction'
              - $ref: '#/components/schemas/ModifyPackLineItemAction'
              - $ref: '#/components/schemas/PausePackJobAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: PackJobPatchActions
    ModifyPackJobAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'ModifyPackJob', because you want to modify a packjob
              enum:
                - ModifyPackJob
              type: string
            status:
              $ref: '#/components/schemas/PackJobStatus'
          required:
            - action
          type: object
      xml:
        name: ModifyPackJobAction
    PausePackJobAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value 'PausePackJob', because you want to pause a packjob
              enum:
                - PausePackJob
              type: string
            packLineItemsUpdate:
              items:
                $ref: '#/components/schemas/PackLineItemForUpdate'
              type: array
          required:
            - action
          type: object
      xml:
        name: PausePackJobAction
    ModifyPackLineItemAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyPackLineItem', because you want to modify a
                packjobs lineItem
              enum:
                - ModifyPackLineItem
              type: string
            id:
              type: string
              description: references the id of the packLineItem of a packJob
            packed:
              description: >-
                The amount of articles that were packed for this packline. Can't
                be more than picked before.
              example: 20
              format: int64
              minimum: 0
              type: integer
          required:
            - action
            - id
          type: object
      xml:
        name: ModifyPackLieItemAction
    PartialStockForCreation:
      additionalProperties: false
      properties:
        tenantPartialStockId:
          description: The id associated with the partial stock
          type: string
        stockinformation:
          $ref: '#/components/schemas/StockInformationForCreation'
        scores:
          type: array
          items:
            $ref: '#/components/schemas/Score'
        location:
          $ref: '#/components/schemas/Location'
      required:
        - tenantPartialStockId
        - stockinformation
      type: object
      xml:
        name: PartialStock
    PartialStock:
      allOf:
        - $ref: '#/components/schemas/PartialStockForCreation'
      properties:
        eventLastModified:
          description: >-
            The date when the inventory domain comunicated a change in this
            partial stock
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        stockinformation:
          $ref: '#/components/schemas/StockInformation'
      required:
        - tenantPartialStockId
        - stockinformation
      type: object
      xml:
        name: PartialStock
    Location:
      properties:
        locationRef:
          description: The id of the location
          type: string
        scannableCodes:
          description: Represents barcodes that may be scanned at this location
          type: array
          items:
            type: string
      xml:
        name: Location
    ScoreType:
      description: Describes what kind of score is represented
      enum:
        - RATING
        - SEQUENCE
      type: string
      xml:
        name: ScoreType
    ScoreName:
      description: Describes the name of the score for humans to identify
      enum:
        - ZONE
        - EXPIRY_DATE
        - RECEIPT_DATE
        - RUNNING_SEQUENCE
        - RESTOW_SEQUENCE
      type: string
      xml:
        name: ScoreName
    Score:
      properties:
        scoreType:
          $ref: '#/components/schemas/ScoreType'
        scoreName:
          $ref: '#/components/schemas/ScoreName'
        scoreValue:
          description: Describes the performance of the score
          type: number
      required:
        - scoreType
        - scoreName
        - scoreValue
      type: object
      xml:
        name: Score
    ModifyPartialStockAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyPartialStock', because you want to modify a
                partial stock
              enum:
                - ModifyPartialStock
              type: string
            partialStocks:
              items:
                $ref: '#/components/schemas/PartialStockForCreation'
              minItems: 0
              type: array
          required:
            - action
          type: object
      xml:
        name: ModifyPartialStockAction
    PartialStockPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyPartialStockAction'
          minItems: 1
          maxItems: 1
          type: array
        version:
          description: >-
            The version of the listing where we want to patch the partialStocks,
            to be used in optimistic locking mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: PartialStockPatchActions
    PartialStocksForReplacement:
      additionalProperties: false
      properties:
        partialStocks:
          items:
            $ref: '#/components/schemas/PartialStockForCreation'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the listing where we want to put the partialStocks,
            to be used in optimistic locking mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - partialStocks
        - version
      type: object
      xml:
        name: PartialStocksForReplacement
    Tag:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/TagForCreation'
      properties:
        id:
          type: string
      xml:
        name: Tag
      required:
        - id
    TagForCreation:
      additionalProperties: false
      required:
        - id
        - allowedValues
      properties:
        id:
          type: string
        allowedValues:
          type: array
          minItems: 1
          items:
            type: string
    StrippedTags:
      properties:
        tags:
          items:
            $ref: '#/components/schemas/Tag'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ProcessPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/AddTagsToProcessAction'
              - $ref: '#/components/schemas/AssignFacilityToProcessAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: ProcessPatchActions
    AddTagsToProcessAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'AddTagsToProcess', because you want to modify a
                process
              enum:
                - AddTagsToProcess
              type: string
            tags:
              type: array
              minItems: 1
              items:
                $ref: '#/components/schemas/TagReference'
          required:
            - action
          type: object
      xml:
        name: AddTagsToProcessAction
    PrintableDocument:
      type: object
      properties:
        id:
          type: string
        documentType:
          $ref: '#/components/schemas/DocumentType'
        documentCategory:
          $ref: '#/components/schemas/DocumentCategory'
        status:
          $ref: '#/components/schemas/DocumentStatus'
        operations:
          type: array
          description: Offered operations for this document
          items:
            $ref: '#/components/schemas/DocumentOperations'
        name:
          type: string
        path:
          type: string
        priority:
          type: number
          minimum: 0
      required:
        - documentType
        - id
        - status
        - documentCategory
    PrintableDocumentForUpdate:
      type: object
      additionalProperties: false
      properties:
        version:
          description: Version of the documentSet you want to update a document of
          example: 42
          format: int64
          type: integer
        priority:
          description: Sorting display order of document
          example: 42
          format: int64
          type: integer
        operations:
          type: array
          description: Offered operations for this document
          minItems: 1
          items:
            $ref: '#/components/schemas/DocumentOperations'
      required:
        - version
    ExternalPrintableDocumentForCreation:
      type: object
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/DocumentType'
        file:
          $ref: '#/components/schemas/NamedFile'
        priority:
          type: number
          minimum: 0
        operations:
          type: array
          description: Offered operations for this document
          minItems: 1
          items:
            $ref: '#/components/schemas/DocumentOperations'
      required:
        - type
    ExternalDocumentContentForUpdate:
      type: object
      additionalProperties: false
      properties:
        file:
          $ref: '#/components/schemas/NamedFile'
        documentSetVersion:
          type: number
          example: 2
          description: Version of documentSet to which this document belongs.
      required:
        - file
        - documentSetVersion
    DocumentSet:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          type: string
        facilityRef:
          type: string
        documents:
          type: array
          items:
            $ref: '#/components/schemas/PrintableDocument'
      required:
        - id
    DocumentStatus:
      type: string
      enum:
        - AVAILABLE
        - LOADING
        - REQUESTABLE
        - CANCELED
        - WAITING_FOR_INPUT
    DocumentOperations:
      type: string
      enum:
        - PRINT
        - VIEW
    DocumentCategory:
      enum:
        - EXTERNAL
        - DELIVERYNOTE
        - RETURNNOTE
        - SENDLABEL
        - RETURNLABEL
      type: string
    AssignFacilityToProcessAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: Use value to manually assign a facility to a process
              enum:
                - AssignFacilityToProcess
              type: string
            facilityRef:
              type: string
            rerouteDescriptionId:
              type: string
          required:
            - action
            - facilityRef
          type: object
      xml:
        name: AssignFacilityToProcessAction
    PackingTargetContainer:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/PackingTargetContainerForCreation'
      properties:
        description:
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system. But it is not updatable via PUT request
          example: Esb20gpHBL94X5NdMp3C
          type: string
        packJobRef:
          type: string
        iconUrl:
          type: string
        id:
          type: string
        dimensions:
          $ref: '#/components/schemas/ContainerDimensions'
        weightLimitInG:
          description: 'Maximal weight in gramm(gr) the container can be loaded with. '
          example: 2500
          type: number
          minimum: 1
        name:
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        lineItems:
          items:
            $ref: '#/components/schemas/PackingTargetContainerLineItem'
      required:
        - id
        - nameLocalized
        - version
        - facilityRef
        - packJobRef
        - lineItems
      type: object
    PackingTargetContainerForCreation:
      properties:
        codes:
          items:
            description: List of codes
            type: string
            minItems: 1
          type: array
        lineItems:
          items:
            $ref: '#/components/schemas/PackingTargetContainerLineItemForCreation'
        packingContainerTypeRef:
          type: string
      required:
        - packingContainerTypeRef
        - codes
      type: object
    ContainerDimensions:
      additionalProperties: false
      properties:
        heightInCm:
          description: The height of the container (in cm)
          example: 50
          type: number
        lengthInCm:
          description: The length of the container (in cm)
          example: 100
          type: number
        weightInG:
          description: The weight of the container (in g)
          example: 1700
          type: number
        widthInCm:
          description: The width of the container (in cm)
          example: 25.5
          type: number
      type: object
    AddressType:
      description: >-
        Type of this address, used e.g. for communication with the carrier. Use
        POSTAL_ADDRESS for the address where the order should be shipped to,
        INVOICE_ADDRESS for the address where the invoice is sent to and
        PARCEL_LOCKER if a parcel locker is used for this order.
      type: string
      enum:
        - POSTAL_ADDRESS
        - PARCEL_LOCKER
        - INVOICE_ADDRESS
    PackingTargetContainerPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: >-
                  #/components/schemas/ReplaceCodesInPackingTargetContainerAction
              - $ref: '#/components/schemas/AddLineItemToPackingTargetContainerAction'
              - $ref: >-
                  #/components/schemas/RemoveLineItemFromPackingTargetContainerAction
              - $ref: >-
                  #/components/schemas/UpdateLineItemOnPackingTargetContainerAction
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: PackingTargetContainerPatchActions
    ReplaceCodesInPackingTargetContainerAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use ReplaceCodesInPackingTargetContainer to add a code to an
                existing packing container
              enum:
                - ReplaceCodesInPackingTargetContainer
              type: string
            codes:
              items:
                description: List of codes
                type: string
                minItems: 1
              type: array
          required:
            - action
          type: object
      xml:
        name: ReplaceCodesInPackingTargetContainer
    AddLineItemToPackingTargetContainerAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use AddLineItemToPackingTargetContainer to add a line item to an
                existing packing container
              enum:
                - AddLineItemToPackingTargetContainer
              type: string
            lineItem:
              $ref: '#/components/schemas/PackingTargetContainerLineItemForCreation'
          required:
            - action
            - lineItem
          type: object
      xml:
        name: AddLineItemToPackingTargetContainer
    RemoveLineItemFromPackingTargetContainerAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use RemoveLineItemFromPackingTargetContainer to remove a line
                item from an existing packing container
              enum:
                - RemoveLineItemFromPackingTargetContainer
              type: string
            lineItemRef:
              description: Id of the PackLineItem you want to remove.
              type: string
          required:
            - action
            - lineItemRef
          type: object
      xml:
        name: RemoveLineItemFromPackingTargetContainer
    UpdateLineItemOnPackingTargetContainerAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use UpdateLineItemOnPackingTargetContainer to change a line item
                on an existing packing container
              enum:
                - UpdateLineItemOnPackingTargetContainer
              type: string
            lineItem:
              $ref: '#/components/schemas/PackingTargetContainerLineItem'
          required:
            - action
            - lineItem
          type: object
      xml:
        name: UpdateLineItemOnPackingTargetContainer
    PackingTargetContainerLineItem:
      allOf:
        - $ref: '#/components/schemas/PackingTargetContainerLineItemForCreation'
      properties:
        id:
          description: >-
            The id of this lineItem. It is generated during creation
            automatically and suits as the primary identifier of the described
            entity.
          example: climk4dcQFiPdA5ULuhS
          type: string
      required:
        - id
        - article
        - quantity
    PackingTargetContainerLineItemForCreation:
      properties:
        article:
          $ref: '#/components/schemas/PackingTargetContainerLineItemArticle'
        customAttributes:
          description: >-
            Attributes that can be added to the line item. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        quantity:
          description: quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 1
          type: integer
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
      required:
        - article
        - quantity
    PackingTargetContainerLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/PackingTargetContainerAttributeItem'
              type: array
          type: object
      xml:
        name: PackingTargetContainerLineItemArticle
    PackingTargetContainerAttributeItem:
      allOf:
        - $ref: '#/components/schemas/ArticleAttributeItem'
    PackingContainerType:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      additionalProperties: false
      properties:
        description:
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        iconUrl:
          description: ''
          type: string
        id:
          description: ''
          type: string
        name:
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        priority:
          description: >-
            This value gives the priority of the respective
            packingContainerType. The lower the value the higher is the
            priority, e.g. priority 1 is higher than priority 10. The priority
            can be used to order packingContainerTypes in the UI.
          example: 100
          format: int32
          maximum: 10000
          minimum: 1
          type: integer
        dimensions:
          $ref: '#/components/schemas/ContainerDimensions'
        weightLimitInG:
          description: 'Maximal weight in gramm(gr) the container can be loaded with. '
          example: 2500
          type: number
          minimum: 1
      required:
        - id
        - version
        - nameLocalized
      type: object
    PackingContainerTypeForCreation:
      additionalProperties: false
      properties:
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        icon:
          $ref: '#/components/schemas/NamedFile'
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        priority:
          description: >-
            This value gives the priority in the respective
            packingContainerType. The lower the value the higher is the
            priority, e.g. priority 1 is higher than priority 10. The priority
            can be used to order packingContainerTypes.
          example: 100
          format: int32
          maximum: 10000
          minimum: 1
          type: integer
        dimensions:
          $ref: '#/components/schemas/ContainerDimensions'
        weightLimitInG:
          description: 'Maximal weight in gramm(gr) the container can be loaded with. '
          example: 2500
          type: number
          minimum: 1
      required:
        - nameLocalized
      type: object
    PackingContainerTypePatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyPackingContainerTypeAction'
              - $ref: '#/components/schemas/ModifyPackingContainerTypeIconAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: PackingContainerTypePatchActions
    ModifyPackingContainerTypeAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyPackingContainerType', because you want to
                modify a PackingContainerType
              enum:
                - ModifyPackingContainerType
              type: string
            descriptionLocalized:
              $ref: '#/components/schemas/LocaleString'
            nameLocalized:
              $ref: '#/components/schemas/LocaleString'
            priority:
              description: >-
                This value gives the priority in the respective
                packingContainerType. The lower the value the higher is the
                priority, e.g. priority 1 is higher than priority 10. The
                priority can be used to order PackingContainerTypes.
              example: 100
              format: int32
              maximum: 10000
              minimum: 1
              type: integer
            dimensions:
              $ref: '#/components/schemas/ContainerDimensions'
            weightLimitInG:
              description: 'Maximal weight in gramm(gr) the container can be loaded with. '
              example: 2500
              type: number
              minimum: 1
          required:
            - action
          type: object
      xml:
        name: ModifyPackingContainerType
    ModifyPackingContainerTypeIconAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyPackingContainerTypeIcon', because you want to
                modify a PackingContainerTypes icon
              enum:
                - ModifyPackingContainerTypeIcon
              type: string
            content:
              type: string
              description: Content of the icon as base64 string
            name:
              type: string
              description: icons filename
          required:
            - action
            - name
            - content
          type: object
      xml:
        name: ModifyPackingContainerTypeIcon
    PickRunType:
      description: >-
        Deprecated: batchPick, use batch instead Deprecated: multiOrderPick, use
        multiOrder instead
      enum:
        - multiOrderPick
        - multiOrder
        - batchPick
        - batch
      type: string
      default: batchPick
    ParcelResult:
      description: >-
        Within this object you can find the result of the request after it has
        been processed (status = DONE or FAILED)
      properties:
        carrierTrackingNumber:
          example: '84168117830018'
          type: string
        labelUrl:
          description: >-
            The URL where you can download the label relative to the path of
            this resource
          example: '%%HOST%%/api/parcels/{parcelId}/labels/84168117830018.pdf'
          type: string
        proxyId:
          description: The ID of the corresponding job at the CEP proxy (if used)
          example: 3a186c51d4281acbecf5ed38805b1db92a9d668b
          type: string
        returnLabelId:
          description: The original return label id
          example: 3a186c51d4281acbecf5ed38805b1db92a9d668b
          type: string
        returnLabelUrl:
          description: The original return label URL
          example: someCepProvider.com/pathToReturnLabel.pdf
          type: string
        customsDocumentId:
          description: The customs document id
          example: 3a186c51d4281acbecf5ed38805b1db92a9d668b
          type: string
        customsDocumentUrl:
          description: The original customs document URL
          example: someCepProvider.com/pathToReturnLabel.pdf
          type: string
        sendLabelUrl:
          description: The original send label URL
          example: someCepProvider.com/pathToSendLabel.pdf
          type: string
        summary:
          description: Summary of the result of the request in a human readable form.
          example: Package label was successfully requested at DHL.
          type: string
        trackingStatus:
          $ref: '#/components/schemas/TrackingStatus'
        trackingUrl:
          description: The URL to track this parcel
          example: http://track.io/3a186c51d4
          type: string
      required:
        - summary
      type: object
    WeekDay:
      description: A weekday
      enum:
        - MONDAY
        - TUESDAY
        - WEDNESDAY
        - THURSDAY
        - FRIDAY
        - SATURDAY
        - SUNDAY
      type: string
      xml:
        name: WeekDay
    RestowedItems:
      properties:
        restowedItems:
          items:
            $ref: '#/components/schemas/RestowItem'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ModifyRestowItemAction:
      additionalProperties: false
      properties:
        action:
          description: >-
            Use value 'ModifyRestowItem', because you want to modify a restow
            item
          enum:
            - ModifyRestowItem
          type: string
        restowed:
          type: boolean
          example: true
          default: false
          description: Indicates if the restowItem has been restowed
        location:
          $ref: '#/components/schemas/Location'
      required:
        - action
        - restowed
      type: object
    RestowItem:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
        quantity:
          example: 1
          format: int64
          minimum: 1
          type: integer
          default: 1
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        article:
          $ref: '#/components/schemas/RestowItemArticle'
        restowed:
          type: boolean
          example: true
          default: false
          description: Indicates if the restowItem has been restowed
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        location:
          $ref: '#/components/schemas/Location'
      required:
        - id
        - article
        - restowed
        - facilityRef
        - quantity
      type: object
    RestowItemForCreation:
      properties:
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        quantity:
          example: 1
          format: int64
          minimum: 1
          type: integer
          default: 1
        article:
          $ref: '#/components/schemas/RestowItemArticle'
        restowed:
          type: boolean
          example: true
          default: false
          description: Indicates if the restowItem has been restowed
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        location:
          $ref: '#/components/schemas/Location'
      required:
        - facilityRef
        - article
        - quantity
      type: object
    RestowItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/RestowAttributeItem'
              type: array
          type: object
      xml:
        name: RestowItemArticle
    RestowAttributeItem:
      allOf:
        - $ref: '#/components/schemas/ArticleAttributeItem'
    RestowItemPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyRestowItemAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: RestowItemPatchActions
    PickingConfigurations:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        pickingShortPickConfiguration:
          $ref: '#/components/schemas/PickingShortPickConfiguration'
        scanningConfiguration:
          $ref: '#/components/schemas/PickingScanningConfiguration'
        scanCodeValidationConfiguration:
          $ref: '#/components/schemas/PickingScanCodeValidationConfiguration'
        takeOverPickJobConfiguration:
          $ref: '#/components/schemas/TakeOverPickJobConfiguration'
        loadUnitAssignmentConfiguration:
          $ref: '#/components/schemas/LoadUnitAssignmentConfiguration'
        pickingMethodsConfiguration:
          $ref: '#/components/schemas/PickingMethodsConfiguration'
        restartPickJobConfiguration:
          $ref: '#/components/schemas/RestartPickJobConfiguration'
        stockUpdateConfiguration:
          $ref: '#/components/schemas/PickingStockUpdateConfiguration'
        backofficePickingConfiguration:
          $ref: '#/components/schemas/BackofficePickingConfiguration'
      type: object
    PickingStockUpdateConfiguration:
      properties:
        active:
          default: false
          description: Enable or disable stock update check for pick jobs
          type: boolean
      required:
        - active
      type: object
    PickingScanCodeValidationConfiguration:
      properties:
        pickingScanCodeValidationType:
          $ref: '#/components/schemas/PickingScanCodeValidationEnum'
      required:
        - pickingScanCodeValidationType
      type: object
    PickingScanCodeValidationEnum:
      description: State that defines if unknown scan codes can be accepted
      enum:
        - NO_VALIDATION
        - CODE_MUST_BE_KNOWN
      type: string
    TakeOverPickJobConfiguration:
      properties:
        active:
          default: false
          description: Enable or disable returns
          type: boolean
      required:
        - active
      type: object
    PickingMethodsConfiguration:
      properties:
        defaultPickingMethod:
          $ref: '#/components/schemas/PickingMethodEnum'
      required:
        - defaultPickingMethod
      type: object
    RestartPickJobConfiguration:
      properties:
        active:
          default: true
          type: boolean
      required:
        - active
      type: object
    BackofficePickingConfiguration:
      description: Can this tenant use the backoffice for picking?
      properties:
        active:
          default: false
          type: boolean
      required:
        - active
      type: object
    PickingShortPickConfiguration:
      properties:
        confirmationOnShortPick:
          description: >-
            Does the picker needs to confirm a stock correction before adding a
            short pick
          default: false
          type: boolean
        shortPickReasons:
          type: array
          items:
            $ref: '#/components/schemas/ShortPickReason'
      required:
        - confirmationOnShortPick
      type: object
    PickingScanningConfiguration:
      properties:
        scanningType:
          $ref: '#/components/schemas/PickingScanningConfigurationEnum'
        scanningRule:
          $ref: '#/components/schemas/ScanningRuleConfiguration'
        rolesWithOverwritingScanningPermission:
          type: array
          items:
            $ref: '#/components/schemas/UserRoleNames'
          minItems: 1
      type: object
    LoadUnitAssignmentConfiguration:
      description: >-
        Who do the load units need to be assigned in pickJob (SingleOrderPick)
        and pickRun (MultiOrderPick)
      properties:
        pickJob:
          $ref: '#/components/schemas/LoadUnitAssignmentType'
        pickRun:
          $ref: '#/components/schemas/LoadUnitAssignmentType'
      required:
        - pickJob
        - pickRun
      type: object
    LoadUnitAssignmentType:
      example: AT_END
      description: Where do the load unit needs to be assigned?
      enum:
        - INACTIVE
        - AT_START
        - AT_END
        - DURING_PICKING
      type: string
    TagScanningConfiguration:
      additionalProperties: false
      properties:
        offeredScanningRuleByTag:
          type: array
          items:
            $ref: '#/components/schemas/OfferedScanningRuleByTag'
    OfferedScanningRuleByTag:
      additionalProperties: false
      properties:
        tagRef:
          type: string
          minLength: 1
        matchingValues:
          type: array
          minItems: 1
          items:
            type: string
        scanningType:
          $ref: '#/components/schemas/PickingScanningConfigurationEnum'
      required:
        - tagRef
        - matchingValues
        - scanningType
      type: object
    PreferredPickingMethodsPerTag:
      additionalProperties: false
      required:
        - tagRef
        - pickingMethods
        - matchingValues
      properties:
        tagRef:
          type: string
        matchingValues:
          type: array
          minItems: 1
          items:
            type: string
        pickingMethods:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/PickingMethodEnum'
    PreferredPickingMethodsConfiguration:
      properties:
        PreferredPickingMethodsPerTag:
          type: array
          items:
            $ref: '#/components/schemas/PreferredPickingMethodsPerTag'
    PickJobTagConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        stickerConfiguration:
          $ref: '#/components/schemas/StickerConfiguration'
        lineItemStickerConfiguration:
          $ref: '#/components/schemas/StickerConfiguration'
        lineItemScanningConfiguration:
          $ref: '#/components/schemas/TagScanningConfiguration'
        preferredPickingMethodsConfiguration:
          $ref: '#/components/schemas/PreferredPickingMethodsConfiguration'
        offeredDocumentsPerTag:
          type: array
          description: >-
            All entries with a match in their matchingValues will be combined
            when determining what documents belong to an entity
          items:
            $ref: '#/components/schemas/OfferedDocumentPerTag'
        offeredDocumentsByDefault:
          type: array
          description: >-
            This configuration is a fallback and applies only if none of the
            entries in offeredDocumentsPerTag can be applied
          items:
            $ref: '#/components/schemas/OfferedDocument'
      required:
        - offeredDocumentsPerTag
        - offeredDocumentsByDefault
    ItemReturnJob:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      additionalProperties: false
      properties:
        id:
          type: string
        processRef:
          type: string
        originFacilityRefs:
          items:
            type: string
          type: array
        status:
          $ref: '#/components/schemas/ItemReturnJobStatus'
        tenantOrderId:
          type: string
        consumerAddresses:
          items:
            $ref: '#/components/schemas/ConsumerAddress'
          type: array
        scannableCodes:
          items:
            type: string
          type: array
        shortId:
          description: >-
            A short identifier that helps assigning a item return job to a
            customer. This is automatically created during creation.
          example: AS12
          type: string
        returnableLineItems:
          items:
            $ref: '#/components/schemas/ItemReturnJobLineItem'
          type: array
          minItems: 1
        itemReturns:
          items:
            $ref: '#/components/schemas/ItemReturn'
          type: array
          minItems: 0
        anonymized:
          description: Indicates if gdpr related data was anonymized
          example: false
          type: boolean
      type: object
      required:
        - id
        - processRef
        - originFacilityRefs
        - status
        - consumerAddresses
        - returnableLineItems
        - itemReturns
    ItemReturnJobWithSearchPaths:
      allOf:
        - $ref: '#/components/schemas/ItemReturnJob'
      additionalProperties: false
      properties:
        searchPaths:
          items:
            type: string
          type: array
          minItems: 0
      type: object
    ItemReturnJobForCreation:
      additionalProperties: false
      properties:
        processRef:
          type: string
        originFacilityRefs:
          items:
            type: string
          type: array
        status:
          $ref: '#/components/schemas/ItemReturnJobStatus'
        tenantOrderId:
          type: string
        consumerAddresses:
          items:
            $ref: '#/components/schemas/ConsumerAddress'
          type: array
        scannableCodes:
          items:
            type: string
          type: array
        shortId:
          description: >-
            A short identifier that helps assigning a item return job to a
            customer. This is automatically created during creation.
          example: AS12
          type: string
        returnableLineItems:
          items:
            $ref: '#/components/schemas/ItemReturnJobLineItemForCreation'
          type: array
          minItems: 1
      type: object
      required:
        - originFacilityRefs
        - status
        - consumerAddresses
        - returnableLineItems
    ItemReturnJobs:
      properties:
        itemReturnJobsWithSearchPaths:
          items:
            $ref: '#/components/schemas/ItemReturnJobWithSearchPaths'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ItemReturnJobStatus:
      type: string
      enum:
        - OPEN
        - IN_PROGRESS
        - FINISHED
    ItemReturnJobLineItem:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/ItemReturnJobLineItemForCreation'
      properties:
        id:
          type: string
        returned:
          type: number
          minimum: 0
        returnable:
          type: number
          minimum: 0
      required:
        - id
        - article
        - delivered
        - returned
        - returnable
    ReturnedLineItemRefund:
      additionalProperties: false
      description: Either price or percent must be set, not both.
      properties:
        status:
          $ref: '#/components/schemas/ReturnedLineItemRefundStatus'
        price:
          $ref: '#/components/schemas/ReturnedLineItemRefundPrice'
        percent:
          example: 80.6
          description: 0.0 - 100.0 amount of the line item price that should be refunded
          type: number
      required:
        - status
    ReturnedLineItemRefundStatus:
      enum:
        - OPEN
        - IN_PROGRESS
        - CLOSED
      type: string
    ItemReturnJobLineItemForCreation:
      additionalProperties: false
      properties:
        article:
          $ref: '#/components/schemas/ItemReturnJobLineItemArticle'
        delivered:
          type: number
          minimum: 1
        scannableCodes:
          items:
            type: string
          type: array
      required:
        - article
        - delivered
    ItemReturnJobLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
            prices:
              items:
                $ref: '#/components/schemas/ArticlePrice'
              type: array
          type: object
      xml:
        name: PickLineItemArticle
    ItemReturn:
      additionalProperties: false
      properties:
        id:
          type: string
        created:
          description: >-
            The date this entity was created at the platform. This value is
            generated by the service.
          example: '2020-02-03T08:45:51.525Z'
          format: date-time
          type: string
        lastModified:
          description: >-
            The date this entity was modified last. This value is generated by
            the service.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        returnFacilityRef:
          type: string
        status:
          $ref: '#/components/schemas/ItemReturnStatus'
        tenantOrderId:
          type: string
        scannableCodes:
          items:
            type: string
          type: array
        returnedLineItems:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/ItemReturnLineItem'
      required:
        - id
        - status
        - returnedLineItems
        - returnFacilityRef
    ItemReturnStatus:
      enum:
        - ANNOUNCED
        - OPEN
        - IN_PROGRESS
        - PAUSED
        - FINISHED
        - WAITING_FOR_INPUT
      type: string
    ItemReturnLineItem:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/ItemReturnLineItemForCreation'
      properties:
        id:
          type: string
          example: a69006ba-7100-4b4d-a610-1ca28016a4eb
        itemCondition:
          type: string
          example: Damaged
        itemReturnJobLineItemRefs:
          items:
            example: a69006ba-7100-4b4d-a610-1ca28016a4eb
            type: string
          type: array
        reasons:
          items:
            $ref: '#/components/schemas/ItemReturnLineItemReason'
          type: array
        refund:
          $ref: '#/components/schemas/ReturnedLineItemRefund'
      required:
        - id
        - status
        - itemReturnJobLineItemRefs
        - tenantArticleId
    ItemReturnLineItemReason:
      additionalProperties: false
      properties:
        reason:
          description: Translated reasonLocalized
          type: string
        reasonLocalized:
          $ref: '#/components/schemas/LocaleString'
        comment:
          type: string
          minLength: 1
          example: Upper corner damaged
      required:
        - reasonLocalized
    ItemReturnForCreation:
      additionalProperties: false
      properties:
        status:
          $ref: '#/components/schemas/ItemReturnStatus'
        returnFacilityRef:
          type: string
        tenantOrderId:
          type: string
        scannableCodes:
          items:
            type: string
          type: array
        returnedLineItems:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/ItemReturnLineItemForCreation'
      required:
        - returnedLineItems
        - status
        - returnFacilityRef
    ItemReturnsWithSearchPaths:
      allOf:
        - $ref: '#/components/schemas/ItemReturn'
      additionalProperties: false
      properties:
        searchPaths:
          type: array
          items:
            type: string
      required:
        - searchPaths
    AddItemReturnToItemReturnJob:
      additionalProperties: false
      properties:
        itemReturnForCreation:
          $ref: '#/components/schemas/ItemReturnForCreation'
        itemReturnJobVersion:
          description: Version of the itemReturnJob the itemReturn gets added to
          minimum: 0
          type: integer
      required:
        - itemReturnForCreation
        - itemReturnJobVersion
    ItemReturnLineItemForCreation:
      additionalProperties: false
      properties:
        itemConditionLocalized:
          $ref: '#/components/schemas/LocaleString'
        itemConditionComment:
          type: string
          minLength: 1
          example: Upper corner damaged
        tenantArticleId:
          type: string
          example: a69006ba-7100-4b4d-a610-1ca28016a4eb
        scannedCodes:
          type: array
          items:
            type: string
        status:
          $ref: '#/components/schemas/ItemReturnLineItemStatus'
        reasons:
          items:
            $ref: '#/components/schemas/ItemReturnLineItemReason'
          type: array
      required:
        - tenantArticleId
        - status
    ItemReturnLineItemForUpdate:
      additionalProperties: false
      properties:
        status:
          $ref: '#/components/schemas/ItemReturnLineItemStatus'
        refund:
          $ref: '#/components/schemas/ReturnedLineItemRefund'
        itemReturnJobVersion:
          type: number
          example: 42
          description: version of the overlaying itemReturnJob
      required:
        - itemReturnJobVersion
    ReplaceReturnedLineItems:
      additionalProperties: false
      properties:
        itemReturnJobVersion:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        returnedLineItems:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/ItemReturnLineItemForCreation'
      required:
        - itemReturnJobVersion
        - returnedLineItems
    ItemReturnLineItemStatus:
      enum:
        - OPEN
        - IN_PROGRESS
        - WAITING_FOR_INPUT
        - REJECTED
        - ACCEPTED
      type: string
    ItemReturns:
      properties:
        itemReturns:
          items:
            $ref: '#/components/schemas/ItemReturnsWithSearchPaths'
          type: array
        totalCount:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
      required:
        - itemReturns
        - totalCount
    ItemReturnJobActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/StartItemReturnJobActionParameter'
        - $ref: '#/components/schemas/FinishItemReturnJobActionParameter'
        - $ref: '#/components/schemas/RestartItemReturnJobActionParameter'
    StartItemReturnJobActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/StartItemReturnJobActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    StartItemReturnJobActionEnum:
      enum:
        - StartItemReturnJob
      type: string
    FinishItemReturnJobActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/FinishItemReturnJobActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    FinishItemReturnJobActionEnum:
      enum:
        - FinishItemReturnJob
      type: string
    RestartItemReturnJobActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/RestartItemReturnJobActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    RestartItemReturnJobActionEnum:
      enum:
        - RestartItemReturnJob
      type: string
    ItemReturnActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/AnnounceItemReturnActionParameter'
        - $ref: '#/components/schemas/OpenItemReturnActionParameter'
        - $ref: '#/components/schemas/StartItemReturnActionParameter'
        - $ref: '#/components/schemas/PauseItemReturnActionParameter'
        - $ref: '#/components/schemas/FinishItemReturnActionParameter'
    AnnounceItemReturnActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/AnnounceItemReturnActionEnum'
        itemReturnJobVersion:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - itemReturnJobVersion
    AnnounceItemReturnActionEnum:
      enum:
        - AnnounceItemReturn
      type: string
    OpenItemReturnActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/OpenItemReturnActionEnum'
        itemReturnJobVersion:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - itemReturnJobVersion
    OpenItemReturnActionEnum:
      enum:
        - OpenItemReturn
      type: string
    StartItemReturnActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/StartItemReturnActionEnum'
        itemReturnJobVersion:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - itemReturnJobVersion
    StartItemReturnActionEnum:
      enum:
        - StartItemReturn
      type: string
    PauseItemReturnActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/PauseItemReturnActionEnum'
        itemReturnJobVersion:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - itemReturnJobVersion
    PauseItemReturnActionEnum:
      enum:
        - PauseItemReturn
      type: string
    FinishItemReturnActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/FinishItemReturnActionEnum'
        itemReturnJobVersion:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - itemReturnJobVersion
    FinishItemReturnActionEnum:
      enum:
        - FinishItemReturn
      type: string
    WaitForInputItemReturnActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/WaitForInputItemReturnActionEnum'
        itemReturnJobVersion:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - itemReturnJobVersion
    WaitForInputItemReturnActionEnum:
      enum:
        - WaitForInputItemReturn
      type: string
    OperativeProcess:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      additionalProperties: false
      properties:
        id:
          type: string
        processRef:
          type: string
          description: Reference to the overall process
        facilityRef:
          type: string
          description: Reference to the facility this operative process is handled in
        flatEntityRefs:
          items:
            type: string
          description: >-
            References to all operational entities belonging to this operative
            process
          minLength: 0
        entityChildren:
          items:
            $ref: '#/components/schemas/OperativeEntity'
          description: Tree structure of entities belonging to this operative process
          minLength: 0
      type: object
      required:
        - id
        - processRef
        - facilityRef
        - flatEntityRefs
        - entityChildren
    OperativeProcessForCreation:
      additionalProperties: false
      properties:
        processRef:
          type: string
          description: Reference to the overall process
        facilityRef:
          type: string
          description: Reference to the facility this operative process is handled in
        entityChildren:
          items:
            $ref: '#/components/schemas/OperativeEntity'
          description: Tree structure of entities belonging to this operative process
      type: object
      required:
        - processRef
        - facilityRef
    OperativeEntity:
      additionalProperties: false
      properties:
        entityRef:
          type: string
          description: Reference to the full entity
        entityType:
          $ref: '#/components/schemas/OperativeEntityType'
        entityChildren:
          items:
            $ref: '#/components/schemas/OperativeEntity'
          description: Tree structure of entities belonging to this entity
      required:
        - entityRef
        - entityType
    OperativeEntityType:
      type: string
      enum:
        - PICK_JOB
        - PACK_JOB
        - SHIPMENT
        - HANDOVER_JOB
        - PARCEL
        - SERVICE_JOB
        - RESTOW_ITEM
        - ITEM_RETURN_JOB
        - LINKED_SERVICE_JOBS
    ExpiryEntity:
      additionalProperties: false
      properties:
        id:
          type: string
          description: Generated identifier of this entity
          example: 611c860f-3f00-4b01-9f4c-64cdee38a30e
        version:
          type: integer
          format: int64
          example: 42
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
        created:
          type: string
          format: date-time
          example: '2020-02-03T08:45:51.525Z'
          description: >-
            The date this entity was created at the platform. This value is
            generated by the service.
        lastModified:
          type: string
          format: date-time
          example: '2020-02-03T09:45:51.525Z'
          description: >-
            The date this entity was modified last. This value is generated by
            the service.
        processRef:
          type: string
          example: c4e5fb70-a893-4ffa-b7b0-e042cda6fb9f
          description: Reference to the Process of this Entity
        provisioningTime:
          type: string
          format: date-time
          example: '2020-02-03T08:45:51.525Z'
          description: >-
            Planned time where this entity should be provided or handed over to
            the customer
        expiryTime:
          type: string
          format: date-time
          example: '2020-02-03T08:45:51.525Z'
          description: Time where the connected process expires, if not fulfilled
        status:
          $ref: '#/components/schemas/ExpiryEntityStatus'
      required:
        - id
        - version
        - created
        - lastModified
        - processRef
        - provisioningTime
        - expiryTime
        - status
    ExpiryEntityForCreation:
      additionalProperties: false
      properties:
        processRef:
          type: string
          example: c4e5fb70-a893-4ffa-b7b0-e042cda6fb9f
          description: >-
            Reference to the Process for which this expiry entity will be
            created
        provisioningTime:
          type: string
          format: date-time
          example: '2020-02-03T08:45:51.525Z'
          description: >-
            Planned time where this entity should be provided or handed over to
            the customer
        status:
          $ref: '#/components/schemas/ExpiryEntityStatus'
      required:
        - processRef
        - provisioningTime
        - status
    ExpiryEntityForUpdate:
      additionalProperties: false
      properties:
        version:
          type: integer
          description: version of the entity you want to alter
        provisioningTime:
          type: string
          format: date-time
          example: '2020-02-03T08:45:51.525Z'
          description: >-
            Planned time where this entity should be provided or handed over to
            the customer
        status:
          $ref: '#/components/schemas/ExpiryEntityStatus'
      required:
        - version
    ExpiryEntityFilter:
      additionalProperties: false
      properties:
        processRef:
          type: string
          description: process of the entity you want to load
        status:
          $ref: '#/components/schemas/ExpiryEntityStatus'
        startDate:
          format: date-time
          example: '2020-02-03T08:45:51.525Z'
          description: start date range for expiryTime
        endDate:
          format: date-time
          example: '2020-02-03T08:45:51.525Z'
          description: end date range for expiryTime
    ExpiryEntityStatus:
      enum:
        - ACTIVE
        - INACTIVE
      type: string
    StorageLocationForCreation:
      properties:
        name:
          description: The name of this storage location
          type: string
          maxLength: 15
        tenantLocationId:
          description: The internal tenant id for this location
          type: string
        type:
          $ref: '#/components/schemas/StorageLocationType'
        traits:
          description: >-
            The traits of this storage location, includes both local config and
            and defaults. Do not use to write to traits, use traitConfig
            instead.
          type: array
          items:
            $ref: '#/components/schemas/StorageLocationTrait'
        traitConfig:
          $ref: '#/components/schemas/StorageLocationTraitConfig'
        scannableCodes:
          description: Barcodes representing this storage location
          type: array
          maxItems: 5
          items:
            type: string
        runningSequences:
          description: The Sequence item/s of this location
          type: array
          maxItems: 10
          items:
            $ref: '#/components/schemas/StorageLocationSequenceItem'
        zoneRef:
          description: The id of the Zone to which this storage location belongs
          example: Esb20gpHBL94X5NdMp3C
          type: string
        zoneName:
          description: The name of the Zone to which this storage location belongs
          type: string
        information:
          description: A free text information about this storage location, max length 1024
          type: string
          maxLength: 1024
        customAttributes:
          description: >-
            Attributes that can be added to the storage location. These
            attributes cannot be used within fulfillment processes, but it could
            be useful to have the informations carried here.
          type: object
      required:
        - name
        - runningSequences
        - scannableCodes
        - type
      type: object
      xml:
        name: StorageLocationForCreation
    StorageLocationForReplacement:
      allOf:
        - $ref: '#/components/schemas/StorageLocationForCreation'
      properties:
        version:
          example: 42
          format: int64
          type: integer
      required:
        - version
      type: object
      xml:
        name: StorageLocationForReplacement
    StorageLocation:
      allOf:
        - $ref: '#/components/schemas/StorageLocationForReplacement'
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          description: The id of this storage location
          type: string
        facilityRef:
          description: The id of the facility reference.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        zoneName:
          description: >-
            Deprecated! This field will not be filled in newly created storage
            locations. Resolve the zone name separately via the
            facilities/{id}/zones endpoint. The name of the Zone to which this
            storage location belongs
          type: string
          deprecated: true
        traits:
          description: The traits of this storage location
          type: array
          items:
            $ref: '#/components/schemas/StorageLocationTrait'
        traitConfig:
          $ref: '#/components/schemas/StorageLocationTraitConfig'
        schemaVersion:
          type: number
      required:
        - id
        - facilityRef
        - traits
      type: object
      xml:
        name: StorageLocation
    StorageLocationTraitConfig:
      description: The configuration of the traits of this storage location
      type: array
      items:
        type: object
        properties:
          trait:
            $ref: '#/components/schemas/StorageLocationTrait'
          enabled:
            type: boolean
        required:
          - trait
          - enabled
    StorageLocationType:
      description: |-
        Describes the kind of a storage location:
          * `SINGLE_STORAGE`- it is only allowed to store stock with the same tenantArticleId here
          * `BULK_STORAGE`- stocks belonging to different tenantArticleIds can be stored here
      enum:
        - SINGLE_STORAGE
        - BULK_STORAGE
      type: string
      xml:
        name: StorageLocationType
    StorageLocationTrait:
      type: string
      description: |-
        Describes what kind of actions this stock is available for
          * `PICKABLE`- The stock is available for picking
          * `ACCESSIBLE`- The stock is available for stock movements (stowing, inbound, etc)
          * `KEEP_ON_ZERO`- The stock will not be deleted when emptied
      enum:
        - PICKABLE
        - ACCESSIBLE
        - KEEP_ON_ZERO
      xml:
        name: StorageLocationTrait
    StorageLocationSequenceType:
      description: |-
        Describes the type of a storage location sequence type
          * `PICKING_SEQUENCE`- The sequence in wich the storage locations are picked.
          * `RESTOW_SEQUENCE`- The sequence in wich the storage locations are restowed.
      enum:
        - PICKING_SEQUENCE
        - RESTOW_SEQUENCE
      type: string
      xml:
        name: StorageLocationType
    StorageLocationSequenceItem:
      properties:
        type:
          $ref: '#/components/schemas/StorageLocationSequenceType'
        previousStorageLocationRef:
          description: The previous storage from which to pick up after this one
          type: string
        nextStorageLocationRef:
          description: The next storage from which to pick up after this one
          type: string
        score:
          deprecated: true
          description: Running sequence score - read-only
          type: number
      required:
        - type
      type: object
      xml:
        name: StorageLocationSequenceItem
    ModifyStorageLocationAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyStorageLocation', because you want to modify a
                storage location
              enum:
                - ModifyStorageLocation
              type: string
            name:
              description: The name of this storage location
              type: string
              maxLength: 15
            tenantLocationId:
              description: The internal tenant id for this location
              type: string
            type:
              $ref: '#/components/schemas/StorageLocationType'
            traits:
              deprecated: true
              description: >-
                The traits of this storage location. Do not use this to write
                traits, use traitConfig instead.
              type: array
              items:
                $ref: '#/components/schemas/StorageLocationTrait'
            traitConfig:
              $ref: '#/components/schemas/StorageLocationTraitConfig'
            scannableCodes:
              description: Barcodes representing this storage location
              type: array
              maxItems: 5
              items:
                type: string
            runningSequences:
              description: The Sequence item/s of this location
              type: array
              maxItems: 10
              items:
                $ref: '#/components/schemas/StorageLocationSequenceItem'
            zoneRef:
              description: The id of the Zone to which this storage location belongs.
              example: Esb20gpHBL94X5NdMp3C
              type: string
            information:
              description: >-
                A free text information about this storage location, max length
                1024
              type: string
              maxLength: 1024
            customAttributes:
              description: >-
                Attributes that can be added to the storage location. These
                attributes cannot be used within fulfillment processes, but it
                could be useful to have the informations carried here.
              type: object
          required:
            - action
          type: object
      xml:
        name: ModifyStorageLocationAction
    StorageLocationPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyStorageLocationAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the facility where we want to patch the storage
            locations to be used in optimistic locking mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: StorageLocationPatchActions
    RemoteConfigurationForCreation:
      additionalProperties: false
      properties:
        key:
          type: string
          example: PICKING_SHOW_NEW_SCAN_VIEW
          description: unique business key of this entity
        scopes:
          type: array
          items:
            $ref: '#/components/schemas/RemoteConfigurationScopeForCreation'
        valueType:
          $ref: '#/components/schemas/RemoteConfigurationValueType'
        value:
          oneOf:
            - type: string
            - type: integer
            - type: number
            - type: boolean
            - type: object
        groups:
          type: array
          items:
            example: INVENTORY
            type: string
          minItems: 1
      required:
        - key
        - value
        - valueType
        - groups
      type: object
    RemoteConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      additionalProperties: false
      properties:
        id:
          type: string
          example: LGMl2DuvPnfPoSHhYFOm
          description: auto generated unique identifier
        key:
          type: string
          example: PICKING_SHOW_NEW_SCAN_VIEW
          description: unique business key of this entity
        scopes:
          type: array
          items:
            $ref: '#/components/schemas/RemoteConfigurationScope'
        valueType:
          $ref: '#/components/schemas/RemoteConfigurationValueType'
        value:
          oneOf:
            - type: string
            - type: number
            - type: boolean
            - type: object
            - type: integer
        groups:
          type: array
          items:
            example: INVENTORY
            type: string
          minItems: 1
        flattenScopeIds:
          description: >-
            generated flatten unique ids of all scope sub elements (userRef,
            facilityRef)
          type: array
          items:
            example:
              - INVENTORY
              - 67151fc3-3ce1-400e-8b23-23c29e0cde90
            type: string
      required:
        - id
        - key
        - version
        - value
        - valueType
        - groups
        - flattenScopeIds
      type: object
    RemoteConfigurationForUpdate:
      additionalProperties: false
      properties:
        version:
          type: integer
        scopes:
          type: array
          items:
            $ref: '#/components/schemas/RemoteConfigurationScopeForCreation'
        valueType:
          $ref: '#/components/schemas/RemoteConfigurationValueType'
        value:
          oneOf:
            - type: string
            - type: integer
            - type: number
            - type: boolean
            - type: object
        groups:
          type: array
          items:
            example: INVENTORY
            type: string
          minItems: 1
      required:
        - version
      type: object
    RemoteConfigurationForPut:
      additionalProperties: false
      properties:
        version:
          type: integer
        scopes:
          type: array
          items:
            $ref: '#/components/schemas/RemoteConfigurationScopeForCreation'
        valueType:
          $ref: '#/components/schemas/RemoteConfigurationValueType'
        value:
          oneOf:
            - type: string
            - type: integer
            - type: number
            - type: boolean
            - type: object
        groups:
          type: array
          items:
            example: INVENTORY
            type: string
          minItems: 1
      required:
        - version
        - value
        - valueType
        - groups
      type: object
    RemoteConfigurations:
      properties:
        remoteConfigurations:
          items:
            $ref: '#/components/schemas/RemoteConfiguration'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    RemoteConfigurationScopeForCreation:
      additionalProperties: false
      properties:
        facilityRefs:
          type: array
          items:
            description: Reference of a Facility
            example: 928f3730-bc48-4d85-b83f-3fd86b776178
            type: string
        userRefs:
          type: array
          items:
            description: Reference of a user
            example: 928f3730-bc48-4d85-b83f-3fd86b776178
            type: string
      type: object
    AddRemoteConfigurationScopeParameter:
      additionalProperties: false
      properties:
        scope:
          $ref: '#/components/schemas/RemoteConfigurationScopeForCreation'
        remoteConfigVersion:
          type: number
          minimum: 0
      required:
        - scope
        - remoteConfigVersion
      type: object
    RemoteConfigurationScope:
      allOf:
        - $ref: '#/components/schemas/RemoteConfigurationScopeForCreation'
      additionalProperties: false
      properties:
        id:
          type: string
          example: LGMl2DuvPnfPoSHhYFOm
          description: auto generated unique identifier
      required:
        - id
      type: object
    RemoteConfigurationValueType:
      enum:
        - BOOLEAN
        - STRING
        - JSON
        - NUMBER
        - INT
      type: string
    ExternalActionType:
      type: string
      description: The type of an external action
      enum:
        - BLANK_LINK
        - FORM
    ExternalFormActionDefinition:
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/ExternalActionType'
        elements:
          type: array
          minItems: 1
          items:
            anyOf:
              - $ref: '#/components/schemas/ExternalFormActionElement'
              - $ref: '#/components/schemas/ExternalFormActionInputElement'
            discriminator:
              propertyName: elementType
              mapping:
                TEXT_INPUT: '#/components/schemas/ExternalFormActionInputElement'
                HEADLINE: '#/components/schemas/ExternalFormActionElement'
                SUBHEADLINE: '#/components/schemas/ExternalFormActionElement'
                TEXT: '#/components/schemas/ExternalFormActionElement'
        success:
          $ref: '#/components/schemas/ExternalFormActionButton'
        cancel:
          $ref: '#/components/schemas/ExternalFormActionButton'
      required:
        - elements
        - success
        - type
      type: object
      xml:
        name: ExternalFormActionDefinition
    ExternalFormActionElementType:
      type: string
      enum:
        - TEXT_INPUT
        - HEADLINE
        - SUBHEADLINE
        - TEXT
    ExternalFormActionInputElement:
      additionalProperties: false
      properties:
        elementId:
          type: string
        isMandatory:
          type: boolean
        validation:
          anyOf:
            - $ref: '#/components/schemas/StringValidation'
            - $ref: '#/components/schemas/IntegerValidation'
            - $ref: '#/components/schemas/FloatValidation'
          discriminator:
            propertyName: validationType
            mapping:
              STRING: '#/components/schemas/StringValidation'
              FLOAT: '#/components/schemas/FloatValidation'
              INTEGER: '#/components/schemas/IntegerValidation'
        style:
          type: string
          enum:
            - BODY
            - INFO
            - WARN
            - ERROR
        titleLocalized:
          description: The name of this external action localized
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
        title:
          type: string
        elementType:
          $ref: '#/components/schemas/ExternalFormActionElementType'
      required:
        - elementId
        - titleLocalized
        - elementType
      type: object
      xml:
        name: ExternalFormActionInputElement
    BaseValidation:
      type: object
      properties:
        validationType:
          type: string
          enum:
            - STRING
            - FLOAT
            - INTEGER
      required:
        - validationType
    StringValidation:
      type: object
      allOf:
        - $ref: '#/components/schemas/BaseValidation'
      additionalProperties: false
      properties:
        minLength:
          type: number
        maxLength:
          type: number
    IntegerValidation:
      type: object
      allOf:
        - $ref: '#/components/schemas/BaseValidation'
      additionalProperties: false
      properties:
        minValue:
          type: number
        maxValue:
          type: number
    FloatValidation:
      type: object
      allOf:
        - $ref: '#/components/schemas/BaseValidation'
      additionalProperties: false
      properties:
        minValue:
          type: number
        maxValue:
          type: number
    ExternalFormActionElement:
      properties:
        style:
          type: string
          description: it is only allowed to set a style for elementType TEXT
          enum:
            - BODY
            - INFO
            - WARN
            - ERROR
        titleLocalized:
          description: The name of this external action localized
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
        title:
          type: string
        elementType:
          $ref: '#/components/schemas/ExternalFormActionElementType'
      required:
        - elementType
        - titleLocalized
      type: object
      xml:
        name: ExternalFormActionElement
    ExternalFormActionButton:
      additionalProperties: false
      properties:
        labelLocalized:
          description: The name of this external action localized
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
        label:
          type: string
      required:
        - labelLocalized
      type: object
      xml:
        name: ExternalFormActionElement
    ExternalLinkActionDefinition:
      additionalProperties: false
      properties:
        type:
          $ref: '#/components/schemas/ExternalActionType'
        linkUrl:
          type: string
      required:
        - linkUrl
        - type
      type: object
      xml:
        name: ExternalLinkActionDefinition
    ExternalActionForCreation:
      properties:
        processRef:
          description: Id of the global process related to this entity.
          type: string
        nameLocalized:
          description: The name of this external action localized
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
        groups:
          items:
            description: User-defined text strings for grouping external actions
            type: string
          type: array
        action:
          oneOf:
            - $ref: '#/components/schemas/ExternalFormActionDefinition'
            - $ref: '#/components/schemas/ExternalLinkActionDefinition'
          discriminator:
            propertyName: type
            mapping:
              BLANK_LINK: '#/components/schemas/ExternalLinkActionDefinition'
              FORM: '#/components/schemas/ExternalFormActionDefinition'
      required:
        - processRef
        - nameLocalized
        - groups
        - action
      type: object
      xml:
        name: ExternalActionForCreation
    ExternalActionForReplacement:
      properties:
        version:
          example: 42
          format: int64
          type: integer
        nameLocalized:
          description: The name of this external action localized
          example: '{ en_US: ''SomeName'' }'
          $ref: '#/components/schemas/LocaleString'
        groups:
          items:
            description: User-defined text strings for grouping external actions
            type: string
          type: array
        action:
          oneOf:
            - $ref: '#/components/schemas/ExternalFormActionDefinition'
            - $ref: '#/components/schemas/ExternalLinkActionDefinition'
          discriminator:
            propertyName: type
            mapping:
              BLANK_LINK: '#/components/schemas/ExternalLinkActionDefinition'
              FORM: '#/components/schemas/ExternalFormActionDefinition'
      required:
        - version
        - nameLocalized
        - groups
        - action
      type: object
      xml:
        name: ExternalActionForReplacement
    ExternalAction:
      allOf:
        - $ref: '#/components/schemas/ExternalActionForReplacement'
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          description: >-
            The id of this external action. It is generated during creation
            automatically and suits as the primary identifier of the described
            entity.
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
        processRef:
          description: Id of the global process related to this entity.
          type: string
        name:
          description: The name of this external action.
          type: string
      required:
        - id
        - name
        - processRef
      type: object
      xml:
        name: ExternalAction
    ExternalActions:
      additionalProperties: false
      properties:
        externalActions:
          items:
            $ref: '#/components/schemas/ExternalAction'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
      required:
        - externalActions
        - total
    ExternalActionLogs:
      additionalProperties: false
      properties:
        externalActionLogs:
          items:
            $ref: '#/components/schemas/ExternalActionLog'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
      required:
        - externalActionLogs
        - total
    ExternalFormActionLogPayloadElement:
      properties:
        elementId:
          type: string
        value:
          type: string
      required:
        - elementId
        - value
      type: object
      xml:
        name: ExternalFormActionLogPayloadElement
    ExternalLinkActionLogPayload:
      properties:
        linkOpenedAt:
          description: The date when this link was opened.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      required:
        - linkOpenedAt
      type: object
      xml:
        name: ExternalLinkActionLogPayload
    ExternalFormActionLogPayload:
      properties:
        elements:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/ExternalFormActionLogPayloadElement'
      required:
        - elements
      type: object
      xml:
        name: ExternalFormActionLogPayload
    ExternalActionLogForCreation:
      properties:
        requiresAnonymization:
          type: boolean
        actionPayload:
          oneOf:
            - $ref: '#/components/schemas/ExternalLinkActionLogPayload'
            - $ref: '#/components/schemas/ExternalFormActionLogPayload'
      required:
        - requiresAnonymization
        - actionPayload
      type: object
      xml:
        name: ExternalActionLogForCreation
    ExternalActionLog:
      allOf:
        - $ref: '#/components/schemas/ExternalActionLogForCreation'
      additionalProperties: false
      properties:
        id:
          type: string
        externalActionRef:
          description: Id of the refered external action.
          type: string
        editor:
          $ref: '#/components/schemas/Editor'
        created:
          description: The date this action has been executed
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      required:
        - id
        - externalActionRef
        - editor
        - created
      type: object
      xml:
        name: ExternalActionLog
    AbstractReasonForCreation:
      additionalProperties: false
      properties:
        reason:
          description: Text explaining the reason for a supported action.
          example: Rerouted because of an issue in the Facility.
          type: string
        reasonLocalized:
          $ref: '#/components/schemas/LocaleString'
      required:
        - reason
        - reasonLocalized
      type: object
      xml:
        name: AbstractReasonForCreation
    AbstractReasonForModification:
      additionalProperties: false
      properties:
        reason:
          description: Text explaining the reason for a supported action.
          example: Rerouted because of an issue in the Facility.
          type: string
        reasonLocalized:
          $ref: '#/components/schemas/LocaleString'
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - reason
        - reasonLocalized
      type: object
      xml:
        name: AbstractReasonForModification
    AbstractReason:
      allOf:
        - $ref: '#/components/schemas/AbstractReasonForCreation'
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          description: The id of the Reason
          type: string
        action:
          description: The action this reason can be attached to.
          type: string
      required:
        - id
        - action
      type: object
      xml:
        name: AbstractReason
    AbstractReasons:
      properties:
        reasons:
          items:
            $ref: '#/components/schemas/AbstractReason'
          type: array
        hasNextPage:
          description: True if there are more results after the current page
          type: boolean
        total:
          description: Total number of found entities for this query
          type: integer
      required:
        - reasons
        - hasNextPage
        - total
      type: object
      xml:
        name: AbstractReasons
    CarrierCutoffConfiguration:
      properties:
        time:
          type: string
          pattern: ^(2[0-3]|[01]?[0-9]):([0-5]?[0-9])$
          example: '12:00'
        capacity:
          type: number
      type: object
      required:
        - time
      xml:
        name: CarrierCutoffTimes
    CarrierCutoffTimesWeekDay:
      properties:
        day:
          $ref: '#/components/schemas/WeekDay'
        cutoffConfigurations:
          items:
            $ref: '#/components/schemas/CarrierCutoffConfiguration'
          type: array
      type: object
      required:
        - day
        - cutoffConfigurations
      xml:
        name: CarrierCutoffTimesWeekDay
    CarrierCutoffTimesOverwrite:
      properties:
        date:
          type: string
          pattern: ^\d{4}-\d{2}-\d{2}$
          example: '2020-02-03'
        cutoffConfigurations:
          items:
            $ref: '#/components/schemas/CarrierCutoffConfiguration'
          type: array
      type: object
      required:
        - date
        - cutoffConfigurations
      xml:
        name: CarrierCutoffTimes
    CarrierCutoffTimes:
      properties:
        weekdays:
          items:
            $ref: '#/components/schemas/CarrierCutoffTimesWeekDay'
          type: array
        overwrites:
          items:
            $ref: '#/components/schemas/CarrierCutoffTimesOverwrite'
          type: array
      type: object
      required:
        - weekdays
        - overwrites
      xml:
        name: CarrierCutoffTimes
    FacilityCarrierConnection:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          example: fsfdsf87fsd
          type: string
        facilityRef:
          description: The id of the facility reference.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        carrierRef:
          description: ID that references the configured carrier.
          type: string
        deliveryType:
          $ref: '#/components/schemas/CarrierDeliveryType'
        key:
          type: string
        configuration:
          description: Facility specific configuration for this carrier
          anyOf:
            - $ref: '#/components/schemas/GlsFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/AngelFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/PostNLFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/DpdChFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/DhlV2FacilityCarrierConfiguration'
            - $ref: '#/components/schemas/VceFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/BringFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/FedExFacilityCarrierConfiguration'
        credentials:
          description: Facility specific credentials for this carrier
          anyOf:
            - $ref: '#/components/schemas/DHLV2BusinessCredentials'
            - $ref: '#/components/schemas/DpdChCarrierCredentials'
            - $ref: '#/components/schemas/PostNLCarrierCredentials'
            - $ref: '#/components/schemas/VceCarrierCredentials'
        cutoffTime:
          description: '@deprecated'
          $ref: '#/components/schemas/CutoffTime'
        cutoffTimes:
          $ref: '#/components/schemas/CarrierCutoffTimes'
        deliveryAreas:
          items:
            $ref: '#/components/schemas/DeliveryArea'
          type: array
        name:
          description: >-
            This is the well known name for a supported CEP partner. Can be
            adapted to the clients needs.
          example: DHL Köln
          type: string
        status:
          $ref: '#/components/schemas/CarrierStatus'
        parcelLabelClassifications:
          items:
            $ref: '#/components/schemas/ParcelLabelClassification'
          type: array
        tags:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        validDeliveryTargets:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/DeliveryTarget'
      required:
        - id
        - facilityRef
        - carrierRef
        - key
        - status
        - cutoffTimes
      type: object
    FacilityCarrierConnectionForCreation:
      additionalProperties: false
      properties:
        credentials:
          description: Facility specific credentials for this carrier
          anyOf:
            - $ref: '#/components/schemas/DHLV2BusinessCredentials'
            - $ref: '#/components/schemas/DpdChCarrierCredentials'
            - $ref: '#/components/schemas/PostNLCarrierCredentials'
            - $ref: '#/components/schemas/VceCarrierCredentials'
        configuration:
          description: Facility specific configuration for this carrier
          anyOf:
            - $ref: '#/components/schemas/GlsFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/AngelFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/PostNLFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/DpdChFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/DhlV2FacilityCarrierConfiguration'
            - $ref: '#/components/schemas/VceFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/BringFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/FedExFacilityCarrierConfiguration'
        cutoffTime:
          deprecated: true
          description: Deprecated in favor of cutoffTimes
          $ref: '#/components/schemas/CutoffTime'
        cutoffTimes:
          $ref: '#/components/schemas/CarrierCutoffTimes'
        deliveryAreas:
          items:
            $ref: '#/components/schemas/DeliveryArea'
          type: array
        name:
          description: >-
            This is the well known name for a supported CEP partner. Can be
            adapted to the clients needs.
          example: DHL Köln
          type: string
        status:
          $ref: '#/components/schemas/CarrierStatus'
        parcelLabelClassifications:
          items:
            $ref: '#/components/schemas/ParcelLabelClassificationForCreation'
          type: array
        tags:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        validDeliveryTargets:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/DeliveryTarget'
      type: object
    FacilityCarrierConnectionForModification:
      additionalProperties: false
      properties:
        credentials:
          description: Facility specific credentials for this carrier
          anyOf:
            - $ref: '#/components/schemas/DHLV2BusinessCredentials'
            - $ref: '#/components/schemas/DpdChCarrierCredentials'
            - $ref: '#/components/schemas/PostNLCarrierCredentials'
            - $ref: '#/components/schemas/VceCarrierCredentials'
        configuration:
          description: Facility specific configuration for this carrier
          anyOf:
            - $ref: '#/components/schemas/GlsFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/AngelFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/PostNLFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/DpdChFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/DhlV2FacilityCarrierConfiguration'
            - $ref: '#/components/schemas/VceFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/BringFacilityCarrierConfiguration'
            - $ref: '#/components/schemas/FedExFacilityCarrierConfiguration'
        cutoffTime:
          deprecated: true
          description: Deprecated in favor of cutoffTimes
          $ref: '#/components/schemas/CutoffTime'
        cutoffTimes:
          $ref: '#/components/schemas/CarrierCutoffTimes'
        deliveryAreas:
          items:
            $ref: '#/components/schemas/DeliveryArea'
          type: array
        name:
          description: >-
            This is the well known name for a supported CEP partner. Can be
            adapted to the clients needs.
          example: DHL Köln
          type: string
        status:
          $ref: '#/components/schemas/CarrierStatus'
        parcelLabelClassifications:
          items:
            $ref: '#/components/schemas/ParcelLabelClassificationForCreation'
          type: array
        tags:
          type: array
          items:
            $ref: '#/components/schemas/TagReference'
        version:
          type: number
        validDeliveryTargets:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/DeliveryTarget'
      required:
        - version
      type: object
    AbstractFacilityCarrierConfiguration:
      discriminator:
        propertyName: key
      properties:
        key:
          type: string
        serviceUrl:
          type: string
      required:
        - key
      type: object
      xml:
        name: AbstractFacilityCarrierConfiguration
    DhlV2FacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
      properties:
        alternativeReturnAddress:
          $ref: '#/components/schemas/FacilityAddress'
        trackAndTraceUrl:
          type: string
      xml:
        name: DhlV2FacilityCarrierConfiguration
    VceFacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
      properties:
        alternativeReturnAddress:
          $ref: '#/components/schemas/FacilityAddress'
        trackAndTraceUrl:
          type: string
      xml:
        name: VceFacilityCarrierConfiguration
    AngelFacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
        - properties:
            pickupLocationId:
              description: The id of the Pickup Location
              type: string
              pattern: ^[A-z0-9-]{15}$
          type: object
      xml:
        name: AngelFacilityCarrierConfiguration
    PostNLFacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
        - properties:
            customerId:
              type: string
            customerCode:
              type: string
            trackAndTraceUrl:
              type: string
          type: object
          required:
            - customerId
            - customerCode
      xml:
        name: PostNLFacilityCarrierConfiguration
    GlsFacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
        - properties:
            contactId:
              type: string
              pattern: ^[A-z0-9-]{15}$
            returnContactId:
              type: string
              pattern: ^[A-z0-9-]{15}$
            trackAndTraceUrl:
              type: string
            trackAndTraceWsdlUrl:
              type: string
          type: object
      xml:
        name: GlsFacilityCarrierConfiguration
    DpdChFacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
        - properties:
            depot:
              type: string
            trackAndTraceUrl:
              type: string
          type: object
      xml:
        name: DpdChFacilityCarrierConfiguration
    BringFacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
        - properties:
            trackAndTraceUrl:
              type: string
            webhookFftHost:
              type: string
          type: object
      xml:
        name: BringFacilityCarrierConfiguration
    FedExFacilityCarrierConfiguration:
      allOf:
        - $ref: '#/components/schemas/AbstractFacilityCarrierConfiguration'
        - properties:
            trackAndTraceUrl:
              type: string
          type: object
      xml:
        name: FedExFacilityCarrierConfiguration
    ZoneForCreation:
      properties:
        name:
          description: The name of this zone
          type: string
        score:
          description: The score of this zone
          type: number
      required:
        - name
        - score
      type: object
      xml:
        name: ZoneForCreation
    ZoneForReplacement:
      allOf:
        - $ref: '#/components/schemas/ZoneForCreation'
      properties:
        version:
          example: 42
          format: int64
          type: integer
      required:
        - version
      type: object
      xml:
        name: ZoneForReplacement
    Zone:
      allOf:
        - $ref: '#/components/schemas/ZoneForReplacement'
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          description: The id of this zone
          type: string
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system.
          example: Esb20gpHBL94X5NdMp3C
          type: string
      required:
        - id
        - facilityRef
      type: object
      xml:
        name: Zone
    CustomServiceForCreation:
      additionalProperties: false
      properties:
        status:
          $ref: '#/components/schemas/CustomServiceStatus'
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        executionTimeInMin:
          type: integer
          example: 120
        itemsReturnable:
          type: boolean
        itemsRequired:
          $ref: '#/components/schemas/ItemsRequiredEnum'
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/AdditionalInformationForCreation'
      type: object
      required:
        - nameLocalized
        - itemsRequired
        - status
    CustomService:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - $ref: '#/components/schemas/CustomServiceForCreation'
      properties:
        id:
          type: string
        status:
          $ref: '#/components/schemas/CustomServiceStatus'
        name:
          type: string
        description:
          type: string
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/AdditionalInformation'
      type: object
      required:
        - id
    StrippedCustomServices:
      properties:
        customServices:
          items:
            $ref: '#/components/schemas/CustomService'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ItemsRequiredEnum:
      type: string
      enum:
        - MANDATORY
        - NONE
    CustomServiceStatus:
      type: string
      enum:
        - ENABLED
        - DISABLED
    ServiceJobStatus:
      type: string
      enum:
        - OPEN
        - IN_PROGRESS
        - FINISHED
        - CANCELLED
        - WAITING_FOR_INPUT
        - OBSOLETE
        - NOT_READY
    AdditionalInformationValueType:
      type: string
      enum:
        - STRING
        - BOOLEAN
        - NUMBER
        - NOVALUE
        - INPUT_MULTILINE_STRING
    AdditionalInformationForCreation:
      additionalProperties: false
      type: object
      properties:
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        valueType:
          $ref: '#/components/schemas/AdditionalInformationValueType'
        isMandatory:
          type: boolean
      required:
        - nameLocalized
        - valueType
    AdditionalInformation:
      allOf:
        - $ref: '#/components/schemas/AdditionalInformationForCreation'
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        description:
          type: string
      required:
        - id
    ServiceJobAdditionalInformation:
      allOf:
        - $ref: '#/components/schemas/AdditionalInformation'
      type: object
      properties:
        value:
          anyOf:
            - type: string
            - type: number
            - type: boolean
          description: Value of the additional information
          example: some value
    CustomServicePatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyCustomServiceAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: CustomServicePatchActions
    ModifyCustomServiceAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyCustomService', because you want to modify a
                custom service
              enum:
                - ModifyCustomService
              type: string
            status:
              $ref: '#/components/schemas/CustomServiceStatus'
            nameLocalized:
              $ref: '#/components/schemas/LocaleString'
            descriptionLocalized:
              $ref: '#/components/schemas/LocaleString'
            executionTimeInMin:
              type: integer
              description: Time in minutes the custom service takes to be executed
              example: 100
            itemsReturnable:
              type: boolean
              description: >-
                Indicates if the items of the custom service are returnable
                after the custom service has been executed
            itemsRequired:
              $ref: '#/components/schemas/ItemsRequiredEnum'
          required:
            - action
          type: object
      xml:
        name: ModifyCustomServiceAction
    ServiceJobLineItemForCreation:
      type: object
      properties:
        quantity:
          type: integer
          description: Quantity of the items
          example: 12
          minimum: 1
        scannableCodes:
          items:
            type: string
            description: Codes, that identify the article
            example: '4012345678901'
          type: array
        article:
          $ref: '#/components/schemas/ServiceJobLineItemArticle'
      required:
        - quantity
        - article
    ServiceJobAdditionalInformationForCreation:
      type: object
      properties:
        additionalInformationRef:
          type: string
          description: ID of the additional information
          example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
        value:
          anyOf:
            - type: string
            - type: number
            - type: boolean
          description: Value of the additional information
          example: some value
      required:
        - additionalInformationRef
    ServiceJobAdditionalInformationForUpdate:
      type: object
      properties:
        additionalInformationRef:
          type: string
          description: ID of the additional information
          example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
        value:
          anyOf:
            - type: string
            - type: number
            - type: boolean
          description: Value of the additional information
          example: some value
      required:
        - additionalInformationRef
    ServiceJobLineItem:
      allOf:
        - $ref: '#/components/schemas/ServiceJobLineItemForCreation'
      additionalProperties: false
      type: object
      properties:
        id:
          type: string
      required:
        - id
    ServiceJobLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/ArticleAttributeItem'
              type: array
          type: object
          required:
            - title
            - tenantArticleId
      xml:
        name: ServiceLineItemArticle
    ServiceJob:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      additionalProperties: false
      properties:
        operativeProcessRef:
          type: string
        id:
          type: string
        name:
          type: string
        description:
          type: string
        lineItems:
          type: array
          minLength: 1
          items:
            $ref: '#/components/schemas/ServiceJobLineItem'
        processRef:
          type: string
        facilityRef:
          type: string
        status:
          $ref: '#/components/schemas/ServiceJobStatus'
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        executionTimeInMin:
          type: integer
        itemsReturnable:
          type: boolean
        itemsRequired:
          $ref: '#/components/schemas/ItemsRequiredEnum'
        shortId:
          type: string
          example: KD-12-1
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobAdditionalInformation'
        customAttributes:
          description: >-
            Attributes that can be added to the service job. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the information carried here.
          type: object
        targetTime:
          description: At which time the service job is expected to be finished.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        customServiceRef:
          type: string
          description: Id of the customService this ServiceJob was created from.
          example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
        linkedServiceJobsRef:
          type: string
          description: ID of the Linked Service Job, the Service Job should reference.
          example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
        tenantOrderId:
          description: ID of the tenant order, the linked service jobs are part of
          type: string
          example: ocff-order-100
        inheritedLineItems:
          type: array
          items:
            $ref: '#/components/schemas/InheritedServiceJobLineItem'
          description: >-
            Line items that are inherited from a preceding service job in a
            linked service job
      required:
        - id
        - lineItems
        - processRef
        - status
        - nameLocalized
        - itemsRequired
        - facilityRef
        - targetTime
        - customServiceRef
    ServiceJobForCreation:
      properties:
        operativeProcessRef:
          type: string
        customServiceRef:
          type: string
          description: ID of the Custom Service, the Service Job should reference.
          example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
        processRef:
          type: string
          description: ID of the Process, the Service Job belongs to.
          example: 550e8400-e29b-41d4-a716-446655440000
        facilityRef:
          type: string
          description: ID of the Facility, the Service Job is executed in.
          example: ba095e30-879f-11ee-b9d1-0242ac120002
        shortId:
          type: string
          example: KD-12-1
        lineItems:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobLineItemForCreation'
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobAdditionalInformationForCreation'
        customAttributes:
          description: >-
            Attributes that can be added to the service job. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the information carried here.
          type: object
        targetTime:
          description: At which time the service job is expected to be finished.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        tenantOrderId:
          description: ID of the tenant order, the linked service jobs are part of
          type: string
          example: ocff-order-100
        serviceJobLinkRef:
          type: string
          description: ID of the Service Job Link, the Service Job should reference.
          example: 41d43211-g5a1-gg22-a716-ba095e30ds1d
      required:
        - customServiceRef
        - facilityRef
        - targetTime
    ServiceJobWithSearchPaths:
      allOf:
        - $ref: '#/components/schemas/ServiceJob'
      additionalProperties: false
      properties:
        searchPaths:
          type: array
          items:
            type: string
      required:
        - searchPaths
    ServiceJobs:
      properties:
        serviceJobs:
          items:
            $ref: '#/components/schemas/ServiceJobWithSearchPaths'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    ServiceJobOrderBy:
      description: Attribute to order service job by
      enum:
        - TARGET_TIME_ASC
        - TARGET_TIME_DESC
        - LAST_MODIFIED_ASC
        - LAST_MODIFIED_DESC
      type: string
      xml:
        name: ServiceJobOrderBy
    ServiceJobFilterChannel:
      enum:
        - COLLECT
        - SHIPPING
      type: string
      xml:
        name: ServiceJobFilterChannel
    ServiceJobInProgressActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ServiceJobInProgressActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobAdditionalInformationForUpdate'
      required:
        - name
        - version
    ServiceJobObsoleteActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ServiceJobObsoleteActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    ServiceJobOpenActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ServiceJobOpenActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobAdditionalInformationForUpdate'
      required:
        - name
        - version
    ServiceJobFinishedActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ServiceJobFinishedActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobAdditionalInformationForUpdate'
      required:
        - name
        - version
    ServiceJobCancelledActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ServiceJobCancelledActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobAdditionalInformationForUpdate'
      required:
        - name
        - version
    ServiceJobWaitingForInputActionParameter:
      additionalProperties: false
      properties:
        name:
          $ref: '#/components/schemas/ServiceJobWaitingForInputActionEnum'
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
        additionalInformation:
          type: array
          items:
            $ref: '#/components/schemas/ServiceJobAdditionalInformationForUpdate'
      required:
        - name
        - version
    ServiceJobFinishedActionEnum:
      enum:
        - FinishServiceJob
      type: string
    ServiceJobOpenActionEnum:
      enum:
        - OpenServiceJob
      type: string
    ServiceJobObsoleteActionEnum:
      enum:
        - ObsoleteServiceJob
      type: string
    ServiceJobInProgressActionEnum:
      enum:
        - StartServiceJob
      type: string
    ServiceJobCancelledActionEnum:
      enum:
        - CancelServiceJob
      type: string
    ServiceJobWaitingForInputActionEnum:
      enum:
        - HoldServiceJob
      type: string
    ServiceJobActionsParameter:
      anyOf:
        - $ref: '#/components/schemas/ServiceJobInProgressActionParameter'
        - $ref: '#/components/schemas/ServiceJobFinishedActionParameter'
        - $ref: '#/components/schemas/ServiceJobCancelledActionParameter'
        - $ref: '#/components/schemas/ServiceJobWaitingForInputActionParameter'
        - $ref: '#/components/schemas/ServiceJobObsoleteActionParameter'
        - $ref: '#/components/schemas/ServiceJobOpenActionParameter'
    FacilityCustomServiceConnectionStatus:
      type: string
      enum:
        - ACTIVE
        - INACTIVE
    FacilityCustomServiceConnection:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      additionalProperties: false
      properties:
        id:
          type: string
        status:
          $ref: '#/components/schemas/FacilityCustomServiceConnectionStatus'
        facilityRef:
          type: string
        customServiceRef:
          type: string
        executionTimeInMin:
          type: integer
      required:
        - id
        - status
        - facilityRef
        - customServiceRef
    FacilityCustomServiceConnectionForUpdate:
      additionalProperties: false
      properties:
        status:
          $ref: '#/components/schemas/FacilityCustomServiceConnectionStatus'
        executionTimeInMin:
          type: integer
          description: Time in minutes the custom service takes to be executed
          example: 100
        version:
          description: Version of the documentSet you want to update a document of
          example: 42
          format: int64
          type: integer
      required:
        - version
    FacilityCustomServiceConnectionForCreation:
      additionalProperties: false
      properties:
        executionTimeInMin:
          type: integer
          description: Time in minutes the custom service takes to be executed
          example: 100
        status:
          $ref: '#/components/schemas/FacilityCustomServiceConnectionStatus'
      required:
        - status
    StrippedFacilityCustomServiceConnections:
      additionalProperties: false
      properties:
        facilityCustomServiceConnections:
          items:
            $ref: '#/components/schemas/FacilityCustomServiceConnection'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    LinkedServiceJobs:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          example: 9a14e183-ff86-4b6e-a2dc-eb4c7e312ab1
          type: string
        processRef:
          description: >-
            ProcessRef of the added ServiceJobs. All Service Jobs need to be
            part of the same process
          example: 9a14e183-ff86-4b6e-a2dc-eb4c7e312ab1
          type: string
        facilityRef:
          description: Id linked Facility from the includes service jobs
          type: string
          example: cdb1dfc4-8361-4ba9-b3c2-33a6f2fc8d05
        targetTime:
          type: string
          format: date-time
        includedServiceJobLinkIds:
          description: searchable field of all included service job link ids
          items:
            type: string
            example: cdb1dfc4-8361-4ba9-b3c2-33a6f2fc8d05
          type: array
          minItems: 1
        includedServiceJobRefs:
          description: searchable field of all included service job ids
          items:
            type: string
            example: cdb1dfc4-8361-4ba9-b3c2-33a6f2fc8d05
          type: array
          minItems: 1
        status:
          $ref: '#/components/schemas/LinkedServiceJobsStatus'
        serviceJobLinks:
          items:
            $ref: '#/components/schemas/ServiceJobLink'
          type: array
          minItems: 1
        operativeProcessRef:
          type: string
        fullIdentifier:
          type: string
          description: >-
            Full identifier of the service job. Using the full name of the
            customer when created from an order.
          example: 240429_lorem-42
      required:
        - id
        - serviceJobLinks
        - processRef
        - facilityRef
        - includedServiceJobLinkIds
        - includedServiceJobRefs
        - status
        - targetTime
    LinkedServiceJobsStatus:
      type: string
      enum:
        - OPEN
        - IN_PROGRESS
        - FINISHED
        - CANCELLED
        - OBSOLETE
        - NOT_READY
    LinkedServiceJobsForCreation:
      additionalProperties: false
      properties:
        serviceJobLinks:
          items:
            $ref: '#/components/schemas/ServiceJobLinkForCreation'
          type: array
          minItems: 1
        operativeProcessRef:
          type: string
        fullIdentifier:
          type: string
          description: >-
            Full identifier of the service job. Using the full name of the
            customer when created from an order.
          example: 240429_lorem-42
        status:
          $ref: '#/components/schemas/LinkedServiceJobsStatus'
      required:
        - serviceJobLinks
    ServiceJobLinkForCreation:
      additionalProperties: false
      properties:
        serviceJobRef:
          type: string
          example: 0ed803c2-fa20-48d9-9c1b-0d243937a9ad
        previousServiceJobRefs:
          items:
            type: string
            example: 9f197dbf-c724-469b-90f1-dc94f20b2825
          type: array
          maxItems: 1
          minItems: 0
        nextServiceJobLinks:
          items:
            $ref: '#/components/schemas/ServiceJobLinkForCreation'
          type: array
          minItems: 0
      required:
        - serviceJobRef
        - previousServiceJobRefs
        - nextServiceJobLinks
    ServiceJobLinkForAdding:
      additionalProperties: false
      properties:
        serviceJobRef:
          type: string
          example: 0ed803c2-fa20-48d9-9c1b-0d243937a9ad
      required:
        - serviceJobRef
    ServiceJobLink:
      additionalProperties: false
      properties:
        id:
          type: string
          example: 0ed803c2-fa20-48d9-9c1b-0d243937a9ad
        serviceJobRef:
          type: string
          example: 0ed803c2-fa20-48d9-9c1b-0d243937a9ad
        previousServiceJobRefs:
          items:
            type: string
            example: 9f197dbf-c724-469b-90f1-dc94f20b2825
          type: array
          maxItems: 1
          minItems: 0
        previousServiceJobLinkRefs:
          description: id of the created previous service job links
          items:
            type: string
            example: 9f197dbf-c724-469b-90f1-dc94f20b2825
          type: array
          maxItems: 1
          minItems: 0
        nextServiceJobLinks:
          items:
            $ref: '#/components/schemas/ServiceJobLink'
          type: array
          minItems: 0
      required:
        - id
        - serviceJobRef
        - previousServiceJobRefs
        - previousServiceJobLinkRefs
        - nextServiceJobLinks
    InheritedServiceJobLineItem:
      additionalProperties: false
      properties:
        id:
          type: string
        quantity:
          type: integer
          description: Quantity of the items
          example: 12
          minimum: 1
        scannableCodes:
          items:
            type: string
            description: Codes, that identify the article
            example: '4012345678901'
          type: array
        article:
          $ref: '#/components/schemas/ServiceJobLineItemArticle'
        serviceJobRef:
          type: string
      required:
        - id
        - quantity
        - article
        - serviceJobRef
    LinkedServiceJobsWithSearchPaths:
      allOf:
        - $ref: '#/components/schemas/LinkedServiceJobs'
      additionalProperties: false
      properties:
        searchPaths:
          type: array
          items:
            type: string
      required:
        - searchPaths
    LinkedServiceJobsPaginatedResult:
      additionalProperties: false
      type: object
      properties:
        total:
          type: object
          minimum: 0
        linkedServiceJobs:
          type: array
          items:
            $ref: '#/components/schemas/LinkedServiceJobsWithSearchPaths'
      required:
        - total
        - linkedServiceJobs
    LinkedServiceJobsOrderBy:
      description: Attribute to order linked service jobs by
      enum:
        - LAST_MODIFIED_ASC
        - LAST_MODIFIED_DESC
        - TARGET_TIME_ASC
        - TARGET_TIME_DESC
      type: string
      xml:
        name: LinkedServiceJobsOrderBy
    LinkedServiceJobsFilterChannel:
      enum:
        - COLLECT
        - SHIPPING
      type: string
      xml:
        name: LinkedServiceJobsFilterChannel
    HealthResult:
      properties:
        status:
          $ref: '#/components/schemas/HealthStatus'
        dependencies:
          items:
            $ref: '#/components/schemas/HealthDependencyStatus'
          type: array
          minItems: 1
      type: object
      required:
        - status
        - dependencies
    HealthDependencyStatus:
      properties:
        name:
          example: database
          description: Name of the component that is checked to be healthy
          type: string
        status:
          $ref: '#/components/schemas/HealthStatus'
      type: object
      required:
        - name
        - status
    HealthStatus:
      enum:
        - UP
        - DOWN
      type: string
    CurrencyCode:
      type: string
      description: >-
        The currency code is a three-letter code that represents a currency in
        the ISO 4217 standard.
      enum:
        - AED
        - AFN
        - ALL
        - AMD
        - ANG
        - AOA
        - ARS
        - AUD
        - AWG
        - AZN
        - BAM
        - BBD
        - BDT
        - BGN
        - BHD
        - BIF
        - BMD
        - BND
        - BOB
        - BOV
        - BRL
        - BSD
        - BTN
        - BWP
        - BYN
        - BZD
        - CAD
        - CDF
        - CHE
        - CHF
        - CHW
        - CLF
        - CLP
        - CNY
        - COP
        - COU
        - CRC
        - CUC
        - CUP
        - CVE
        - CZK
        - DJF
        - DKK
        - DOP
        - DZD
        - EGP
        - ERN
        - ETB
        - EUR
        - FJD
        - FKP
        - GBP
        - GEL
        - GHS
        - GIP
        - GMD
        - GNF
        - GTQ
        - GYD
        - HKD
        - HNL
        - HTG
        - HUF
        - IDR
        - ILS
        - INR
        - IQD
        - IRR
        - ISK
        - JMD
        - JOD
        - JPY
        - KES
        - KGS
        - KHR
        - KMF
        - KPW
        - KRW
        - KWD
        - KYD
        - KZT
        - LAK
        - LBP
        - LKR
        - LRD
        - LSL
        - LYD
        - MAD
        - MDL
        - MGA
        - MKD
        - MMK
        - MNT
        - MOP
        - MRU
        - MUR
        - MVR
        - MWK
        - MXN
        - MXV
        - MYR
        - MZN
        - NAD
        - NGN
        - NIO
        - NOK
        - NPR
        - NZD
        - OMR
        - PAB
        - PEN
        - PGK
        - PHP
        - PKR
        - PLN
        - PYG
        - QAR
        - RON
        - RSD
        - RUB
        - RWF
        - SAR
        - SBD
        - SCR
        - SDG
        - SEK
        - SGD
        - SHP
        - SLE
        - SOS
        - SRD
        - SSP
        - STN
        - SVC
        - SYP
        - SZL
        - THB
        - TJS
        - TMT
        - TND
        - TOP
        - TRY
        - TTD
        - TWD
        - TZS
        - UAH
        - UGX
        - USD
        - USN
        - UYI
        - UYU
        - UYW
        - UZS
        - VED
        - VES
        - VND
        - VUV
        - WST
        - XAF
        - XAG
        - XAU
        - XBA
        - XBB
        - XBC
        - XBD
        - XCD
        - XDR
        - XOF
        - XPD
        - XPF
        - XPT
        - XSU
        - XTS
        - XUA
        - XXX
        - YER
        - ZAR
        - ZMW
        - ZWL
    LocaleString:
      type: object
      additionalProperties:
        type: string
      description: >-
        Provides Localized values. The key is the locale, the value is the
        translation. See
        https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/localization#fallback-language-mechanism
      example:
        de_DE: Wert
        en_US: Value
        ru_RU: значение
    ArticleAttributeItem:
      type: object
      properties:
        category:
          type: string
          enum:
            - descriptive
            - miscellaneous
            - pickingSequence
          description: |-
            This category is used by OCFF to customize implemented processes.
            Categorized attributes are used by various processes and tools
            throughout our platform. For a complete list of possible categories
            and the correct use of those please refer to the documentation.
            Default value: miscellaneous
        key:
          type: string
          description: |-
            Providing the key %%subtitle%% (see example) here will cause the
            value to appear for example in the App directly under the title.
            With all other attributes also the key will be displayed in the
             clients.
          example: '%%subtitle%%'
          minLength: 1
        keyLocalized:
          description: >-
            The translations for the key of the attribute. This can be only
            filled with a descriptive category. Excluding for %%subtitle%%
          allOf:
            - $ref: '#/components/schemas/LocaleString'
        priority:
          type: integer
          description: |-
            This value gives the priority in the respective attribute category.
            The lower the value the higher is the priority, e.g. priority 1 is
            higher than priority 10. Attributes that have the highest priority
            might be selected for display in different articles of OCFF. Default
            Value is 1001. For details please contact the product owners.
          example: 100
          format: int64
          minimum: 1
          maximum: 1000
        value:
          type: string
          example: 585er Gold
          minLength: 1
        valueLocalized:
          description: >-
            The translations for the key of the attribute. This can be only
            filled with a descriptive category
          allOf:
            - $ref: '#/components/schemas/LocaleString'
      required:
        - key
        - value
    AbstractArticle:
      type: object
      properties:
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        imageUrl:
          type: string
          description: >-
            A web link to a picture of this article. Please make sure that no
            authentication is required to fetch the image!
        tenantArticleId:
          type: string
          description: This is a reference to an article number
          example: '4711'
        title:
          type: string
          description: The title of the product
          example: Cologne Water
        titleLocalized:
          description: The translations for the title of the product
          allOf:
            - $ref: '#/components/schemas/LocaleString'
        weight:
          type: number
          description: weight value is in gram
          minimum: 0
      required:
        - tenantArticleId
        - title
    OperativeTransfer:
      type: object
      properties:
        id:
          description: The id of the transfer
          type: string
          example: 018fe899-80ec-70f8-9bda-f7cc904bc0bf
        type:
          description: The type of the transfer
          enum:
            - SUPPLIER
            - RECEIVER
          example: RECEIVER
      required:
        - id
        - type
      additionalProperties: false
    BaseDecisionDetail:
      properties:
        decisionType:
          $ref: '#/components/schemas/DecisionType'
      required:
        - decisionType
    DecisionType:
      enum:
        - FENCE
        - TOOLKIT
        - TOOLKITCOMPARISON
        - RATING
    CustomServiceReference:
      allOf:
        - $ref: '#/components/schemas/CustomServiceReferenceForCreation'
      properties:
        id:
          type: string
        customServiceItems:
          items:
            $ref: '#/components/schemas/CustomServiceItem'
          type: array
      type: object
      required:
        - customServiceDefinition
        - articleItems
        - customServiceItems
        - id
    CustomServiceReferenceForCreation:
      additionalProperties: false
      properties:
        customServiceDefinition:
          $ref: '#/components/schemas/CustomServiceDefinition'
        articleItems:
          items:
            $ref: '#/components/schemas/ArticleItem'
          type: array
        customServiceItems:
          items:
            $ref: '#/components/schemas/CustomServiceItemForCreation'
          type: array
      type: object
      required:
        - customServiceDefinition
        - articleItems
        - customServiceItems
    CustomServiceItem:
      allOf:
        - $ref: '#/components/schemas/CustomServiceItemForCreation'
      properties:
        id:
          type: string
        customServiceItems:
          items:
            $ref: '#/components/schemas/CustomServiceItem'
          type: array
      type: object
      required:
        - id
        - customServiceItems
        - articleItems
        - customServiceDefinition
    CustomServiceItemForCreation:
      additionalProperties: false
      properties:
        customServiceDefinition:
          $ref: '#/components/schemas/CustomServiceDefinition'
        articleItems:
          items:
            $ref: '#/components/schemas/ArticleItem'
          type: array
        customServiceItems:
          items:
            $ref: '#/components/schemas/CustomServiceItemForCreation'
          type: array
      type: object
      required:
        - customServiceItems
        - articleItems
        - customServiceDefinition
    CustomServiceDefinition:
      properties:
        customServiceRef:
          description: >-
            A reference to the custom service to be applied to the orderline
            items
          type: string
        isBundled:
          description: if true all articles below this service are intrpreted as a bundle
          type: boolean
        additionalInformation:
          items:
            properties:
              additionalInformationRef:
                description: >-
                  A reference to the specific additional information of the
                  custom service
                type: string
              value:
                description: The value of the additional information
                anyOf:
                  - type: string
                  - type: integer
                  - type: number
                  - type: boolean
            type: object
            required:
              - additionalInformationRef
          description: Additional information necessary to fulfil the custom service
          type: array
      type: object
    Order:
      allOf:
        - $ref: '#/components/schemas/OrderForCreation'
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            cancelationReason:
              $ref: '#/components/schemas/CancelationReason'
            anonymized:
              description: Indicates if gdpr related data was anonymized
              example: false
              type: boolean
            id:
              description: >-
                The id of this order. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: LGMl2DuvPnfPoSHhYFOm
              type: string
            orderLineItems:
              items:
                $ref: '#/components/schemas/OrderLineItem'
              type: array
            processId:
              description: >-
                Id of the global process related to this entity. For example
                used for starting the GDPR process and others.
              type: string
            customServices:
              type: array
              minItems: 1
              items:
                $ref: '#/components/schemas/CustomServiceReference'
            schemaVersion:
              type: number
            status:
              $ref: '#/components/schemas/OrderStatus'
          required:
            - id
            - status
            - orderLineItems
            - processId
          type: object
      xml:
        name: Order
    OrderArticleAttributeItem:
      allOf:
        - $ref: '#/components/schemas/ArticleAttributeItem'
    OrderPaymentInfo:
      properties:
        currency:
          description: The currency in which the consumer paid with
          example: EUR
          type: string
      type: object
    OrderForCreation:
      additionalProperties: false
      properties:
        consumer:
          properties:
            addresses:
              items:
                $ref: '#/components/schemas/ConsumerAddress'
              type: array
            customAttributes:
              description: >-
                Attributes that can be added to the consumer. These attributes
                cannot be used within fulfillment processes, but it could be
                useful to have the informations carried here.
              type: object
            email:
              description: The email address of the consumer.
              example: max@speedyboxales.com
              format: email
              type: string
          required:
            - addresses
          type: object
        customAttributes:
          description: >-
            Attributes that can be added to the order. These attributes cannot
            be used within fulfillment processes, but it could be useful to have
            the informations carried here.
          type: object
        deliveryPreferences:
          $ref: '#/components/schemas/DeliveryPreferences'
        orderDate:
          description: The date this order was created at the supplying system.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        orderLineItems:
          items:
            $ref: '#/components/schemas/OrderLineItemForCreation'
          type: array
        status:
          $ref: '#/components/schemas/OrderStatus'
        stickers:
          type: array
          minItems: 1
          maxItems: 100
          items:
            $ref: '#/components/schemas/Sticker'
        tenantOrderId:
          description: >-
            Field can be used as a reference number in foreign systems, for
            example as a reference to the source system's identifier for this
            order.
          example: R456728546
          type: string
        tags:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        customServices:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/CustomServiceReferenceForCreation'
        paymentInfo:
          $ref: '#/components/schemas/OrderPaymentInfo'
        statusReasons:
          type: array
          items:
            $ref: '#/components/schemas/OrderStatusReason'
        promisesOptions:
          $ref: '#/components/schemas/OrderPromisesOptions'
      required:
        - orderDate
        - orderLineItems
        - consumer
      type: object
      xml:
        name: Order
    OrderPromisesOptions:
      additionalProperties: false
      required:
        - validUntil
      properties:
        validUntil:
          description: >-
            The date the promised order will become invalid and is cancelled
            automatically, when not transformed into an actual order.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      type: object
      xml:
        name: OrderPromisesOptions
    CheckoutOptionsConsumerAddress:
      properties:
        city:
          example: Langenfeld
          pattern: ^.+$
          type: string
        country:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        province:
          example: NRW
          pattern: ^.+$
          type: string
        houseNumber:
          example: 42a
          pattern: ^.+$
          type: string
        postalCode:
          example: '40764'
          pattern: ^.+$
          type: string
        street:
          example: Hauptstr.
          pattern: ^.+$
          type: string
      type: object
      required:
        - country
    CheckoutOptionsDeliveryEarliestResponse:
      properties:
        checkoutOptions:
          type: array
          description: >-
            The results of the corresponding request containing information, if
            present, on when the items can supposingly be delivered earliest.
            Please note: When it was not possible to calculate the delivery
            information for a requested tenantArticleId there is no entry here.
          items:
            $ref: '#/components/schemas/CheckoutOptionsDeliveryEarliestResponseItem'
      required:
        - checkoutOptions
    CheckoutOptionsDeliveryEarliestResponseItem:
      properties:
        tenantArticleId:
          type: string
          example: DE-ZGT-4711
        earliestPredictedDeliveryDate:
          type: string
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
        availableCarriers:
          description: List of available carriers.
          type: array
          items:
            $ref: >-
              #/components/schemas/CheckoutOptionsDeliveryEarliestResponseItemAvailableCarrier
      required:
        - tenantArticleId
        - predictedDeliveryDate
    CheckoutOptionsDeliveryEarliestResponseItemAvailableCarrier:
      properties:
        name:
          type: string
          example: DHL
        nonDeliveryDays:
          type: array
          items:
            description: ISO 3166-2 province code
            type: string
            example: DE-NW
    CheckoutOptionsInput:
      additionalProperties: false
      properties:
        consumerAddress:
          $ref: '#/components/schemas/CheckoutOptionsConsumerAddress'
        deliveryPreferences:
          $ref: '#/components/schemas/DeliveryPreferences'
        orderLineItems:
          items:
            $ref: '#/components/schemas/OrderLineItemForCreation'
          type: array
        tags:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TagReference'
        customServices:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/CustomServiceReference'
        geoFence:
          $ref: '#/components/schemas/GeoFence'
        filterDuplicates:
          type: boolean
          default: true
      required:
        - orderLineItems
        - deliveryPreferences
      type: object
      xml:
        name: CheckoutOptionsInput
    CheckoutOptionsAvailability:
      additionalProperties: false
      properties:
        tenantArticleId:
          type: string
        available:
          type: number
        preOrderReleaseDate:
          format: date-time
          type: string
        isBackOrderable:
          type: boolean
      required:
        - tenantArticleId
        - available
        - isBackOrderable
      type: object
      xml:
        name: CheckoutOptionsAvailability
    PromiseCarrier:
      additionalProperties: false
      properties:
        carrierKey:
          type: string
        carrierName:
          type: string
        products:
          items:
            $ref: '#/components/schemas/PromiseDeliveryOptions'
          type: array
        deliveryPromiseValidUntil:
          type: string
          format: date-time
        latestPickingStart:
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
      required:
        - carrierKey
        - carrierName
        - products
      type: object
      xml:
        name: PromiseCarrier
    EstimatedDeliveryTime:
      type: object
      properties:
        minDeliveryDays:
          description: Minimum total delivery time in days
          example: 1
          type: integer
          minimum: 0
        maxDeliveryDays:
          description: Maximum total delivery time in days
          example: 3
          type: integer
          minimum: 0
      required:
        - maxDeliveryDays
        - minDeliveryDays
    PromiseDeliveryOptions:
      additionalProperties: false
      properties:
        carrierProductCategory:
          $ref: '#/components/schemas/CarrierProductCategory'
        transitTime:
          $ref: '#/components/schemas/CarrierTransitTime'
        estimatedDeliveryTime:
          $ref: '#/components/schemas/EstimatedDeliveryTime'
        deliveryCosts:
          items:
            $ref: '#/components/schemas/DeliveryCost'
          type: array
      required:
        - carrierProductCategory
        - deliveryCosts
      type: object
      xml:
        name: PromiseDeliveryOptions
    CheckoutOptionsDeliveryEarliestRequest:
      properties:
        earliestDeliveryDate:
          description: >-
            The date from which to search for the earliest potential delivery
            date. Defaults to "now" (timestamp of the request)
          example: '2024-06-01T00:00:00.000Z'
          default: now
          format: date-time
          type: string
        tenantArticleIds:
          type: array
          items:
            type: string
            description: >-
              The tenant articleIds for which the check is performed. The
              provided items are considered individually.
            example: DE-ZGT-4711
            minLength: 1
            maxLength: 50
        consumerAddress:
          $ref: '#/components/schemas/CheckoutOptionsConsumerAddress'
      required:
        - tenantArticleIds
    CheckoutOptionsDeliveryTimePeriodResponse:
      properties:
        checkoutOptions:
          type: array
          items:
            $ref: '#/components/schemas/CheckoutOptionsDeliveryTimePeriodResponseItem'
      required:
        - checkoutOptions
    CheckoutOptionsDeliveryTimePeriodResponseItem:
      properties:
        overallStatus:
          type: string
          enum:
            - ALL
            - PARTIAL
            - NONE
        date:
          type: string
          example: '2020-02-03T00:00:00.000Z'
          format: date-time
        availableCarriers:
          type: array
          items:
            $ref: >-
              #/components/schemas/CheckoutOptionsDeliveryEarliestResponseItemAvailableCarrier
      required:
        - date
        - overallStatus
    CheckoutOptionsCustomServices:
      additionalProperties: false
      properties:
        customServiceRef:
          type: string
        name:
          type: string
      required:
        - customServiceRef
        - name
      type: object
      xml:
        name: CheckoutOptionsCustomServices
    CheckoutOptionsFacilityForSFS:
      additionalProperties: false
      properties:
        facilityRef:
          type: string
        name:
          type: string
        availabilities:
          items:
            $ref: '#/components/schemas/CheckoutOptionsAvailability'
          type: array
        deliveryOptions:
          items:
            $ref: '#/components/schemas/PromiseCarrier'
          type: array
        customServices:
          items:
            $ref: '#/components/schemas/CheckoutOptionsCustomServices'
          type: array
      required:
        - facilityRef
        - name
        - availabilities
        - deliveryOptions
        - customServices
      type: object
      xml:
        name: CheckoutOptionsFacilityForSFS
    CheckoutOptionsFacilityForCNC:
      additionalProperties: false
      properties:
        facilityRef:
          type: string
        name:
          type: string
        address:
          $ref: '#/components/schemas/FacilityAddress'
        closingDays:
          items:
            $ref: '#/components/schemas/ClosingDay'
          type: array
        pickingTimes:
          $ref: '#/components/schemas/PickingTimes'
        availabilities:
          items:
            $ref: '#/components/schemas/CheckoutOptionsAvailability'
          type: array
        customServices:
          items:
            $ref: '#/components/schemas/CheckoutOptionsCustomServices'
          type: array
        targetTime:
          format: date-time
          type: string
      required:
        - facilityRef
        - name
        - address
        - closingDays
        - pickingTimes
        - availabilities
        - customServices
        - targetTime
      type: object
      xml:
        name: CheckoutOptionsFacilityForCNC
    ResponseForSFSCheckoutOptions:
      additionalProperties: false
      properties:
        facilities:
          items:
            $ref: '#/components/schemas/CheckoutOptionsFacilityForSFS'
          type: array
      required:
        - facilities
      type: object
      xml:
        name: ResponseForSFSCheckoutOptions
    ResponseForCNCCheckoutOptions:
      additionalProperties: false
      properties:
        facilities:
          items:
            $ref: '#/components/schemas/CheckoutOptionsFacilityForCNC'
          type: array
      required:
        - facilities
      type: object
      xml:
        name: ResponseForCNCCheckoutOptions
    DeliveryPromiseLineItem:
      type: object
      properties:
        tenantArticleId:
          type: string
        title:
          type: string
        quantity:
          type: number
        available:
          type: number
        outOfStockBehaviour:
          enum:
            - BACKORDER
          type: string
        availabilityTimeframe:
          $ref: '#/components/schemas/AvailabilityTimeframe'
    DeliveryPromiseShipment:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/BasicDeliveryPromiseShipment'
      properties:
        carriers:
          items:
            $ref: '#/components/schemas/PromiseCarrier'
          type: array
      required:
        - carriers
      type: object
      xml:
        name: DeliveryPromiseShipment
    BasicDeliveryPromiseShipmentFacility:
      additionalProperties: false
      properties:
        facilityRef:
          type: string
        facilityName:
          type: string
      required:
        - facilityName
        - facilityRef
    BasicDeliveryPromiseShipment:
      additionalProperties: false
      properties:
        lineItems:
          items:
            $ref: '#/components/schemas/DeliveryPromiseLineItem'
          type: array
        facility:
          $ref: '#/components/schemas/BasicDeliveryPromiseShipmentFacility'
      required:
        - lineItems
        - facility
      type: object
      xml:
        name: DeliveryPromiseShipment
    DeliveryPromiseCollect:
      additionalProperties: false
      allOf:
        - $ref: '#/components/schemas/BasicDeliveryPromiseShipment'
      properties:
        targetTime:
          format: date-time
          type: string
      required:
        - targetTime
      type: object
      xml:
        name: DeliveryPromiseCollect
    ResponseForDeliveryPromise:
      additionalProperties: false
      properties:
        orderRef:
          type: string
        orderVersion:
          type: number
        promisesOptions:
          $ref: '#/components/schemas/OrderPromisesOptions'
        collect:
          $ref: '#/components/schemas/DeliveryPromiseCollect'
        shipToCustomer:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryPromiseShipment'
        shipToStore:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryPromiseShipment'
        backOrdered:
          $ref: '#/components/schemas/Backordered'
      required:
        - orderRef
        - orderVersion
      type: object
      xml:
        name: ResponseForDeliveryPromise
    Backordered:
      type: object
      properties:
        lineItems:
          items:
            $ref: '#/components/schemas/DeliveryPromiseLineItem'
          type: array
      required:
        - lineItems
    OrderStatusReason:
      properties:
        reason:
          description: The reason for setting this order status
          type: string
        status:
          $ref: '#/components/schemas/OrderStatus'
      required:
        - reason
        - status
    OrderLineItem:
      allOf:
        - $ref: '#/components/schemas/OrderLineItemForCreation'
        - properties:
            id:
              description: >-
                The id of this orderline. It is generated during creation
                automatically by the API and suits as the primary identifier of
                the described line.
              example: LGMl2DuvPnfPoSHhYFOm
              type: string
          required:
            - id
          type: object
    OrderLineItemArticle:
      allOf:
        - $ref: '#/components/schemas/AbstractArticle'
        - properties:
            attributes:
              items:
                $ref: '#/components/schemas/OrderArticleAttributeItem'
              type: array
          type: object
      xml:
        name: OrderLineItemArticle
    OrderLineItemForCreation:
      additionalProperties: false
      properties:
        article:
          $ref: '#/components/schemas/OrderLineItemArticle'
        customAttributes:
          description: >-
            Attributes that can be added to the orderline. These attributes
            cannot be used within fulfillment processes, but it could be useful
            to have the informations carried here.
          type: object
        measurementUnitKey:
          description: Identifier for items unit of measurement.
          example: liter
          type: string
        quantity:
          description: quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 1
          type: integer
        secondaryMeasurementUnitKey:
          description: Secondary identifier for items unit of measurement.
          example: liter
          type: string
        secondaryQuantity:
          description: Secondary quantity of the specific article that has been ordered
          example: 21
          format: int64
          minimum: 0
          type: integer
        scannableCodes:
          items:
            description: Codes, that identify the article
            type: string
          type: array
        measurementValidation:
          $ref: '#/components/schemas/MeasurementValidation'
        shopPrice:
          description: price per piece of this line item
          example: 1200
          type: number
        tags:
          items:
            $ref: '#/components/schemas/TagReference'
          type: array
        allowedSubstitutes:
          items:
            $ref: '#/components/schemas/Substitute'
          type: array
          description: >-
            Array of allowed substitutes for given orderLineItem. If an empty
            array is provided, no substitute is allowed for this orderLineItem.
            If allowedSubstitutes is not provided, this configured substitutes
            on listing level will be available
      required:
        - article
        - quantity
      type: object
    OrderRoutingConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        infiniteStockEnabled:
          description: Config to enable/disable infinite stock
          type: boolean
        id:
          type: string
      type: object
    FixedCountConfiguration:
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />Configuration of fixed count split.
      properties:
        maxSplitCount:
          description: >-
            This setting defines how often an order split might be performed to
            fulfill the order.
          minimum: 1
          type: number
      required:
        - maxSplitCount
      type: object
    OrderSplit:
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      additionalProperties: false
      properties:
        active:
          default: false
          type: boolean
        activeForSameDay:
          default: false
          type: boolean
        shouldUseWaitingRoomForPreBackOrderItems:
          default: false
          type: boolean
        fixedCountConfiguration:
          $ref: '#/components/schemas/FixedCountConfiguration'
        orderSplitType:
          $ref: '#/components/schemas/OrderSplitType'
      required:
        - active
        - orderSplitType
      type: object
    OrderSplitType:
      description: The type of order split
      enum:
        - FIXED_COUNT
      type: string
      xml:
        name: OrderSplitType
    RoutingPlanLineItem:
      allOf:
        - $ref: '#/components/schemas/OrderLineItem'
      properties:
        picked:
          type: number
        available:
          type: number
        pieces:
          type: array
          items:
            $ref: '#/components/schemas/RoutingPlanLineItemPiece'
        outOfStockBehaviour:
          enum:
            - BACKORDER
          type: string
        availabilityTimeframe:
          $ref: '#/components/schemas/AvailabilityTimeframe'
    RoutingPlanLineItemPiece:
      properties:
        partialStockRef:
          type: string
        quantity:
          type: number
        available:
          type: number
        mandatoryScore:
          type: number
        sequenceScore:
          type: number
        location:
          $ref: '#/components/schemas/Location'
        picked:
          type: number
      type: object
    RoutingPlanPatchActions:
      properties:
        actions:
          items:
            $ref: '#/components/schemas/ModifyRoutingPlanAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: RoutingPlanPatchActions
    RoutingPlanStatus:
      description: >-
        A routing plan line initially has the status INITIAL. Final state is
        ROUTED
      enum:
        - INITIAL
        - PRIORITIZED
        - ROUTING
        - PROPOSED
        - PLANNED
        - ROUTED
        - NOT_ROUTABLE
        - MANUAL_PLANNED
        - FAILED
        - REDUNDANT_REROUTE
        - FAILED_REROUTE
        - RETRYABLE
        - FALLBACK_ROUTING
        - WAITING
        - OBSOLETE
        - CANCELED
        - LOCKED
        - PROMISED
        - REROUTED
      type: string
      xml:
        name: RoutingPlanStatus
    ConsolidatedRoutingPlanStatus:
      description: |-
        This status consolidates many of the RoutingPlanStatus and offers
        a more detailes explanation of what happened to the routing plan.
      enum:
        - ROUTED
        - ROUTED_THEN_REROUTED
        - PROCESS_MANUAL_REROUTED_THEN_ROUTED
        - PROCESS_MANUAL_REROUTED_THEN_NOT_ROUTABLE
        - PROCESS_MANUAL_REROUTED_THEN_REROUTED_AND_SPLIT
        - ROUTING_PLAN_REROUTED_THEN_ROUTED_TO_SAME_FACILITY
        - ROUTING_PLAN_SHORTPICKED_THEN_ROUTED_TO_SAME_FACILITY
        - ROUTING_PLAN_CREATED_THEN_ROUTING
        - ROUTING_PLAN_CREATED_THEN_PLANNED
        - ROUTING_PLAN_REROUTED_THEN_FAILED
        - FACILITY_MANUALLY_ASSIGNED_TO_PICKJOB_THEN_ROUTED
        - FACILITY_MANUALLY_ASSIGNED_TO_PROCESS_THEN_ROUTED
        - STOCK_UPDATE_RECEIVED_THEN_REACTIVATED
        - ROUTING_PLAN_REROUTE_TIMETRIGGERED_THEN_REROUTED
        - ROUTING_PLAN_REROUTE_TIMETRIGGERED_THEN_REROUTED_AND_SPLIT
        - ROUTING_PLAN_SHORTPICKED_THEN_REROUTED
        - ROUTING_PLAN_SHORTPICKED_THEN_SPLIT
        - ROUTING_PLAN_SHORTPICKED_THEN_REROUTED_AND_SPLIT
        - ROUTING_PLAN_REROUTE_STOCK_ZERO_THEN_REROUTED
        - ROUTING_PLAN_REROUTE_STOCK_ZERO_THEN_REROUTED_AND_SPLIT
        - ROUTING_PLAN_REROUTE_STOCK_ZERO_THEN_REROUTED_TO_SAME_FACILITY
        - PICKJOB_REJECTED_THEN_REROUTED
        - PICKJOB_REJECTED_THEN_NOT_ROUTABLE
        - PICKJOB_REJECTED_THEN_ROUTED_AND_SPLIT
        - ROUTED_AND_SPLIT
        - OBSOLETE
        - OBSOLETE_WAS_ROUTED
        - OBSOLETE_WAS_SHORTPICKED
        - UNKNOWN
        - RETRYABLE
        - FAILED_REROUTE
        - ROUTED_THEN_CANCELED
        - ROUTED_AND_SPLIT_THEN_CANCELED
        - ROUTING_PLAN_SHORTPICKED_THEN_SPLIT_THEN_CANCELED
        - ROUTING_PLAN_SHORTPICKED_THEN_REROUTED_THEN_CANCELED
        - ROUTING_PLAN_SHORTPICKED_THEN_REROUTED_AND_SPLIT_THEN_CANCELED
        - ROUTING_PLAN_REROUTE_TIMETRIGGERED_THEN_REROUTED_THEN_CANCELED
        - >-
          ROUTING_PLAN_REROUTE_TIMETRIGGERED_THEN_REROUTED_AND_SPLIT_THEN_CANCELED
        - FACILITY_MANUALLY_ASSIGNED_TO_PICKJOB_THEN_ROUTED_THEN_CANCELED
        - FACILITY_MANUALLY_ASSIGNED_TO_PROCESS_THEN_ROUTED_THEN_CANCELED
        - PROCESS_MANUAL_REROUTED_THEN_ROUTED_THEN_CANCELED
        - PROCESS_MANUAL_REROUTED_THEN_REROUTED_AND_SPLIT_THEN_CANCELED
        - CANCELED
        - NOT_ROUTABLE
        - WAITING
        - WAITING_AND_SPLIT
        - WAITING_THEN_ROUTED
        - WAITING_THEN_ROUTED_AND_SPLIT
        - WAITING_THEN_NOT_ROUTABLE
        - WAITING_THEN_WAITING_AND_SPLIT
        - LOCKED
        - INITIAL
      type: string
      xml:
        name: RealRoutingPlanStatus
    RoutingPlans:
      properties:
        routingPlans:
          items:
            $ref: '#/components/schemas/RoutingPlan'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    RoutingRule:
      additionalProperties: false
      properties:
        fences:
          items:
            $ref: '#/components/schemas/Fence'
          type: array
        orderSplit:
          $ref: '#/components/schemas/OrderSplit'
        ratings:
          items:
            $ref: '#/components/schemas/Rating'
          type: array
      required:
        - ratings
        - fences
      type: object
    AbstractRatingConfiguration:
      description: Base Configuration for Ratings. See documentation for Details.
      type: object
      xml:
        name: AbstractRatingConfiguration
    Rating:
      additionalProperties: false
      description: >-
        A rating is used to rate a set of possible facilities against each other
        during routing of orders.
      properties:
        active:
          type: boolean
        configuration:
          $ref: '#/components/schemas/AbstractRatingConfiguration'
        description:
          type: string
        id:
          description: >-
            This value identifies this very instance of the rating. It is set
            automatically by the server when the configuration is updated.
          example: 579ff115-8941-4221-8530-04f8b4adf59f
          type: string
        implementation:
          $ref: '#/components/schemas/RatingImplementation'
        maxPenalty:
          example: 100
          type: number
          minimum: 0
        name:
          type: string
      required:
        - name
        - active
        - implementation
        - maxPenalty
        - id
      type: object
    RatingImplementation:
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />
      enum:
        - STOCK-BALANCING
        - GEO-DISTANCE
        - TURNOVER
        - STOCK-AVAILABILITY
        - WORKLOAD-BALANCING
        - MATCHING-BUSINESSTYPE
        - PREFER-STORE
        - PREFER-WAREHOUSE
        - ZONE
        - EXPIRY-DATE
        - CAPACITY
        - DELIVERY-COSTS
        - DELIVERY-TIME
      type: string
      xml:
        name: RatingImplementation
    RerouteReason:
      enum:
        - PROCESSREROUTE
        - MANUAL
        - SHORTPICK
        - TIMETRIGGERED
        - STOCKZEROED
        - ABORTED
        - RECALCULATION
      type: string
    RerouteRoutingPlan:
      properties:
        allReroutable:
          description: >-
            if set to true every reroutable routing plan is rerouted. overrules
            every other identifier
          type: boolean
        orderRefs:
          items:
            type: string
          maxItems: 10
          type: array
        routingPlanIds:
          items:
            type: string
          maxItems: 10
          type: array
        tenantOrderIds:
          items:
            type: string
          maxItems: 10
          type: array
      type: object
    StrippedOrder:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
        - properties:
            id:
              description: >-
                The id of this order. It is generated during creation
                automatically and suits as the primary identifier of the
                described entity.
              example: LGMl2DuvPnfPoSHhYFOm
              type: string
            orderDate:
              description: The date this order was created at the supplying system.
              example: '2020-02-03T08:45:50.525Z'
              format: date-time
              type: string
            orderLineItems:
              items:
                properties:
                  quantity:
                    description: quantity of the specific article that has been ordered
                    example: 21
                    format: int64
                    minimum: 1
                    type: integer
                  title:
                    example: Cologne Water
                    type: string
                required:
                  - quantity
                  - title
                type: object
              type: array
            status:
              $ref: '#/components/schemas/OrderStatus'
            stickers:
              items:
                $ref: '#/components/schemas/Sticker'
              type: array
          required:
            - id
            - status
            - orderDate
          type: object
    StrippedOrders:
      properties:
        orders:
          items:
            $ref: '#/components/schemas/StrippedOrder'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      type: object
    RoutingPlanHistory:
      properties:
        status:
          $ref: '#/components/schemas/RoutingPlanStatus'
        created:
          description: Information about the time, when a routing plan status is set
          example: '2024-05-12T08:45:50.525Z'
          format: date-time
          type: string
      required:
        - status
        - created
    DecisionLog:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          type: string
        routingRun:
          type: number
        facilityDecisions:
          items:
            $ref: '#/components/schemas/FacilityDecision'
          type: array
        orderSplitDecision:
          $ref: '#/components/schemas/OrderSplitDecision'
        statistics:
          $ref: '#/components/schemas/RoutingStatistics'
        results:
          $ref: '#/components/schemas/RoutingResults'
        routingPlanRef:
          type: string
      required:
        - id
        - routingPlanRef
        - facilityDecisions
        - routingRun
        - statistics
        - results
        - created
        - lastModified
        - version
      type: object
      xml:
        name: DecisionLog
    DecisionLogFacilityInfo:
      properties:
        name:
          type: string
        facilityRef:
          type: string
      required:
        - name
        - facilityRef
    RoutingResults:
      properties:
        assignedItems:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentItem'
        bestRatedFacility:
          $ref: '#/components/schemas/DecisionLogFacilityInfo'
        bestAvailableFacility:
          $ref: '#/components/schemas/DecisionLogFacilityInfo'
        bestReassignmentFacility:
          $ref: '#/components/schemas/DecisionLogFacilityInfo'
        routingPlanStatus:
          $ref: '#/components/schemas/RoutingPlanStatus'
      required:
        - assignedItems
    RoutingStatistics:
      properties:
        fenceStatistics:
          type: array
          items:
            $ref: '#/components/schemas/FenceStatistic'
        ratingStatistics:
          type: array
          items:
            $ref: '#/components/schemas/RatingStatistic'
        durationMs:
          type: number
      required:
        - fenceStatistics
        - ratingStatistics
        - lineItemFenceStatistics
    FenceStatistic:
      properties:
        name:
          type: string
        rejectedAmount:
          type: number
        passedAmount:
          type: number
        passedPercentage:
          type: number
        durationMs:
          description: Duration in Milliseconds
          type: number
      required:
        - name
        - rejectedAmount
        - passedAmount
        - passedPercentage
        - durationMs
    RatingStatistic:
      properties:
        name:
          type: string
        maxScore:
          type: number
        minScore:
          type: number
        maxPenalty:
          type: number
        durationMs:
          description: Duration in Milliseconds
          type: number
      required:
        - name
        - maxPenalty
        - durationMs
    SplitResultType:
      enum:
        - SPLIT
        - DO_NOT_SPLIT
        - DO_NOT_SPLIT_USE_BEST_RATED
        - DO_NOT_SPLIT_BECAUSE_AVAILABILITY_USE_BEST_RATED
        - DO_NOT_SPLIT_USE_BEST_AVAILABLE
        - REASSIGN_TO_PARENT
        - REASSIGN_TO_PARENT_COMPLETELY
        - FAIL
        - INVALID_SPLIT
        - PARK_IN_WAITING_ROOM
    OrderSplitDecision:
      properties:
        split:
          $ref: '#/components/schemas/SplitInformation'
        reassignment:
          $ref: '#/components/schemas/ReassignmentInformation'
        splitType:
          $ref: '#/components/schemas/SplitResultType'
      required:
        - splitType
    ReassignmentInformation:
      properties:
        sourceFacility:
          $ref: '#/components/schemas/DecisionLogFacilityInfo'
        reassignedItems:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentItem'
      required:
        - sourceFacility
        - reassignedItems
    AssignmentItem:
      properties:
        tenantArticleId:
          type: string
        articleTitle:
          type: string
        quantity:
          type: number
      required:
        - tenantArticleId
        - quantity
    SplitInformation:
      properties:
        targetFacility:
          $ref: '#/components/schemas/DecisionLogFacilityInfo'
        targetRoutingPlanRef:
          type: string
        splitCount:
          type: number
        splittedItems:
          type: array
          items:
            $ref: '#/components/schemas/AssignmentItem'
      required:
        - splitCount
        - targetRoutingPlanRef
        - splittedItems
    FacilityDecision:
      properties:
        facility:
          $ref: '#/components/schemas/DecisionLogFacilityInfo'
        orderFences:
          type: array
          items:
            $ref: '#/components/schemas/OrderFenceDecision'
        orderLineItemFences:
          type: array
          items:
            $ref: '#/components/schemas/OrderLineItemFenceDecisions'
        orderRatings:
          type: array
          items:
            $ref: '#/components/schemas/OrderRatingDecision'
        availabilities:
          type: array
          items:
            $ref: '#/components/schemas/AvailabilityDuringRouting'
        totalPenalty:
          type: number
        rank:
          type: number
        isBestRated:
          type: boolean
        isBestAvailable:
          type: boolean
        isBestReassignmentCandidate:
          type: boolean
      required:
        - facility
        - orderFences
        - orderLineItemFences
        - orderRatings
        - orderLineItemRatings
        - availabilities
    OrderRatingDecision:
      type: object
      properties:
        name:
          type: string
        score:
          type: number
        normalizedScore:
          type: number
        maxPenalty:
          type: number
        details:
          type: array
          items:
            anyOf:
              - $ref: '#/components/schemas/ToolkitDecisionDetail'
              - $ref: '#/components/schemas/ToolkitComparisonDecisionDetail'
      required:
        - name
        - normalizedScore
        - maxPenalty
    AvailabilityDuringRouting:
      properties:
        tenantArticleId:
          type: string
        articleTitle:
          type: string
        requestedQuantity:
          type: number
        stockInformation:
          $ref: '#/components/schemas/AvailabilityDuringRoutingStock'
        rerouteInformation:
          $ref: '#/components/schemas/AvailabilityDuringRerouteStock'
        stockInformationPostRerouteAdjustment:
          $ref: '#/components/schemas/AvailabilityDuringRoutingStock'
        bundleInformation:
          type: array
          items:
            $ref: '#/components/schemas/BundleInformation'
      required:
        - tenantArticleId
        - requestedQuantity
        - stockInformation
    BundleInformation:
      properties:
        customServiceNodeId:
          type: string
        requestedQuantity:
          type: number
      required:
        - customServiceNodeId
        - requestedQuantity
    AvailabilityDuringRerouteStock:
      properties:
        rerouteReason:
          $ref: '#/components/schemas/RerouteReason'
        pickedQuantity:
          type: number
    AvailabilityDuringRoutingStock:
      properties:
        stock:
          type: number
        stockConsideringOfflineStock:
          type: number
        reserved:
          type: number
        available:
          type: number
      required:
        - available
        - reserved
        - stock
        - stockConsideringOfflineStock
    OrderFenceDecision:
      type: object
      properties:
        name:
          type: string
        decision:
          $ref: '#/components/schemas/FenceResultStatus'
        details:
          type: array
          items:
            anyOf:
              - $ref: '#/components/schemas/OrderFenceDecisionDetail'
              - $ref: '#/components/schemas/ToolkitDecisionDetail'
              - $ref: '#/components/schemas/ToolkitComparisonDecisionDetail'
      required:
        - name
        - decision
        - details
    ToolkitPredicateDecisionDetail:
      properties:
        originalValue:
          type: array
          items:
            type: string
        transformedValue:
          type: array
          items:
            type: string
        evaluationResult:
          type: boolean
        predicate:
          $ref: '#/components/schemas/ToolkitPredicate'
      required:
        - originalValue
        - transformedValue
        - evaluationResult
        - predicate
    ToolkitPredicatesDecisionDetail:
      properties:
        connector:
          $ref: '#/components/schemas/ToolkitPredicateConnector'
        predicates:
          type: array
          items:
            $ref: '#/components/schemas/ToolkitPredicateDecisionDetail'
      required:
        - connector
        - predicates
    ToolkitComparisonDecisionDetail:
      allOf:
        - $ref: '#/components/schemas/BaseDecisionDetail'
      properties:
        predicates:
          type: array
          items:
            $ref: '#/components/schemas/ToolKitComparisonDetails'
        predicateConnector:
          $ref: '#/components/schemas/ToolkitPredicateConnector'
        description:
          type: string
        explanation:
          $ref: >-
            #/components/schemas/ToolkitRuleComparePropertiesOperatorResultExplanation
      required:
        - predicates
        - result
        - predicateConnector
        - description
    ToolKitComparisonDetails:
      properties:
        leftPart:
          $ref: '#/components/schemas/ToolKitComparisonPart'
        rightPart:
          $ref: '#/components/schemas/ToolKitComparisonPart'
        evaluationResult:
          type: boolean
        predicate:
          $ref: '#/components/schemas/ToolkitComparisonPredicate'
      required:
        - leftPart
        - rightPart
        - evaluationResult
        - predicate
    ToolKitComparisonPart:
      properties:
        originalValue:
          type: array
          items:
            type: string
        transformedValue:
          type: array
          items:
            type: string
      required:
        - originalValue
        - transformedValue
    ToolkitDecisionDetail:
      allOf:
        - $ref: '#/components/schemas/BaseDecisionDetail'
      properties:
        leftSideEvaluation:
          type: boolean
        leftPredicatesDetail:
          $ref: '#/components/schemas/ToolkitPredicatesDecisionDetail'
        rightSideEvaluation:
          type: boolean
        rightPredicatesDetail:
          $ref: '#/components/schemas/ToolkitPredicatesDecisionDetail'
        comparisonOperator:
          $ref: '#/components/schemas/ToolkitRuleComparisonOperatorType'
        description:
          type: string
        explanation:
          $ref: '#/components/schemas/ToolkitRuleOperatorResultExplanation'
      required:
        - decisionType
        - result
        - leftSideEvaluation
        - description
    ToolkitRuleOperatorResultExplanation:
      enum:
        - SKIPPED
        - BOTH_CONDITIONS_MET
        - ONLY_FIRST_CONDITION_MET
        - ONLY_SECOND_CONDITION_MET
        - SKIPPED_BECAUSE_OF_ERROR
    ToolkitRuleComparePropertiesOperatorResultExplanation:
      enum:
        - ALL_PREDICATES_MET
        - NOT_ALL_PREDICATES_MET
        - SKIPPED_BECAUSE_OF_ERROR
    OrderFenceDecisionDetail:
      allOf:
        - $ref: '#/components/schemas/BaseDecisionDetail'
      properties:
        contextReference:
          $ref: '#/components/schemas/ContextReference'
        expectedValue:
          type: string
        actualValue:
          type: string
        reactiveErrorReason:
          $ref: '#/components/schemas/ReactiveErrorReason'
      required:
        - expectedValue
        - facilityValue
        - decisionType
    ContextReference:
      properties:
        reference:
          type: string
        routingDecisionContext:
          $ref: '#/components/schemas/RoutingDecisionContext'
      required:
        - reference
        - routingDecisionContext
    RoutingDecisionContext:
      enum:
        - LISTING
        - CARRIER
    FenceResultStatus:
      enum:
        - FAILED
        - PASSED
        - REACTIVE_PASSING_POSSIBLE
    ReactiveErrorReason:
      enum:
        - BACKORDER_LISTING
        - PREORDER_LISTING
    OrderLineItemFenceDecisions:
      properties:
        name:
          type: string
        orderLineItems:
          type: array
          items:
            $ref: '#/components/schemas/OrderLineItemFenceDecision'
      required:
        - name
        - orderLineItems
    OrderLineItemFenceDecision:
      type: object
      properties:
        tenantArticleId:
          type: string
        articleTitle:
          type: string
        decision:
          $ref: '#/components/schemas/FenceResultStatus'
        details:
          type: array
          items:
            anyOf:
              - $ref: '#/components/schemas/OrderFenceDecisionDetail'
              - $ref: '#/components/schemas/ToolkitDecisionDetail'
              - $ref: '#/components/schemas/ToolkitComparisonDecisionDetail'
        reactiveErrorReason:
          $ref: '#/components/schemas/ReactiveErrorReason'
      required:
        - tenantArticleId
        - articleTitle
        - decision
        - details
    Fence:
      additionalProperties: false
      properties:
        active:
          type: boolean
        description:
          type: string
        id:
          description: >-
            This value identifies this very instance of the fence. It is set
            autmatically by the server when the configuration is updated.
          example: f937bc6b-d78b-46a3-913f-ecbba5f9f65d
          type: string
        implementation:
          $ref: '#/components/schemas/FenceImplementation'
        name:
          type: string
        supportedModes:
          type: array
          items:
            $ref: '#/components/schemas/FenceMode'
        activeMode:
          $ref: '#/components/schemas/FenceMode'
      required:
        - active
        - implementation
        - id
      type: object
    FenceMode:
      enum:
        - static
        - reactive
      type: string
    FenceImplementation:
      description: >-
        <i>This part of the API is currently under development. That means that
        this endpoint, model, etc. can contain breaking changes and / or might
        not be available at all times in your API instance. It could disappear
        also without warning. Thus it currently does not fall under our SLA
        regulations. For details on this topic please check our <a
        href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i>
      enum:
        - FACILITY-BUSINESSTYPE
        - STOCK-AVAILABILITY
        - FACILITY-CARRIERAVAILABILITY
        - FACILITY-COUNTRY
        - FACILITY-PICKING-TIME-CAPACITY
        - PRESELECTED-FACILITY
        - SAMEDAY-POSSIBLE
        - AVOID-ZERO-STOCK
      type: string
      xml:
        name: FenceImplementation
    GeoFence:
      description: >-
        Center (described with lon and lat attributes) and a circular geofence
        (described as radius around the center)
      properties:
        lat:
          description: The latitude of the center, provided as decimal coordinate
          example: 50.968713
          type: number
        lon:
          description: The longitude of the center, provided as decimal coordinate
          example: 7.011375
          type: number
        radius:
          description: Radius around the center in kilometers (km, max. 100)
          minimum: 1
          type: number
      required:
        - lat
        - lon
        - radius
      type: object
    ArticleAvailability:
      properties:
        tenantArticleId:
          type: string
        availableStock:
          type: number
        outOfStockBehaviour:
          enum:
            - BACKORDER
          type: string
        availabilityTimeframe:
          $ref: '#/components/schemas/AvailabilityTimeframe'
      required:
        - tenantArticleId
        - availableStock
    Fulfillability:
      description: The response to a fulfillability request.
      properties:
        collect:
          properties:
            facilities:
              items:
                $ref: '#/components/schemas/FulfillabilityFacility'
              type: array
          type: object
        shipping:
          description: >-
            Results for the fulfillment of a shipping order for the parameters
            provided in the query
          properties:
            DELIVERY:
              description: Depicts wether the servicelevel DELIVERY is available.
              properties:
                available:
                  description: Depicts wether the servicelevel DELIVERY is available
                  example: false
                  type: boolean
              required:
                - available
              type: object
            SAMEDAY:
              description: >-
                This service level means, that the consumer expects a package
                the same day.
              properties:
                available:
                  description: Depicts wether the servicelevel SAMEDAY is available
                  example: true
                  type: boolean
                validUntil:
                  description: >-
                    This information is most likely valid until this date (there
                    are circumstances when this information becomes stale
                    earlier).
                  example: '2020-02-03T08:45:50.525Z'
                  format: date-time
                  type: string
              required:
                - available
              type: object
          type: object
      type: object
    FulfillabilityResult:
      properties:
        fulfillability:
          type: array
          items:
            $ref: '#/components/schemas/FulfillabilityDetail'
      required:
        - details
    FulfillabilityDetail:
      properties:
        facilityRef:
          type: string
        tenantFacilityId:
          type: string
        facilityName:
          type: string
        closingDays:
          type: array
          items:
            $ref: '#/components/schemas/ClosingDay'
        pickingTimes:
          $ref: '#/components/schemas/PickingTimes'
        address:
          $ref: '#/components/schemas/FacilityAddress'
        targetTime:
          type: string
          format: date-time
        articleAvailabilities:
          type: array
          items:
            $ref: '#/components/schemas/ArticleAvailability'
      required:
        - facilityRef
        - facilityName
        - address
        - articleAvailabilities
    FulfillabilityFacility:
      allOf:
        - $ref: '#/components/schemas/StrippedFacility'
    FulfillabilityItemsConstraintValue:
      properties:
        items:
          description: >-
            The shortened description of an article, that would be part of the
            order.
          items:
            properties:
              amount:
                description: The required amount
                example: 5
                type: integer
              tenantArticleId:
                description: The article ID, that is used in corresponding listings.
                example: RO-57665956-6-XL
                type: string
            type: object
          type: array
        mode:
          description: >-
            The mode this constraint is evaluated in. ITEMS_COMPLETE means, that
            all the items in the desired quantities have to be listed in a
            resulting facility.
          enum:
            - ITEMS_COMPLETE
          example: ITEMS_COMPLETE
          type: string
      required:
        - mode
        - items
      type: object
    FulfillabilityShipFromStoreQuery:
      description: >-
        Provides the paramters you are interested in. You must supply at least
        the articles you are interested in
      properties:
        geoFence:
          $ref: '#/components/schemas/GeoFence'
        facilityRefs:
          type: array
          items:
            type: string
        articles:
          type: array
          minItems: 1
          items:
            type: object
            properties:
              tenantArticleId:
                type: string
              quantity:
                type: number
            required:
              - tenantArticleId
        deliveryPreferences:
          $ref: '#/components/schemas/DeliveryPreferences'
        deliveryCountry:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        deliveryPostalCode:
          type: string
      required:
        - articles
    FulfillabilityClickAndCollectQuery:
      description: >-
        Provides the paramters you are interested in. You must supply at least
        the articles you are interested in
      properties:
        geoFence:
          $ref: '#/components/schemas/GeoFence'
        facilityRefs:
          type: array
          items:
            type: string
        deliveryPreferences:
          $ref: '#/components/schemas/DeliveryPreferences'
        deliveryCountry:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        deliveryPostalCode:
          type: string
        articles:
          type: array
          minItems: 1
          items:
            type: object
            properties:
              tenantArticleId:
                type: string
              quantity:
                type: number
            required:
              - tenantArticleId
      required:
        - articles
    AbstractFulfillabilityConstraintType:
      properties:
        type:
          description: >-
            Type of the constraint (must be supported by the fulfillmenttools
            platform).
          enum:
            - ITEMS
          example: ITEMS
          type: string
        value:
          description: Additional parameters needed for the referenced type of constraint.
          type: object
      type: object
    ItemsFulfillabilityConstraintType:
      allOf:
        - $ref: '#/components/schemas/AbstractFulfillabilityConstraintType'
      properties:
        type:
          enum:
            - ITEMS
          type: string
        value:
          $ref: '#/components/schemas/FulfillabilityItemsConstraintValue'
      type: object
    StrippedShippingTargetAddress:
      properties:
        country:
          description: A two-digit country code as per ISO 3166-1 alpha-2
          example: DE
          pattern: ^[A-Z]{2}$
          type: string
        postalCode:
          example: '40764'
          pattern: ^.+
          type: string
      type: object
    FulfillabilityQuery:
      description: >-
        Provides the paramters you are interested in. You must supply at least
        either the shipping or the collect attribute as the description of the
        last mile expectation.
      properties:
        collect:
          description: >-
            The geofence (a gps coordinate and a radius around that coordinate)
            for considered facilities to collect the goods.
          properties:
            geoFence:
              $ref: '#/components/schemas/GeoFence'
          required:
            - geoFence
          type: object
        constraints:
          description: >-
            Constraints can be used to further cut down the list of resulting
            facilities. Important: ALL of the given constraints will be matched
            against the resulting list of facilities!
          items:
            $ref: '#/components/schemas/AbstractFulfillabilityConstraintType'
          type: array
        estimatedOrderDate:
          description: >-
            The point in time when the order estimated to be supplied to
            fulfillmenttools platform, e.g. calling this endpoint during
            checkout, you would most likely put the timestamp for 'now' in here.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        shipping:
          description: >-
            You want information about the shipping possibility - more detailed
            parameters  can be described here.
          properties:
            serviceLevels:
              description: >-
                The kind of servicelevel you want to query as being part of the
                consumer expectation of delivery
              items:
                $ref: '#/components/schemas/CarrierDeliveryType'
              minItems: 1
              type: array
            targetAddress:
              $ref: '#/components/schemas/StrippedShippingTargetAddress'
          required:
            - serviceLevels
            - targetAddress
          type: object
      required:
        - estimatedOrderDate
      type: object
    FallbackFacilityConfigurationForPatch:
      properties:
        facilityRefs:
          type: array
          items:
            type: string
          maxItems: 1
          minItems: 1
        active:
          type: boolean
        fallbackAfterTime:
          description: >-
            Default amount of time in ISO 8601 duration format after which a not
            routable routingplan is routed to a configured fallback facility.
          type: string
          pattern: ^P(?:(\d+W)|(\d+Y)?(\d+M)?(\d+D)?(?:T(\d+H)?(\d+M)?(\d+S)?)?)$
    FallbackFacilityConfiguration:
      properties:
        facilityRefs:
          type: array
          items:
            type: string
          maxItems: 1
          minItems: 1
        active:
          type: boolean
          default: false
        fallbackAfterTime:
          default: PT0H
          description: >-
            Default amount of time in ISO 8601 duration format after which a not
            routable routingplan is routed to a configured fallback facility.
          type: string
          pattern: ^P(?:(\d+W)|(\d+Y)?(\d+M)?(\d+D)?(?:T(\d+H)?(\d+M)?(\d+S)?)?)$
      required:
        - facilityRefs
        - active
        - fallbackAfterTime
    GlobalManualRerouteConfiguration:
      description: Allows reroutes to be triggered manually via api.
      properties:
        active:
          type: boolean
      required:
        - active
      type: object
    GlobalRoutingConfiguration:
      description: Global configuration for routing
      properties:
        manualReroute:
          $ref: '#/components/schemas/GlobalManualRerouteConfiguration'
        defaultPrice:
          default: 10
          description: Default price which is used if no price exists in order or listings
          type: number
        routingTimeout:
          deprecated: true
          default: 8
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated Default amount of hours after which a routing
            plan is marked not routable. This field is deprecated in favour of
            stopRoutingAttemptsAfterTime
          type: number
        stopRoutingAttemptsAfterTime:
          default: PT8H
          description: >-
            Default amount of time in ISO 8601 duration format after which a
            routing plan is marked not routable. The duration need to be a
            multiple of 60 seconds.
          type: string
          pattern: ^P(?:(\d+W)|(\d+Y)?(\d+M)?(\d+D)?(?:T(\d+H)?(\d+M)?(\d+S)?)?)$
        fallbackFacilityConfiguration:
          $ref: '#/components/schemas/FallbackFacilityConfiguration'
      required:
        - defaultPrice
      type: object
    ModifyFenceAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: Use value 'ModifyFence', because you want to modify a fence.
              enum:
                - ModifyFence
              type: string
            active:
              type: boolean
            id:
              type: string
            activeMode:
              $ref: '#/components/schemas/FenceMode'
          required:
            - action
            - id
          type: object
      xml:
        name: ModifyFenceAction
    ModifyGlobalRoutingConfigurationAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyGlobalRoutingConfiguration', because you want
                to modify global routing configuration.
              enum:
                - ModifyGlobalRoutingConfiguration
              type: string
            defaultPrice:
              default: 10
              description: >-
                Default price which is used if no price exists in order or
                listings
              type: number
            manualRerouteConfiguration:
              $ref: '#/components/schemas/GlobalManualRerouteConfiguration'
            routingTimeout:
              deprecated: true
              default: 8
              description: >-
                <center><img
                src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
                <br /> <i>This endpoint is deprecated and has been
                replaced.</i><br /><br />@deprecated Default amount of hours
                after which a routing plan is marked not routable. This field is
                deprecated in favour of stopRoutingAttemptsAfterTime
              type: number
            stopRoutingAttemptsAfterTime:
              default: PT8H
              description: >-
                Default amount of time in ISO 8601 duration format after which a
                routing plan is marked not routable. The duration need to be a
                multiple of 60 seconds.
              type: string
              pattern: ^P(?:(\d+W)|(\d+Y)?(\d+M)?(\d+D)?(?:T(\d+H)?(\d+M)?(\d+S)?)?)$
            fallbackFacilityConfiguration:
              $ref: '#/components/schemas/FallbackFacilityConfigurationForPatch'
          required:
            - action
          type: object
    ModifyOrderSplitAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyOrderSplit', because you want to modify the
                configuration for the an order split.
              enum:
                - ModifyOrderSplit
              type: string
            active:
              default: false
              type: boolean
            shouldUseWaitingRoomForPreBackOrderItems:
              default: false
              type: boolean
            activeForSameDay:
              default: false
              type: boolean
            fixedCountConfiguration:
              $ref: '#/components/schemas/FixedCountConfiguration'
            orderSplitType:
              $ref: '#/components/schemas/OrderSplitType'
          required:
            - action
          type: object
      xml:
        name: ModifyOrderSplitAction
    ModifyRatingAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: Use value 'ModifyRating', because you want to modify a rating.
              enum:
                - ModifyRating
              type: string
            active:
              type: boolean
            description:
              type: string
            id:
              type: string
            maxPenalty:
              example: 100
              type: number
              minimum: 0
            name:
              type: string
          required:
            - action
            - id
          type: object
      xml:
        name: ModifyRatingAction
    ModifyRoutingPlanAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - additionalProperties: false
          properties:
            action:
              description: >-
                Use value 'ModifyRoutingPlan', because you want to modify a
                routing plan
              enum:
                - ModifyRoutingPlan
              type: string
            facilityRef:
              description: >-
                The id of the facility reference. The given ID has to be present
                in the system.
              example: Esb20gpHBL94X5NdMp3C
              type: string
            status:
              $ref: '#/components/schemas/RoutingPlanStatus'
          required:
            - action
          type: object
      xml:
        name: ModifyRoutingPlanAction
    ToolkitOperatorType:
      description: |-
        Type of operator used for a toolkit fence or rating:
          * `TAG_EQUALS`- the entity2 should have a tag with the same id as the entity1 and the value is dynamically matched
          * `VALUE_EQUALS`- compares the tag of entity1 with the tag of entity2 attending to the configured rule and returns true if it does match
          * `VALUE_NOT_EQUALS`- compares the tag of entity1 with the tag of entity2 attending to the configured rule and returns true if it does not match
      enum:
        - TAG_EQUALS
        - VALUE_EQUALS
        - VALUE_NOT_EQUALS
      type: string
      xml:
        name: ToolkitOperatorType
    ToolkitAllowedEntities:
      description: |-
        The entities that can be compared by the toolkit fence or rating
          * `ORDER`
          * `FACILITY`
          * `CARRIERCONNECTION`
      enum:
        - ORDER
        - FACILITY
        - CARRIERCONNECTION
      type: string
      xml:
        name: ToolkitAllowedEntities
    ToolkitFenceForCreation:
      properties:
        name:
          description: The name of the fence.
          example: CustomFence
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        description:
          description: The description of this fence.
          example: Some text that describes what the fence does.
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        active:
          default: false
          description: Indicates whether this fence is active or not.
          type: boolean
        order:
          description: Order in which this fence is executed
          example: 1
          type: integer
        entity1:
          $ref: '#/components/schemas/ToolkitAllowedEntities'
        entity2:
          $ref: '#/components/schemas/ToolkitAllowedEntities'
        rule:
          $ref: '#/components/schemas/ToolkitRule'
        comparisonRule:
          $ref: '#/components/schemas/ToolkitComparisonRule'
      required:
        - name
        - nameLocalized
        - active
        - order
        - entity1
        - entity2
      type: object
      xml:
        name: ToolkitFenceForCreation
    ToolkitFenceForModification:
      allOf:
        - $ref: '#/components/schemas/ToolkitFenceForCreation'
      properties:
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
      type: object
      xml:
        name: ToolkitFenceForModification
    ToolkitFence:
      allOf:
        - $ref: '#/components/schemas/ToolkitFenceForModification'
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          description: The id of the toolkit fence
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
      required:
        - id
      type: object
      xml:
        name: ToolkitFence
    ToolkitFencesTransporter:
      properties:
        fences:
          items:
            $ref: '#/components/schemas/ToolkitFence'
          type: array
        total:
          description: Total number of found entities for this query
          example: 42
          type: integer
      required:
        - fences
        - total
      type: object
      xml:
        name: ToolkitFenceTransporter
    ToolkitRatingForCreation:
      properties:
        name:
          description: The name of the rating
          example: CustomRating
          type: string
        nameLocalized:
          $ref: '#/components/schemas/LocaleString'
        description:
          description: The description of this rating
          example: Some text that describes what the rating does.
          type: string
        descriptionLocalized:
          $ref: '#/components/schemas/LocaleString'
        active:
          default: false
          description: Indicates whether this fence is active or not
          type: boolean
        entity1:
          $ref: '#/components/schemas/ToolkitAllowedEntities'
        entity2:
          $ref: '#/components/schemas/ToolkitAllowedEntities'
        rule:
          $ref: '#/components/schemas/ToolkitRule'
        comparisonRule:
          $ref: '#/components/schemas/ToolkitComparisonRule'
        maxPenalty:
          type: integer
          example: 100
          description: The maximum penalty this rating can have
      required:
        - name
        - nameLocalized
        - active
        - entity1
        - entity2
        - maxPenalty
      type: object
      xml:
        name: ToolkitRatingForCreation
    ToolkitRatingForModification:
      allOf:
        - $ref: '#/components/schemas/ToolkitRatingForCreation'
      properties:
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
      type: object
      xml:
        name: ToolkitRatingForModification
    ToolkitRating:
      allOf:
        - $ref: '#/components/schemas/ToolkitRatingForModification'
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        id:
          description: The id of the toolkit rating
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
      required:
        - id
      type: object
      xml:
        name: ToolkitRating
    ToolkitRatingTransporter:
      properties:
        ratings:
          items:
            $ref: '#/components/schemas/ToolkitRating'
          type: array
        total:
          description: Total number of entities found for this query
          example: 42
          type: integer
      required:
        - ratings
        - total
      type: object
      xml:
        name: ToolkitRatingTransporter
    ToolkitEntityOperatorType:
      description: The possible operator types that can be used on given entities
      enum:
        - VALUE_EQUALS
        - VALUE_NOT_EQUALS
        - ANY_VALUE_EQUALS
        - ANY_VALUE_GREATER_EQUALS
        - ANY_VALUE_GREATER_THAN
        - ANY_VALUE_LESS_EQUALS
        - ANY_VALUE_LESS_THAN
        - ANY_VALUE_CONTAINS
        - ANY_VALUE_NOT_CONTAINS
        - EVERY_VALUE_EQUALS
        - EVERY_VALUE_GREATER_EQUALS
        - EVERY_VALUE_GREATER_THAN
        - EVERY_VALUE_LESS_EQUALS
        - EVERY_VALUE_LESS_THAN
        - EVERY_VALUE_CONTAINS
        - EVERY_VALUE_NOT_CONTAINS
        - NO_VALUE_EQUALS
        - NO_VALUE_GREATER_EQUALS
        - NO_VALUE_GREATER_THAN
        - NO_VALUE_LESS_EQUALS
        - NO_VALUE_LESS_THAN
        - NO_VALUE_CONTAINS
        - NO_VALUE_NOT_CONTAINS
        - VALUE_CONTAINS
        - VALUE_NOT_CONTAINS
        - GREATER_THAN
        - GREATER_EQUALS
        - LESS_THAN
        - LESS_EQUALS
      type: string
      xml:
        name: ToolkitEntityOperatorType
    ToolkitTransformationType:
      description: >-
        The transformations available to apply on the entity property value
        before a predicate is evaluated
      enum:
        - SUBSTRING
        - COUNT
        - SUM
        - LAST
      type: string
      xml:
        name: ToolkitTransformationType
    ToolkitRuleOperatorType:
      description: >-
        The type of the rule operator applied to the results of evaluating the
        left predicates and the right predicates
      enum:
        - EQUALS
      type: string
      xml:
        name: ToolkitTransformationType
    ToolkitRuleComparisonOperatorType:
      description: >-
        The type of the rule operator applied to the results of evaluating the
        left predicates and the right predicates
      enum:
        - ALL_MATCHES
        - LEFT_CONTAINS_RIGHT
        - RIGHT_CONTAINS_LEFT
      type: string
      xml:
        name: ToolkitTransformationType
    ToolkitPredicate:
      description: >-
        The predicate for a Toolkit V2 Fence that defines how conditions are
        constructed
      properties:
        propertyPath:
          type: string
          minLength: 1
        entityOperator:
          $ref: '#/components/schemas/ToolkitEntityOperatorType'
        transformation:
          $ref: '#/components/schemas/ToolkitTransformationType'
        transformationArgs:
          type: array
          items:
            oneOf:
              - type: string
              - type: number
              - type: boolean
        expectedValue:
          oneOf:
            - type: string
            - type: number
            - type: boolean
      required:
        - propertyPath
        - entityOperator
      type: object
      xml:
        name: ToolkitPredicate
    ToolkitComparisonPredicate:
      description: >-
        The predicate for a Toolkit V2 Fence that defines how conditions are
        constructed
      properties:
        rightPropertyPath:
          type: string
          minLength: 1
        leftPropertyPath:
          type: string
          minLength: 1
        entityOperator:
          $ref: '#/components/schemas/ToolkitRuleComparisonOperatorType'
        rightTransformation:
          $ref: '#/components/schemas/ToolkitTransformationType'
        rightTransformationArgs:
          type: array
          items:
            oneOf:
              - type: string
              - type: number
              - type: boolean
        leftTransformation:
          $ref: '#/components/schemas/ToolkitTransformationType'
        leftTransformationArgs:
          type: array
          items:
            oneOf:
              - type: string
              - type: number
              - type: boolean
      required:
        - rightPropertyPath
        - leftPropertyPath
        - entityOperator
      type: object
      xml:
        name: ToolkitComparisonPredicate
    ToolkitRule:
      description: >-
        The rule, containing the left predicates and the right predicates, that
        will be evaluated applying a RuleOperator
      properties:
        operator:
          $ref: '#/components/schemas/ToolkitRuleOperatorType'
        leftPart:
          $ref: '#/components/schemas/ToolkitRulePart'
        rightPart:
          $ref: '#/components/schemas/ToolkitRulePart'
      required:
        - operator
        - leftPart
        - rightPart
      type: object
      xml:
        name: ToolkitRule
    ToolkitComparisonRule:
      description: >-
        The rule, comparing the left and right path values, that will be
        evaluated applying a RuleOperator
      properties:
        predicateConnector:
          $ref: '#/components/schemas/ToolkitPredicateConnector'
        predicates:
          type: array
          items:
            $ref: '#/components/schemas/ToolkitComparisonPredicate'
          minItems: 1
      required:
        - predicates
      type: object
      xml:
        name: ToolkitRule
    ToolkitRulePart:
      description: >-
        One half of the rule, containing either the left or right predicates and
        booleanOperator.
      properties:
        predicateConnector:
          $ref: '#/components/schemas/ToolkitPredicateConnector'
        predicates:
          type: array
          items:
            $ref: '#/components/schemas/ToolkitPredicate'
          minItems: 1
      required:
        - predicates
      type: object
      xml:
        name: ToolkitRulePart
    ToolkitPredicateConnector:
      description: The allowed operators for connecting multiple predicates
      enum:
        - OR
        - AND
      type: string
      xml:
        name: ToolkitPredicateConnector
    DecisionLogRef:
      properties:
        routingRun:
          type: number
        url:
          description: A reference to the finalizer decision log
          example: /api/routingplans/{routingPlanId}/decisionlogs/{routingRun}
          type: string
      required:
        - url
        - finalizeRun
      type: object
      xml:
        name: DecisionLogRef
    RoutingConfiguration:
      additionalProperties: false
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />This is the configuration for the distributing order management system. By changing the configuration you are able to change the behavior of the routing of orders henceforth.
      properties:
        created:
          description: >-
            The date this order was created at the platform. This value is
            generated by the service.
          example: '2020-02-03T08:45:51.525Z'
          format: date-time
          type: string
        globalRoutingConfiguration:
          $ref: '#/components/schemas/GlobalRoutingConfiguration'
        lastModified:
          description: >-
            The date this order was modified last. This value is generated by
            the service.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        prioritizationRules:
          description: >-
            Contains the routing configuration for prioritization & routing for
            the whole tenant
          items:
            $ref: '#/components/schemas/PrioritizationRule'
          type: array
        routingRule:
          $ref: '#/components/schemas/RoutingRule'
        timingMode:
          $ref: '#/components/schemas/RoutingConfigurationTiming'
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
        id:
          type: string
      required:
        - version
        - prioritizationRules
        - routingRule
        - globalRoutingConfiguration
      type: object
    RoutingConfigurationTiming:
      description: Configuration for the timing of routing decisions
      properties:
        options:
          type: object
        type:
          $ref: '#/components/schemas/RoutingConfigurationTimingType'
      required:
        - type
      type: object
    RoutingConfigurationTimingType:
      description: >-
        <center><img
        src='https://storage.googleapis.com/ocff-assets/api/beta_174x74.png'
          /></center> <br /> <i>This part of the API is currently under development.
          That means that this endpoint, model, etc. can contain breaking changes
          and / or might not be available at all times in your API instance. It
          could disappear also without warning. Thus, it currently does not fall
          under our SLA regulations. For details on this topic please check our
          <a href="https://docs.fulfillmenttools.com/api-docs/connecting-to-fulfillmenttools/restful-api/general-topics/api-release-life-cycle">documentation</a></i><br /><br />The available types for routing timing.
      enum:
        - DIRECT
        - MANUAL
      type: string
      xml:
        name: RoutingConfigurationTimingType
    ModifyPrioritizationAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyPrioritization', because you want to modify
                prioritization.
              enum:
                - ModifyPrioritization
              type: string
            active:
              type: boolean
            id:
              type: string
            name:
              type: string
          required:
            - action
            - id
          type: object
      xml:
        name: ModifyPrioritizationAction
    ModifyTimingModeAction:
      allOf:
        - $ref: '#/components/schemas/AbstractModificationAction'
        - properties:
            action:
              description: >-
                Use value 'ModifyTimingMode', because you want to modify a
                timing mode.
              enum:
                - ModifyTimingMode
              type: string
            timingMode:
              $ref: '#/components/schemas/RoutingConfigurationTiming'
          required:
            - action
          type: object
      xml:
        name: ModifyTimingModeAction
    RoutingConfigurationsPatchActions:
      properties:
        actions:
          items:
            anyOf:
              - $ref: '#/components/schemas/ModifyFenceAction'
              - $ref: '#/components/schemas/ModifyRatingAction'
              - $ref: '#/components/schemas/ModifyTimingModeAction'
              - $ref: '#/components/schemas/ModifyOrderSplitAction'
              - $ref: '#/components/schemas/ModifyPrioritizationAction'
              - $ref: '#/components/schemas/ModifyGlobalRoutingConfigurationAction'
          minItems: 1
          type: array
        version:
          description: >-
            The version of the document to be used in optimistic locking
            mechanisms.
          example: 42
          format: int64
          type: integer
      required:
        - version
        - actions
      type: object
      xml:
        name: RoutingConfigurationsPatchActions
    SupplyingFacilityConfiguration:
      properties:
        facilityRef:
          type: string
        deliveryEvents:
          items:
            $ref: '#/components/schemas/DeliveryEvent'
          type: array
      required:
        - facilityRef
        - deliveryEvents
    DeliveryEvent:
      properties:
        deliveryTarget:
          $ref: '#/components/schemas/DeliveryTarget'
        deliveryTrigger:
          enum:
            - DEFAULT
          type: string
      required:
        - deliveryTarget
        - deliveryTrigger
    DeliveryEventTargetAddress:
      type: object
      properties:
        facilityRef:
          type: string
        targetAddress:
          $ref: '#/components/schemas/TargetAddress'
        deliveryEvent:
          $ref: '#/components/schemas/DeliveryEvent'
      required:
        - facilityRef
        - targetAddress
        - deliveryEvent
    RoutingPlan:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        transfers:
          items:
            $ref: '#/components/schemas/Transfer'
          type: array
        expectedLineItems:
          items:
            $ref: '#/components/schemas/ExpectedLineItem'
          type: array
        deliveryPreferences:
          $ref: '#/components/schemas/DeliveryPreferences'
        anonymized:
          description: Indicates if gdpr related data was anonymized
          example: false
          type: boolean
        decisionLogs:
          items:
            $ref: '#/components/schemas/DecisionLogRef'
          type: array
        facilityBlackList:
          items:
            description: Contains a list of facilities to ignore when rerouting happens.
            type: string
          type: array
        facilityRef:
          description: >-
            The id of the facility reference. The given ID has to be present in
            the system.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        finalizeRun:
          description: The iteration through the finalizer process
          example: 5
          minimum: 0
          type: number
        firstRoutingAttempt:
          description: The date of the first routing attempt.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        id:
          type: string
        orderDate:
          description: The date this order was created at the supplying system.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        orderLineItems:
          items:
            $ref: '#/components/schemas/RoutingPlanLineItem'
          type: array
        orderRef:
          description: >-
            The id of the order that lead to the creation of this pickjob. Can
            be empty / not present when the pickjob was created without having
            an order.
          example: LGMl2DuvPnfPoSHhYFOm
          type: string
        parentRoutingPlanRef:
          type: string
        childRoutingPlanRef:
          type: string
        pickJobRef:
          description: The id of the pickjob that has been created from the routing plan.
          example: Esb20gpHBL94X5NdMp3C
          type: string
        priority:
          description: priority of return plan
          minimum: 0
          type: number
        reRouteReason:
          $ref: '#/components/schemas/RerouteReason'
        rerouteDescription:
          $ref: '#/components/schemas/RerouteDescription'
        reRoutedFacilityRef:
          description: The id of the facility the order was rerouted from.
          example: 1DEYZgmfAcXRVYv6KEka36
          type: string
        reRoutedPickJobRef:
          description: The id of the original pickjob that was rerouted.
          example: Eghhj20878dhbd989NdMp3C
          type: string
        reRoutedRoutingPlanRef:
          description: The id of the original routingplan that was rerouted.
          example: Eghhj20878dhbd989NdMp3C
          type: string
        routingRun:
          description: The iteration through the routing process
          type: number
        runType:
          description: The rule type of a decision log entry
          enum:
            - DEFAULT
            - REROUTE
            - ORDERSPLIT_ON_SHORTPICK
            - MANUAL_ASSIGNMENT
            - PROCESS_MANUALASSIGNMENT
            - REACTIVATION
          type: string
        splitCount:
          default: 0
          description: >-
            The number of order splits that happened before this routingplan was
            created
          example: 5
          minimum: 0
          type: number
        status:
          $ref: '#/components/schemas/RoutingPlanStatus'
        statusHistory:
          deprecated: true
          description: >-
            <center><img
            src='https://storage.googleapis.com/ocff-assets/api/fft-deprectated_254x51.png'></center>
            <br /> <i>This endpoint is deprecated and has been replaced.</i><br
            /><br />@deprecated
             For more detailed information, use the History field. Saves all status changes when creating or updating a routing plan
          type: array
          items:
            $ref: '#/components/schemas/RoutingPlanStatus'
        history:
          type: array
          items:
            $ref: '#/components/schemas/RoutingPlanHistory'
        statusReasons:
          type: array
          items:
            $ref: '#/components/schemas/RoutingPlanStatusReason'
        consolidatedStatus:
          $ref: '#/components/schemas/ConsolidatedRoutingPlanStatus'
        targetAddress:
          $ref: '#/components/schemas/TargetAddress'
        targetAddressesByDeliveryEvent:
          type: array
          items:
            $ref: '#/components/schemas/DeliveryEventTargetAddress'
        processId:
          description: >-
            Id of the global process related to this entity. For example used
            for starting the GDPR process and others.
          type: string
        targetTimeBaseDate:
          description: This date is used as base/start to calculate the target time date.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
        customServices:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/CustomServiceReference'
        provisioningTime:
          description: The point in time by which the order is supposed to be provisioned.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      required:
        - id
        - orderDate
        - created
        - lastModified
        - version
        - orderRef
        - priority
        - status
        - consolidatedStatus
        - decisionLogs
        - routingRun
        - finalizeRun
        - processId
      type: object
    Transfer:
      properties:
        transferId:
          type: string
        transferType:
          type: string
          enum:
            - SUPPLIER
            - RECEIVER
      required:
        - transferId
        - transferType
    ExpectedLineItem:
      allOf:
        - $ref: '#/components/schemas/OrderLineItem'
      properties:
        transferId:
          type: string
        facilityRef:
          type: string
      required:
        - facilityRef
        - transferId
    RoutingPlanStatusReason:
      anyOf:
        - $ref: '#/components/schemas/RoutingPlanObsoleteStatusReason'
    RoutingPlanObsoleteStatusReason:
      properties:
        reason:
          type: string
          enum:
            - REROUTE_AFTER_SHORTPICK
            - MANUALLY_REROUTED
            - MANUALLY_ASSIGNED
        status:
          type: string
          enum:
            - OBSOLETE
      required:
        - reason
        - status
    CollectDelivery:
      properties:
        facilityRef:
          description: >-
            Reference to the facility where the consumer expects to collect the
            items
          type: string
        paid:
          default: false
          description: Indicates if the order is already paid.
          type: boolean
        supplyingFacilities:
          description: DEPRECATED
          items:
            description: Reference of a Facility
            example: 928f3730-bc48-4d85-b83f-3fd86b776178
            type: string
          type: array
        supplyingFacilitiesConfigurations:
          description: >-
            References of facility that could supply contents of the order to
            another facility with specific configuration of its usage
          items:
            $ref: '#/components/schemas/SupplyingFacilityConfiguration'
          type: array
        provisioningTime:
          description: The point in time by which the order is supposed to be provisioned.
          example: '2020-02-03T08:45:50.525Z'
          format: date-time
          type: string
      required:
        - facilityRef
      type: object
    PreferredCarrier:
      description: Keys of the preferred carriers to handle out the order
      type: string
    PreferredCarrierWithProduct:
      additionalProperties: false
      properties:
        carrierKey:
          type: string
          example: DPD
        carrierProduct:
          type: string
          example: WORLDWIDE
        carrierServices:
          type: array
          items:
            $ref: '#/components/schemas/CarrierServices'
      required:
        - carrierKey
    DeliveryReservationMode:
      enum:
        - SCHEDULED
        - ASAP
        - ALAP
    DeliveryReservationPreferences:
      properties:
        mode:
          $ref: '#/components/schemas/DeliveryReservationMode'
        reservationTime:
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
      type: object
      required:
        - mode
    DeliveryPreferences:
      properties:
        collect:
          items:
            $ref: '#/components/schemas/CollectDelivery'
          maxItems: 1
          type: array
        shipping:
          properties:
            preferredCarriers:
              items:
                $ref: '#/components/schemas/PreferredCarrier'
              type: array
            preferredCarriersWithProduct:
              items:
                $ref: '#/components/schemas/PreferredCarrierWithProduct'
              type: array
            preselectedFacilities:
              items:
                $ref: '#/components/schemas/PreselectedFacility'
              type: array
            serviceLevel:
              description: >-
                DELIVERY: The parcel will reach the recipient according to the
                cycle time of the carrier, typically 1-3 days when shipping
                nationaly. SAMEDAY: The parcel will reach the recipient the same
                day when ordering.
              enum:
                - DELIVERY
                - SAMEDAY
              type: string
            carrierProductCategory:
              $ref: '#/components/schemas/CarrierProductCategory'
            desiredDeliveryTime:
              example: '2020-02-03T09:45:51.525Z'
              format: date-time
              type: string
          type: object
        supplyingFacilities:
          description: '@deprecated Use supplyingFacilities under collect'
          items:
            description: Reference of a Facility
            example: 928f3730-bc48-4d85-b83f-3fd86b776178
            type: string
          type: array
        targetTime:
          description: At which time the result is expected.
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
        reservationPreferences:
          $ref: '#/components/schemas/DeliveryReservationPreferences'
      type: object
    ArticleItem:
      additionalProperties: false
      properties:
        tenantArticleRef:
          type: string
        quantity:
          minimum: 1
          type: number
      type: object
      required:
        - quantity
        - tenantArticleRef
    OrderActionsParameter:
      oneOf:
        - $ref: '#/components/schemas/OrderUnlockActionParameter'
        - $ref: '#/components/schemas/OrderCancelActionParameter'
        - $ref: '#/components/schemas/PromiseConfirmActionParameter'
        - $ref: '#/components/schemas/PromiseExtendActionParameter'
        - $ref: '#/components/schemas/OrderConsumerAddressChangeActionParameter'
        - $ref: '#/components/schemas/OrderConsumerAddressesReplaceActionParameter'
    AbstractOrderActionsParameter:
      discriminator:
        propertyName: name
      properties:
        name:
          type: string
        version:
          description: Version of the entity to be changed
          minimum: 0
          type: integer
      required:
        - name
        - version
    OrderUnlockActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractOrderActionsParameter'
      properties:
        name:
          enum:
            - UNLOCK
          type: string
      required:
        - name
        - version
    OrderCancelActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractOrderActionsParameter'
      properties:
        cancelationReasonId:
          description: ID of the cancelation reason
          type: string
        name:
          enum:
            - CANCEL
          type: string
      required:
        - name
        - version
    OrderConsumerAddressChangeActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractOrderActionsParameter'
      properties:
        name:
          enum:
            - CHANGE_CONSUMER_ADDRESS
          type: string
        consumerAddress:
          $ref: '#/components/schemas/ConsumerAddress'
        addressType:
          $ref: '#/components/schemas/AddressType'
      required:
        - name
        - version
        - consumerAddress
        - addressType
    OrderConsumerAddressesReplaceActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractOrderActionsParameter'
      properties:
        name:
          enum:
            - REPLACE_CONSUMER_ADDRESSES
          type: string
        consumerAddresses:
          type: array
          items:
            $ref: '#/components/schemas/ConsumerAddress'
      required:
        - name
        - version
        - consumerAddresses
    PromiseConfirmActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractOrderActionsParameter'
      properties:
        name:
          enum:
            - CONFIRM_PROMISE
          type: string
      required:
        - name
        - version
    PromiseExtendActionParameter:
      allOf:
        - $ref: '#/components/schemas/AbstractOrderActionsParameter'
      properties:
        name:
          enum:
            - EXTEND_PROMISE
          type: string
      required:
        - name
        - version
    ManualRerouteConfiguration:
      deprecated: true
      description: >-
        @deprecated This config property is deprecated since 26/02/24. Use
        GlobalManualRerouteConfiguration instead.
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        active:
          type: boolean
        id:
          type: string
      required:
        - active
      type: object
    RerouteTimeTriggeredConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      required:
        - clickAndCollectReroute
        - shipFromStoreDeliveryReroute
        - shipFromStoreSamedayReroute
      properties:
        clickAndCollectReroute:
          $ref: '#/components/schemas/RerouteConfiguration'
        shipFromStoreDeliveryReroute:
          $ref: '#/components/schemas/RerouteConfiguration'
        shipFromStoreSamedayReroute:
          $ref: '#/components/schemas/RerouteConfiguration'
        id:
          type: string
    PromisesConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      required:
        - invalidAfterTime
      properties:
        invalidAfterTime:
          default: PT8H
          description: >-
            Default amount of time in ISO 8601 duration format after which an
            promised order becomes invalid and is cancelled. The duration need
            to be a multiple of 60 seconds.
          type: string
          pattern: ^P(?:(\d+W)|(\d+Y)?(\d+M)?(\d+D)?(?:T(\d+H)?(\d+M)?(\d+S)?)?)$
        id:
          type: string
    CapacityPlanningTimeframeConfiguration:
      allOf:
        - $ref: '#/components/schemas/VersionedResource'
      properties:
        days:
          default: 100
          description: >-
            The range in days per facility which defines how many days in the
            future the capacity of the facility can be planned
          example: '240'
          minimum: 1
          type: integer
        id:
          type: string
      required:
        - days
      type: object
    RerouteConfiguration:
      required:
        - active
        - rerouteTargetTimeHours
        - rerouteAfterMinutes
      properties:
        active:
          type: boolean
        rerouteTargetTimeHours:
          type: number
          example: '48'
          default: 48
          minimum: 1
          description: >-
            Only pickjobs within the target time window are considered for
            reroute.
        rerouteAfterMinutes:
          type: number
          example: '60'
          default: 1440
          minimum: 5
          description: The amount of minutes after which an automated reroute is executed
    CancelationReasonForCreation:
      allOf:
        - $ref: '#/components/schemas/AbstractReasonForCreation'
      type: object
      xml:
        name: CancelationReasonForCreation
    CancelationReason:
      allOf:
        - $ref: '#/components/schemas/AbstractReason'
      properties:
        action:
          enum:
            - CANCELATION
          type: string
      required:
        - action
      type: object
      xml:
        name: CancelationReason
    CancelationReasons:
      allOf:
        - $ref: '#/components/schemas/AbstractReasons'
      properties:
        reasons:
          items:
            $ref: '#/components/schemas/CancelationReason'
          type: array
      required:
        - reasons
      type: object
      xml:
        name: CancelationReasons
    CancelationReasonForModification:
      allOf:
        - $ref: '#/components/schemas/AbstractReasonForModification'
      type: object
      xml:
        name: CancelationReasonForModification
    RerouteDescriptionForCreation:
      allOf:
        - $ref: '#/components/schemas/AbstractReasonForCreation'
      type: object
      xml:
        name: RerouteDescriptionForCreation
    RerouteDescriptionForModification:
      allOf:
        - $ref: '#/components/schemas/AbstractReasonForModification'
      type: object
      xml:
        name: RerouteDescriptionForModification
    RerouteDescription:
      allOf:
        - $ref: '#/components/schemas/AbstractReason'
      properties:
        action:
          enum:
            - REROUTE
          type: string
      required:
        - action
      type: object
      xml:
        name: RerouteDescription
    RerouteDescriptions:
      allOf:
        - $ref: '#/components/schemas/AbstractReasons'
      properties:
        rerouteDescriptions:
          items:
            $ref: '#/components/schemas/RerouteDescription'
          type: array
        reasons:
          items:
            $ref: '#/components/schemas/RerouteDescription'
          type: array
      required:
        - reasons
        - rerouteDescriptions
      type: object
    CheckoutOptionsDeliveryTimePeriodRequest:
      type: object
      properties:
        startDate:
          type: string
          example: '2024-06-03T00:00:00.000Z'
          format: date-time
          description: >-
            The start of the evaluated time period. Defaults to "now" (timestamp
            of the request)
          default: now
        endDate:
          type: string
          example: 2024-07-013T00:00:00.000Z
          format: date-time
          description: >-
            The end of the evaluated time period. Default is the start date + 60
            days. Please note that the maximum time period can not exceed 60
            days.
        basket:
          description: Items, that are considered to be delivered together.
          type: array
          minLength: 1
          maxLength: 50
          items:
            $ref: '#/components/schemas/BasketItem'
        consumerAddress:
          $ref: '#/components/schemas/CheckoutOptionsConsumerAddress'
        deliveryPreferences:
          $ref: '#/components/schemas/CheckoutOptionsDeliveryPreferences'
      required:
        - basket
    CheckoutOptionsDeliveryTimePointRequest:
      properties:
        desiredDeliveryDate:
          type: string
          example: '2024-06-03T00:00:00.000Z'
          format: date-time
          description: The desired delivery date. (timestamp of the request)
        tenantArticleIds:
          type: array
          items:
            type: string
            description: >-
              The tenant articleIds for which the check is performed. The
              provided items are considered individually.
            example: DE-ZGT-4711
          minLength: 1
          maxLength: 50
        facilities:
          description: Pair of facilityRef and latestPickingStart values
          type: array
          minLength: 1
          maxLength: 5
          items:
            $ref: '#/components/schemas/FacilityRefLatestPickingStartPair'
      required:
        - facilities
        - tenantArticleIds
        - desiredDeliveryDate
    CheckoutOptionsDeliveryTimePointResponse:
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/CheckoutOptionsDeliveryTimePointResponseItem'
      required:
        - items
    CheckoutOptionsDeliveryTimePointResponseItem:
      properties:
        tenantArticleId:
          type: string
          example: DE-ZGT-4711
        available:
          type: number
          example: 4
        facilityRef:
          type: string
      required:
        - tenantArticleId
        - available
        - facilityRef
    CheckoutOptionsDeliveryPreferences:
      properties:
        serviceLevel:
          description: >-
            DELIVERY: The parcel will reach the recipient according to the cycle
            time of the carrier, typically 1-3 days when shipping nationaly.

            EXPRESS: The parcel will reach the recipient using an express
            service level.
          enum:
            - DELIVERY
            - EXPRESS
          type: string
        preferredCarriers:
          type: array
          example: DPD
          items:
            type: string
        preferredCarriersWithProduct:
          $ref: >-
            #/components/schemas/CheckoutOptionsDeliveryPreferencesPreferredCarriersWithProduct
    BasketItem:
      properties:
        tenantArticleId:
          type: string
          example: DE-ZGT-4711
        quantity:
          type: number
          example: 4
      required:
        - tenantArticleId
        - quantity
    CheckoutOptionsDeliveryPreferencesPreferredCarriersWithProduct:
      properties:
        carrierKey:
          type: string
          example: DPD
        carrierProduct:
          type: string
          example: WORLDWIDE
        carrierServices:
          type: array
          items:
            type: string
            example: SIGNATURE
        carrierProductCategory:
          type: string
          example: STANDARD
    FacilityRefLatestPickingStartPair:
      properties:
        facilityRef:
          type: string
        latestPickingStart:
          example: '2020-02-03T09:45:51.525Z'
          format: date-time
          type: string
      required:
        - facilityRef
        - latestPickingStart
    InventoryArticle:
      type: object
      properties:
        attributes:
          type: array
          items:
            $ref: '#/components/schemas/ListingAttributeItem'
        imageUrl:
          type: string
        tenantArticleId:
          type: string
        title:
          type: string
        titleLocalized:
          $ref: '#/components/schemas/LocaleString'
      required:
        - imageUrl
        - tenantArticleId
        - title
    InventoryArticlePaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        articles:
          type: array
          items:
            $ref: '#/components/schemas/InventoryArticle'
      required:
        - total
        - articles
    ArticleStockForecast:
      type: object
      properties:
        id:
          type: string
        tenantArticleId:
          type: string
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
        sourceDate:
          format: date-time
          type: string
        targetDate:
          format: date-time
          type: string
        loadTime:
          format: date-time
          type: string
        cumulated:
          type: number
        cumulatedLowerBounds:
          type: array
          items:
            type: number
        cumulatedUpperBounds:
          type: array
          items:
            type: number
        lowerBounds:
          type: array
          items:
            type: number
        upperBounds:
          type: array
          items:
            type: number
        period:
          type: string
          enum:
            - DAILY
        point:
          type: number
      required:
        - id
        - tenantArticleId
        - created
        - lastModified
        - sourceDate
        - targetDate
        - loadTime
        - cumulated
        - cumulatedLowerBounds
        - cumulatedUpperBounds
        - lowerBounds
        - upperBounds
        - period
        - point
    RequestedDate:
      type: object
      properties:
        type:
          type: string
          enum:
            - ASAP
            - TIME_POINT
        value:
          format: date-time
          type: string
      required:
        - type
        - value
    Quantity:
      type: object
      properties:
        unit:
          type: string
        value:
          type: integer
          minimum: 0
          format: int32
      required:
        - value
    InboundLineItem:
      type: object
      properties:
        tenantArticleId:
          type: string
        quantity:
          $ref: '#/components/schemas/Quantity'
        stockProperties:
          additionalProperties:
            type: string
          allOf:
            - $ref: '#/components/schemas/StockPropertyPreset'
      required:
        - tenantArticleId
        - quantity
    PurchaseOrderSupplier:
      type: object
      properties:
        name:
          type: string
        facilityRef:
          type: string
    InboundProcessPurchaseOrder:
      type: object
      properties:
        id:
          type: string
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
        orderDate:
          type: string
          format: date-time
        requestedDate:
          $ref: '#/components/schemas/RequestedDate'
        requestedItems:
          type: array
          items:
            $ref: '#/components/schemas/InboundLineItem'
        status:
          type: string
          enum:
            - OPEN
        cancelled:
          type: boolean
        supplier:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderSupplier'
        transfer:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderTransfer'
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - id
        - created
        - lastModified
        - orderDate
        - requestedDate
        - requestedItems
        - status
        - cancelled
    InboundReceipt:
      type: object
      properties:
        asnRef:
          type: string
        receivedDate:
          format: date-time
          type: string
        receivedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptLineItem'
        comments:
          maxItems: 20
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptComment'
        status:
          type: string
          enum:
            - IN_PROGRESS
            - FINISHED
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        id:
          type: string
      required:
        - receivedDate
        - receivedItems
        - comments
        - id
    InboundDeliveryReceivedPayload:
      type: object
      properties:
        inboundProcessRef:
          type: string
        tenantInboundProcessRef:
          type: string
        purchaseOrder:
          $ref: '#/components/schemas/InboundProcessPurchaseOrder'
        facilityRef:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - PARTIAL_DELIVERY
            - ON_HOLD
            - CLOSED
        onHold:
          type: boolean
        receipt:
          $ref: '#/components/schemas/InboundReceipt'
      required:
        - inboundProcessRef
        - facilityRef
        - status
        - onHold
        - receipt
    InboundDeliveryFinishedPayload:
      type: object
      properties:
        inboundProcessRef:
          type: string
        tenantInboundProcessRef:
          type: string
        purchaseOrder:
          $ref: '#/components/schemas/InboundProcessPurchaseOrder'
        facilityRef:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - PARTIAL_DELIVERY
            - ON_HOLD
            - CLOSED
        onHold:
          type: boolean
        receipts:
          type: array
          items:
            $ref: '#/components/schemas/InboundReceipt'
      required:
        - inboundProcessRef
        - facilityRef
        - status
        - onHold
        - receipts
    InboundDeliveryOnHoldPayload:
      type: object
      properties:
        inboundProcessRef:
          type: string
        tenantInboundProcessRef:
          type: string
        purchaseOrder:
          $ref: '#/components/schemas/InboundProcessPurchaseOrder'
        facilityRef:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - PARTIAL_DELIVERY
            - ON_HOLD
            - CLOSED
        onHold:
          type: boolean
      required:
        - inboundProcessRef
        - facilityRef
        - status
        - onHold
    InboundDeliveryReleasedPayload:
      type: object
      properties:
        inboundProcessRef:
          type: string
        tenantInboundProcessRef:
          type: string
        purchaseOrder:
          $ref: '#/components/schemas/InboundProcessPurchaseOrder'
        facilityRef:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - PARTIAL_DELIVERY
            - ON_HOLD
            - CLOSED
        onHold:
          type: boolean
      required:
        - inboundProcessRef
        - facilityRef
        - status
        - onHold
    InventoryFacilityStockShapeByTrait:
      type: object
      properties:
        PICKABLE:
          type: number
        ACCESSIBLE:
          type: number
      required:
        - PICKABLE
        - ACCESSIBLE
    InventoryFacilityStockDeltaShape:
      type: object
      properties:
        totalAmount:
          type: number
        reserved:
          type: number
        safetyStock:
          type: number
        available:
          type: number
          deprecated: true
        byTrait:
          $ref: '#/components/schemas/InventoryFacilityStockShapeByTrait'
        availableToPromise:
          type: number
          deprecated: true
        readyToPick:
          type: number
          deprecated: true
        availableForPicking:
          type: number
        stockCount:
          type: number
        availableOnStock:
          type: number
        stockOnHand:
          type: number
      required:
        - totalAmount
        - reserved
        - safetyStock
        - available
        - byTrait
        - availableToPromise
        - readyToPick
        - availableForPicking
        - stockCount
        - availableOnStock
        - stockOnHand
    InventoryFacilityStockStaleReason:
      type: object
      properties:
        timestamp:
          format: date-time
          type: string
        reasons:
          type: array
          items:
            type: string
      required:
        - timestamp
        - reasons
    InventoryFacilityStockShape:
      type: object
      properties:
        facilityRef:
          type: string
        tenantArticleId:
          type: string
        totalAmount:
          type: number
        reserved:
          type: number
        safetyStock:
          type: number
        available:
          type: number
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        byTrait:
          $ref: '#/components/schemas/InventoryFacilityStockShapeByTrait'
        changeReason:
          type: string
          enum:
            - UNKNOWN
        availableToPromise:
          type: number
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        readyToPick:
          type: number
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        availableForPicking:
          type: number
        delta:
          $ref: '#/components/schemas/InventoryFacilityStockDeltaShape'
        staleReasons:
          type: array
          items:
            $ref: '#/components/schemas/InventoryFacilityStockStaleReason'
        stockOnHand:
          type: number
        availableOnStock:
          type: number
      required:
        - facilityRef
        - tenantArticleId
        - totalAmount
        - reserved
        - safetyStock
        - available
        - byTrait
        - changeReason
        - availableToPromise
        - readyToPick
        - availableForPicking
        - delta
        - staleReasons
        - stockOnHand
        - availableOnStock
    RequestedDateASAP:
      type: object
      properties:
        type:
          type: string
          enum:
            - ASAP
            - TIME_POINT
      required:
        - type
    RequestedDateTimePoint:
      type: object
      properties:
        type:
          type: string
          enum:
            - ASAP
            - TIME_POINT
        value:
          type: string
          format: date-time
      required:
        - type
        - value
    StockPropertyPreset:
      type: object
      properties:
        expiry:
          type: string
        batch:
          type: string
    InboundProcessPurchaseOrderSupplier:
      type: object
      properties:
        name:
          type: string
    InboundProcessPurchaseOrderTransfer:
      type: object
      properties:
        id:
          type: string
      required:
        - id
    PurchaseOrder:
      type: object
      properties:
        id:
          type: string
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
        orderDate:
          type: string
          format: date-time
        requestedDate:
          $ref: '#/components/schemas/RequestedDate'
        requestedItems:
          type: array
          items:
            $ref: '#/components/schemas/InboundLineItem'
        status:
          type: string
          enum:
            - OPEN
        cancelled:
          type: boolean
        supplier:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderSupplier'
        transfer:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderTransfer'
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        version:
          type: number
        facilityRef:
          type: string
        inboundProcessRef:
          type: string
      required:
        - id
        - created
        - lastModified
        - orderDate
        - requestedDate
        - requestedItems
        - status
        - cancelled
        - version
        - facilityRef
        - inboundProcessRef
    InputRequestedDate:
      type: object
      properties:
        type:
          type: string
          enum:
            - ASAP
            - TIME_POINT
        value:
          type: string
          format: date-time
      required:
        - type
    PurchaseOrderForCreation:
      type: object
      properties:
        orderDate:
          type: string
          format: date-time
        requestedDate:
          $ref: '#/components/schemas/InputRequestedDate'
        requestedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundLineItem'
        status:
          type: string
          enum:
            - OPEN
        cancelled:
          type: boolean
        supplier:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderSupplier'
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        facilityRef:
          type: string
          minLength: 1
      required:
        - orderDate
        - requestedDate
        - requestedItems
        - facilityRef
    PurchaseOrderForUpdate:
      type: object
      properties:
        orderDate:
          type: string
          format: date-time
        requestedDate:
          $ref: '#/components/schemas/InputRequestedDate'
        requestedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundLineItem'
        status:
          type: string
          enum:
            - OPEN
        cancelled:
          type: boolean
        supplier:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderSupplier'
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        version:
          type: number
      required:
        - orderDate
        - requestedDate
        - requestedItems
        - version
    PurchaseOrderForPartialUpdate:
      type: object
      properties:
        version:
          type: number
        orderDate:
          type: string
          format: date-time
        requestedDate:
          $ref: '#/components/schemas/InputRequestedDate'
        requestedItems:
          type: array
          items:
            $ref: '#/components/schemas/InboundLineItem'
        status:
          type: string
          enum:
            - OPEN
        cancelled:
          type: boolean
        supplier:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderSupplier'
      required:
        - version
    InboundProcessOrigin:
      type: object
      properties:
        name:
          type: string
    StrippedInboundProcess:
      type: object
      properties:
        id:
          type: string
        version:
          type: number
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
        tenantInboundProcessId:
          type: string
        facilityRef:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - PARTIAL_DELIVERY
            - ON_HOLD
            - CLOSED
        onHold:
          type: boolean
        inboundDate:
          type: array
          items:
            format: date-time
            type: string
        origin:
          type: array
          items:
            $ref: '#/components/schemas/InboundProcessOrigin'
        scannableCodes:
          type: array
          items:
            type: string
        anonymized:
          type: boolean
      required:
        - id
        - version
        - created
        - lastModified
        - facilityRef
        - status
        - onHold
        - inboundDate
        - origin
        - scannableCodes
        - anonymized
    InboundProcessPaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        inboundProcesses:
          type: array
          items:
            $ref: '#/components/schemas/StrippedInboundProcess'
      required:
        - total
        - inboundProcesses
    InboundAttachmentLink:
      type: object
      properties:
        inboundAttachmentRef:
          type: string
      required:
        - inboundAttachmentRef
    InboundReceiptComment:
      type: object
      properties:
        userRef:
          type: string
        content:
          type: string
        attachments:
          type: array
          items:
            $ref: '#/components/schemas/InboundAttachmentLink'
      required:
        - content
    InboundReceiptLineItem:
      type: object
      properties:
        tenantArticleId:
          type: string
        acceptedQuantity:
          $ref: '#/components/schemas/Quantity'
        rejectedQuantity:
          $ref: '#/components/schemas/Quantity'
        comments:
          maxItems: 20
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptComment'
        storageLocationRef:
          type: string
        stockProperties:
          additionalProperties:
            type: string
          allOf:
            - $ref: '#/components/schemas/StockPropertyPreset'
      required:
        - tenantArticleId
        - acceptedQuantity
        - rejectedQuantity
        - comments
    InboundProcess:
      type: object
      properties:
        id:
          type: string
        version:
          type: number
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
        tenantInboundProcessId:
          type: string
        facilityRef:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - PARTIAL_DELIVERY
            - ON_HOLD
            - CLOSED
        onHold:
          type: boolean
        inboundDate:
          type: array
          items:
            format: date-time
            type: string
        origin:
          type: array
          items:
            $ref: '#/components/schemas/InboundProcessOrigin'
        scannableCodes:
          type: array
          items:
            type: string
        anonymized:
          type: boolean
        purchaseOrder:
          $ref: '#/components/schemas/InboundProcessPurchaseOrder'
        receipts:
          type: array
          items:
            $ref: '#/components/schemas/InboundReceipt'
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - id
        - version
        - created
        - lastModified
        - facilityRef
        - status
        - onHold
        - inboundDate
        - origin
        - scannableCodes
        - anonymized
        - receipts
    InboundReceiptForCreation:
      type: object
      properties:
        asnRef:
          type: string
        receivedDate:
          format: date-time
          type: string
        receivedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptLineItem'
        comments:
          maxItems: 20
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptComment'
        status:
          type: string
          enum:
            - IN_PROGRESS
            - FINISHED
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - receivedDate
        - receivedItems
        - comments
    InboundProcessPurchaseOrderForCreation:
      type: object
      properties:
        orderDate:
          type: string
          format: date-time
        requestedDate:
          $ref: '#/components/schemas/InputRequestedDate'
        requestedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundLineItem'
        status:
          type: string
          enum:
            - OPEN
        cancelled:
          type: boolean
        supplier:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderSupplier'
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - orderDate
        - requestedDate
        - requestedItems
    InboundProcessForCreation:
      type: object
      properties:
        tenantInboundProcessId:
          type: string
        facilityRef:
          type: string
        receipts:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptForCreation'
        onHold:
          type: boolean
        purchaseOrder:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderForCreation'
        scannableCodes:
          type: array
          items:
            type: string
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - facilityRef
    InboundProcessForPatch:
      type: object
      properties:
        onHold:
          type: boolean
        scannableCodes:
          type: array
          items:
            type: string
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        version:
          type: number
      required:
        - version
    InboundProcessPurchaseOrderForUpsert:
      type: object
      properties:
        orderDate:
          type: string
          format: date-time
        requestedDate:
          $ref: '#/components/schemas/InputRequestedDate'
        requestedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundLineItem'
        status:
          type: string
          enum:
            - OPEN
        cancelled:
          type: boolean
        supplier:
          $ref: '#/components/schemas/InboundProcessPurchaseOrderSupplier'
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        version:
          type: number
      required:
        - orderDate
        - requestedDate
        - requestedItems
        - version
    InboundReceiptJobOrigin:
      type: object
      properties:
        name:
          type: string
    InboundReceiptJob:
      type: object
      properties:
        id:
          type: string
        facilityRef:
          type: string
        inboundProcessRef:
          type: string
        originReadableName:
          type: string
        originReadableId:
          type: string
        status:
          type: string
          enum:
            - OPEN
            - PARTIAL_DELIVERY
            - ON_HOLD
            - CLOSED
        expectedDate:
          $ref: '#/components/schemas/RequestedDate'
        items:
          $ref: '#/components/schemas/InboundLineItem'
        origin:
          $ref: '#/components/schemas/InboundReceiptJobOrigin'
      required:
        - id
        - facilityRef
        - inboundProcessRef
        - status
        - expectedDate
        - items
        - origin
    InboundReceiptJobPaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        inboundReceiptJobs:
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptJob'
      required:
        - total
        - inboundReceiptJobs
    ReceiptForCreation:
      type: object
      properties:
        asnRef:
          type: string
        receivedDate:
          format: date-time
          type: string
        receivedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptLineItem'
        comments:
          maxItems: 20
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptComment'
        status:
          type: string
          enum:
            - IN_PROGRESS
            - FINISHED
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        facilityRef:
          type: string
      required:
        - receivedDate
        - receivedItems
        - comments
        - facilityRef
    Receipt:
      type: object
      properties:
        asnRef:
          type: string
        receivedDate:
          format: date-time
          type: string
        receivedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptLineItem'
        comments:
          maxItems: 20
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptComment'
        status:
          type: string
          enum:
            - IN_PROGRESS
            - FINISHED
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        id:
          type: string
        inboundProcessRef:
          type: string
        version:
          type: number
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
      required:
        - receivedDate
        - receivedItems
        - comments
        - id
        - inboundProcessRef
        - version
        - created
        - lastModified
    InboundReceiptForUpdate:
      type: object
      properties:
        asnRef:
          type: string
        receivedDate:
          format: date-time
          type: string
        receivedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptLineItem'
        comments:
          maxItems: 20
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptComment'
        status:
          type: string
          enum:
            - IN_PROGRESS
            - FINISHED
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        version:
          type: number
      required:
        - receivedDate
        - receivedItems
        - comments
        - version
    InboundReceiptForPatch:
      type: object
      properties:
        asnRef:
          type: string
        comments:
          maxItems: 20
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptComment'
        receivedDate:
          format: date-time
          type: string
        receivedItems:
          maxItems: 200
          type: array
          items:
            $ref: '#/components/schemas/InboundReceiptLineItem'
        status:
          type: string
          enum:
            - IN_PROGRESS
            - FINISHED
        version:
          type: number
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - version
    InventoryConfigurationForPatch:
      type: object
      properties:
        version:
          type: number
        enableStorageLocationOverview:
          type: boolean
          deprecated: true
        isMixedStorage:
          type: boolean
          nullable: true
      required:
        - version
    InventoryConfiguration:
      type: object
      properties:
        version:
          type: number
        enableStorageLocationOverview:
          type: boolean
          deprecated: true
        isMixedStorage:
          type: boolean
      required:
        - version
        - enableStorageLocationOverview
    OutboundTagFilter:
      type: object
      properties:
        allowedValues:
          type: array
          items:
            type: string
        tagId:
          type: string
      required:
        - allowedValues
        - tagId
    OutboundClearTrigger:
      type: object
      properties:
        event:
          type: string
          enum:
            - pick-job-closed_event-v1
            - handoverjob-handed-over_event-v1
        tagFilter:
          type: array
          items:
            $ref: '#/components/schemas/OutboundTagFilter'
      required:
        - event
    OutboundStockConfiguration:
      type: object
      properties:
        trackOutboundStock:
          type: boolean
        locationRef:
          type: string
        clearTrigger:
          type: array
          items:
            $ref: '#/components/schemas/OutboundClearTrigger'
      required:
        - trackOutboundStock
        - locationRef
    InventoryFacilityConfigurationForPatch:
      type: object
      properties:
        version:
          type: number
        isMixedStorage:
          type: boolean
          nullable: true
        outboundStockConfiguration:
          $ref: '#/components/schemas/OutboundStockConfiguration'
      required:
        - version
    InventoryFacilityConfiguration:
      type: object
      properties:
        id:
          type: string
        version:
          type: number
        isMixedStorage:
          type: boolean
        facilityRef:
          type: string
        outboundStockConfiguration:
          $ref: '#/components/schemas/OutboundStockConfiguration'
      required:
        - id
        - version
        - facilityRef
    StorageLocationRecommendation:
      type: object
      properties:
        storageLocation:
          $ref: '#/components/schemas/StorageLocation'
        stockCount:
          type: number
      required:
        - storageLocation
        - stockCount
    InboundAttachmentForCreation:
      type: object
      properties:
        fileName:
          type: string
          description: File name of attachment
        content:
          type: string
          description: Base64 encoded attachment file
      required:
        - fileName
        - content
    InboundAttachment:
      type: object
      properties:
        id:
          type: string
        version:
          type: number
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
      required:
        - id
        - version
    StockSummaryArticle:
      type: object
      properties:
        tenantArticleId:
          type: string
        title:
          type: string
        imageUrl:
          type: string
      required:
        - tenantArticleId
        - title
    ByTrait:
      type: object
      properties:
        PICKABLE:
          type: number
        ACCESSIBLE:
          type: number
      required:
        - PICKABLE
        - ACCESSIBLE
    ChannelStockAvailability:
      type: object
      properties:
        channelRef:
          type: string
        availableForPicking:
          type: number
        availableOnStock:
          type: number
      required:
        - channelRef
        - availableForPicking
        - availableOnStock
    StockSummaryDetails:
      type: object
      properties:
        reserved:
          type: number
          minimum: 0
        totalAmount:
          type: number
          minimum: 0
        available:
          type: number
          minimum: 0
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        safetyStock:
          type: number
          minimum: 0
        byTrait:
          $ref: '#/components/schemas/ByTrait'
        availableForPicking:
          type: number
        availableToPromise:
          type: number
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        readyToPick:
          type: number
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        availableOnStock:
          type: number
        stockOnHand:
          type: number
        channelAdjusted:
          type: array
          items:
            $ref: '#/components/schemas/ChannelStockAvailability'
      required:
        - reserved
        - totalAmount
        - available
        - safetyStock
        - byTrait
        - availableForPicking
        - availableToPromise
        - readyToPick
        - availableOnStock
        - stockOnHand
    StockSummary:
      type: object
      properties:
        includedFacilityRefs:
          description: >-
            ALPHA Status!. The facilityRefs that are included in the stock
            summary.
          type: array
          items:
            type: string
        article:
          $ref: '#/components/schemas/StockSummaryArticle'
        details:
          $ref: '#/components/schemas/StockSummaryDetails'
      required:
        - includedFacilityRefs
        - article
        - details
    StockSummaries:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        stockSummaries:
          type: array
          items:
            $ref: '#/components/schemas/StockSummary'
      required:
        - total
        - stockSummaries
    FacilityStockDistribution:
      type: object
      properties:
        reserved:
          type: number
          minimum: 0
        totalAmount:
          type: number
          minimum: 0
        available:
          type: number
          minimum: 0
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        safetyStock:
          type: number
          minimum: 0
        byTrait:
          $ref: '#/components/schemas/ByTrait'
        availableForPicking:
          type: number
        availableToPromise:
          type: number
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        readyToPick:
          type: number
          deprecated: true
          description: >-
            This field is deprecated and replaced by new availability concepts.
            Please see
            https://docs.fulfillmenttools.com/api-docs/use-cases/inventory-management/global-inventory/availability
            for more information.
        availableOnStock:
          type: number
        stockOnHand:
          type: number
        channelAdjusted:
          type: array
          items:
            $ref: '#/components/schemas/ChannelStockAvailability'
        facilityId:
          type: string
        facilityName:
          type: string
        facilityServiceTypes:
          type: array
          items:
            type: string
            $ref: '#/components/schemas/FacilityServiceType'
        facilityStatus:
          $ref: '#/components/schemas/FacilityStatus'
        price:
          type: number
          nullable: true
      required:
        - reserved
        - totalAmount
        - available
        - safetyStock
        - byTrait
        - availableForPicking
        - availableToPromise
        - readyToPick
        - availableOnStock
        - stockOnHand
        - facilityId
        - facilityName
        - price
    StockDistribution:
      type: object
      properties:
        tenantArticleId:
          type: string
        summary:
          $ref: '#/components/schemas/StockSummaryDetails'
        facilityStocks:
          type: array
          items:
            $ref: '#/components/schemas/FacilityStockDistribution'
      required:
        - tenantArticleId
        - summary
        - facilityStocks
    FacilityStock:
      type: object
      properties:
        available:
          type: number
        reserved:
          type: number
        value:
          type: number
        tenantArticleId:
          type: string
        facilityRef:
          type: string
        id:
          type: string
      required:
        - available
        - reserved
        - value
        - tenantArticleId
        - facilityRef
        - id
    FacilityStockBulkOperation:
      type: object
      properties:
        tenantArticleId:
          type: string
          minLength: 1
        value:
          type: number
          minimum: 0
      required:
        - tenantArticleId
        - value
    FacilityStockBulkOperations:
      type: object
      properties:
        operations:
          minItems: 1
          type: array
          items:
            $ref: '#/components/schemas/FacilityStockBulkOperation'
      required:
        - operations
    BulkOperationError:
      type: object
      properties:
        type:
          type: string
          enum:
            - VALIDATION
            - UNKNOWN
        message:
          type: string
      required:
        - type
        - message
    FacilityStockBulkResult:
      type: object
      properties:
        tenantArticleId:
          type: string
        facilityRef:
          type: string
        status:
          type: string
          enum:
            - UPDATED
            - CREATED
            - FAILED
        error:
          $ref: '#/components/schemas/BulkOperationError'
      required:
        - tenantArticleId
        - facilityRef
        - status
    StockForCreation:
      type: object
      properties:
        facilityRef:
          type: string
        tenantArticleId:
          type: string
        value:
          type: integer
          minimum: 0
          format: int32
        locationRef:
          type: string
        properties:
          additionalProperties:
            type: string
          allOf:
            - $ref: '#/components/schemas/StockPropertyPreset'
        receiptDate:
          format: date-time
          type: string
        availableUntil:
          format: date-time
          type: string
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - facilityRef
        - tenantArticleId
        - value
    Stock:
      type: object
      properties:
        reserved:
          type: number
        facilityWideReserved:
          type: number
        available:
          type: number
        id:
          type: string
        version:
          type: number
        facilityRef:
          type: string
        tenantArticleId:
          type: string
        tenantStockId:
          type: string
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
        value:
          type: number
        locationRef:
          type: string
        traits:
          type: array
          items:
            type: string
            enum:
              - PICKABLE
              - ACCESSIBLE
              - KEEP_ON_ZERO
        scores:
          type: array
          items:
            type: string
        scannableCodes:
          type: array
          items:
            type: string
        properties:
          type: object
          additionalProperties:
            type: string
        serializedProperties:
          type: string
        receiptDate:
          format: date-time
          type: string
        availableUntil:
          format: date-time
          type: string
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
      required:
        - reserved
        - facilityWideReserved
        - available
        - id
        - version
        - facilityRef
        - tenantArticleId
        - created
        - lastModified
        - value
        - traits
        - serializedProperties
        - receiptDate
    StockForUpdate:
      type: object
      properties:
        value:
          type: integer
          minimum: 0
          format: int32
        locationRef:
          type: string
          nullable: true
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        version:
          type: number
      required:
        - value
        - version
    StockPaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        stocks:
          type: array
          items:
            $ref: '#/components/schemas/Stock'
      required:
        - total
        - stocks
    StockDeleteByLocations:
      type: object
      properties:
        name:
          type: string
          enum:
            - DELETE_BY_LOCATIONS
        locationRefs:
          maxItems: 500
          type: array
          items:
            type: string
      required:
        - name
        - locationRefs
    StockDeleteByProducts:
      type: object
      properties:
        name:
          type: string
          enum:
            - DELETE_BY_PRODUCTS
        facilityRef:
          type: string
        tenantArticleIds:
          maxItems: 500
          type: array
          items:
            type: string
      required:
        - name
        - facilityRef
        - tenantArticleIds
    StockDeleteByIds:
      type: object
      properties:
        name:
          type: string
          enum:
            - DELETE_BY_IDS
        ids:
          maxItems: 500
          type: array
          items:
            type: string
      required:
        - name
        - ids
    MoveStockToLocationOptions:
      type: object
      properties:
        deleteFromStockIfZero:
          type: boolean
    StockMoveToLocation:
      type: object
      properties:
        name:
          type: string
          enum:
            - MOVE_TO_LOCATION
        fromStockId:
          type: string
        toLocationRef:
          type: string
        amount:
          type: number
        options:
          $ref: '#/components/schemas/MoveStockToLocationOptions'
      required:
        - name
        - fromStockId
        - toLocationRef
        - amount
    StockAction:
      type: object
      properties:
        actions:
          type: array
          deprecated: true
          description: Deprecated. Use 'action' with a single action input instead.
          maxItems: 10
          items:
            oneOf:
              - $ref: '#/components/schemas/StockDeleteByLocations'
              - $ref: '#/components/schemas/StockDeleteByProducts'
              - $ref: '#/components/schemas/StockDeleteByIds'
        action:
          oneOf:
            - $ref: '#/components/schemas/StockDeleteByLocations'
            - $ref: '#/components/schemas/StockDeleteByProducts'
            - $ref: '#/components/schemas/StockDeleteByIds'
            - $ref: '#/components/schemas/StockMoveToLocation'
    StockDeleteActionResult:
      type: object
      properties:
        ids:
          type: array
          items:
            type: string
      required:
        - ids
    StockMoveToLocationActionResult:
      type: object
      properties:
        fromStock:
          $ref: '#/components/schemas/Stock'
        toStock:
          $ref: '#/components/schemas/Stock'
      required:
        - toStock
    StockActionResult:
      type: object
      properties:
        name:
          type: string
          enum:
            - DELETE_BY_LOCATIONS
            - DELETE_BY_PRODUCTS
            - DELETE_BY_IDS
            - MOVE_TO_LOCATION
        result:
          oneOf:
            - $ref: '#/components/schemas/StockDeleteActionResult'
            - $ref: '#/components/schemas/StockMoveToLocationActionResult'
      required:
        - name
        - result
    StockForUpsertUpdate:
      type: object
      properties:
        value:
          type: integer
          minimum: 0
          format: int32
        locationRef:
          type: string
          nullable: true
        customAttributes:
          type: object
          nullable: true
          description: >-
            Attributes that can be added to this entity. These attributes
            **cannot** be used within fulfillment processes, but enable you to
            attach custom data from your systems to fulfillmenttools entities.
        id:
          type: string
        version:
          type: number
      required:
        - value
        - id
        - version
    StocksForUpsert:
      type: object
      properties:
        stocks:
          type: array
          description: >-
            Please be sure to include each stock (by ID) only once, when
            updating. Otherwise the whole batch is rejected with an error.
          items:
            oneOf:
              - $ref: '#/components/schemas/StockForCreation'
              - $ref: '#/components/schemas/StockForUpsertUpdate'
              - type: object
                properties:
                  value:
                    type: integer
                    minimum: 0
                    format: int32
                  locationRef:
                    type: string
                    nullable: true
                  id:
                    type: string
                required:
                  - id
                  - value
                not:
                  required:
                    - version
          maxItems: 500
      required:
        - stocks
    StockUpsertOperationResult:
      type: object
      properties:
        stock:
          $ref: '#/components/schemas/Stock'
        status:
          type: string
          enum:
            - UPDATED
            - CREATED
      required:
        - stock
        - status
    SafetyStock:
      type: object
      properties:
        tenantArticleId:
          type: string
        value:
          type: number
        facilityRef:
          type: string
        created:
          format: date-time
          type: string
        id:
          type: string
        lastModified:
          format: date-time
          type: string
        version:
          type: number
      required:
        - tenantArticleId
        - value
        - created
        - id
        - lastModified
        - version
    SafetyStocksPaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        safetyStocks:
          type: array
          items:
            $ref: '#/components/schemas/SafetyStock'
      required:
        - total
        - safetyStocks
    SafetyStockBulkOperation:
      type: object
      properties:
        tenantArticleId:
          type: string
        value:
          type: number
        facilityRef:
          type: string
      required:
        - tenantArticleId
        - value
    SafetyStockBulkOperations:
      type: object
      properties:
        operations:
          minItems: 1
          maxItems: 500
          type: array
          items:
            $ref: '#/components/schemas/SafetyStockBulkOperation'
      required:
        - operations
    SafetyStockBulkOperationResult:
      type: object
      properties:
        tenantArticleId:
          type: string
        facilityRef:
          type: string
        value:
          type: number
        status:
          type: string
          enum:
            - UPDATED
            - CREATED
            - FAILED
        error:
          $ref: '#/components/schemas/BulkOperationError'
      required:
        - tenantArticleId
        - facilityRef
        - value
        - status
    WebHookEvent:
      properties:
        event:
          description: The type of the send event
          type: string
        eventId:
          description: The id of the event
          type: string
      required:
        - event
        - eventId
      type: object
    InventoryFacilityStockChangedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          type: array
          items:
            $ref: '#/components/schemas/InventoryFacilityStockShape'
      required:
        - payload
      type: object
    InboundDeliveryFinishedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/InboundDeliveryFinishedPayload'
      required:
        - payload
      type: object
    InboundDeliveryOnHoldWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/InboundDeliveryOnHoldPayload'
      required:
        - payload
      type: object
    InboundDeliveryReceivedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/InboundDeliveryReceivedPayload'
      required:
        - payload
      type: object
    InboundDeliveryReleasedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/InboundDeliveryReleasedPayload'
      required:
        - payload
      type: object
    FacilityCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Facility'
      required:
        - payload
      type: object
    FacilityUpdatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Facility'
      required:
        - payload
      type: object
    FacilityDeletedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          description: The id of the deleted facility
          type: string
      required:
        - payload
      type: object
    HandoverJobCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Handoverjob'
      required:
        - payload
      type: object
    HandoverJobHandedOverWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Handoverjob'
      required:
        - payload
      type: object
    HandoverJobRevertedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Handoverjob'
      required:
        - payload
      type: object
    HandoverJobCanceledWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Handoverjob'
      required:
        - payload
      type: object
    OrderCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Order'
      required:
        - payload
      type: object
    OrderUnlockedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Order'
      required:
        - payload
      type: object
    ShipmentCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Shipment'
      required:
        - payload
      type: object
    ShipmentUpdatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Shipment'
      required:
        - payload
      type: object
    RoutingPlanSplittedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/RoutingPlan'
      required:
        - payload
      type: object
    RoutingPlanWaitingWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/RoutingPlan'
      required:
        - payload
      type: object
    RoutingPlanFallbackRoutingWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/RoutingPlan'
      required:
        - payload
      type: object
    RoutingPlanRoutedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/RoutingPlan'
      required:
        - payload
      type: object
    RoutingPlanRerouteCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/RoutingPlan'
      required:
        - payload
      type: object
    OrderCancelledWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Order'
      required:
        - payload
      type: object
    PickjobCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PickJob'
      required:
        - payload
      type: object
    PickjobPickLinePickedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PickLineItem'
        pickJobRef:
          type: string
      required:
        - payload
        - pickJobRef
      type: object
    PickjobPickingCommencedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PickJob'
      required:
        - payload
      type: object
    PickjobPickingFinishedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PickJob'
      required:
        - payload
      type: object
    PickjobPickingPausedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PickJob'
      required:
        - payload
      type: object
    PickjobAbortedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PickJob'
      required:
        - payload
      type: object
    PickjobCanceledWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PickJob'
      required:
        - payload
      type: object
    PackJobUpdatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PackJob'
      required:
        - payload
      type: object
    PackJobCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PackJob'
      required:
        - payload
      type: object
    PackJobCanceledWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/PackJob'
      required:
        - payload
      type: object
    RoutingPlanNotRoutableWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/RoutingPlan'
      required:
        - payload
      type: object
    ReturnJobCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/ReturnJob'
      required:
        - payload
      type: object
    ReturnJobCanceledWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/ReturnJob'
      required:
        - payload
      type: object
    ReturnJobClaimedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/ReturnJob'
      required:
        - payload
      type: object
    ReturnJobClosedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/ReturnJob'
      required:
        - payload
      type: object
    ParcelCarrierRequestedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Parcel'
      required:
        - payload
      type: object
    ParcelCarrierAcknowledgedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Parcel'
      required:
        - payload
      type: object
    ParcelCarrierFailedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/Parcel'
      required:
        - payload
      type: object
    UserCreatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/User'
      required:
        - payload
      type: object
    UserUpdatedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/User'
      required:
        - payload
      type: object
    UserDeletedWebHookEvent:
      allOf:
        - $ref: '#/components/schemas/WebHookEvent'
      properties:
        payload:
          $ref: '#/components/schemas/User'
      required:
        - payload
      type: object
    EmailReceiver:
      type: object
      properties:
        email:
          type: string
          format: email
        language:
          $ref: '#/components/schemas/SupportedLocale'
      required:
        - email
        - language
    EmailNotificationChannel:
      type: object
      properties:
        enabled:
          type: boolean
        events:
          type: array
          uniqueItems: true
          description: |-
            Supported events for triggering external notifications: 
                  - PICK_JOB_CREATED: Available for facility scoped config and tenant wide config
                  - ROUTING_PLAN_NOT_ROUTABLE: Available for tenant wide config
                  - ROUTING_PLAN_WAITING: Available for tenant wide config
              
          items:
            type: string
            enum:
              - PICK_JOB_CREATED
              - ROUTING_PLAN_NOT_ROUTABLE
              - ROUTING_PLAN_WAITING
        type:
          type: string
        id:
          type: string
        receiver:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/EmailReceiver'
      required:
        - enabled
        - events
        - type
        - id
        - receiver
    NotificationCenterConfig:
      type: object
      properties:
        version:
          type: number
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
        channels:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/EmailNotificationChannel'
      required:
        - version
        - created
        - lastModified
        - channels
    NotificationCenterConfigForUpdate:
      type: object
      properties:
        channels:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/EmailNotificationChannelForCreation'
        version:
          type: number
      required:
        - channels
        - version
    NotificationCenterConfigForCreation:
      type: object
      properties:
        channels:
          type: array
          items:
            oneOf:
              - $ref: '#/components/schemas/EmailNotificationChannelForCreation'
      required:
        - channels
    EmailNotificationChannelForCreation:
      type: object
      properties:
        enabled:
          type: boolean
        events:
          type: array
          uniqueItems: true
          description: |-
            Supported events for triggering external notifications: 
                  - PICK_JOB_CREATED: Available for facility scoped config and tenant wide config
                  - ROUTING_PLAN_NOT_ROUTABLE: Available for tenant wide config
                  - ROUTING_PLAN_WAITING: Available for tenant wide config
              
          items:
            type: string
            enum:
              - PICK_JOB_CREATED
              - ROUTING_PLAN_NOT_ROUTABLE
              - ROUTING_PLAN_WAITING
        type:
          type: string
        receiver:
          uniqueItems: true
          type: array
          items:
            $ref: '#/components/schemas/EmailReceiver'
      required:
        - enabled
        - events
        - type
        - receiver
    AddChannelAction:
      type: object
      properties:
        name:
          type: string
          enum:
            - ADD_CHANNEL
        channel:
          oneOf:
            - $ref: '#/components/schemas/EmailNotificationChannelForCreation'
        version:
          type: number
      required:
        - name
        - channel
        - version
    UpdateChannelByIdAction:
      type: object
      properties:
        name:
          type: string
          enum:
            - UPDATE_CHANNEL
        channel:
          oneOf:
            - $ref: '#/components/schemas/EmailNotificationChannel'
        version:
          type: number
      required:
        - name
        - channel
        - version
    AvailabilityChannelForCreation:
      type: object
      properties:
        name:
          type: string
        strategy:
          type: string
          enum:
            - REGULAR
            - IRON_RESERVE
            - RESTRICT
      required:
        - name
        - strategy
    AvailabilityChannel:
      type: object
      properties:
        name:
          type: string
        strategy:
          type: string
          enum:
            - REGULAR
            - IRON_RESERVE
            - RESTRICT
        version:
          type: number
        id:
          type: string
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
      required:
        - name
        - strategy
        - version
        - id
        - created
        - lastModified
    AvailabilityChannelPaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        channels:
          type: array
          items:
            $ref: '#/components/schemas/AvailabilityChannel'
      required:
        - total
        - channels
    AvailabilityChannelForReplacement:
      type: object
      properties:
        name:
          type: string
        strategy:
          type: string
          enum:
            - REGULAR
            - IRON_RESERVE
            - RESTRICT
        version:
          type: number
      required:
        - name
        - strategy
        - version
    AvailabilityAllocationPeriod:
      type: object
      properties:
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
    AvailabilityAllocationGroup:
      type: object
      properties:
        tenantArticleIds:
          maxItems: 1
          type: array
          items:
            type: string
        active:
          type: boolean
        activePeriod:
          $ref: '#/components/schemas/AvailabilityAllocationPeriod'
        channelRef:
          type: string
        id:
          type: string
        version:
          type: number
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
      required:
        - tenantArticleIds
        - active
        - channelRef
        - id
        - version
        - created
        - lastModified
    AvailabilityAllocationGroupPaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        groups:
          type: array
          items:
            $ref: '#/components/schemas/AvailabilityAllocationGroup'
      required:
        - total
        - groups
    AvailabilityAllocationGroupForCreationUnderChannel:
      type: object
      properties:
        tenantArticleIds:
          maxItems: 1
          type: array
          items:
            type: string
        active:
          type: boolean
        activePeriod:
          $ref: '#/components/schemas/AvailabilityAllocationPeriod'
      required:
        - tenantArticleIds
        - active
    AvailabilityAllocationGroupForReplacement:
      type: object
      properties:
        version:
          type: number
        active:
          type: boolean
        activePeriod:
          $ref: '#/components/schemas/AvailabilityAllocationPeriod'
      required:
        - version
        - active
    AvailabilityAllocationPaginatedResult:
      type: object
      properties:
        total:
          type: number
          minimum: 0
        allocations:
          type: array
          items:
            $ref: '#/components/schemas/AvailabilityChannel'
      required:
        - total
        - allocations
    AvailabilityAllocationForCreationUnderGroup:
      type: object
      properties:
        facilityRef:
          type: string
        initialStockQuantity:
          type: number
      required:
        - facilityRef
        - initialStockQuantity
    AvailabilityAllocation:
      type: object
      properties:
        facilityRef:
          type: string
        initialStockQuantity:
          type: number
        groupRef:
          type: string
        channelRef:
          type: string
        id:
          type: string
        version:
          type: number
        created:
          format: date-time
          type: string
        lastModified:
          format: date-time
          type: string
      required:
        - facilityRef
        - initialStockQuantity
        - groupRef
        - channelRef
        - id
        - version
        - created
        - lastModified
    AvailabilityAllocationForReplacement:
      type: object
      properties:
        version:
          type: number
        initialStockQuantity:
          type: number
        groupId:
          type: string
      required:
        - version
        - initialStockQuantity
tags:
  - description: >-
      Everything your customer ordered in your shop, so everything he or she
      orders for fulfillment.
    name: DOMS - Orders
  - description: >-
      Endpoints to get information out of the brain of our Distributed Order
      Management System.
    name: DOMS - Routing Plans
  - description: >-
      Endpoints used by shops to get the current available pickup stores and
      available service levels like Same-Day delivery.
    name: DOMS - Checkout Options
  - description: Endpoints to Create, Update and Read pickjobs.
    name: Fulfillment Operations - Picking
  - description: Endpoints to manipulate Restow Items.
    name: Fulfillment Operations - Restow
  - description: Endpoints to Create, Update and Read packjobs.
    name: Fulfillment Operations - Packing
  - description: Endpoints to Create, Update and Read handoverjobs.
    name: Fulfillment Operations - Handover
  - description: Endpoints to Create, Update and Read shipments and parcels.
    name: Fulfillment Operations - Shipments
  - description: Endpoints to Create, Update and Read Returns.
    name: Fulfillment Operations - Returns
  - description: Endpoints to Create, Update and Read Flows.
    name: Fulfillment Operations - Flows
  - description: Endpoints to Create, Update and Read Carriers.
    name: Last Mile Integration - Carriers
  - description: Endpoints to Create, Update and Read Inbound Processes.
    name: Inventory Management - Inbound
  - description: Endpoints to Create, Update and Read Stocks.
    name: Inventory Management - Stocks
  - description: Endpoints to Read and configure Processes.
    name: Core - Processes
  - description: Endpoints to Create, Update and Read Document Sets.
    name: Core - Document Sets
  - description: Endpoints to Create, Update and Read Custom Services.
    name: Core - Custom Services
  - description: Endpoints to Create, Update and Read facilities.
    name: Core - Facilities
  - description: Endpoints to Create, Update and Read Facility Listings.
    name: Core - Listings
  - description: Endpoints to Create, Update and Read subscriptions.
    name: Core - Eventing
  - description: Endpoints to Create, Update and Read users.
    name: Core - User Management
  - description: Validate properties accepted by the fulfillmenttools platform.
    name: Core - Validations
  - description: Endpoints to Create, Update and Read tags.
    name: Core - Tags
  - description: Endpoints to Create, Update and Read remote configurations.
    name: Core - Remote Configuration
  - description: >-
      Endpoints to Update and Read general configuration of the fulfillmenttools
      platform.
    name: Core - Configuration
  - description: Obtain Artifact information provided by platform.
    name: Infrastructure - Artifacts
  - description: Access to fulfillmenttools platform GraphQL API.
    name: Infrastructure - GraphQL
  - description: Configure features of the fulfillmenttools platform.
    name: Infrastructure - Features
  - description: Endpoints to get health status about the fulfillmenttools platform.
    name: Infrastructure - Health
  - description: Endpoints to configure external IDPs.
    name: Infrastructure - OIDC Configuration
