UpdateProductRequest (object)
| Field | Type | Description |
|---|---|---|
| description | string | — |
| has_stock | boolean | — |
| internal_note | string | — |
| name | string | — |
| price_net | integer | — |
| purchase_price_net | integer | — |
| sku | string | — |
| tax_rate | number | — |
| type | string | string
|
| unit_code | string | UN/CEFACT unit of measure code (Recommendation 20/21). Null allowed for optional positions.
Code meanings:
- C62: unit (piece)
- HUR: hour
- DAY: day
- KGM: kilogram
- GRM: gram
- LTR: litre
- CMT: centimetre
- MTR: metre
- MTK: square metre
- MTQ: cubic metre
- KMT: kilometre
- TNE: tonne (metric)
- PAC: package
- PR: pair
- BOX: box
- RO: roll
- SET: set
- PCE: page
- MIN: minute
- SEC: second
- MLT: millilitre
- MMT: millimetre
- P1: percent
- ZZ: lump sum (generic / no unit)
string
|
Example (JSON)
{
"sku": "string",
"name": "string",
"description": "string",
"type": "physical",
"unit_code": "C62",
"tax_rate": 0
}