Read product units

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://rest-api.developer.24sevenoffice.com/doc/v1/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "v1 MCP server": {
    "url": "https://rest-api.developer.24sevenoffice.com/doc/v1/mcp"
  }
}

Close
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"
  }
]