> ## 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 Custom Attribute Values

> Replaces the custom fields that an SCX seller has stored for a channel category. The list describes the custom field entries the seller has for the category afterwards: an entry with an "Id" updates that entry (a property that is not sent keeps its stored value), an entry without an "Id" creates a new entry and needs a "ClientId", and a stored custom field entry that no list entry names is deleted, so an empty list deletes all of them. A new entry with the name of an existing field adds a value to that field; a changed name on an existing entry renames the field. Stored entries without a name are deleted as well, although the read operation never returns them; the call does not report them. Values with an attribute code are not touched. A custom field cannot hold a file, so the input has no file property. The whole call is one unit: if any rule is violated nothing is written. The result lists all custom field entries that the seller has for the category after the call, ordered like "QueryScxCategoryCustomAttributeValues" (REST: GET /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/custom-attribute-values) without a requested sort order, read after the change was saved; an entry whose list entry sent a "ClientId" carries it, a created entry together with its new "Id". The call has no concurrency protection: it writes the list as given, so an entry that another client created in the meantime is deleted as well. A repeated call is not idempotent for created entries: a retry sends no "Id" for an entry that the lost first call created, so it deletes that entry and creates a new one with a new "Id". A client that did not receive the result therefore reads the stored custom fields ("QueryScxCategoryCustomAttributeValues", REST: GET /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/custom-attribute-values) before it repeats the call. The parameter "cascadeRename" (default false) only has an effect when the call renames a custom field: if it is true, the custom fields with the old name of the items whose base data for this seller has this category are renamed as well; they are never merged into another field. Without it, the items keep their custom fields and only the category entries change. With "cascadeRename" the call is a heavy operation: it changes one custom field entry for each affected item and marks the same items for upload, all in one transaction that holds locks on these rows until it ends, so it should run outside peak hours. 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). 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].name"), 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. If a rename with "cascadeRename" would give an item two custom fields of the same name, or the stored items cannot tell the old names of renames apart or would rename a field that the call does not mean, the call is rejected as a conflict (error code SCX_CUSTOM_FIELD_CASCADE_CONFLICT) and nothing is written; the violations of the entries take precedence over a conflict. The conflict lists at most 100 items, ordered by item id, under "entries[<index>].name" with the index of the renamed entry; each text names the conflicting item by its public item id as "[…, item: <itemId>]", and the message names the total number of conflicting items. 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}/custom-attribute-values
openapi: 3.0.0
info:
  title: JTL-WAWI API (Cloud)
  description: "JTL-Wawi-Version: 2.4.0-alpha.261201171102+Sha.6d3e3b1\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}/custom-attribute-values:
    put:
      tags:
        - SCX
      summary: Set Scx Category Custom Attribute Values
      description: >-
        Replaces the custom fields that an SCX seller has stored for a channel
        category. The list describes the custom field entries the seller has for
        the category afterwards: an entry with an "Id" updates that entry (a
        property that is not sent keeps its stored value), an entry without an
        "Id" creates a new entry and needs a "ClientId", and a stored custom
        field entry that no list entry names is deleted, so an empty list
        deletes all of them. A new entry with the name of an existing field adds
        a value to that field; a changed name on an existing entry renames the
        field. Stored entries without a name are deleted as well, although the
        read operation never returns them; the call does not report them. Values
        with an attribute code are not touched. A custom field cannot hold a
        file, so the input has no file property. The whole call is one unit: if
        any rule is violated nothing is written. The result lists all custom
        field entries that the seller has for the category after the call,
        ordered like "QueryScxCategoryCustomAttributeValues" (REST: GET
        /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/custom-attribute-values)
        without a requested sort order, read after the change was saved; an
        entry whose list entry sent a "ClientId" carries it, a created entry
        together with its new "Id". The call has no concurrency protection: it
        writes the list as given, so an entry that another client created in the
        meantime is deleted as well. A repeated call is not idempotent for
        created entries: a retry sends no "Id" for an entry that the lost first
        call created, so it deletes that entry and creates a new one with a new
        "Id". A client that did not receive the result therefore reads the
        stored custom fields ("QueryScxCategoryCustomAttributeValues", REST: GET
        /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/custom-attribute-values)
        before it repeats the call. The parameter "cascadeRename" (default
        false) only has an effect when the call renames a custom field: if it is
        true, the custom fields with the old name of the items whose base data
        for this seller has this category are renamed as well; they are never
        merged into another field. Without it, the items keep their custom
        fields and only the category entries change. With "cascadeRename" the
        call is a heavy operation: it changes one custom field entry for each
        affected item and marks the same items for upload, all in one
        transaction that holds locks on these rows until it ends, so it should
        run outside peak hours. 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). 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].name"), 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. If a rename with "cascadeRename"
        would give an item two custom fields of the same name, or the stored
        items cannot tell the old names of renames apart or would rename a field
        that the call does not mean, the call is rejected as a conflict (error
        code SCX_CUSTOM_FIELD_CASCADE_CONFLICT) and nothing is written; the
        violations of the entries take precedence over a conflict. The conflict
        lists at most 100 items, ordered by item id, under
        "entries[<index>].name" with the index of the renamed entry; each text
        names the conflicting item by its public item id as "[…, item:
        <itemId>]", and the message names the total number of conflicting items.
        The grouping is delivered in the same form on every API surface.
      operationId: AttributeValues_SetScxCategoryCustomAttributeValues
      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: cascadeRename
          in: query
          required: true
          description: >-
            Whether a rename of a custom field also renames the custom fields of
            the items whose base data for this seller has this category.
            Optional, default false; has no effect without a rename. The REST
            schema lists this parameter as required, because the schema
            generator does not keep the optionality of the parameter; the API
            accepts a request without it, and a client generated from the REST
            schema may not be able to omit it. GraphQL treats it as optional.
          schema:
            type: boolean
        - 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: SetScxCategoryCustomAttributeValuesRequest
        description: ''
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/JTL.Wawi.Marketplace.Scx.PublicApi.Endpoints.V2.AttributeValues.SetScxCategoryCustomAttributeValuesRequest
        required: true
        x-position: 1
      responses:
        '200':
          description: >-
            The custom fields were replaced. Returns the stored custom field
            entries of the seller for the category; an entry whose list entry
            sent a client id carries it.
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.SetScxCategoryCustomAttributeValuesCommandResponse
        '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 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_CUSTOM_FIELD_NAME_INVALID (name: the
            name of a new entry, or of an existing entry with a changed name, is
            empty or longer than 255 characters), SCX_CUSTOM_FIELD_NAME_CONFLICT
            (name: a rename merges the entry into a field of another name),
            SCX_CUSTOM_FIELD_PARTIAL_RENAME (name: a rename gives only some
            entries of a field the new name), SCX_ATTRIBUTE_VALUE_EMPTY (value:
            the value is empty or blank after merging),
            SCX_ATTRIBUTE_VALUE_NOT_FOUND (id: no custom field entry of this
            category and seller has that id, which includes the id of a value
            with an attribute code), SCX_ATTRIBUTE_VALUE_ID_DUPLICATE (id: the
            same id appears in more than one entry), 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'
        '409':
          description: >-
            A rename with "cascadeRename" set to true would give an item two
            custom fields of the same name, or the stored items cannot tell the
            old names of renames apart or would rename a field that the call
            does not mean (error code SCX_CUSTOM_FIELD_CASCADE_CONFLICT). Only
            reported when the entries violate no rule. The conflicting items are
            listed under "entries[<index>].name", at most 100 of them, ordered
            by item id; each text names the conflicting item by its public item
            id as "[…, item: <itemId>]", and the message names the total number.
            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.SetScxCategoryCustomAttributeValuesRequest:
      type: object
      description: >-
        Request model for SetScxCategoryCustomAttributeValues command endpoint.

        Route parameters bind from the route, query parameters from the query
        string, everything else from the body.
      additionalProperties: false
      required:
        - customAttributeValues
      properties:
        customAttributeValues:
          type: array
          description: >-
            The complete list of custom field entries 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.ScxCategoryCustomAttributeValueInput
    JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.SetScxCategoryCustomAttributeValuesCommandResponse:
      type: object
      description: >-
        Replaces the custom fields that an SCX seller has stored for a channel
        category. The list describes the custom field entries the seller has for
        the category afterwards: an entry with an "Id" updates that entry (a
        property that is not sent keeps its stored value), an entry without an
        "Id" creates a new entry and needs a "ClientId", and a stored custom
        field entry that no list entry names is deleted, so an empty list
        deletes all of them. A new entry with the name of an existing field adds
        a value to that field; a changed name on an existing entry renames the
        field. Stored entries without a name are deleted as well, although the
        read operation never returns them; the call does not report them. Values
        with an attribute code are not touched. A custom field cannot hold a
        file, so the input has no file property. The whole call is one unit: if
        any rule is violated nothing is written. The result lists all custom
        field entries that the seller has for the category after the call,
        ordered like "QueryScxCategoryCustomAttributeValues" (REST: GET
        /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/custom-attribute-values)
        without a requested sort order, read after the change was saved; an
        entry whose list entry sent a "ClientId" carries it, a created entry
        together with its new "Id". The call has no concurrency protection: it
        writes the list as given, so an entry that another client created in the
        meantime is deleted as well. A repeated call is not idempotent for
        created entries: a retry sends no "Id" for an entry that the lost first
        call created, so it deletes that entry and creates a new one with a new
        "Id". A client that did not receive the result therefore reads the
        stored custom fields ("QueryScxCategoryCustomAttributeValues", REST: GET
        /v2/scx/sellers/{salesChannelId}/categories/{channelCategoryId}/custom-attribute-values)
        before it repeats the call. The parameter "cascadeRename" (default
        false) only has an effect when the call renames a custom field: if it is
        true, the custom fields with the old name of the items whose base data
        for this seller has this category are renamed as well; they are never
        merged into another field. Without it, the items keep their custom
        fields and only the category entries change. With "cascadeRename" the
        call is a heavy operation: it changes one custom field entry for each
        affected item and marks the same items for upload, all in one
        transaction that holds locks on these rows until it ends, so it should
        run outside peak hours. 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). 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].name"), 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. If a rename with "cascadeRename"
        would give an item two custom fields of the same name, or the stored
        items cannot tell the old names of renames apart or would rename a field
        that the call does not mean, the call is rejected as a conflict (error
        code SCX_CUSTOM_FIELD_CASCADE_CONFLICT) and nothing is written; the
        violations of the entries take precedence over a conflict. The conflict
        lists at most 100 items, ordered by item id, under
        "entries[<index>].name" with the index of the renamed entry; each text
        names the conflicting item by its public item id as "[…, item:
        <itemId>]", and the message names the total number of conflicting items.
        The grouping is delivered in the same form on every API surface. -
        Response
      additionalProperties: false
      required:
        - customAttributeValues
      properties:
        customAttributeValues:
          type: array
          description: >-
            The custom field entries 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.ScxCategoryCustomAttributeValueResult
    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.ScxCategoryCustomAttributeValueInput:
      type: object
      description: >-
        One entry of the list that replaces the custom fields that an SCX seller
        has stored for a channel category. An entry with an "Id" updates that
        stored entry; an entry without an "Id" creates a new entry. A property
        that is not sent, or is null, keeps the stored value of an existing
        entry. Read-only properties of the stored entry, such as
        "SalesChannelId" and "ChannelCategoryId", 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
        - name
        - value
        - isTemplate
      properties:
        id:
          $ref: >-
            #/components/schemas/JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryAttributeSellerValueKey
          description: >-
            ID of the stored entry the entry updates. Omit to create a new
            entry; the entry then needs a "ClientId". The ID must belong to a
            custom field of 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 entry, for a created entry together with its new "Id".
        name:
          type: string
          description: >-
            Name of the custom field; surrounding white space is removed.
            Required for a new entry and must not be empty or longer than 255
            characters. Several entries with the same name are the values of one
            field. A changed name on an existing entry renames the field; all
            entries of a field must then get the same new name, and the new name
            must not belong to another field. Omit to keep the stored name of an
            existing entry.
        value:
          type: string
          description: >-
            Value of the custom field as it is transmitted to the marketplace,
            or the template if "IsTemplate" is true. A blank value is rejected
            like an empty one. Omit to keep the stored value of an existing
            entry.
        isTemplate:
          type: boolean
          description: >-
            Whether the value is a template written in Liquid syntax. Omit to
            keep the stored setting of an existing entry.
    JTL.Wawi.Marketplace.Scx.PublicApi.DataTransferObjects.V2.AttributeValues.ScxCategoryCustomAttributeValueResult:
      type: object
      description: >-
        A custom field entry that an SCX seller has stored for a channel
        category as it is stored after the custom fields were replaced: the
        properties of a custom field entry of a category, plus the client id
        that the entry of the request sent for it.
      additionalProperties: false
      required:
        - name
        - value
        - isTemplate
        - id
        - salesChannelId
        - channelCategoryId
      properties:
        name:
          type: string
          description: >-
            Name of the custom field. Several values with the same name are the
            values of one field.
        value:
          type: string
          description: >-
            Value of the custom field 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.
        id:
          $ref: >-
            #/components/schemas/JTL.Wawi.Marketplace.Scx.Types.Keys.ScxCategoryAttributeSellerValueKey
          description: ID of the custom field 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.
        clientId:
          type: string
          description: >-
            Client id that the entry of the request sent for this entry, so that
            the client can assign the entry to its request entry, a created
            entry together with its new "Id". Null for an entry that no request
            entry names and for a request 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.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
  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.
            masterdata.company.irreversible.write: Perform irreversible company actions
            masterdata.write: Write master data
            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.
            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.
            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.
            masterdata.company.irreversible.write: Perform irreversible company actions
            masterdata.write: Write master data
            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.
            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.
            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.

````