Read product units

GET /productunits

Read a list of available units of measurement for products.

Headers

  • Authorization string Required

    Authorization header

Responses

  • 200 application/json

    Success

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string
    • Access-Control-Allow-Credentials string
    • X-Trace-Id string
    Hide response attributes Show response attributes object
    • id number | null

      The ID of the unit of measurement.

    • name string | null

      The name of the unit of measurement.

    • symbol string | null

      The symbol of the unit of measurement.

GET /productunits
curl \
 --request GET 'https://rest.api.24sevenoffice.com/v1/productunits' \
 --header "Authorization: string"
Response examples (200)
[
  {
    "id": 1,
    "name": "Litre",
    "symbol": "l"
  },
  {
    "id": 2,
    "name": "Metre",
    "symbol": "m"
  },
  {
    "id": 3,
    "name": "Kilometre",
    "symbol": "km"
  }
]