> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Scx Category Attribute Seller Values

> Replaces the attribute values with an attribute code that an SCX seller has stored for a channel category. The list describes the values the seller has for the category afterwards: an entry with an "Id" updates that value (a property that is not sent keeps its stored value), an entry without an "Id" creates a new value and needs a "ClientId", and a stored value that no entry names is deleted, so an empty list deletes all of them. Values are resolved against the attribute definitions of the category only; stored values whose attribute code the category does not define, including codes that only the seller or the channel define, are deleted as well, although the read operation never returns them, and the call does not report them. This includes stored values whose attribute code the category defines with a field type that the read operation does not support: they are treated like undefined codes, so they are deleted when no entry names them, and an entry that names such a code is rejected with SCX_ATTRIBUTE_CODE_UNKNOWN. Custom fields of the category are not touched. The whole call is one unit: if any rule is violated nothing is written. The result lists all values with an attribute code that the seller has for the category after the call, ordered like "QueryScxCategoryAttributeSellerValues" without a requested sort order, read after the change was saved; a value whose entry sent a "ClientId" carries it, a created value together with its new "Id". The call has no concurrency protection: it writes the list as given, so a value that another client created in the meantime is deleted as well. A repeated call is not idempotent for created values: a retry sends no "Id" for a value that the lost first call created, so it deletes that value and creates a new one with a new "Id". A client that did not receive the result therefore reads the stored values ("QueryScxCategoryAttributeSellerValues") before it repeats the call. A change that reaches the offers marks the items whose base data for this seller has this category for upload. An invalid sales channel id is rejected as invalid (error code SALES_CHANNEL_ID_INVALID). A sales channel that does not exist, is deleted, is deactivated or is not an SCX seller, or an id whose channel part does not match the seller, is rejected as not found (error code SCX_SALES_CHANNEL_NOT_FOUND); a category that does not exist or belongs to another channel is rejected as not found (error code SCX_CHANNEL_CATEGORY_NOT_FOUND). A category whose attribute definitions have never been synchronized is rejected as invalid (error code SCX_CHANNEL_CATEGORY_DEFINITIONS_MISSING) as the only error, after the check that the list is present and contains no null entry and before the entries are validated; it also applies to an empty list. Its violation is keyed by "channelCategoryId" instead of "entries[<index>].<field>". The client first runs the refresh operation of the attribute definitions of the category and then repeats the call. Violated rules of the entries are all reported at once. The error carries the error code that all violations share, or SCX_VALIDATION_FAILED if they differ, and the violations grouped by field: the key is "entries[<index>].<field>" with the zero-based position of the entry in the list and the field in camelCase (for example "entries[2].value"), the value is a list of texts of the form "[id: <id>, clientId: <clientId>] <error code>: <message>", where the bracket part appears only if the entry carries an id or a client id and is not a machine-readable contract. The grouping is delivered in the same form on every API surface.



## OpenAPI

````yaml /openapi/erp/2.3.json put /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/attribute-values
openapi: 3.0.0
info:
  title: JTL-WAWI API (Cloud)
  description: "JTL-Wawi-Version: 2.4.0-alpha.261127180509+Sha.bfe973d\r\n# Introduction\r\n\r\nWelcome to the JTL-WAWI technical API documentation. This guide is here to help developers understand how our REST API works and how it can be integrated into your existing systems. We'll delve into the details of authentication and data manipulation processes, providing clear examples along the way. Whether you're a developer or an IT professional, this documentation aims to give you a practical understanding, laying the groundwork for effectively using the JTL-WAWI API to enhance your processes.\r\n\r\n# Authentication\r\n\r\nYou register your application with the API by sending a POST request with the required information and corresponding keys. You can find the exact request details at https://developer.jtl-software.com/products/erp/swagger/appregistration. This information has to include the following:\r\n\r\n* AppId\r\n* DisplayName\r\n* Description\r\n* Version\r\n* ProviderName\r\n* ProviderWebsite\r\n* MandatoryApiScopes\r\n\r\nThis data is crucial for identifying and registering your application with the API. The API uses it to generate a temporary authentication ID that allows your application to access the necessary resources. After successful validation of this information, you will receive the API key required for future authentication and API requests.\r\n\r\nBefore you can begin the registration process, you must open JTL-Wawi (new interface) and start the registration process under 'Admin->App registration'. Only at this point are you authorised to send the first API call. This step in JTL-Wawi ensures that your application is properly registered and has permission to use the API.\r\n\r\nThe API will send you an authentication ID in the form of a token. Once you have received this token and successfully completed the registration in JTL-Wawi, you will send another request to the API by including this authentication ID in the URL path.\r\n\r\nAfter successful validation of this second request by the API and confirmation of the correct information, you will be provided with the actual API key. It is important to note that this API key will not be displayed again!\r\n\r\nThis API key will be used in the future to authenticate requests to the API. It is of utmost importance that you securely store the API key upon receipt, as it cannot be retrieved from any other location in the system."
  contact:
    name: JTL-Software-GmbH
    url: https://developer.jtl-software.com/
    email: partner@jtl-software.com
  version: '2.3'
  x-application-version: 2.4.0.0
servers:
  - url: https://api.jtl-cloud.com/erp
    description: Production Environment Cloud API Gateway
