List UOMs (POST)
Gets the Unit of Measurements based on the given filters.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
aggregation_types
List of aggregation types for filtering list of UOMs.
cursor
The cursor to resume iteration from. If not provided, then
iteration starts from the beginning.
ids
List of Unit of Measurement (UOM) DONs to be used in filtering
complete list of UOMs defined in a Dev Org.
limit
The maximum number of UOMs to be returned in a response. The
default is '50'.
metric_names
List of metric names for filtering list of UOMs.
mode
The iteration mode to use. If "after", then entries after the provided
cursor will be returned, or if no cursor is provided, then from the
beginning. If "before", then entries before the provided cursor will be
returned, or if no cursor is provided, then from the end. Entries will
always be returned in the specified sort-by order.
Allowed values:
part_ids
List of part IDs for filtering list of UOMs.
product_ids
List of product IDs for filtering list of UOMs.
sort_by
Fields to sort the Unit Of Measuments (UOMs) by and the direction
to sort them.
unit_types
List of unit types for filtering list of UOMs.
Allowed values:
Response
Success.
uoms
The list of Unit of Measurement (UOM) objects.
next_cursor
The cursor used to iterate subsequent results in accordance to the
sort order. If not set, then no later elements exist.
prev_cursor
The cursor used to iterate preceding results in accordance to the
sort order. If not set, then no prior elements exist.