openapi: 3.0.1
info:
  title: Documentation Norce [Storm] Connect Product Service
  description: >-
    The Supplier Service has Entities and Operations to create and update
    supplier products and content in Norce [Storm].
  version: '4.0'
servers:
  - url: https://connect.lab.storm.io/4.0/api
paths:
  /Product/ImportCompetitorSkus:
    post:
      tags:
        - Competitor
      summary: Import competitor prices
      description: >-
        Use this to import data to the product catalog from price comparison
        solutions.<br/>Read more about the method <a
        href='/productintegration/#competitor-information-to-norce-commerce'>here</a>.
      operationId: ImportCompetitorSkus
      parameters:
        - name: X-StormConnect-Header
          in: header
          description: Json serialized string
          required: true
          schema:
            type: string
      requestBody:
        description: List of copmetitor SKUs to import.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CompetitorSku'
          application/xml:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/CompetitorSku'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '400':
          description: Bad Request
          content: {}
        '500':
          description: Internal Server Error
          content: {}
      x-codegen-request-body-name: competitorSkus
  /Product/ImportOnhands:
    post:
      tags:
        - Product
      summary: Import on hand data
      description: >-
        Use this to import availability data separated from other product data.
        Availability information on products not yet created in Norce Commerce
        will be ignored.<br/>Read more about the method <a
        href='/productintegration/#availability-information-to-norce-commerce'>here</a>.
      operationId: ImportOnhands
      parameters:
        - name: X-StormConnect-Header
          in: header
          description: Json serialized string
          required: true
          schema:
            type: string
      requestBody:
        description: List of sku on hands to import.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SkuOnhand'
          application/xml:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SkuOnhand'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '400':
          description: Bad Request
          content: {}
        '500':
          description: Internal Server Error
          content: {}
      x-codegen-request-body-name: skuOnhands
  /Product/ImportPriceLists:
    post:
      tags:
        - Pricelist
      summary: Import price lists
      description: >-
        Use this to import campaigns and other price lists. Price lists not
        existing in Norce Commerce will be created.<br/>Read more about the
        method <a
        href='/productintegration/#price-lists-to-norce-commerce'>here</a>.
      operationId: ImportPriceLists
      parameters:
        - name: X-StormConnect-Header
          in: header
          description: Json serialized string
          required: true
          schema:
            type: string
      requestBody:
        description: List of price lists to import.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceList'
          application/xml:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/PriceList'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '400':
          description: Bad Request
          content: {}
        '500':
          description: Internal Server Error
          content: {}
      x-codegen-request-body-name: priceLists
  /Product/ImportProducts:
    post:
      tags:
        - Product
      summary: Import products
      description: >-
        Use this to import whole product catalogs. Only one price is allowed per
        product. Use ImportSkuPriceList to add more prices. To import
        availability data use ImportOnhands.<br/>Read more about the method <a
        href='/productintegration/#product-information-to-norce-commerce'>here</a>.
      operationId: ImportProducts
      parameters:
        - name: X-StormConnect-Header
          in: header
          description: Json serialized string
          required: true
          schema:
            type: string
      requestBody:
        description: List of products to import.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Product'
          application/xml:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Product'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '400':
          description: Bad Request
          content: {}
        '500':
          description: Internal Server Error
          content: {}
      x-codegen-request-body-name: products
  /Product/ImportRelations:
    post:
      tags:
        - Product
      summary: Import product relations
      description: Use this to import relations for the whole product catalog.
      operationId: ImportRelations
      parameters:
        - name: X-StormConnect-Header
          in: header
          description: Json serialized string
          required: true
          schema:
            type: string
      requestBody:
        description: List of product relations to import.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Relation'
          application/xml:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/Relation'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '400':
          description: Bad Request
          content: {}
        '500':
          description: Internal Server Error
          content: {}
      x-codegen-request-body-name: relations
  /Product/ImportSkuPriceLists:
    post:
      tags:
        - Product
      summary: Import prices
      description: >-
        Use this to import price data on products, separated from other product
        data. Prices on products not yet created in Norce will be ignored.
        Prices on price lists not yet created in Norce Commerce will also be
        ignored.
      operationId: ImportSkuPriceLists
      parameters:
        - name: X-StormConnect-Header
          in: header
          description: Json serialized string
          required: true
          schema:
            type: string
      requestBody:
        description: List of SKU price lists to import.
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SkuPriceList'
          application/xml:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/SkuPriceList'
        required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JobResponse'
            application/xml:
              schema:
                $ref: '#/components/schemas/JobResponse'
        '400':
          description: Bad Request
          content: {}
        '500':
          description: Internal Server Error
          content: {}
      x-codegen-request-body-name: skuPriceLists
