Warehouse

Product Attribute update.

Update a product attributes

patch/rest/api/warehouse/product/attributes/

Request body

Example request

{
  "attributes": [
    {
      "id": 321,
      "productId": 462,
      "type": 1,
      "values": [
        {
          "value": "test",
          "id": 123
        }
      ]
    }
  ]
}

Response

Product Attributes updated successfully

Example response

{
  "attributes": [
    {
      "id": 30,
      "type": 1,
      "name": "Manufacturer code",
      "values": [
        {
          "id": 30,
          "value": "123456789"
        }
      ]
    },
    {
      "id": 31,
      "type": 16,
      "name": "Color",
      "values": [
        {
          "id": 12
        },
        {
          "id": 13
        }
      ]
    },
    {
      "id": 32,
      "type": 9,
      "name": "Materials",
      "values": [
        {
          "id": 15,
          "value": "Plastic"
        },
        {
          "id": 16,
          "value": "Metal"
        }
      ]
    },
    {
      "id": 33,
      "type": 1,
      "name": "Material",
      "values": [
        {
          "id": 17,
          "value": "Plastic"
        }
      ]
    },
    {
      "id": 34,
      "type": 2,
      "name": "IsMaterial",
      "values": [
        {
          "id": 18,
          "value": false
        }
      ]
    }
  ]
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.