v1

latestOpenAPI 3.1.12026-07-24260246894.7 KB
Item Unit Of Measures

Partial update item unit of measure

Endpoint for partially updating an existing item unit of measure.

patch/item-units-of-measure/{id}/

Path parameters

idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

conversion_factornumber double

The conversion factor relative to the base unit.

created_tsstring date-time

The timestamp in UTC when the item unit of measure was created

idstring

The unique identifier of the item unit of measure.

is_activeboolean

Whether this unit of measure is active.

is_baseboolean

Whether this is the base unit of measure for the item.

is_default_purchaseboolean

Whether this is the default unit for purchases.

is_default_salesboolean

Whether this is the default unit for sales.

itemstring

The item this unit of measure belongs to.

modified_tsstring date-time

The timestamp in UTC when the item unit of measure was last modified

unit_costnumber double nullable

The unit cost for this unit of measure.

unit_of_measurestring

The unit of measure.

unit_of_measure_namestring

The name of the unit of measure.

unit_pricenumber double nullable

The unit price for this unit of measure.

Response

conversion_factornumber double required

The conversion factor relative to the base unit.

created_tsstring date-time required

The timestamp in UTC when the item unit of measure was created

idstring required

The unique identifier of the item unit of measure.

is_activeboolean

Whether this unit of measure is active.

is_baseboolean

Whether this is the base unit of measure for the item.

is_default_purchaseboolean

Whether this is the default unit for purchases.

is_default_salesboolean

Whether this is the default unit for sales.

itemstring required

The item this unit of measure belongs to.

modified_tsstring date-time required

The timestamp in UTC when the item unit of measure was last modified

unit_costnumber double nullable

The unit cost for this unit of measure.

unit_of_measurestring required

The unit of measure.

unit_of_measure_namestring required

The name of the unit of measure.

unit_pricenumber double nullable

The unit price for this unit of measure.