Skip to main content

Unit of Measurement

Get a list of units of measurement related to products

HTTP Request

[GET] /api/v6/products/units

Fields

FieldsTypeDescription
idintegerIdentifier
unit_namestringUnit name

Filtering

FieldsSupportTypeDescription
ideqintegerIdentifier
validis,inboolValid or not

Sort

Sort (field)Direction
idasc,desc

Limit & Offset

TypeDescription
LimitintegerNumber of records to retrieve
OffsetintegerNumber of records to skip

Example

HTTP Request

GET api/v6/products/units?fields=unit_name&limit=1&offset=0&filtering[id]=1 HTTP/1.1
Host: example.getflycrm.com
Content-Type: application/json

Status

200 OK

Response

[
{
"unit_id": 1,
"unit_name": "Piece"
}
]