Files
dashback/docs/api/routes/article/_sku/property.put.md
2026-09-30 20:12:30 +02:00

1.0 KiB

PUT /article/{sku}/property

Protected. Requires a valid session cookie (credentials: 'include').

Bulk set article properties

Replaces all properties for an article.

Path parameters

Param Required Type Description
sku yes string Article SKU

Body (JSON)

Field Required Type Description
properties yes object[]
properties[].propertyId yes integer
properties[].value yes string
properties[].sort no integer
{
  "properties": [
    {
      "propertyId": 1,
      "value": "…",
      "sort": 1
    }
  ]
}

Response 200

Updated article properties

{
  "properties": [
    {
      "id": 1,
      "articleId": 1,
      "propertyId": 1,
      "name": "…",
      "exclusive": true,
      "value": "…",
      "sort": 1
    }
  ]
}

Generated from @openapi JSDoc. Do not edit by hand — run npm run docs:api.