components:
  schemas:
    JobResponse:
      type: object
      properties:
        StatusCode:
          type: string
          description: Status of the job
        Description:
          type: string
          description: Short message describing the job
        JobId:
          type: string
          description: >-
            Norce interal id created for this job. Refer to this for future
            requests.
          format: int32
        ValidationSummary:
          $ref: '#/components/schemas/ValidationSummary'
      description: General response for async Connect jobs
      format: JobResponse
    ValidationSummary:
      type: object
      properties:
        NrOfItemsInTotal:
          type: integer
          description: Total number of items in payload.
          format: int32
        NrOfValidationFailures:
          type: integer
          description: Number of items that failed initial validation.
          format: int32
        Messages:
          type: array
          description: Messages concerning the validation.
          items:
            type: string
      description: Validation data for accepted payload
      format: ValidationSummary
    CompetitorSku:
      required:
        - CompetitorCode
        - CompetitorPartNo
        - IsInStock
        - IsPricesInclVat
        - PartNo
        - PriceSale
        - PriceSaleInclFreight
        - Source
      type: object
      properties:
        CompetitorCode:
          type: string
          description: Unique code for competitor.
        CompetitorPartNo:
          type: string
          description: Competitor part number.
        IsInStock:
          type: boolean
          description: Specifies if the SKU is in stock at the competitor.
        IsPricesInclVat:
          type: boolean
          description: Specifies if prices are incl. VAT (true) or excluding VAT (false).
        PartNo:
          type: string
          description: Part number in Norce to which the competitor data is referencing.
        PriceSale:
          type: number
          description: The sale price from the competitor.
        PriceSaleInclFreight:
          type: number
          description: >-
            Competitor sale price incl. freight, same as PriceSale if no
            freight.
        Source:
          type: string
          description: Source of competitor data.
        CompetitorName:
          type: string
          description: Name of the competitor.
        CurrencyCode:
          type: string
          description: ISO 4217 code for the currency that prices are in.
        ExternalPopularities:
          $ref: '#/components/schemas/ExternalPopularity'
        ProductName:
          type: string
          description: Product name for competitor data.
        SalesArea:
          type: string
          description: Specifies target sales area.
          enum:
            - Sweden
            - Norway
            - Denmark
            - Finland
            - UnitedKingdom
            - Estonia
            - Greenland
            - Germany
            - Italy
            - Austria
            - Spain
            - Netherlands
            - Belgium
            - France
            - Switzerland
            - USA
            - Ireland
            - Canada
            - Lithuania
            - Latvia
            - Japan
            - SouthKorea
            - Australia
            - Europe
            - Poland
            - CzechRepublic
            - Russia
            - NoVAT
            - Bulgaria
            - Croatia
            - Cyprus
            - Greece
            - Hungary
            - Luxembourg
            - Malta
            - Portugal
            - Romania
            - Slovakia
            - Slovenia
        VatRate:
          type: number
          description: VAT rate in percentage.
      description: Competitor SKU data.
      format: CompetitorSku
    CompetitorSkuHeader:
      required:
        - AccountId
        - CompetitorSkuFieldsThatAreSet
        - FullFile
      type: object
      properties:
        AccountId:
          type: integer
          description: >-
            Account which initiated the import. Learn about system accounts <a
            href='/connectintegration/#using-system-accounts'>here</a>.
          format: int32
        CompetitorSkuFieldsThatAreSet:
          type: array
          description: >-
            Array of strings representing competitor fields to be
            processed.<br/>(Use the integer instead of the name for the xml
            content type)<br/><br/>0 = CompetitorName<br>1 = ProductName<br>2 =
            VatRate<br>3 = ExternalPopularities (Deprecated, not supported any
            longer)
          items:
            type: string
            enum:
              - CompetitorName
              - ProductName
              - VatRate
              - ExternalPopularities
        FullFile:
          type: boolean
          description: >-
            Flag that specify how Norce Commerce Connect will handle the import.
            If true, all prices from the competitors not in this import will be
            deactivated. If false, the import will be handled as an update only,
            and other products already having prices will be ignored.
        JobId:
          type: string
          description: >-
            Norce Commerce Connect job id. Only exists in import logs. Should be
            omitted in the import request.
        SerializationType:
          type: array
          description: >-
            Request serialization type.(Use the integer instead of the name for
            the xml content type)<br/><br/>0 = JSON, 1 = XML
          items:
            type: string
            enum:
              - JSON
              - XML
        StorageName:
          type: string
          description: >-
            Location of the import file on Norce's file area. Can be used
            instead of sending data directly in payload.
          format: uri
        SupplierId:
          type: integer
          description: Derived from base header. Ignored in competitor import.
          format: int32
      description: Competitor SKU import settings
      format: CompetitorSkuHeader
    DeliveryMethod:
      required:
        - Code
      type: object
      properties:
        Code:
          type: string
          description: >-
            Delivery method code. Used for delivery method matching in Norce
            Commerce.
        IsActive:
          type: boolean
          description: Sets product delivery method to active or inactive. Default true.
        PackagePercentage:
          type: number
          description: Package percentage.
      description: Delivery method allowed for product.
      format: DeliveryMethod
    ExternalPopularity:
      required:
        - PartNo
      type: object
      properties:
        PartNo:
          type: string
          description: >-
            Part number in Norce Commerce to which the popularity information is
            referencing.
        PopularityValue:
          type: number
          description: The popularity valu for the SKU.
        Source:
          type: string
          description: >-
            The name of the external source. This name must correlate to a
            configured source in Norce Commerce.
      description: Represents a popularity ranking from an external source.
      format: ExternalPopularity
    Flag:
      required:
        - Code
        - IsSet
      type: object
      properties:
        Code:
          type: string
          description: Product flag code. Used for product flag matching in Norce Commerce.
        IsSet:
          type: boolean
          description: Determines if a product flag is to be set or unset.
        IsCreateOnly:
          type: boolean
          description: 'If true, data is only saved if flag record is new. Default: false.'
        IsLimitedUpdate:
          type: boolean
          description: >-
            If true, data is only saved if flag record is new or last updated by
            the same account as the one initiating the update. Default: false
        StopDate:
          type: string
          description: Shows when flag was disabled for product.
          format: DateTime
      description: Product flag information
      format: Flag
    Image:
      required:
        - ExternalCode
        - FileTypeName
        - Url
      type: object
      properties:
        ExternalCode:
          type: string
          description: External identifier for image matching.
        FileTypeName:
          type: string
          description: >-
            File type code. Should match file info set up in Norce Commerce,
            e.g. "MainImage", "Additional", "Embedded".
        Url:
          type: string
          description: >-
            Url to where the image is located. Must be a publically accessible
            endpoint.
          format: uri
        FileName:
          type: string
          description: Image file name. If omitted it will be parsed from the url.
        LastModified:
          type: string
          description: Time when image was last updated. Deprecated.
          format: DateTime
      description: Product image information.
      format: Image
    Info:
      required:
        - Code
        - Value
      type: object
      properties:
        Code:
          type: string
          description: >-
            External code for additional information field to be matched in
            Norce Commerce.
        Value:
          type: string
          description: Value to be set or updated on the information field.
      description: >-
        Additional information defined by 3rd party. Applicable for different
        entities.
      format: Info
    ParametricValue:
      required:
        - ParametricCode
      type: object
      properties:
        ParametricCode:
          type: string
          description: >-
            External parametric code configured in Norce Commerce. Used to match
            parameter.
        Cultures:
          type: array
          description: List of parametric translations.
          items:
            $ref: '#/components/schemas/ParametricValueCulture'
        MultipleValueList:
          type: array
          description: >-
            List of possible values to set for parametrics with multiple value
            choice.
          items:
            $ref: '#/components/schemas/ParametricValueList'
        ValueBoolean:
          type: boolean
          description: Boolean value to set.
        ValueDateTime:
          type: string
          description: Date/time value to set.
          format: DateTime
        ValueDecimal:
          type: number
          description: Decimal value to set.
        ValueInteger:
          type: integer
          description: Integer value to set.
        ValueList:
          $ref: '#/components/schemas/ParametricValueList'
      description: >-
        Parametric value to set. Use one of the value fields, depending on the
        type of the parameter. If code does not exist it will be created. If
        List value does not exist it will be created. Cultures for list values
        will only be added or updated, never deleted. Null values will result in
        no changes from before.
      format: ParametricValue
    ParametricValueCulture:
      required:
        - CultureCode
        - ValueText
      type: object
      properties:
        CultureCode:
          type: string
          description: Culture code, e.g. "sv-SE".
        ValueText:
          type: string
          description: Translated text parametric value.
      description: Translated parametric value.
      format: ParametricValueCulture
    ParametricValueList:
      required:
        - Code
        - Value
      type: object
      properties:
        Code:
          type: string
          description: >-
            Parametric value code. Use for parametric value matching in Norce
            Commerce.
        Value:
          type: string
          description: Value to set
        Description:
          type: string
          description: Description of the value
        Cultures:
          type: array
          description: Array with localized versions of value and description
          items:
            $ref: '#/components/schemas/ParametricValueListCulture'
      description: Parametric value for list of choices.
      format: ParametricValueList
    ParametricValueListCulture:
      required:
        - CultureCode
      type: object
      properties:
        CultureCode:
          type: string
          description: Culture code for this value
        Value:
          type: string
          description: Localized value
        Description:
          type: string
          description: Localized description
      description: Localized parametric list values.
      format: ParametricValueListCulture
    PriceList:
      required:
        - Code
      type: object
      properties:
        Code:
          type: string
          description: >-
            Externally defined price list code. Used to match price list in
            Norce Commerce.
        CurrencyCode:
          type: string
          description: Currency code in ISO 4217 format, e.g. "SEK", "EUR", "USD".
        DefaultPriceRule:
          type: integer
          description: >-
            Price rule to be set as default.<br>1 = Cost plus<br>2 = Fixed
            price<br>3 = Margin (purchase cost)<br>4 = Use recommended
            price<br>5 = Cost plus (unit cost)<br>6 = Margin (unit cost)<br>7 =
            Use standard price (pct discount)<br>8 = Competitive (purchase
            cost)<br>9 = Competitive (unit cost)<br>10 = Use standard price
            (fixed discount)<br>11 = Structure calculation<br>12 = Use catalog
            price
          format: int32
        DefaultPriceRuleCode:
          type: string
          description: Deprecated
        DefaultPriceRuleValue:
          type: number
          description: Default price list value.
        Description:
          type: string
          description: Price list description
        EndDate:
          type: string
          description: End date/time when price list is no longer valid.
          format: DateTime
        IsErpIntegrated:
          type: boolean
          description: Deprecated
        IsPrimary:
          type: boolean
          description: >-
            Determines if price list is primary. Only one price list can be
            primary on an application.
        IsPublic:
          type: boolean
          description: Determines if price list is public and active.
        IsFavorite:
          type: boolean
          description: Determines if price list is favorite for the current application.
        Name:
          type: string
          description: 'Price list name. Max length: 50'
        StartDate:
          type: string
          description: Start time when price list is valid and applied.
          format: DateTime
        TypeCode:
          type: string
          description: Price list type code
        Warehouses:
          type: array
          description: List of warehouses where this price list is applicable.
          items:
            $ref: '#/components/schemas/Warehouse'
        SalesArea:
          type: integer
          description: >-
            Sales area identifier.<br>1 = Sweden<br>2 = Norway<br>3 =
            Denmark<br>4 = Finland<br>5 = UnitedKingdom<br>6 = Estonia<br>7 =
            Greenland<br>8 = Germany<br>9 = Italy<br>10 = Austria<br>11 =
            Spain<br>12 = Netherlands<br>13 = Belgium<br>14 = France<br>15 =
            Switzerland<br>17 = USA<br>18 = Ireland<br>19 = Canada<br>20 =
            Lithuania<br>21 = Latvia<br>22 = Japan<br>23 = SouthKorea<br>24 =
            Australia<br>25 = Europe<br>26 = Poland<br>27 = CzechRepublic<br>28
            = Russia<br>29 = NoVAT<br>36 = Bulgaria<br>37 = Croatia<br>38 =
            Cyprus<br>39 = Greece<br>40 = Hungary<br>41 = Luxembourg<br>42 =
            Malta<br>43 = Portugal<br>44 = Romania<br>45 = Slovakia<br>46 =
            Slovenia
          format: int32
        DefaultMinMarginPercent:
          type: number
          description: Default minimum product margin percentage.
        LimitToRecPrice:
          type: boolean
          description: Limit to recommended price.
        ParentPriceListCode:
          type: string
          description: Code of parent price list.
        DefaultSupplementalChargeFixed:
          type: number
          description: Default supplemental charge (fixed)
        DefaultSupplementalChargePercent:
          type: number
          description: Default supplemental charge (percentage)
        PriceRules:
          type: array
          description: List of price rules.
          items:
            $ref: '#/components/schemas/PriceListPriceRule'
        Population:
          $ref: '#/components/schemas/PriceListPopulation'
      description: Price list information.
      format: PriceList
    PriceListPriceRule:
      required:
        - Type
      type: object
      properties:
        Type:
          type: integer
          description: >-
            Price list price rule identifier.<br/>1 =
            CostPlus_PurchaseCost<br/>3 = Margin_PurchaseCost<br>4 =
            UseRecommendedPrice<br/>5 = CostPlus_UnitCost<br/>6 =
            Margin_UnitCost<br/>7 = UseStandardPrice_PctDiscount<br/>10 =
            UseStandardPrice_FixedDiscount<br/>12 = UseCatalogPrice
          format: int32
        Value:
          type: number
          description: Value of selected type.
        LimitToRecPrice:
          type: boolean
          description: Limit to recommended price.
        MinValue:
          type: number
          description: Value range minimum.
        MaxValue:
          type: number
          description: Value range maximum.
        ManufacturerCode:
          type: string
          description: Manufacturer identifier code.
        CategoryCode:
          type: string
          description: Category identifier code.
        Flags:
          type: array
          description: List of flag identifier codes.
          items:
            type: string
      description: Price rule.
      format: PriceListPriceRule
    PriceListPopulation:
      type: object
      properties:
        Type:
          type: integer
          description: >-
            1 = Exclude (All products are excluded from parent price list.
            Select what categories and manufacturers to include.)<br/>2 =
            Include (All products are include from parent price list. Select
            what categories and manufacturers to exclude.)
          format: int32
        AllCategories:
          $ref: '#/components/schemas/PriceListPopulationAllCategories'
        Categories:
          type: array
          description: List of population rules for categories.
          items:
            $ref: '#/components/schemas/PriceListPopulationCategory'
        RequireSupplier:
          type: boolean
          description: Specifies if supplier is required. (defaults to false)
      description: Price list population.
      format: PriceListPopulation
    PriceListPopulationAllCategories:
      required:
        - RuleType
      type: object
      properties:
        RuleType:
          type: integer
          description: >-
            1 = None (Removes all rules if any exists.)<br/>2 =
            Manufacturers<br>3 = Flags
          format: int32
        RuleCodes:
          type: array
          description: >-
            Identifier codes for Manufacturers or Flags depending on
            type.<br/>Is required if type is Manufacturers or Flags.<br/>Is
            ignored if other type is used.
          items:
            type: string
      description: Specifies population rules for all categories.
      format: PriceListPopulationAllCategories
    PriceListPopulationCategory:
      required:
        - Code
        - RuleType
      type: object
      properties:
        Code:
          type: string
          description: Category identifier code.
        RuleType:
          type: integer
          description: >-
            1 = None (Removes all rules if any exists.)<br/>2 =
            Manufacturers<br>3 = Flags<br/>4 = Category
          format: int32
        RuleCodes:
          type: array
          description: >-
            Identifier codes of Manufacturers or Flags depending on type.<br/>Is
            required if type is Manufacturer or Flags.<br/>Is ignored if other
            type is used.
          items:
            type: string
        RequireSupplier:
          type: boolean
          description: Specifies if supplier is required. (defaults to false)
      description: category population rule.
      format: PriceListPopulationCategory
    PriceListHeader:
      required:
        - AccountId
        - PriceListFieldsThatAreSet
      type: object
      properties:
        AccountId:
          type: integer
          description: >-
            Account which initiated the import. Learn about system accounts <a
            href='/connectintegration/#using-system-accounts'>here</a>.
          format: int32
        PriceListFieldsThatAreSet:
          type: array
          description: >-
            Array of strings representing price list fields to be
            processed.<br/>(Use the integer instead of the name for the xml
            content type)<br/><br/>0 = Name<br>1 = CurrencyCode<br>2 =
            StartDate<br>3 = EndDate<br>4 = IsPublic<br>5 = IsPrimary<br>6 =
            TypeCode<br>7 = Warehouses (required if you have
            WarehouseFieldsThatAreSet and WarehouseLocationFieldsThatAreSet
            values)<br>8 = DefaultPriceRule<br>9 = Description<br>10 =
            IsErpIntegrated (Deprecated, not supported any longer)<br>11 =
            DoNotCreateApplicationPriceList (Will not automatically create a
            relation to the application)<br>12 = SalesArea<br>13 =
            DefaultMinMarginPercent<br>14 = LimitToRecPrice<br>15 =
            ParentPriceListCode<br>16 = DefaultSupplementalChargeFixed<br>17 =
            DefaultSupplementalChargePercent<br>18 = PriceRules<br>19 =
            PriceRulesCleanup (Remove all price rules before import
            starts)<br>20 = PriceRulesLimitedUpdate<br>21 = Population<br>22 =
            PopulationCleanup (Remove all populations before import starts)
          items:
            type: string
            enum:
              - Name
              - CurrencyCode
              - StartDate
              - EndDate
              - IsPublic
              - IsPrimary
              - TypeCode
              - Warehouses
              - DefaultPriceRule
              - Description
              - IsErpIntegrated
              - DoNotCreateApplicationPriceList
              - SalesArea
              - DefaultMinMarginPercent
              - LimitToRecPrice
              - ParentPriceListCode
              - DefaultSupplementalChargeFixed
              - DefaultSupplementalChargePercent
              - PriceRules
              - PriceRulesCleanup
              - PriceRulesLimitedUpdate
              - Population
              - PopulationCleanup
              - IsFavorite
        JobId:
          type: string
          description: >-
            Norce Commerce Connect job id. Only exists in import logs. Should be
            omitted in the import request..
        SerializationType:
          type: array
          description: >-
            Request serialization type.(Use the integer instead of the name for
            the xml content type)<br/><br/>0 = JSON, 1 = XML
          items:
            type: string
            enum:
              - JSON
              - XML
        StorageName:
          type: string
          description: >-
            Location of the import file on Norce's file area. Can be used
            instead of sending data directly in payload.
          format: uri
        SupplierId:
          type: integer
          description: Derived from base header. Ignored in price list import.
          format: int32
        WarehouseFieldsThatAreSet:
          type: array
          description: >-
            Array of strings representing warehouse fields to be
            processed.<br/>(requires values in WarehouseLocationFieldsThatAreSet
            as well)<br/>(Use the integer instead of the name for the xml
            content type)<br/><br/>0 = Type<br>1 = Name<br>2 = LeadTimeDayCount
          items:
            type: string
            enum:
              - Type
              - Name
              - LeadTimeDayCount
        WarehouseLocationFieldsThatAreSet:
          type: array
          description: >-
            Array of strings representing warehouse location fields to be
            processed.<br/>(requires values in WarehouseFieldsThatAreSet as
            well)<br/>(Use the integer instead of the name for the xml content
            type)<br/><br/>0 = Name<br>1 = LeadTimeDayCount<br>2 =
            IsIncludedInStockCalculation
          items:
            type: string
            enum:
              - Name
              - LeadTimeDayCount
              - IsIncludedInStockCalculation
        PriceListPriceRuleFieldsThatAreSet:
          type: array
          description: >-
            Array of strings representing price list rule fields to be
            processed.<br/>(Use the integer instead of the name for the xml
            content type)<br/><br/>0 = Type<br>1 = Value<br>2 = LimitToRecPrice
          items:
            type: string
            enum:
              - Type
              - Value
              - LimitToRecPrice
      description: Price list import settings
      format: PriceListHeader
    Product:
      required:
        - Code
        - ManufacturerCode
      type: object
      properties:
        Code:
          type: string
          description: Product code. Used for product cluster matching in Norce Commerce.
        ManufacturerCode:
          type: string
          description: Manufacturer code.
        AdditionalImages:
          type: array
          description: List of additional product images.
          items:
            $ref: '#/components/schemas/Image'
        Alias:
          type: string
          description: Product alias.
        AssortmentCode:
          type: string
          description: >-
            Product assortment code. If set, assortment with this code will be
            associated to product.
        Categories:
          type: array
          description: List of categories product shall be placed in.
          items:
            $ref: '#/components/schemas/ProductCategory'
        Cultures:
          type: array
          description: List of translated product information fields.
          items:
            $ref: '#/components/schemas/ProductCulture'
        Family:
          $ref: '#/components/schemas/ProductFamily'
        MainImage:
          $ref: '#/components/schemas/Image'
        ManufacturerName:
          type: string
          description: >-
            Manufacturer name. If manufacturer doesn't exist this field is
            required to create a new manufacturer.
        ProductFlags:
          type: array
          description: List of flags applied to product.
          items:
            $ref: '#/components/schemas/Flag'
        ProductParametrics:
          type: array
          description: List of parametrics applied to product.
          items:
            $ref: '#/components/schemas/ParametricValue'
        VariantDefinitionGroup:
          $ref: '#/components/schemas/VariantDefinitionGroup'
        Variants:
          type: array
          description: List of product variants.
          items:
            $ref: '#/components/schemas/Variant'
      description: >-
        Product information. If the product has multiple variants, Code is
        required, otherwise it should be omitted.
      format: Product
    ProductCategory:
      required:
        - Code
      type: object
      properties:
        Code:
          type: string
          description: Category code. Used for category matching in Norce Commerce.
        SortOrder:
          type: integer
          description: >-
            Determines in which order this category shall be applied to product.
            Use sort order 1 for primary category.
          format: int32
      description: >-
        Product category information. Categories that can not be matched will
        not be created but give a warning in the logs.
      format: ProductCategory
    ProductCulture:
      required:
        - CultureCode
      type: object
      properties:
        CultureCode:
          type: string
          description: Culture code, e.g. "en-GB".
        Description:
          type: string
          description: Translated product description.
        DescriptionHeader:
          type: string
          description: 'Translated product description header. Max length: 255'
        IsUniqueUrlNameManuallyMaintained:
          type: boolean
          description: Determines if UniqueUrlName is manually maintained.
        MetaDescription:
          type: string
          description: Translated product meta description.
        MetaTags:
          type: string
          description: Translated product meta tags.
        Name:
          type: string
          description: 'Translated product name. Max length: 255'
        SubDescription:
          type: string
          description: Translated additional product description.
        SubHeader:
          type: string
          description: 'Translated additional product header. Max length: 255'
        Synonyms:
          type: string
          description: Translated product synonymous names.
        Tags:
          type: string
          description: Translated product tags.
        Title:
          type: string
          description: 'Translated product title. Max length: 255'
        UniqueUrlName:
          type: string
          description: >-
            Language specific unique prodct url name, called 'Unique url' in
            administration gui.
      description: Translated product information.
      format: ProductCulture
    ProductFamily:
      required:
        - Code
      type: object
      properties:
        Code:
          type: string
          description: >-
            Externally defined product family code. Used for product family
            matching in Norce Commerce.
        Name:
          type: string
          description: Product family name.
      description: >-
        Product family information. Families that can not be matched will not be
        created but give a warning in the logs.
      format: ProductFamily
    ProductHeader:
      required:
        - AccountId
        - FullFile
        - ProductFieldsThatAreSet
      type: object
      properties:
        AccountId:
          type: integer
          description: >-
            Account which initiated the import. Learn about system accounts <a
            href='/connectintegration/#using-system-accounts'>here</a>.
          format: int32
        FullFile:
          type: boolean
          description: >-
            If set to true all products that are not imported here will be
            inactivated. Missing variants will be disconnected from the product
            as well.
        ProductFieldsThatAreSet:
          type: array
          description: >-
            Specifies which product fields shall be updated.<br/>(Use the
            integer instead of the name for the xml content type)<br/><br/>0 =
            ManufacturerCode<br>1 = ManufacturerName<br>2 = Alias<br>3 =
            Code<br>4 = Variants (required if you have VariantFieldsThatAreSet
            values)<br>5 = Cultures (required if you have
            ProductCultureFieldsThatAreSet values)<br>6 = Categories<br>7 =
            MainImage<br>8 = AdditionalImages<br>9 = Family<br>10 =
            ProductParametrics<br>11 = ProductParametricsCreateOnly (Value is
            only set if the entity is created by the import)<br>12 =
            VariantDefinitionGroup<br>13 = VariantDefinitionGroupCreateOnly
            (Value is only set if the entity is created by the import)<br>14 =
            Assortment<br>15 = CategoriesCreateOnly (Value is only set if the
            entity is created by the import)<br>16 = CategoriesLimitedUpdate (If
            category is manually changed in the Admin UI import is
            ignored)<br>17 = AdditionalImagesCleanUp (Remove all additional
            images not included in import)<br>18 = ParametricsCleanUp (Remove
            all parametrics from the entity, not included in the import)
          items:
            type: string
            enum:
              - ManufacturerCode
              - ManufacturerName
              - Alias
              - Code
              - Variants
              - Cultures
              - Categories
              - MainImage
              - AdditionalImages
              - Family
              - ProductParametrics
              - ProductParametricsCreateOnly
              - VariantDefinitionGroup
              - VariantDefinitionGroupCreateOnly
              - Assortment
              - CategoriesCreateOnly
              - CategoriesLimitedUpdate
              - AdditionalImagesCleanUp
              - ParametricsCleanUp
        IgnoreSkuPriceListFieldsWhenEmpty:
          type: array
          description: >-
            Specifies which SKU price list fields that are mandatory. If this
            field is missing in the import this specific price entity will be
            ignored.<br>Required settings: StandardPrice in
            (SkuFieldsThatAreSet) and all fields added here must be in
            SkuPriceListFieldsThatAreSet as well<br>(Use the integer instead of
            the name for the xml content type)<br/><br/>3 = PriceSale<br>4 =
            CostPurchase<br>5 = CostUnit<br>6 = PriceRecommended<br>7 =
            PricePrevious<br>8 = PriceCatalog<br>10 = IsActive
          items:
            type: string
            enum:
              - PriceSale
              - CostPurchase
              - CostUnit
              - PriceRecommended
              - PricePrevious
              - PriceCatalog
              - IsActive
        JobId:
          type: string
          description: >-
            Norce Commerce Connect job id. Only exists in import logs. Should be
            omitted in the import request.
        ProductCultureFieldsThatAreSet:
          type: array
          description: >-
            Specifies which product culture fields to be updated.<br>Required
            settings: Culture (in ProductFieldsThatAreSet)<br/>(Use the integer
            instead of the name for the xml content type)<br/><br/>0 = Name<br>1
            = NameCreateOnly (Value is only set if the entity is created by the
            import)<br>2 = SubHeader<br>3 = SubDescription<br>4 =
            DescriptionHeader<br>5 = Description<br>6 = DescriptionCreateOnly
            (Value is only set if the entity is created by the import)<br>7 =
            Synonyms<br>8 = Title<br>9 = Tags<br>10 = MetaTags<br>11 =
            MetaDescription<br>12 = NameLimitedUpdate  (If name is manually
            changed in the Admin UI, import is ignored)<br>13 =
            UniqueUrlName<br>14 = IsUniqueUrlNameManuallyMaintained<br>15 =
            UniqueUrlNameCreateOnly (Value is only set if the entity is created
            by the import)
          items:
            type: string
            enum:
              - Name
              - NameCreateOnly
              - SubHeader
              - SubDescription
              - DescriptionHeader
              - Description
              - DescriptionCreateOnly
              - Synonyms
              - Title
              - Tags
              - MetaTags
              - MetaDescription
              - NameLimitedUpdate
              - UniqueUrlName
              - IsUniqueUrlNameManuallyMaintained
              - UniqueUrlNameCreateOnly
        SerializationType:
          type: array
          description: >-
            Request serialization type.(Use the integer instead of the name for
            the xml content type)<br/><br/>0 = JSON, 1 = XML
          items:
            type: string
            enum:
              - JSON
              - XML
        SkuCultureFieldsThatAreSet:
          type: array
          description: >-
            Specifies which SKU culture fields to be updated.<br>Required
            settings: Culture (in SkuFieldsThatAreSet)<br/>(Use the integer
            instead of the name for the xml content type)<br/><br/>0 = Name<br>0
            = ErpName<br>1 = ErpNameCreateOnly (Value is only set if the entity
            is created by the import)<br>2 = Comment<br>3 = CommentCreateOnly
            (Value is only set if the entity is created by the import)
          items:
            type: string
            enum:
              - ErpName
              - ErpNameCreateOnly
              - Comment
              - CommentCreateOnly
        SkuFieldsThatAreSet:
          type: array
          description: >-
            Specifies which SKU fields to be updated.<br>Required settings: Skus
            (in VariantFieldsThatAreSet)<br/>(Use the integer instead of the
            name for the xml content type)<br/><br/>0 = Name<br>1 = Status<br>2
            = Type<br>3 = IntegrationPartNo<br>4 = CommodityCode<br>5 =
            EanCode<br>6 = TrackingCode<br>7 = UnitOfMeasurementType<br>8 =
            UnitOfMeasurementCount<br>9 = IsDropShipOnly<br>10 = IsBuyable<br>11
            = DiscountClass<br>12 = RecommendedSalesQty<br>13 =
            IsRecommendedSalesQtyFixed<br>14 = ActualWeight<br>15 = VolumeWeight
            (Deprecated, not supported any longer)<br>16 = LogisticWidth<br>18 =
            LogisticHeight<br>19 = LogisticDepth<br>20 = StandardPrice (required
            if you have SkuPriceListFieldsThatAreSet values)<br>21 =
            VatRate<br>22 = StatusCreateOnly (Value is only set if the entity is
            created by the import)<br>23 = StartDate<br>24 = StopDate<br>25 =
            StructureItems (required if you have
            SkuStructureItemFieldsThatAreSet values)<br>26 =
            PartNoCreateWhenMissing (Let's Norce automatically assign a unique
            PartNo)
          items:
            type: string
            enum:
              - Status
              - Type
              - IntegrationPartNo
              - CommodityCode
              - EanCode
              - TrackingCode
              - UnitOfMeasurementType
              - UnitOfMeasurementCount
              - IsDropShipOnly
              - IsBuyable
              - DiscountClass
              - RecommendedSalesQty
              - IsRecommendedSalesQtyFixed
              - ActualWeight
              - VolumeWeight
              - LogisticWidth
              - LogisticHeight
              - LogisticDepth
              - StandardPrice
              - VatRate
              - StatusCreateOnly
              - StartDate
              - StopDate
              - StructureItems
              - PartNoCreateWhenMissing
        SkuPriceListFieldsThatAreSet:
          type: array
          description: >-
            Specifies which SKU price list fields to be updated.<br>Required
            settings: StandardPrice in (SkuFieldsThatAreSet)<br/>(Use the
            integer instead of the name for the xml content type)<br/><br/>3 =
            PriceSale<br>4 = CostPurchase<br>5 = CostUnit<br>6 =
            PriceRecommended<br>7 = PricePrevious<br>8 = PriceCatalog<br>9 =
            IsPriceDiscountable<br>10 = IsActive<br>11 =
            IsPriceDiscountableCreateOnly (Value is only set if the entity is
            created by the import)<br>12 = PriceRule
          items:
            type: string
            enum:
              - PriceSale
              - CostPurchase
              - CostUnit
              - PriceRecommended
              - PricePrevious
              - PriceCatalog
              - IsPriceDiscountable
              - IsActive
              - IsPriceDiscountableCreateOnly
              - PriceRule
        SkuStructureItemFieldsThatAreSet:
          type: array
          description: >-
            Specifies which SKU structure item fields to be updated.<br>Required
            settings: StructureItems in (SkuFieldsThatAreSet)<br/>(Use the
            integer instead of the name for the xml content type)<br/><br/>0 =
            SortOrder<br>1 = StandardStructureItemPrice<br>2 = AdditionalInfo
          items:
            type: string
            enum:
              - SortOrder
              - StandardStructureItemPrice
              - AdditionalInfo
        StorageName:
          type: string
          description: >-
            Location of the import file on Norce's file area. Can be used
            instead of sending data directly in payload.
          format: uri
        SupplierId:
          type: integer
          description: Derived from base header. Ignored in product import.
          format: int32
        VariantCultureFieldsThatAreSet:
          type: array
          description: >-
            Specifies which variant culture fields to be updated.<br>Required
            settings: Cultures (in VariantFieldsThatAreSet)<br/>(Use the integer
            instead of the name for the xml content type)<br/><br/>0 =
            CultureCode<br>1 = Name<br>2 = NameCreateOnly (Value is only set if
            the entity is created by the import)<br>3 = NameLimitedUpdate  (If
            name is manually changed in the Admin UI, import is ignored)<br>4 =
            UniqueUrlName<br>5 = IsUniqueUrlNameManuallyMaintained<br>6
            =UniqueUrlNameCreateOnly (Value is only set if the entity is created
            by the import)
          items:
            type: string
            enum:
              - CultureCode
              - Name
              - NameCreateOnly
              - NameLimitedUpdate
              - UniqueUrlName
              - IsUniqueUrlNameManuallyMaintained
              - UniqueUrlNameCreateOnly
        VariantFieldsThatAreSet:
          type: array
          description: >-
            Specifies which variant fields to be updated.<br>Required settings:
            Variant (in ProductFieldsThatAreSet)<br/>(Use the integer instead of
            the name for the xml content type)<br/><br/>0 =
            ManufacturerPartNo<br>1 = SortOrderValue<br>2 =
            StockDisplayBreakPoint<br>3 = IsDangerousGoods<br>4 = Cultures
            (required if you have VariantCultureFieldsThatAreSet values)<br>5 =
            Skus (required if you have SkuFieldsThatAreSet values)<br>6 =
            MainImage<br>7 = AdditionalImages<br>8 = VariantParametrics<br>9 =
            VariantParametricsCreateOnly (Value is only set if the entity is
            created by the import)<br>10 = NonParametricVariantDefinitions<br>11
            = NonParametricVariantDefinitionsCreateOnly (Value is only set if
            the entity is created by the import)<br>12 = DeliveryMethods<br>13 =
            DeliveryMethodsCreateOnly (Value is only set if the entity is
            created by the import)<br>14 = AdditionalImagesCleanUp (Remove all
            AdditionalImages from the entity, not included in the import)<br>15
            = ParametricsCleanUp (Remove all Parametrics from the entity, not
            included in the import)<br>16 = TranslationRequested
          items:
            type: string
            enum:
              - ManufacturerPartNo
              - SortOrderValue
              - StockDisplayBreakPoint
              - IsDangerousGoods
              - Cultures
              - Skus
              - MainImage
              - AdditionalImages
              - VariantParametrics
              - VariantParametricsCreateOnly
              - NonParametricVariantDefinitions
              - NonParametricVariantDefinitionsCreateOnly
              - DeliveryMethods
              - DeliveryMethodsCreateOnly
              - AdditionalImagesCleanUp
              - ParametricsCleanUp
              - TranslationRequested
      description: Import product settings
      format: ProductHeader
    Relation:
      required:
        - PartNo
        - RelatedPartNo
        - RelationTypeCode
      type: object
      properties:
        PartNo:
          type: string
          description: Part number for the SKU with relations.
        RelatedPartNo:
          type: string
          description: Part number for the related SKU.
        RelationTypeCode:
          type: string
          description: Code for the desired client defined relation type.
        Cultures:
          type: array
          description: List of cultures for the relation.
          items:
            $ref: '#/components/schemas/RelationCulture'
        IsActive:
          type: boolean
          description: Sets the relation to active or inactive.
        IsRelatedVariantUnique:
          type: boolean
          description: True if the related product is variant unique.
        IsVariantUnique:
          type: boolean
          description: True if the relation is variant unique.
        SortOrder:
          type: integer
          description: Sort order for this relation on the SKU.
          format: int32
      description: Product relation
      format: Relation
    RelationCulture:
      required:
        - CultureCode
      type: object
      properties:
        CultureCode:
          type: string
          description: Culture code for this specific culture (e.g. "en-US")
        Description:
          type: string
          description: Description for the relation.
        DescriptionHeader:
          type: string
          description: Description header for the relation.
        Name:
          type: string
          description: Relation name
        SubDescription:
          type: string
          description: Sub description for the relation.
        SubHeader:
          type: string
          description: Sub header for the relation.
      description: Culture for a specific relation and culture code.
      format: RelationCulture
    RelationHeader:
      required:
        - AccountId
        - FullFile
        - RelationFieldsThatAreSet
      type: object
      properties:
        AccountId:
          type: integer
          description: >-
            Account which initiated the import. Learn about system accounts <a
            href='/connectintegration/#using-system-accounts'>here</a>.
          format: int32
        FullFile:
          type: boolean
          description: If set to true. Relations not in the file will be deactivated.
        RelationFieldsThatAreSet:
          type: array
          description: >-
            Specifies which relation fields that should be
            created/updated.<br/>(Use the integer instead of the name for the
            xml content type)<br/><br/>0 = ManufacturerPartNo<br>1 =
            SortOrderValue<br>2 = StockDisplayBreakPoint<br>1 = IsActive<br>2 =
            IsVariantUnique<br>3 = IsVariantUniqueCreateOnly (Value is only set
            if the entity is created by the import)<br>4 =
            IsRelatedVariantUnique<br>5 = IsRelatedVariantUniqueCreateOnly
            (Value is only set if the entity is created by the import)<br>6 =
            DefaultName<br>7 = DefaultSubHeader<br>8 =
            DefaultSubDescription<br>9 = DefaultDescriptionHeader<br>10 =
            DefaultDescription<br>11 = Cultures (required if you have
            RelationCultureFieldsThatAreSet values)<br>12 = SortOrder
          items:
            type: string
            enum:
              - IsActive
              - IsVariantUnique
              - IsVariantUniqueCreateOnly
              - IsRelatedVariantUnique
              - IsRelatedVariantUniqueCreateOnly
              - DefaultName
              - DefaultSubHeader
              - DefaultSubDescription
              - DefaultDescriptionHeader
              - DefaultDescription
              - Cultures
              - SortOrder
        RelationCultureFieldsThatAreSet:
          type: array
          description: >-
            Specifies which relation culture fields that should be
            created/updated.<br>Required settings: Culture (in
            RelationFieldsThatAreSet)<br/>(Use the integer instead of the name
            for the xml content type)<br/><br/>1 = Name<br>2 = NameCreateOnly
            (Value is only set if the entity is created by the import)<br>3 =
            SubHeader<br>4 = SubDescription<br>5 = DescriptionHeader<br>6 =
            Description<br>7 = DescriptionCreateOnly (Value is only set if the
            entity is created by the import)
          items:
            type: string
            enum:
              - Name
              - NameCreateOnly
              - SubHeader
              - SubDescription
              - DescriptionHeader
              - Description
              - DescriptionCreateOnly
      description: Relation import settings.
      format: RelationHeader
    Sku:
      required:
        - PartNo
      type: object
      properties:
        PartNo:
          type: string
          description: SKU part no.
        ActualWeight:
          type: number
          description: >-
            SKU weight. If null is imported will be set to inherit from
            category.
        CommodityCode:
          type: string
          description: Commodity code.
        Cultures:
          type: array
          description: List of SKU information translations.
          items:
            $ref: '#/components/schemas/SkuCulture'
        DiscountClass:
          type: string
          description: Discount class.
        EanCode:
          type: string
          description: EAN code, or GS1 code.
        IntegrationPartNo:
          type: string
          description: >-
            The replaceable sku in other systems than Norce Commerce. Used when
            Norce Commerce has SKU's other systems does not recognize and the
            integration partno is sent instead.
        IsBuyable:
          type: boolean
          description: Determines if SKU can be bought.
        IsDropShipOnly:
          type: boolean
          description: Determines if SKU can only be sold using drop shipment.
        IsRecommendedSalesQtyFixed:
          type: boolean
          description: Determines if recommended sales quantity is fixed.
        LogisticDepth:
          type: number
          description: SKU depth
        LogisticHeight:
          type: number
          description: SKU height
        LogisticWidth:
          type: number
          description: SKU width
        RecommendedSalesQty:
          type: number
          description: Recommended sales quantity
        StandardPrice:
          $ref: '#/components/schemas/SkuPriceList'
        StartDate:
          type: string
          description: SKU activation time.
          format: DateTime
        Status:
          type: integer
          description: >-
            SKU status.<br>1 = Active<br>2 = Coming<br>3 = Expiring<br>4 =
            Hidden<br>5 = Inactive<br>6 = NotActivated
          format: int32
        StopDate:
          type: string
          description: SKU deactivation time.
          format: DateTime
        StructureItems:
          type: array
          description: List of items included in SKU structure.
          items:
            $ref: '#/components/schemas/SkuStructureItem'
        TrackingCode:
          type: string
          description: Tracking code.
        Type:
          type: integer
          description: >-
            SKU type.<br>1 = ErpStandard<br>2 = ErpRefurbished<br>3 =
            Freight<br>4 = Insurance<br>8 = Structure<br>9 = Invoice<br>11 =
            Service<br>14 = Standard<br>15 = ErpExtended<br>16 =
            ErpStandardNoStock<br>17 = ErpPackage<br>19 =
            ErpTempOutOfStock<br>20 = EnvironmentalFee<br>21 = PackingFee<br>24
            = ErpPackageWithCalc<br>25 = DisplayOnly<br>29 = ErpStandard2<br>33
            = License
        UnitOfMeasurementCount:
          type: number
          description: Number of units in the specified type.
        UnitOfMeasurementType:
          type: integer
          description: >-
            Unit of measurement type.<br>1 = Pieces<br>2 = Hour<br>3 =
            Kilogram<br>4 = Litre<br>5 = Pair<br>6 = SquareMeter<br>7 = Meter
        VatRates:
          type: array
          description: List of VAT rates applicable for SKU.
          items:
            $ref: '#/components/schemas/VatRate'
        VolumeWeight:
          type: number
          description: Deprecated. If required add as parameter instead.
      description: Stock keeping unit information.
      format: Sku
    SkuCulture:
      required:
        - CultureCode
      type: object
      properties:
        CultureCode:
          type: string
          description: Culture code, e.g. "en-GB"
        Comment:
          type: string
          description: Translated comment.
        ErpName:
          type: string
          description: Translated ERP name.
      description: Translated SKU information.
      format: SkuCulture
    SkuOnhand:
      required:
        - LocationCode
        - PartNo
        - WarehouseCode
      type: object
      properties:
        LocationCode:
          type: string
          description: Location code. Used for SKU location matching in Norce Commerce.
        PartNo:
          type: string
          description: SKU part number.
        WarehouseCode:
          type: string
          description: Warehouse code. Used for warehouse matching in Norce Commerce.
        IncomingValue:
          type: number
          description: >-
            Quantity of items that is purchased from a supplier but not yet
            recevied to the warehouse.
        Infos:
          type: array
          description: >-
            Additional on hand information defined by 3rd party and configured
            in Norce Commerce administration GUI.
          items:
            $ref: '#/components/schemas/Info'
        IsActive:
          type: boolean
          description: Sets warehouse SKU information to active or inactive.
        LeadTimeDayCount:
          type: integer
          description: >-
            Indication of time required for delivery from this warehouse for
            this product.
          format: int32
        MaximumValue:
          type: number
          description: Target stock level (max value)
        MinimumValue:
          type: number
          description: Reorder point (min value)
        NextDeliveryDate:
          type: string
          description: >-
            Determines when the next delivery of items to warehouse is expected
            to occur.
          format: DateTime
        OnOrderValue:
          type: number
          description: Deprecated
        OnhandValue:
          type: number
          description: Quantity of items on the shelf in the specified warehouse.
      description: Onhand information about SKU.
      format: SkuOnhand
    SkuOnhandHeader:
      required:
        - AccountId
        - FullFile
        - SkuOnhandFieldsThatAreSet
      type: object
      properties:
        AccountId:
          type: integer
          description: >-
            Account which initiated the import. Learn about system accounts <a
            href='/connectintegration/#using-system-accounts'>here</a>.
          format: int32
        FullFile:
          type: boolean
          description: >-
            If set to true, all onHand records for the warehouses and locations
            in the import that is NOT included, will be deactivated.
        SkuOnhandFieldsThatAreSet:
          type: array
          description: >-
            Specifies which SKU on hand fields to be updated.<br/>(Use the
            integer instead of the name for the xml content type)<br/><br/>3 =
            OnhandValue<br>4 = IncomingValue<br>5 = NextDeliveryDate<br>6 =
            LeadTimeDayCount<br>7 = OnOrderValue (Deprecated, not supported any
            longer)<br>8 = MinimumValue<br>9 = MaximumValue<br>10 =
            IsActive<br>11 = Infos
          items:
            type: string
            enum:
              - OnhandValue
              - IncomingValue
              - NextDeliveryDate
              - LeadTimeDayCount
              - OnOrderValue
              - MinimumValue
              - MaximumValue
              - IsActive
              - Infos
        JobId:
          type: string
          description: >-
            Norce Commerce Connect job id. Only exists in import logs. Should be
            omitted in the import request.
        SerializationType:
          type: array
          description: >-
            Request serialization type.(Use the integer instead of the name for
            the xml content type)<br/><br/>0 = JSON, 1 = XML
          items:
            type: string
            enum:
              - JSON
              - XML
        StorageName:
          type: string
          description: >-
            Location of the import file on Norce's file area. Can be used
            instead of sending data directly in payload.
        SupplierId:
          type: integer
          description: Derived from base header. Ignored in on hand import.
          format: int32
      description: On hand import settings.
      format: SkuOnhandHeader
    SkuPriceList:
      required:
        - PartNo
        - PriceListCode
      type: object
      properties:
        PartNo:
          type: string
          description: SKU part number.
        PriceListCode:
          type: string
          description: >-
            Agreement code on the price list. Used for matching in Norce
            Commerce.
        CostPurchase:
          type: number
          description: Purchase cost from supplier.
        CostUnit:
          type: number
          description: Unit cost.
        CurrencyCode:
          type: string
          description: Currency code in ISO 4217 format, e.g. "SEK", "EUR", "USD".
        IsActive:
          type: boolean
          description: Sets SKU price to active or inactive.
        IsPriceDiscountable:
          type: boolean
          description: Determines if discounts can be applied to the price.
        PriceCatalog:
          type: number
          description: Catalog price.
        PricePrevious:
          type: number
          description: Previous price. Can be used to show discounts.
        PriceRecommended:
          type: number
          description: Recommended sale price.
        PriceRule:
          type: integer
          description: >-
            Price rule for this SKU.<br>1 = CostPlus_PurchaseCost<br>2 =
            FixedPrice<br>3 = Margin_PurchaseCost<br>4 =
            UseRecommendedPrice<br>5 = CostPlus_UnitCost<br>6 =
            Margin_UnitCost<br>7 = UseStandardPrice_PctDiscount<br>8 =
            Competitive_PurchaseCost<br>9 = Competitive_UnitCost<br>10 =
            UseStandardPrice_FixedDiscount<br>11 = StructureCalculation<br>12 =
            UseCatalogPrice
          format: int32
        PriceRuleValue:
          type: number
          description: Value to apply for selected Price Rule.
        PriceSale:
          type: number
          description: Sale price.
        QuantityBreak:
          type: integer
          description: >-
            Threshold which determines minimum quantity of items required for
            specified price list to be applied.
          format: int32
      description: >-
        SKU price information. Send to Norce Commerce the price information that
        should be updated. Use the header fields to control what is updated. Any
        values that are null or 0 will be ignored (not overwrite current value
        in Norce), but if the field (e.g. PriceSale) is listed in
        IgnoreSkuPriceListFieldsWhenEmpty will cause the entire price entity to
        be ignored.
      format: SkuPriceList
    SkuPriceListHeader:
      required:
        - AccountId
        - FullFile
        - SkuPriceListFieldsThatAreSet
      type: object
      properties:
        AccountId:
          type: integer
          description: >-
            Account which initiated the import. Learn about system accounts <a
            href='/connectintegration/#using-system-accounts'>here</a>.
          format: int32
        FullFile:
          type: boolean
          description: >-
            If set to true, all price records for the price lists in the import
            that is NOT included, will be deactivated.
        IgnoreSkuPriceListFieldsWhenEmpty:
          type: array
          description: >-
            Specifies which SKU price list fields that are mandatory. If this
            field is missing in the import this specific price entity will be
            ignored.<br>Required settings: All fields added here must be in
            SkuPriceListFieldsThatAreSet<br/>(Use the integer instead of the
            name for the xml content type)<br/><br/>3 = PriceSale<br>4 =
            CostPurchase<br>5 = CostUnit<br>6 = PriceRecommended<br>7 =
            PricePrevious<br>8 = PriceCatalog<br>10 = IsActive
          items:
            type: string
            enum:
              - PriceSale
              - CostPurchase
              - CostUnit
              - PriceRecommended
              - PricePrevious
              - PriceCatalog
              - IsActive
        SkuPriceListFieldsThatAreSet:
          type: array
          description: >-
            Specifies which SKU price list fields to be updated.<br/>(Use the
            integer instead of the name for the xml content type)<br/><br/>3 =
            PriceSale<br>4 = CostPurchase<br>5 = CostUnit<br>6 =
            PriceRecommended<br>7 = PricePrevious<br>8 = PriceCatalog<br>9 =
            IsPriceDiscountable<br>10 = IsActive<br>11 =
            IsPriceDiscountableCreateOnly (Value is only set if the entity is
            created by the import)<br>12 = PriceRule
          items:
            type: string
            enum:
              - PriceSale
              - CostPurchase
              - CostUnit
              - PriceRecommended
              - PricePrevious
              - PriceCatalog
              - IsPriceDiscountable
              - IsActive
              - IsPriceDiscountableCreateOnly
              - PriceRule
        JobId:
          type: string
          description: >-
            Norce Commerce Connect job id. Only exists in import logs. Should be
            omitted in the import request.
        SerializationType:
          type: array
          description: >-
            Request serialization type.(Use the integer instead of the name for
            the xml content type)<br/><br/>0 = JSON, 1 = XML
          items:
            type: string
            enum:
              - JSON
              - XML
        StorageName:
          type: string
          description: >-
            Location of the import file on Norce's file area. Can be used
            instead of sending data directly in payload.
          format: uri
        SupplierId:
          type: integer
          description: Derived from base header. Ignored in SKU price list import.
          format: int32
      description: Price import settings.
      format: SkuPriceListHeader
    SkuStructureItem:
      required:
        - PartNo
        - Quantity
        - StructurePartNo
      type: object
      properties:
        PartNo:
          type: string
          description: Part number of item to add to structure
        Quantity:
          type: number
          description: Quantity of items included in structure
        StructurePartNo:
          type: string
          description: Structure item part number, the parent package part number.
        AdditionalInfo:
          type: array
          description: List of additional 3rd party information fields.
          items:
            $ref: '#/components/schemas/Info'
        SortOrder:
          type: integer
          description: Item sort order in structure.
          format: int32
        StandardStructureItemPrice:
          $ref: '#/components/schemas/SkuStructureItemPriceList'
      description: Structure item information.
      format: SkuStructureItem
    SkuStructureItemPriceList:
      required:
        - CurrencyCode
        - ItemPriceListCode
        - PartNo
        - PriceListCode
        - PriceSale
        - StructurePartNo
      type: object
      properties:
        CurrencyCode:
          type: string
          description: Currency code in ISO 4217 format, e.g. "SEK", "EUR", "USD".
        ItemPriceListCode:
          type: string
          description: >-
            Structure item price list code. Used for price list matching in
            Norce Commerce.
        PartNo:
          type: string
          description: This item part number.
        PriceListCode:
          type: string
          description: >-
            Structure price list code (parent). Used for price list matching in
            Norce Commerce.
        PriceSale:
          type: number
          description: Structure item sale price
        StructurePartNo:
          type: string
          description: Structure item part number, the parent package part number.
        QuantityBreak:
          type: integer
          description: Minimum quantity required for a price rule to be applied.
          format: int32
      description: Structure item price list information.
      format: SkuStructureItemPriceList
    Variant:
      required:
        - ManufacturerPartNo
      type: object
      properties:
        ManufacturerPartNo:
          type: string
          description: Manufacturer part number.
        AdditionalImages:
          type: array
          description: List of additional images.
          items:
            $ref: '#/components/schemas/Image'
        Cultures:
          type: array
          description: List of translated variant information fields.
          items:
            $ref: '#/components/schemas/VariantCulture'
        DeliveryMethods:
          type: array
          description: >-
            List of delivery methods applicable to variant. Use this to restrict
            which delivery methods that is allowed on the product.
          items:
            $ref: '#/components/schemas/DeliveryMethod'
        IsDagerousGoods:
          type: boolean
          description: Determines if a variant is dangerous goods.
        MainImage:
          $ref: '#/components/schemas/Image'
        NonParametricVariantDefinitions:
          type: array
          description: List of variant definitions.
          items:
            $ref: '#/components/schemas/VariantDefinition'
        Skus:
          type: array
          description: >-
            List of SKUs associated to variant.<br>NOTE: Only one SKU is
            allowed, multiple SKUs creation for the same product is deprecated,
            use variantization instead.
          items:
            $ref: '#/components/schemas/Sku'
        SortOrderValue:
          type: integer
          description: Sort order of variant among all the variants.
          format: int32
        StockDisplayBreakPoint:
          type: array
          description: >-
            Stock display break point. Can be used to change the stock value
            that is displayed.
          items:
            $ref: '#/components/schemas/Flag'
        VariantFlags:
          type: array
          description: List of flags applied to variant.
          items:
            $ref: '#/components/schemas/Flag'
        VariantParametrics:
          type: array
          description: List of parametrics applied to variant.
          items:
            $ref: '#/components/schemas/ParametricValue'
      description: Variant information.
      format: Variant
    VariantCulture:
      required:
        - CultureCode
      type: object
      properties:
        CultureCode:
          type: string
          description: Culture code, e.g. "en-GB".
        IsUniqueUrlNameManuallyMaintained:
          type: boolean
          description: Determines if UniqueUrlName is manually maintained.
        Name:
          type: string
          description: Translated variant name.
        UniqueUrlName:
          type: string
          description: Unique URL
          format: uri
      description: Translated variant information.
      format: VariantCulture
    VariantDefinition:
      required:
        - TypeCode
      type: object
      properties:
        TypeCode:
          type: string
          description: Variant type code. Used for variant type matching in Norce Commerce.
        Cultures:
          type: array
          description: List of translated variant definitions.
          items:
            $ref: '#/components/schemas/VariantDefinitionCulture'
      description: Variant definition information.
      format: VariantDefinition
    VariantDefinitionCulture:
      required:
        - CultureCode
        - Value
      type: object
      properties:
        CultureCode:
          type: string
          description: Culture code, e.g. "en-GB"
        Value:
          type: string
          description: Translated definition value.
      description: Translated variant definition.
      format: VariantDefinitionCulture
    VariantDefinitionGroup:
      required:
        - Code
      type: object
      properties:
        Code:
          type: string
          description: Variant definition group code.
        Name:
          type: string
          description: Variant definition group name.
        Types:
          type: array
          description: List of variant definition types.
          items:
            $ref: '#/components/schemas/VariantDefinitionType'
      description: Variant definition information.
      format: VariantDefinitionGroup
    VariantDefinitionType:
      required:
        - Code
      type: object
      properties:
        Code:
          type: string
          description: >-
            Variant definition type code. Used for variant type matching in
            Norce Commerce.
        Name:
          type: string
          description: Type name.
        ParametricCode:
          type: string
          description: Variant definition type parametric code.
        SortOrder:
          type: integer
          description: Sort order.
          format: int32
      description: Variant definition type.
      format: VariantDefinitionType
    VatRate:
      required:
        - SalesArea
      type: object
      properties:
        Rate:
          type: number
          description: VAT rate
        SalesArea:
          type: integer
          description: >-
            Sales area identifier.<br>1 = Sweden<br>2 = Norway<br>3 =
            Denmark<br>4 = Finland<br>5 = UnitedKingdom<br>6 = Estonia<br>7 =
            Greenland<br>8 = Germany<br>9 = Italy<br>10 = Austria<br>11 =
            Spain<br>12 = Netherlands<br>13 = Belgium<br>14 = France<br>15 =
            Switzerland<br>17 = USA<br>18 = Ireland<br>19 = Canada<br>20 =
            Lithuania<br>21 = Latvia<br>22 = Japan<br>23 = SouthKorea<br>24 =
            Australia<br>25 = Europe<br>26 = Poland<br>27 = CzechRepublic<br>28
            = Russia<br>29 = NoVAT<br>36 = Bulgaria<br>37 = Croatia<br>38 =
            Cyprus<br>39 = Greece<br>40 = Hungary<br>41 = Luxembourg<br>42 =
            Malta<br>43 = Portugal<br>44 = Romania<br>45 = Slovakia<br>46 =
            Slovenia
          format: int32
      description: VAT rate percentage
      format: VatRate
    Warehouse:
      required:
        - Code
        - Locations
      type: object
      properties:
        Code:
          type: string
          description: Warehouse code. Used for warehouse matching in Norce Commerce.
        Locations:
          type: array
          description: List of warehouse locations.
          items:
            $ref: '#/components/schemas/WarehouseLocation'
        LeadTimeDayCount:
          type: integer
          description: Indication of time required for delivery
          format: int32
        Name:
          type: string
          description: Warehouse name.
        Type:
          type: integer
          description: >-
            Warehouse type.<br>1 = Warehouse<br>2 = Store<br>3 = Transport<br>4
            = Other
          format: int32
      description: Warehouse information
      format: Warehouse
    WarehouseLocation:
      required:
        - Code
      type: object
      properties:
        Code:
          type: string
          description: Location code. Used for location matching in Norce Commerce.
        IsIncludedInStockCalculation:
          type: boolean
          description: >-
            Determines if a location is part of central warehouse stock
            calculation.
        LeadTimeDayCount:
          type: integer
          description: Indication of time required for delivery.
          format: int32
        Name:
          type: string
          description: Location name.
      description: ''
      format: WarehouseLocation
x-original-swagger-version: '2.0'
