---
title: "Update article"
method: PUT
path: "/articles/{articleId}"
tags: ["Articles"]
---

# Update article

`PUT /articles/{articleId}`

## Path parameters

- `articleId` integer, required

## Request body

- UpdateArticleRequest
  - `name` string — Article name
  - `manufacturer` string — Article manufacturer
  - `manufacturer_article_nr` string — Article manufacturer number
  - `ean` string — Article EAN
  - `supplier_article_nr` string — Supplier article number
  - `unit_price` number, float — Price
  - `currency` 'EUR' | 'USD' | 'CHF' | 'UAH' | 'PLN' | 'RON' — Currency
  - `vat_rate` number, float — VAT rate
  - `vat_included` boolean — Price is VAT included
  - `unit` 'BAG' | 'BAR' | 'BOTTLE' | 'BOX' | 'BUCKET' | 'BUNCH' | 'CAN' | 'CANISTER' | 'CARDBOARD' | 'CUBIC_METRE' | 'CENTIMETERS' | 'CONTAINER' | 'DAYS' | 'DOZEN' | 'FLAT_FEE' | 'GRAMS' | 'HOURS' | 'KILOGRAMS' | 'KILOMETER' | 'KILOWATT_PEAK' | 'LITRE' | 'METRES' | 'MILLILITRE' | 'MILLIMETRES' | 'PACK' | 'PAIR' | 'PANEL' | 'PARCEL' | 'PERCENT' | 'PIECE' | 'ROLL' | 'RUNNING_METER' | 'SAC' | 'SET' | 'SQUAREMETER' | 'TONS' | 'TRIMMING' | 'TUBE' — Unit
  - `price_date` string, date-time — From(price date)
  - `article_url` string — Article url
  - `info` string — Description
  - `dangerous_material` boolean — Is it dangerous material?
  - `group_id` integer — Group id
  - `used` number, float — Amount of used material
  - `source` string — The article source
  - `source_external_id` string — The article source_external_id

## Response `200`

The request was successful.

## Other responses

- `401` — The request lacks valid authentication credentials.
- `403` — The token is valid but lacks the permission for this action.
- `404` — The requested resource could not be found.
- `422` — The request was well-formed but contains semantic errors (validation failed).
- `500` — An unexpected error occurred on the server (e.g. a requested relation does not exist).

---

[API](https://skmtc.net/craftboxx/apis/craftboxx-api-documentation.md) · [All operations](https://skmtc.net/craftboxx/apis/craftboxx-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/craftboxx/craftboxx-api-documentation/versions/c01f07a02f77/schema)