security: []
tags:
  - name: WMS
    description: >-
      <p data-section-id='tag/WMS' class='stable_summary'></p>Query all pick
      lists for a specific wms warehouse that are not completed.
  - name: Wawi App
    description: >-
      <p data-section-id='tag/Wawi App' class='stable_summary'></p>Get a
      specific customer
  - name: Warehouses
    description: >-
      <p data-section-id='tag/Warehouses' class='stable_summary'></p>Queries all
      storage locations for a given warehouse.
  - name: Units
    description: Development
  - name: Transaction Status
    description: >-
      <p data-section-id='tag/Transaction Status'
      class='stable_summary'></p>Queries all transaction statuses for a sales
      order.
  - name: Tax
    description: >-
      <p data-section-id='tag/Tax' class='stable_summary'></p>Returns the tax
      rate for the given item.
  - name: Inventory
    description: >-
      <p data-section-id='tag/Inventory' class='stable_summary'></p>Queries
      stocks for a specific item, warehouse or storage location.
  - name: Sales Order
    description: >-
      <p data-section-id='tag/Sales Order' class='stable_summary'></p>Queries
      all cancellation reasons for sales orders.
  - name: Sales Invoice Correction
    description: >-
      <p data-section-id='tag/Sales Invoice Correction'
      class='stable_summary'></p>Queries all cancellation reasons for sales
      invoice corrections.
  - name: Return
    description: >-
      <p data-section-id='tag/Return' class='stable_summary'></p>Create a new
      return with associated items and packages.
  - name: Item
    description: >-
      <p data-section-id='tag/Item' class='stable_summary'></p>Queries all
      responsible persons.
  - name: Refund
    description: >-
      <p data-section-id='tag/Refund' class='stable_summary'></p>Queries all
      cancellation reasons for refunds.
  - name: Property
    description: >-
      <p data-section-id='tag/Property' class='stable_summary'></p>Queries all
      properties of items.
  - name: Printer
    description: >-
      <p data-section-id='tag/Printer' class='stable_summary'></p>Retrieves all
      installed printers.
  - name: Master Data
    description: >-
      <p data-section-id='tag/Master Data' class='stable_summary'></p>Queries
      all on hold reasons for sales orders.
  - name: Manufacturer
    description: Development
  - name: Label
    description: Development
  - name: Sales Invoice
    description: >-
      <p data-section-id='tag/Sales Invoice' class='stable_summary'></p>Gets a
      specific invoice.
  - name: Info
    description: >-
      <p data-section-id='tag/Info' class='stable_summary'></p>Returns the
      status of the API.
  - name: Features
    description: >-
      <p data-section-id='tag/Features' class='stable_summary'></p>Returns the
      available feature sets with release state and API version.
  - name: Extensibility
    description: >-
      <p data-section-id='tag/Extensibility' class='stable_summary'></p>Returns
      the installed extensions.
  - name: Shipment
    description: Development
  - name: Delivery Note
    description: >-
      <p data-section-id='tag/Delivery Note' class='stable_summary'></p>Queries
      all delivery notes.
  - name: Custom Field
    description: Development
  - name: Customer
    description: >-
      <p data-section-id='tag/Customer' class='stable_summary'></p>Deletes a
      specific customer.
  - name: Authentication
    description: >-
      <p data-section-id='tag/Authentication'
      class='deprecated_summary'></p>DEPRECATED seit Wawi 2.2.0: No-Op. Seit
      Wawi 2.1.0 registriert sich die Wawi selbst per JWT.
  - name: Attribute
    description: Development
  - name: Sales Quotation
    description: >-
      <p data-section-id='tag/Sales Quotation'
      class='stable_summary'></p>Execute the printing of a sales quotation
  - name: Production
  - name: Resources
  - name: Sales Orders
  - name: Marketplace Order
  - name: Marketplace Offer
  - name: Marketplace Invoicing
  - name: Company
  - name: Sales Channel
  - name: Payment
  - name: Warehouse Assistant
  - name: Worker
