List units of measure
Returns the merchant's units of measure sorted by code. Filter by category (count, weight, volume, length), status, or a text query; paginated with 0-based page and size (default 50).
BearerAuthAuthorizationBearer <JWT>category?stringOnly return units of this category: COUNT, WEIGHT, VOLUME or LENGTH (upper case).
"COUNT""WEIGHT""VOLUME""LENGTH"status?stringOnly return units in this status: ACTIVE, INACTIVE, ARCHIVED or DELETED.
"ACTIVE""INACTIVE""ARCHIVED""DELETED"query?stringText to search for in the unit's code or name, ignoring case.
page?integerPage number, starting at 0. See Paging.
int320size?integerNumber of records per page.
int3250X-TenantID*stringYour merchant's tenant code — the value typed in the Domain field on the iotoms login screen. See Concepts.
OK
*/*- response
status*stringOutcome of the call: SUCCESS when the request worked, ERROR when it did not.
message*stringShort human-readable message describing the result, for logs or display; do not parse it.
data?One page of units of measure, sorted by code, with paging details.
curl -X GET 'https://beta.iotoms.com/api/v1/catalog/uom' \ -H 'X-TenantID: your-tenant-code'{ "status": "string", "message": "string", "data": { "content": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "code": "string", "name": "string", "category": "COUNT", "decimalPrecision": 0, "status": "ACTIVE", "inUse": true } ], "page": 0, "size": 0, "totalElements": 0, "totalPages": 0, "last": true }}