Unit Of Measures

Create unit of measure

Endpoint for creating a new unit of measure.

post/units-of-measure/

Request

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

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.