Unit Of Measures

Update unit of measure

Endpoint for updating an existing unit of measure.

put/units-of-measure/{id}/

Request

  • Base URL
    https://api.wafeq.com/v1
  • URL
    https://api.wafeq.com/v1/units-of-measure/{id}/
  • Auth
    API key in header Authorization

Path parameters

idstring required

Headers

X-Wafeq-Idempotency-Keystring

Client-provided UUID to uniquely identify a request

Request body

created_tsstring date-time required

The timestamp in UTC when the unit of measure was created

idstring required

The unique identifier of the unit of measure.

is_activeboolean

Whether the unit of measure is active.

modified_tsstring date-time required

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

namestring required

The name of the unit of measure.

name_arstring

The Arabic name of the unit of measure.

Response

created_tsstring date-time required

The timestamp in UTC when the unit of measure was created

idstring required

The unique identifier of the unit of measure.

is_activeboolean

Whether the unit of measure is active.

modified_tsstring date-time required

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

namestring required

The name of the unit of measure.

name_arstring

The Arabic name of the unit of measure.

Changes

No recorded changes to this operation across all 2 revisions of this API.