v1

latestOpenAPI 3.0.02026-08-06151101754.7 KB
Articles

Update article

put/articles/{articleId}

Path parameters

articleIdinteger required

Article id

Request body

namestring

Article name

manufacturerstring

Article manufacturer

manufacturer_article_nrstring

Article manufacturer number

eanstring

Article EAN

supplier_article_nrstring

Supplier article number

unit_pricenumber float

Price

currency'EUR' | 'USD' | 'CHF' | 'UAH' | 'PLN' | 'RON'

Currency

vat_ratenumber float

VAT rate

vat_includedboolean

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_datestring date-time

From(price date)

article_urlstring

Article url

infostring

Description

dangerous_materialboolean

Is it dangerous material?

group_idinteger

Group id

usednumber float

Amount of used material

sourcestring

The article source

source_external_idstring

The article source_external_id

Example request

{
  "unit_price": 2.5,
  "vat_rate": 19,
  "used": 0.5
}

Response

The request was successful.