Get UOMs
GET/uoms
Returns all units of measure available for the resolved company in a single response (not paginated).
Responses
- 200
- 400
- 401
- 403
- 429
- 500
- 503
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
UOM identifier; matches uom_id in good
Possible values: >= 2 characters and <= 32 characters
Full name
Possible values: non-empty and <= 16 characters
Short display label
Possible values: <= 3
Decimal exponent (e.g. 3 means quantities are in thousandths)
{
"items": [
{
"id": "33333333-3333-4333-8333-333333333333",
"name": "Kilogram",
"symbol": "kg",
"exponent": 0
}
]
}
Bad request — malformed syntax, invalid parameters, or failed validation.
Typical code values: validation_error, invalid_request.
List endpoints that accept a cursor parameter additionally return invalid_cursor when the cursor is invalid or expired.
- application/problem+json
- Schema
- Example (from schema)
- validation
Schema
Array [
]
Short human-readable summary
URI reference identifying the problem category
URI reference identifying the specific request that caused this error (e.g. the request path).
Correlation id for support (report when contacting support)
HTTP status code
Machine-readable code for client branching
Human-readable explanation (optional)
Stable extension when code is existing_entity_conflict. For a duplicate external_data.id within the company,
the value is duplicate_external_data_id.
errors
object
nullable
Present when code is validation_error. Keys are field names; values are arrays of human-readable error messages for that field.
property name*
string[]
nullable
string
{
"title": "string",
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"instance": "/api/catalog/goods/regular",
"trace_id": "00-84c1fd4063c38d9f3900d06e56542d48-85d1d4-00",
"status": 0,
"code": "validation_error",
"detail": "string",
"reason": "duplicate_external_data_id",
"errors": {
"uom_id": [
"'uom_id' must not be empty."
],
"vat": [
"'vat' must not be empty."
],
"variations": [
"'variations' must contain between 1 and 150 items."
]
}
}
{
"title": "One or more errors occurred.",
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"trace_id": "00-00000000000000000000000000000000-00000000-00",
"status": 400,
"instance": "/api/catalog/goods/regular",
"code": "validation_error",
"errors": {
"name": [
"'name' must not be empty."
]
}
}
Missing or invalid credentials before the gateway forwards context (when applicable). The response has no body (empty payload).
Caller is not allowed to access this resource or company. The response has no body (empty payload).
Rate limit exceeded.
Response Headers
Retry-After
integer
Seconds to wait before retrying
- application/problem+json
- Schema
- Example (from schema)
- rateLimit
Schema
Array [
]
Short human-readable summary
URI reference identifying the problem category
URI reference identifying the specific request that caused this error (e.g. the request path).
Correlation id for support (report when contacting support)
HTTP status code
Machine-readable code for client branching
Human-readable explanation (optional)
Stable extension when code is existing_entity_conflict. For a duplicate external_data.id within the company,
the value is duplicate_external_data_id.
errors
object
nullable
Present when code is validation_error. Keys are field names; values are arrays of human-readable error messages for that field.
property name*
string[]
nullable
string
{
"title": "string",
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"instance": "/api/catalog/goods/regular",
"trace_id": "00-84c1fd4063c38d9f3900d06e56542d48-85d1d4-00",
"status": 0,
"code": "validation_error",
"detail": "string",
"reason": "duplicate_external_data_id",
"errors": {
"uom_id": [
"'uom_id' must not be empty."
],
"vat": [
"'vat' must not be empty."
],
"variations": [
"'variations' must contain between 1 and 150 items."
]
}
}
{
"title": "Too Many Requests",
"type": "https://tools.ietf.org/html/rfc6585#section-4",
"trace_id": "00-00000000000000000000000000000000-00000000-00",
"status": 429,
"code": "unexpected_error"
}
Unexpected server error.
- application/problem+json
- Schema
- Example (from schema)
- unexpected
Schema
Array [
]
Short human-readable summary
URI reference identifying the problem category
URI reference identifying the specific request that caused this error (e.g. the request path).
Correlation id for support (report when contacting support)
HTTP status code
Machine-readable code for client branching
Human-readable explanation (optional)
Stable extension when code is existing_entity_conflict. For a duplicate external_data.id within the company,
the value is duplicate_external_data_id.
errors
object
nullable
Present when code is validation_error. Keys are field names; values are arrays of human-readable error messages for that field.
property name*
string[]
nullable
string
{
"title": "string",
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"instance": "/api/catalog/goods/regular",
"trace_id": "00-84c1fd4063c38d9f3900d06e56542d48-85d1d4-00",
"status": 0,
"code": "validation_error",
"detail": "string",
"reason": "duplicate_external_data_id",
"errors": {
"uom_id": [
"'uom_id' must not be empty."
],
"vat": [
"'vat' must not be empty."
],
"variations": [
"'variations' must contain between 1 and 150 items."
]
}
}
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.6.1",
"trace_id": "00-00000000000000000000000000000000-00000000-00",
"status": 500,
"code": "internal_server_error"
}
Service temporarily unavailable.
- application/problem+json
- Schema
- Example (from schema)
- unavailable
Schema
Array [
]
Short human-readable summary
URI reference identifying the problem category
URI reference identifying the specific request that caused this error (e.g. the request path).
Correlation id for support (report when contacting support)
HTTP status code
Machine-readable code for client branching
Human-readable explanation (optional)
Stable extension when code is existing_entity_conflict. For a duplicate external_data.id within the company,
the value is duplicate_external_data_id.
errors
object
nullable
Present when code is validation_error. Keys are field names; values are arrays of human-readable error messages for that field.
property name*
string[]
nullable
string
{
"title": "string",
"type": "https://tools.ietf.org/html/rfc9110#section-15.5.1",
"instance": "/api/catalog/goods/regular",
"trace_id": "00-84c1fd4063c38d9f3900d06e56542d48-85d1d4-00",
"status": 0,
"code": "validation_error",
"detail": "string",
"reason": "duplicate_external_data_id",
"errors": {
"uom_id": [
"'uom_id' must not be empty."
],
"vat": [
"'vat' must not be empty."
],
"variations": [
"'variations' must contain between 1 and 150 items."
]
}
}
{
"type": "https://tools.ietf.org/html/rfc9110#section-15.6.4",
"trace_id": "00-00000000000000000000000000000000-00000000-00",
"status": 503
}