paths:
  /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/attribute-values:
    put:
      tags:
        - SCX
      summary: Set Scx Category Attribute Seller Values
      description: >-
        Replaces the attribute values with an attribute code that an SCX seller
        has stored for a channel category. The list describes the values the
        seller has for the category afterwards: an entry with an "Id" updates
        that value (a property that is not sent keeps its stored value), an
        entry without an "Id" creates a new value and needs a "ClientId", and a
        stored value that no entry names is deleted, so an empty list deletes
        all of them. Values are resolved against the attribute definitions of
        the category only; stored values whose attribute code the category does
        not define, including codes that only the seller or the channel define,
        are deleted as well, although the read operation never returns them, and
        the call does not report them. This includes stored values whose
        attribute code the category defines with a field type that the read
        operation does not support: they are treated like undefined codes, so
        they are deleted when no entry names them, and an entry that names such
        a code is rejected with SCX_ATTRIBUTE_CODE_UNKNOWN. Custom fields of the
        category are not touched. The whole call is one unit: if any rule is
        violated nothing is written. The result lists all values with an
        attribute code that the seller has for the category after the call,
        ordered like "QueryScxCategoryAttributeSellerValues" without a requested
        sort order, read after the change was saved; a value whose entry sent a
        "ClientId" carries it, a created value together with its new "Id". The
        call has no concurrency protection: it writes the list as given, so a
        value that another client created in the meantime is deleted as well. A
        repeated call is not idempotent for created values: a retry sends no
        "Id" for a value that the lost first call created, so it deletes that
        value and creates a new one with a new "Id". A client that did not
        receive the result therefore reads the stored values
        ("QueryScxCategoryAttributeSellerValues") before it repeats the call. A
        change that reaches the offers marks the items whose base data for this
        seller has this category for upload. An invalid sales channel id is
        rejected as invalid (error code SALES_CHANNEL_ID_INVALID). A sales
        channel that does not exist, is deleted, is deactivated or is not an SCX
        seller, or an id whose channel part does not match the seller, is
        rejected as not found (error code SCX_SALES_CHANNEL_NOT_FOUND); a
        category that does not exist or belongs to another channel is rejected
        as not found (error code SCX_CHANNEL_CATEGORY_NOT_FOUND). A category
        whose attribute definitions have never been synchronized is rejected as
        invalid (error code SCX_CHANNEL_CATEGORY_DEFINITIONS_MISSING) as the
        only error, after the check that the list is present and contains no
        null entry and before the entries are validated; it also applies to an
        empty list. Its violation is keyed by "channelCategoryId" instead of
        "entries[<index>].<field>". The client first runs the refresh operation
        of the attribute definitions of the category and then repeats the call.
        Violated rules of the entries are all reported at once. The error
        carries the error code that all violations share, or
        SCX_VALIDATION_FAILED if they differ, and the violations grouped by
        field: the key is "entries[<index>].<field>" with the zero-based
        position of the entry in the list and the field in camelCase (for
        example "entries[2].value"), the value is a list of texts of the form
        "[id: <id>, clientId: <clientId>] <error code>: <message>", where the
        bracket part appears only if the entry carries an id or a client id and
        is not a machine-readable contract. The grouping is delivered in the
        same form on every API surface.
      operationId: AttributeValues_SetScxCategoryAttributeSellerValues
      parameters:
        - name: salesChannelId
          in: path
          required: true
          description: >-
            Sales channel id of the SCX seller/account. Opaque, tenant-local
            composite identifier (not a UUID); use the id returned by "GET
            /v2/sales-channels".
          schema:
            type: string
        - name: channelCategoryId
          in: path
          required: true
          description: ID of the channel category.
          schema:
            $ref: >-
              #/components/schemas/JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryKey
        - name: x-tenant-id
          in: header
          required: true
          schema:
            type: string
            format: uuid
          description: The tenant ID for the target ERP instance.
      requestBody:
        x-name: SetScxCategoryAttributeSellerValuesRequest
        description: ''
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/JTL.Wawi.Marketplace.Scx.PublicApi.Endpoints.V2.AttributeValues.SetScxCategoryAttributeSellerValuesRequest
        required: true
        x-position: 1
      responses:
        '200':
          description: >-
            The attribute values were replaced. Returns the stored values with
            an attribute code of the seller for the category; a value whose
            entry sent a client id carries it.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.SetScxCategoryAttributeSellerValuesCommandResponse
        '400':
          description: >-
            The sales channel id is not valid (error code
            SALES_CHANNEL_ID_INVALID), the list is missing or contains an entry
            that is null, or the entries violate rules. The attribute
            definitions of the category have never been synchronized (error code
            SCX_CHANNEL_CATEGORY_DEFINITIONS_MISSING, field channelCategoryId,
            reported as the only error, also for an empty list, after the
            list-missing and null-entry checks and before the entries are
            checked). Otherwise the violations of the entries are all reported
            at once with the error code that all of them share or
            SCX_VALIDATION_FAILED, grouped by "entries[<index>].<field>":
            SCX_ATTRIBUTE_CODE_UNKNOWN (field attributeCode: the code is not
            defined for the category, a new entry has no code, an entry names a
            code whose field type is not supported, or an entry names a stored
            value whose code has no definition any more),
            SCX_ATTRIBUTE_CODE_IMMUTABLE (attributeCode or referenceGroup: an
            existing entry sends another code or group than the stored one),
            SCX_ATTRIBUTE_MULTIPLE_VALUES_NOT_ALLOWED (attributeCode: a second
            entry with the same code and group for an attribute that allows one
            value), SCX_REFERENCE_GROUP_INVALID (referenceGroup: a new entry has
            a group below 0), SCX_ATTRIBUTE_VALUE_INVALID_FORMAT (value: the
            value does not parse as the type of the attribute; numbers, dates
            and flags are read in invariant notation and returned as stored, so
            the result can differ from the request), SCX_ATTRIBUTE_VALUE_EMPTY
            (value or fileId: the value is empty or blank after merging and the
            entry has no file, or an image or document entry has no file),
            SCX_ATTRIBUTE_VALUE_NOT_FOUND (id: no stored value with an attribute
            code of this category and seller has that id, which includes the id
            of a custom field), SCX_ATTRIBUTE_VALUE_ID_DUPLICATE (id: the same
            id appears in more than one entry), SCX_FILE_NOT_FOUND (fileId: no
            usable stored file has that id), SCX_FILE_NOT_ALLOWED (fileId: the
            attribute is not an image or document attribute),
            SCX_FILE_NOT_SUPPORTED (fileId: the file type is not allowed or the
            file is too large), SCX_CLIENT_ID_REQUIRED (clientId: a new entry
            has no client id), SCX_CLIENT_ID_DUPLICATE (clientId: the same
            client id appears in more than one entry). Nothing is written.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FastEndpoints.ProblemDetails'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FastEndpoints.ProblemDetails'
        '403':
          description: Forbidden.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FastEndpoints.ProblemDetails'
        '404':
          description: >-
            The sales channel does not exist, is deleted, is deactivated or is
            not an SCX seller, or its id does not name the seller (error code
            SCX_SALES_CHANNEL_NOT_FOUND), or the category does not exist or
            belongs to another channel (error code
            SCX_CHANNEL_CATEGORY_NOT_FOUND). Nothing is written.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FastEndpoints.ProblemDetails'
        '500':
          description: Internal server error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FastEndpoints.ProblemDetails'
      security:
        - oauth2-authorization-code:
            - scxoffers.write
        - oauth2-client-credentials:
            - scxoffers.write
