Skip to main content
GET
/
products
/
{id}
Get product by ID
curl --request GET \
  --url https://integrations.clopos.com/open-api/v2/products/{id} \
  --header 'x-token: <api-key>'
{
  "id": 123,
  "type": "GOODS",
  "name": "<string>",
  "full_name": "<string>",
  "status": 123,
  "price": 123,
  "cost_price": 123,
  "has_modifications": true,
  "modifications": [
    {
      "id": 123,
      "parent_id": 123,
      "type": "MODIFICATION",
      "name": "<string>",
      "price": 123,
      "cost_price": 123,
      "barcode": "<string>",
      "full_name": "<string>",
      "status": 123
    }
  ],
  "modificator_groups": [
    {
      "id": 123,
      "name": "<string>",
      "type": 123,
      "min_select": 123,
      "max_select": 123,
      "modificators": [
        {
          "id": 123,
          "name": "<string>",
          "price": 123,
          "cost_price": 123,
          "max_count": 123,
          "status": true,
          "ingredient": "<unknown>"
        }
      ]
    }
  ],
  "recipe": [
    {
      "id": 123,
      "type": "PREPARATION",
      "name": "<string>",
      "cost_price": 123,
      "pivot": {
        "gross": "<string>"
      }
    }
  ],
  "packages": [
    {
      "id": 123,
      "name": "<string>",
      "equal": 123
    }
  ],
  "setting": {
    "interval": 123,
    "prices": [
      {
        "price": 123,
        "from": 123
      }
    ]
  },
  "taxes": [
    {
      "id": 123,
      "name": "<string>",
      "rate": 123
    }
  ],
  "tags": [
    {}
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developer.clopos.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

x-token
string
header
required

JWT access token obtained from /v2/auth endpoint

Path Parameters

id
string
required

Product ID

Response

Product retrieved successfully

id
integer
type
enum<string>
Available options:
GOODS,
DISH,
TIMER,
PREPARATION,
INGREDIENT,
MODIFICATION
name
string
full_name
string
status
integer
price
number
cost_price
number
has_modifications
boolean
modifications
object[]
modificator_groups
object[]
recipe
object[]
packages
object[]
setting
object
taxes
object[]
tags
object[]
created_at
string<date-time>
updated_at
string<date-time>