Uoms List

GET

Gets the Unit of Measurements based on the given filters.

Query parameters

aggregation_typesenumOptional

List of aggregation types for filtering list of UOMs.

cursorstringOptional

The cursor to resume iteration from. If not provided, then iteration starts from the beginning.

idsstringOptional

List of Unit of Measurement (UOM) DONs to be used in filtering complete list of UOMs defined in a Dev Org.

limitintegerOptional

The maximum number of UOMs to be returned in a response. The default is ‘50’.

metric_namesstringOptional

List of metric names for filtering list of UOMs.

mode"after" or "before"Optional

The iteration mode to use, otherwise if not set, then “after” is used.

Allowed values: afterbefore
part_idsstringOptional

List of part IDs for filtering list of UOMs.

product_idsstringOptional

List of product IDs for filtering list of UOMs.

sort_bystringOptional

Fields to sort the Unit Of Measuments (UOMs) by and the direction to sort them.

unit_types"boolean" or "number"Optional

List of unit types for filtering list of UOMs.

Allowed values: booleannumber

Response

This endpoint returns an object.
uomslist of objects

The list of Unit of Measurement (UOM) objects.

next_cursorstringOptional

The cursor used to iterate subsequent results in accordance to the sort order. If not set, then no later elements exist.

prev_cursorstringOptional

The cursor used to iterate preceding results in accordance to the sort order. If not set, then no prior elements exist.