Update item unit of measureCopy Pageput https://api.wafeq.com/v1/item-units-of-measure/{id}/Endpoint for updating an existing item unit of measure.Path ParamsidstringrequiredBody Paramsapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataA ModelSerializer that takes additional arguments for "fields", "omit" and "expand" in order to control which fields are displayed, and whether to replace simple values with complex, nested serializationsconversion_factordoublerequiredThe conversion factor relative to the base unit.is_activebooleanDefaults to trueWhether this unit of measure is active.truefalseis_basebooleanDefaults to falseWhether this is the base unit of measure for the item.truefalseis_default_purchasebooleanDefaults to falseWhether this is the default unit for purchases.truefalseis_default_salesbooleanDefaults to falseWhether this is the default unit for sales.truefalseitemstringrequiredThe item this unit of measure belongs to.unit_costdouble | nullThe unit cost for this unit of measure.unit_of_measurestringrequiredThe unit of measure.unit_pricedouble | nullThe unit price for this unit of measure.HeadersX-Wafeq-Idempotency-KeystringClient-provided UUID to uniquely identify a requestcontent-typestringenumDefaults to application/jsonGenerated from available request content typesapplication/jsonapplication/x-www-form-urlencodedmultipart/form-dataAllowed:application/jsonapplication/x-www-form-urlencodedmultipart/form-dataResponse 200Updated 24 days ago