Commodity Code
Learn how to create, retrieve, update, delete, activate, and deactivate commodity codes using the VARIO Cloud REST API.
Commodity Code (SOVA)
an identifier
successful operation
Commodity code.
Version Identifier for this Object (for PUT)
Unique identifier of the Object
active
trueCommodity code.
^[0-9]*$Description.
Special unit of measure.
Special unit of measure (numeric code).
\d{2}Resource with given ID was not found
GET /cmn/commodity-codes/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"commodityCode": "text",
"description": "text",
"specialUnitType": "text",
"specialUnitTypeCode": "text"
}an identifier
Commodity code.
Version Identifier for this Object (for PUT)
Unique identifier of the Object
active
trueCommodity code.
^[0-9]*$Description.
Special unit of measure.
Special unit of measure (numeric code).
\d{2}successful operation
Commodity code.
Version Identifier for this Object (for PUT)
Unique identifier of the Object
active
trueCommodity code.
^[0-9]*$Description.
Special unit of measure.
Special unit of measure (numeric code).
\d{2}Resource was not found
Resource was not valid to process
PUT /cmn/commodity-codes/{id} HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"version": "text",
"info": {},
"id": "text",
"commodityCode": "text",
"description": "text",
"specialUnitType": "text",
"specialUnitTypeCode": "text"
}{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"commodityCode": "text",
"description": "text",
"specialUnitType": "text",
"specialUnitTypeCode": "text"
}an identifier
successful operation
message context
message
Resource was not found
unable to delete Resource, due to constraints, existing references or internal state
DELETE /cmn/commodity-codes/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
"context": "text",
"messageValue": "text"
}identifier
successful operation
Commodity code.
Version Identifier for this Object (for PUT)
Unique identifier of the Object
active
trueCommodity code.
^[0-9]*$Description.
Special unit of measure.
Special unit of measure (numeric code).
\d{2}Resource was not found
Resource was not valid to process
PUT /cmn/commodity-codes/{id}/deactivate HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"commodityCode": "text",
"description": "text",
"specialUnitType": "text",
"specialUnitTypeCode": "text"
}identifier
successful operation
Commodity code.
Version Identifier for this Object (for PUT)
Unique identifier of the Object
active
trueCommodity code.
^[0-9]*$Description.
Special unit of measure.
Special unit of measure (numeric code).
\d{2}Resource was not found
Resource was not valid to process
PUT /cmn/commodity-codes/{id}/activate HTTP/1.1
Host: api.example.com
Accept: */*
{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"commodityCode": "text",
"description": "text",
"specialUnitType": "text",
"specialUnitTypeCode": "text"
}Commodity code.
Version Identifier for this Object (for PUT)
Unique identifier of the Object
active
trueCommodity code.
^[0-9]*$Description.
Special unit of measure.
Special unit of measure (numeric code).
\d{2}successful operation
Commodity code.
Version Identifier for this Object (for PUT)
Unique identifier of the Object
active
trueCommodity code.
^[0-9]*$Description.
Special unit of measure.
Special unit of measure (numeric code).
\d{2}Resource was not valid to process
POST /cmn/commodity-codes HTTP/1.1
Host: api.example.com
Content-Type: application/json
Accept: */*
Content-Length: 138
{
"version": "text",
"info": {},
"id": "text",
"commodityCode": "text",
"description": "text",
"specialUnitType": "text",
"specialUnitTypeCode": "text"
}{
"version": "text",
"info": {
"createdAt": "2026-01-01T00:00:00.000Z",
"createdFrom": "text",
"updatedAt": "2026-01-01T00:00:00.000Z",
"updatedFrom": "text"
},
"id": "text",
"active": true,
"commodityCode": "text",
"description": "text",
"specialUnitType": "text",
"specialUnitTypeCode": "text"
}Last updated
Was this helpful?