components:
  schemas:
    JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryKey:
      type: string
      description: The ID of an SCX category.
      format: uuid
      example: b45f6432-2462-4c6f-b00f-1d9d01000000
      additionalProperties: false
    JTL.Wawi.Marketplace.Scx.PublicApi.Endpoints.V2.AttributeValues.SetScxCategoryAttributeSellerValuesRequest:
      type: object
      description: >-
        Request model for SetScxCategoryAttributeSellerValues command endpoint.

        Route parameters bind from the route, query parameters from the query
        string, everything else from the body.
      additionalProperties: false
      required:
        - attributeValues
      properties:
        attributeValues:
          type: array
          description: >-
            The complete list of attribute values with an attribute code that
            the seller has for the category afterwards. Required; an empty list
            deletes all of them.
          items:
            $ref: >-
              #/components/schemas/JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.ScxCategoryAttributeSellerValueInput
    JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.SetScxCategoryAttributeSellerValuesCommandResponse:
      type: object
      description: >-
        Replaces the attribute values with an attribute code that an SCX seller
        has stored for a channel category. The list describes the values the
        seller has for the category afterwards: an entry with an "Id" updates
        that value (a property that is not sent keeps its stored value), an
        entry without an "Id" creates a new value and needs a "ClientId", and a
        stored value that no entry names is deleted, so an empty list deletes
        all of them. Values are resolved against the attribute definitions of
        the category only; stored values whose attribute code the category does
        not define, including codes that only the seller or the channel define,
        are deleted as well, although the read operation never returns them, and
        the call does not report them. This includes stored values whose
        attribute code the category defines with a field type that the read
        operation does not support: they are treated like undefined codes, so
        they are deleted when no entry names them, and an entry that names such
        a code is rejected with SCX_ATTRIBUTE_CODE_UNKNOWN. Custom fields of the
        category are not touched. The whole call is one unit: if any rule is
        violated nothing is written. The result lists all values with an
        attribute code that the seller has for the category after the call,
        ordered like "QueryScxCategoryAttributeSellerValues" without a requested
        sort order, read after the change was saved; a value whose entry sent a
        "ClientId" carries it, a created value together with its new "Id". The
        call has no concurrency protection: it writes the list as given, so a
        value that another client created in the meantime is deleted as well. A
        repeated call is not idempotent for created values: a retry sends no
        "Id" for a value that the lost first call created, so it deletes that
        value and creates a new one with a new "Id". A client that did not
        receive the result therefore reads the stored values
        ("QueryScxCategoryAttributeSellerValues") before it repeats the call. A
        change that reaches the offers marks the items whose base data for this
        seller has this category for upload. An invalid sales channel id is
        rejected as invalid (error code SALES_CHANNEL_ID_INVALID). A sales
        channel that does not exist, is deleted, is deactivated or is not an SCX
        seller, or an id whose channel part does not match the seller, is
        rejected as not found (error code SCX_SALES_CHANNEL_NOT_FOUND); a
        category that does not exist or belongs to another channel is rejected
        as not found (error code SCX_CHANNEL_CATEGORY_NOT_FOUND). A category
        whose attribute definitions have never been synchronized is rejected as
        invalid (error code SCX_CHANNEL_CATEGORY_DEFINITIONS_MISSING) as the
        only error, after the check that the list is present and contains no
        null entry and before the entries are validated; it also applies to an
        empty list. Its violation is keyed by "channelCategoryId" instead of
        "entries[<index>].<field>". The client first runs the refresh operation
        of the attribute definitions of the category and then repeats the call.
        Violated rules of the entries are all reported at once. The error
        carries the error code that all violations share, or
        SCX_VALIDATION_FAILED if they differ, and the violations grouped by
        field: the key is "entries[<index>].<field>" with the zero-based
        position of the entry in the list and the field in camelCase (for
        example "entries[2].value"), the value is a list of texts of the form
        "[id: <id>, clientId: <clientId>] <error code>: <message>", where the
        bracket part appears only if the entry carries an id or a client id and
        is not a machine-readable contract. The grouping is delivered in the
        same form on every API surface. - Response
      additionalProperties: false
      required:
        - attributeValues
      properties:
        attributeValues:
          type: array
          description: >-
            The attribute values with an attribute code that the seller has for
            the category after the call, read after the change was saved.
          items:
            $ref: >-
              #/components/schemas/JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.ScxCategoryAttributeSellerValueResult
    FastEndpoints.ProblemDetails:
      type: object
      additionalProperties: false
      properties:
        type:
          type: string
          default: https://www.rfc-editor.org/rfc/rfc7231#section-6.5.1
        title:
          type: string
          default: One or more validation errors occurred.
        status:
          type: integer
          format: int32
          default: 400
        instance:
          type: string
          default: /api/route
        traceId:
          type: string
          default: 0HMPNHL0JHL76:00000001
        detail:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/FastEndpoints.ProblemDetails_Error'
    JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.ScxCategoryAttributeSellerValueInput:
      type: object
      description: >-
        One entry of the list that replaces the attribute values with an
        attribute code that an SCX seller has stored for a channel category. An
        entry with an "Id" updates that stored value; an entry without an "Id"
        creates a new value. A property that is not sent, or is null, keeps the
        stored value of an existing entry. Read-only properties of the stored
        value, such as the definition id and "DefinitionScope", are not part of
        the input. The REST schema lists every property of an entry as required,
        because the schema generator does not keep the optionality of the
        properties; the API accepts an entry without the properties it does not
        send, and a client generated from the REST schema may not be able to
        omit them. GraphQL treats all of them as optional.
      additionalProperties: false
      required:
        - id
        - clientId
        - attributeCode
        - referenceGroup
        - value
        - isTemplate
        - fileId
      properties:
        id:
          $ref: >-
            #/components/schemas/JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryAttributeSellerValueKey
          description: >-
            ID of the stored value the entry updates. Omit to create a new
            value; the value then needs a "ClientId". The ID must belong to the
            category and the seller and must not appear twice in the list.
          example: b45f6432-2462-4c6f-b00f-1d9d01000000
        clientId:
          type: string
          description: >-
            Identifier the client chooses for an entry. It should carry a
            recognizable prefix such as "temp__"; the server does not check the
            prefix. Required for an entry without an "Id", optional for an entry
            with an "Id"; unique within the request, also across entries with
            and without an "Id", and never stored. The result returns it with
            the value of the entry, for a created value together with its new
            "Id".
        attributeCode:
          type: string
          description: >-
            Attribute code assigned by the marketplace. Required for a new
            value. For an existing value it must equal the stored code, which
            cannot be changed.
        referenceGroup:
          type: integer
          description: >-
            Number of the repetition group of a repeatable sub-section. A new
            value without a reference group gets group 0. For an existing value
            it must equal the stored group, which cannot be changed.
          format: int32
        value:
          type: string
          description: >-
            Value of the attribute as it is transmitted to the marketplace, or
            the template if "IsTemplate" is true. A blank value is rejected like
            an empty one; numbers, dates and flags are read in invariant
            notation and returned as stored. Omit to keep the stored value of an
            existing entry. Ignored for an entry with a file.
        isTemplate:
          type: boolean
          description: >-
            Whether the value is a template written in Liquid syntax. Omit to
            keep the stored setting of an existing entry. Ignored for an entry
            with a file.
        fileId:
          $ref: '#/components/schemas/JTL.Data.Contracts.Keys.FileKey'
          description: >-
            ID of an already stored file for an attribute of type image or
            document; this API does not upload files; other attributes reject a
            file. Omit or send null to keep the stored file of an existing
            entry; a file cannot be removed from an existing entry, so the
            client deletes the entry and creates a new one, which gets a new
            "Id".
          example: b45f6432-2462-4c6f-b00f-1d9d01000000
    JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.ScxCategoryAttributeSellerValueResult:
      type: object
      description: >-
        An attribute value that an SCX seller has stored for a channel category
        as it is stored after the values were replaced: the properties of an
        attribute value of a category, plus the client id that the entry of the
        request sent for the value.
      additionalProperties: false
      required:
        - attributeCode
        - definitionScope
        - value
        - isTemplate
        - referenceGroup
        - id
        - salesChannelId
        - channelCategoryId
        - channelCategoryAttributeId
      properties:
        attributeCode:
          type: string
          description: >-
            Attribute code assigned by the marketplace (external identifier, not
            a JTL key).
        definitionScope:
          $ref: >-
            #/components/schemas/JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.ScxAttributeDefinitionScope
          description: >-
            Where the definition of the attribute lives: "Seller", "Channel" or
            "Category".
        value:
          type: string
          description: >-
            Value of the attribute as it is transmitted to the marketplace, or
            the template if "IsTemplate" is true.
        isTemplate:
          type: boolean
          description: >-
            Whether the value is a template written in Liquid syntax. Templates
            are rendered against each item before the value is transmitted to
            the marketplace.
        referenceGroup:
          type: integer
          description: >-
            Number of the repetition group of a repeatable sub-section. Values
            of the same sub-section with the same number belong to the same
            repetition; 0 for the first group and for attributes outside
            repeatable sub-sections. The number identifies the group, it is not
            a position.
          format: int32
        fileId:
          $ref: '#/components/schemas/JTL.Data.Contracts.Keys.FileKey'
          description: >-
            ID of the file for file-typed attributes, or null if the value is
            not a file.
        id:
          $ref: >-
            #/components/schemas/JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryAttributeSellerValueKey
          description: ID of the attribute value.
        salesChannelId:
          $ref: '#/components/schemas/JTL.Wawi.Rest.Contracts.Models.SalesChannelId'
          description: >-
            Id of the sales channel (the seller account) the value belongs to.
            Opaque, tenant-local composite identifier (not a UUID).
        channelCategoryId:
          $ref: >-
            #/components/schemas/JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryKey
          description: ID of the channel category the value is stored for.
        channelCategoryAttributeId:
          $ref: >-
            #/components/schemas/JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryAttributeKey
          description: ID of the channel category attribute that defines the attribute.
        clientId:
          type: string
          description: >-
            Client id that the entry of the request sent for this value, so that
            the client can assign the value to its entry, a created value
            together with its new "Id". Null for a value that no entry names and
            for an entry that sent no client id.
    FastEndpoints.ProblemDetails_Error:
      type: object
      additionalProperties: false
      properties:
        name:
          type: string
          default: Error or field name
        reason:
          type: string
          default: Error reason
        code:
          type: string
        severity:
          type: string
    JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryAttributeSellerValueKey:
      type: string
      description: The ID of an SCX category attribute seller value.
      format: uuid
      example: b45f6432-2462-4c6f-b00f-1d9d01000000
      additionalProperties: false
    JTL.Data.Contracts.Keys.FileKey:
      type: string
      description: The ID of a file.
      format: uuid
      example: b45f6432-2462-4c6f-b00f-1d9d01000000
      additionalProperties: false
    JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.ScxAttributeDefinitionScope:
      type: integer
      description: 0 = Seller, 1 = Channel, 2 = Category
      format: int32
      x-enumNames:
        - Seller
        - Channel
        - Category
      enum:
        - 0
        - 1
        - 2
    JTL.Wawi.Rest.Contracts.Models.SalesChannelId:
      type: string
      description: >-
        Represents a unique identifier for a sales channel, encapsulating
        various platform-specific keys such as shop,

        user, or channel identifiers.
      additionalProperties: false
    JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryAttributeKey:
      type: string
      description: The ID of an SCX category attribute.
      format: uuid
      example: b45f6432-2462-4c6f-b00f-1d9d01000000
      additionalProperties: false
  securitySchemes:
    oauth2-authorization-code:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://id.jtl-cloud.com/oauth/v2/authorize
          tokenUrl: https://id.jtl-cloud.com/oauth/v2/token
          scopes:
            inventories.write: Grants permission to modify stock levels.
            inventory.print: Grants permission to print inventory count lists.
            inventory.read: Grants permission to read stock levels.
            inventory.write: Grants permission to modify stock levels.
            picklists.print: Grants permission to print pick lists.
            picklists.write: Grants permission to create and modify pick lists.
            warehouse.read: Grants permission to read warehouse data.
            warehouses.print: Grants permission to print storage location labels.
            warehouses.write: Grants permission to write warehouse data.
            items.print: Grants permission to print item labels.
            items.read: Grants permission to read item data.
            items.write: Grants permission to create and modify item data.
            procurements.read: Read procurement
            purchaseorders.mail: Send purchase orders by e-mail
            purchaseorders.print: Print purchase orders
            purchaseorders.read: Read purchase orders
            purchaseorders.write: Write purchase orders
            suppliers.read: Read suppliers
            suppliers.write: Write suppliers
            settings.read: Read settings
            settings.write: Write settings
            saleschannels.read: Grants permission to read sales channels.
            saleschannels.write: Grants permission to create and modify sales channels.
            all.read: Allows the application to read all data.
            customers.read: Grants permission to read customer data.
            customers.write: Grants permission to create and modify customer data.
            customfields.read: Grants permission to read custom fields.
            customfields.write: Grants permission to create and modify custom fields.
            deliveries.read: Grants permission to read deliveries.
            deliveries.write: Grants permission to create and modify deliveries.
            deliverynotes.print: Grants permission to print and output delivery notes.
            deliverynotes.read: Grants permission to read delivery notes.
            deliverynotes.write: Grants permission to create and modify delivery notes.
            extensibility.integration: >-
              Grants permission to manage extensions and integrations of the
              JTL-Wawi.
            inventories.read: Grants permission to read stock levels.
            invoices.read: Grants permission to read invoices.
            invoices.write: Grants permission to create and modify invoices.
            labels.read: Grants permission to read labels.
            labels.write: Grants permission to create and modify labels.
            masterdata.read: >-
              Read master data such as shipping methods, payment methods, color
              codes and tax classes.
            orders.read: Grants permission to read orders.
            picklists.read: Grants permission to read pick lists.
            returns.read: Grants permission to read returns.
            returns.write: Grants permission to create and modify returns.
            salesinvoicecorrections.read: Grants permission to read invoice corrections.
            salesinvoicecorrections.write: Grants permission to create and modify invoice corrections.
            salesorders.print: Grants permission to print and output sales orders.
            salesorders.read: Grants permission to read sales orders.
            salesorders.write: Grants permission to create and modify sales orders.
            system.config.read: Grants permission to read the system configuration.
            system.config.write: Grants permission to modify the system configuration.
            taxes.read: Grants permission to read tax data.
            wawiapp.all: Grants access to Wawi app related operations.
            returns.mail: Grants permission to send returns by e-mail.
            returns.print: Grants permission to print returns.
            deliverynotes.mail: Grants permission to send delivery notes by e-mail.
            customers.print: Grants permission to print customer details.
            currencies.read: Grants read access to currencies.
            dunning.mail: Grants permission to send dunning notices by e-mail.
            dunning.print: Grants permission to print dunning notices.
            dunning.read: >-
              Grants read access to dunning: dunning levels, dunning notices,
              dunning proposals, dunning runs and the dunning status of invoices
              and customers.
            dunning.write: >-
              Grants write access to dunning: maintain dunning levels, issue and
              withdraw dunning notices, start dunning runs and set dunning
              blocks.
            jera.read: Grants read access to JERA internal endpoints.
            masterdata.write: Write master data
            paymentmethods.read: Grants read access to payment methods.
            payments.mail: Grants permission to send payment receipts by e-mail.
            payments.read: Grants permission to read payments.
            payments.write: Grants permission to write payments.
            paymenttransactions.read: >-
              Grants read access to payment transactions and to the fetch runs
              of payment accounts.
            salescreditnotes.mail: Grants permission to send sales credit notes by e-mail.
            salescreditnotes.print: Grants permission to print sales credit notes.
            salescreditnotes.write: Grants permission to cancel credit notes.
            salesinvoicecorrections.mail: Grants permission to send sales invoice corrections by e-mail.
            salesinvoicecorrections.print: Grants permission to print and output invoice corrections.
            salesinvoices.mail: Grants permission to send sales invoices by e-mail.
            salesinvoices.print: Grants permission to print and output sales invoices.
            salesinvoices.read: Grants read access to sales invoices.
            salesinvoices.write: Grants write access to sales invoices.
            salesorders.mail: Grants permission to send sales orders by e-mail.
            salesquotations.mail: Grants permission to send sales quotations by e-mail.
            salesquotations.print: Grants permission to print and output sales quotations.
            salesquotations.read: Grants read access to sales quotations.
            salesquotations.write: Grants write access to sales quotations.
            salessubscriptions.read: Grants read access to subscriptions.
            salessubscriptions.write: Grants write access to subscriptions.
            system.worker.read: Read worker syncs
            system.worker.write: Write worker syncs
            worker.errors.read: Read the error log of the worker syncs
            worker.read: Read the worker service and its syncs
            worker.reset: Reset all worker syncs (destructive)
            worker.write: Control and configure worker syncs
            resources.read: Grants permission to read resource management data.
            resources.write: Grants permission to create and modify resource management data.
            pps.read: Grants permission to read production data.
            pps.write: Grants permission to create and modify production data.
            channels.read: Grants permission to read marketplace channels.
            invoices.print: >-
              Grants permission to print marketplace external documents
              (invoices, credit notes).
            marketplaceoffers.read: Grants permission to read marketplace offers and offer failures.
            marketplaceoffers.write: Grants permission to create and modify marketplace offers.
            notifications.read: Grants permission to read marketplace notifications.
            orders.write: >-
              Grants permission to modify marketplace order data (exclude/reset
              cancellation, payment, return and shipping uploads).
            scxoffers.read: >-
              Grants permission to read SCX offer data, such as channel
              attributes.
            scxoffers.write: >-
              Grants permission to write SCX offer data, such as refreshing
              attribute definitions.
            masterdata.company.irreversible.write: Perform irreversible company actions
            masterdata.email.write: Write email configuration
            taxes.write: Grants permission to create and modify tax data.
            output.read: Grants permission to read output templates and document types.
            output.write: Grants permission to manage output template sets.
            users.read: Grants permission to read users, user groups and permissions.
            users.write: >-
              Grants permission to create and modify users, user groups and
              their permissions.
            incominginvoices.read: >-
              Grants permission to read incoming invoices, including their line
              items, additional costs and payments, and the additional cost
              types.
            incominginvoices.write: >-
              Grants permission to create and modify incoming invoices,
              including their line items, additional costs and payments, and to
              maintain the additional cost types.
            health.read: Read health
            health.sessions.read: Read sessions and logged-in users
            application.runas: >-
              Allows the application to execute requests on behalf of another
              user.
    oauth2-client-credentials:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://id.jtl-cloud.com/oauth/v2/token
          scopes:
            inventories.write: Grants permission to modify stock levels.
            inventory.print: Grants permission to print inventory count lists.
            inventory.read: Grants permission to read stock levels.
            inventory.write: Grants permission to modify stock levels.
            picklists.print: Grants permission to print pick lists.
            picklists.write: Grants permission to create and modify pick lists.
            warehouse.read: Grants permission to read warehouse data.
            warehouses.print: Grants permission to print storage location labels.
            warehouses.write: Grants permission to write warehouse data.
            items.print: Grants permission to print item labels.
            items.read: Grants permission to read item data.
            items.write: Grants permission to create and modify item data.
            procurements.read: Read procurement
            purchaseorders.mail: Send purchase orders by e-mail
            purchaseorders.print: Print purchase orders
            purchaseorders.read: Read purchase orders
            purchaseorders.write: Write purchase orders
            suppliers.read: Read suppliers
            suppliers.write: Write suppliers
            settings.read: Read settings
            settings.write: Write settings
            saleschannels.read: Grants permission to read sales channels.
            saleschannels.write: Grants permission to create and modify sales channels.
            all.read: Allows the application to read all data.
            customers.read: Grants permission to read customer data.
            customers.write: Grants permission to create and modify customer data.
            customfields.read: Grants permission to read custom fields.
            customfields.write: Grants permission to create and modify custom fields.
            deliveries.read: Grants permission to read deliveries.
            deliveries.write: Grants permission to create and modify deliveries.
            deliverynotes.print: Grants permission to print and output delivery notes.
            deliverynotes.read: Grants permission to read delivery notes.
            deliverynotes.write: Grants permission to create and modify delivery notes.
            extensibility.integration: >-
              Grants permission to manage extensions and integrations of the
              JTL-Wawi.
            inventories.read: Grants permission to read stock levels.
            invoices.read: Grants permission to read invoices.
            invoices.write: Grants permission to create and modify invoices.
            labels.read: Grants permission to read labels.
            labels.write: Grants permission to create and modify labels.
            masterdata.read: >-
              Read master data such as shipping methods, payment methods, color
              codes and tax classes.
            orders.read: Grants permission to read orders.
            picklists.read: Grants permission to read pick lists.
            returns.read: Grants permission to read returns.
            returns.write: Grants permission to create and modify returns.
            salesinvoicecorrections.read: Grants permission to read invoice corrections.
            salesinvoicecorrections.write: Grants permission to create and modify invoice corrections.
            salesorders.print: Grants permission to print and output sales orders.
            salesorders.read: Grants permission to read sales orders.
            salesorders.write: Grants permission to create and modify sales orders.
            system.config.read: Grants permission to read the system configuration.
            system.config.write: Grants permission to modify the system configuration.
            taxes.read: Grants permission to read tax data.
            wawiapp.all: Grants access to Wawi app related operations.
            returns.mail: Grants permission to send returns by e-mail.
            returns.print: Grants permission to print returns.
            deliverynotes.mail: Grants permission to send delivery notes by e-mail.
            customers.print: Grants permission to print customer details.
            currencies.read: Grants read access to currencies.
            dunning.mail: Grants permission to send dunning notices by e-mail.
            dunning.print: Grants permission to print dunning notices.
            dunning.read: >-
              Grants read access to dunning: dunning levels, dunning notices,
              dunning proposals, dunning runs and the dunning status of invoices
              and customers.
            dunning.write: >-
              Grants write access to dunning: maintain dunning levels, issue and
              withdraw dunning notices, start dunning runs and set dunning
              blocks.
            jera.read: Grants read access to JERA internal endpoints.
            masterdata.write: Write master data
            paymentmethods.read: Grants read access to payment methods.
            payments.mail: Grants permission to send payment receipts by e-mail.
            payments.read: Grants permission to read payments.
            payments.write: Grants permission to write payments.
            paymenttransactions.read: >-
              Grants read access to payment transactions and to the fetch runs
              of payment accounts.
            salescreditnotes.mail: Grants permission to send sales credit notes by e-mail.
            salescreditnotes.print: Grants permission to print sales credit notes.
            salescreditnotes.write: Grants permission to cancel credit notes.
            salesinvoicecorrections.mail: Grants permission to send sales invoice corrections by e-mail.
            salesinvoicecorrections.print: Grants permission to print and output invoice corrections.
            salesinvoices.mail: Grants permission to send sales invoices by e-mail.
            salesinvoices.print: Grants permission to print and output sales invoices.
            salesinvoices.read: Grants read access to sales invoices.
            salesinvoices.write: Grants write access to sales invoices.
            salesorders.mail: Grants permission to send sales orders by e-mail.
            salesquotations.mail: Grants permission to send sales quotations by e-mail.
            salesquotations.print: Grants permission to print and output sales quotations.
            salesquotations.read: Grants read access to sales quotations.
            salesquotations.write: Grants write access to sales quotations.
            salessubscriptions.read: Grants read access to subscriptions.
            salessubscriptions.write: Grants write access to subscriptions.
            system.worker.read: Read worker syncs
            system.worker.write: Write worker syncs
            worker.errors.read: Read the error log of the worker syncs
            worker.read: Read the worker service and its syncs
            worker.reset: Reset all worker syncs (destructive)
            worker.write: Control and configure worker syncs
            resources.read: Grants permission to read resource management data.
            resources.write: Grants permission to create and modify resource management data.
            pps.read: Grants permission to read production data.
            pps.write: Grants permission to create and modify production data.
            channels.read: Grants permission to read marketplace channels.
            invoices.print: >-
              Grants permission to print marketplace external documents
              (invoices, credit notes).
            marketplaceoffers.read: Grants permission to read marketplace offers and offer failures.
            marketplaceoffers.write: Grants permission to create and modify marketplace offers.
            notifications.read: Grants permission to read marketplace notifications.
            orders.write: >-
              Grants permission to modify marketplace order data (exclude/reset
              cancellation, payment, return and shipping uploads).
            scxoffers.read: >-
              Grants permission to read SCX offer data, such as channel
              attributes.
            scxoffers.write: >-
              Grants permission to write SCX offer data, such as refreshing
              attribute definitions.
            masterdata.company.irreversible.write: Perform irreversible company actions
            masterdata.email.write: Write email configuration
            taxes.write: Grants permission to create and modify tax data.
            output.read: Grants permission to read output templates and document types.
            output.write: Grants permission to manage output template sets.
            users.read: Grants permission to read users, user groups and permissions.
            users.write: >-
              Grants permission to create and modify users, user groups and
              their permissions.
            incominginvoices.read: >-
              Grants permission to read incoming invoices, including their line
              items, additional costs and payments, and the additional cost
              types.
            incominginvoices.write: >-
              Grants permission to create and modify incoming invoices,
              including their line items, additional costs and payments, and to
              maintain the additional cost types.
            health.read: Read health
            health.sessions.read: Read sessions and logged-in users
            application.runas: >-
              Allows the application to execute requests on behalf of another
              user.

````