Unit of Measurement
Get a list of units of measurement related to products
HTTP Request
[GET] /api/v6/products/units
Fields
| Fields | Type | Description |
|---|---|---|
| id | integer | Identifier |
| unit_name | string | Unit name |
Filtering
| Fields | Support | Type | Description |
|---|---|---|---|
| id | eq | integer | Identifier |
| valid | is,in | bool | Valid or not |
Sort
| Sort (field) | Direction |
|---|---|
| id | asc,desc |
Limit & Offset
| Type | Description | |
|---|---|---|
| Limit | integer | Number of records to retrieve |
| Offset | integer | Number 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"
}
]