For the complete documentation index, see llms.txt. This page is also available as Markdown.

Commodity Code

Learn how to create, retrieve, update, delete, activate, and deactivate commodity codes using the VARIO Cloud REST API.

Commodity Code (SOVA)

Find an existing Resource by identifier

get
Path parameters
idinteger · int64Required

an identifier

Responses
200

successful operation

*/*

Commodity code.

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

activebooleanRead-onlyOptional

active

Default: true
commodityCodestring · min: 8 · max: 8Required

Commodity code.

Pattern: ^[0-9]*$
descriptionstring · max: 255Optional

Description.

specialUnitTypestring · max: 16Optional

Special unit of measure.

specialUnitTypeCodestringOptional

Special unit of measure (numeric code).

Pattern: \d{2}
get/cmn/commodity-codes/{id}
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"
}

Update existing Resource

put
Path parameters
idinteger · int64Required

an identifier

Body

Commodity code.

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

activebooleanRead-onlyOptional

active

Default: true
commodityCodestring · min: 8 · max: 8Required

Commodity code.

Pattern: ^[0-9]*$
descriptionstring · max: 255Optional

Description.

specialUnitTypestring · max: 16Optional

Special unit of measure.

specialUnitTypeCodestringOptional

Special unit of measure (numeric code).

Pattern: \d{2}
Responses
200

successful operation

*/*

Commodity code.

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

activebooleanRead-onlyOptional

active

Default: true
commodityCodestring · min: 8 · max: 8Required

Commodity code.

Pattern: ^[0-9]*$
descriptionstring · max: 255Optional

Description.

specialUnitTypestring · max: 16Optional

Special unit of measure.

specialUnitTypeCodestringOptional

Special unit of measure (numeric code).

Pattern: \d{2}
put/cmn/commodity-codes/{id}
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"
}

Delete an existing Resource

delete
Path parameters
idinteger · int64Required

an identifier

Responses
200

successful operation

*/*
contextstringOptional

message context

messageValuestringOptional

message

delete/cmn/commodity-codes/{id}
DELETE /cmn/commodity-codes/{id} HTTP/1.1
Host: api.example.com
Accept: */*
{
  "context": "text",
  "messageValue": "text"
}

Deactivate an existing resource

put
Path parameters
idinteger · int64Required

identifier

Responses
200

successful operation

*/*

Commodity code.

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

activebooleanRead-onlyOptional

active

Default: true
commodityCodestring · min: 8 · max: 8Required

Commodity code.

Pattern: ^[0-9]*$
descriptionstring · max: 255Optional

Description.

specialUnitTypestring · max: 16Optional

Special unit of measure.

specialUnitTypeCodestringOptional

Special unit of measure (numeric code).

Pattern: \d{2}
put/cmn/commodity-codes/{id}/deactivate
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"
}

Activate an existing resource

put
Path parameters
idinteger · int64Required

identifier

Responses
200

successful operation

*/*

Commodity code.

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

activebooleanRead-onlyOptional

active

Default: true
commodityCodestring · min: 8 · max: 8Required

Commodity code.

Pattern: ^[0-9]*$
descriptionstring · max: 255Optional

Description.

specialUnitTypestring · max: 16Optional

Special unit of measure.

specialUnitTypeCodestringOptional

Special unit of measure (numeric code).

Pattern: \d{2}
put/cmn/commodity-codes/{id}/activate
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"
}

Create new Resource

post
Body

Commodity code.

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

activebooleanRead-onlyOptional

active

Default: true
commodityCodestring · min: 8 · max: 8Required

Commodity code.

Pattern: ^[0-9]*$
descriptionstring · max: 255Optional

Description.

specialUnitTypestring · max: 16Optional

Special unit of measure.

specialUnitTypeCodestringOptional

Special unit of measure (numeric code).

Pattern: \d{2}
Responses
200

successful operation

*/*

Commodity code.

versionstringOptional

Version Identifier for this Object (for PUT)

idstringOptional

Unique identifier of the Object

activebooleanRead-onlyOptional

active

Default: true
commodityCodestring · min: 8 · max: 8Required

Commodity code.

Pattern: ^[0-9]*$
descriptionstring · max: 255Optional

Description.

specialUnitTypestring · max: 16Optional

Special unit of measure.

specialUnitTypeCodestringOptional

Special unit of measure (numeric code).

Pattern: \d{2}
post/cmn/commodity-codes
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?