v1

latestOpenAPI 3.0.22026-07-223907721.1 MB
Attributes

Seller Attributes

Create or update Seller specific attributes. These kind of attributes can be used to provide seller specific attributes on global scope. Seller specific attributes not depending on categories and are visible for offers in a global scope.

put/v1/channel/attribute/seller/{sellerId}

Path parameters

sellerIdstring required

A unique Id identify a Seller on a specific SalesChannel. The SellerId is generated from the Channel itself during the Seller SignUp Process.

Example:4711

A unique Id identify a Seller on a specific SalesChannel. The SellerId is generated from the Channel itself during the Seller SignUp Process.

Headers

Content-Encoding'gzip'

Use the Content-Encoding: gzip when sending JSON requestBody as compressed payload. This is recommended when creating huge category trees. There is a limit of 32 MB on this route.

Request body

Example request

{
  "attributeList": [
    {
      "attributeId": "12323",
      "displayName": "Brand",
      "type": "text",
      "values": [
        {
          "value": "Beer"
        },
        {
          "value": "Tee",
          "display": "Wine"
        }
      ],
      "attributeValueValidation": "/^[0-9]{13}$/",
      "conditionalMandatoryBy": [
        {
          "attributeId": "12323",
          "attributeValues": [
            "High"
          ]
        }
      ],
      "conditionalOptionalBy": [
        {
          "attributeId": "12323",
          "attributeValues": [
            "No Frame"
          ]
        }
      ],
      "required": true,
      "section": "Colors and Appearance",
      "isRepeatableSubSection": true,
      "subSection": "Length",
      "isVariationDimension": true,
      "enumValues": [
        "Blue"
      ]
    }
  ]
}

Response

Seller attribute created