Read a product by ID
Read details of a specific product identified by its unique ID.
Path parameters
-
A unique identifier for the product within 24SevenOffice ERP-modules.
Minimum value is
1
.
GET /products/{id}
curl \
-X GET https://rest.api.24sevenoffice.com/v1/products/123 \
-H "Authorization: string"
Response examples (200)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"id": 123,
"name": "White shoe laces",
"number": "SH-1234567",
"type": "default",
"status": "active",
"description": "1 meter long shoe laces - white",
"costPrice": 50,
"salesPrice": 400,
"indirectCost": 12.77,
"stock": {
"isManaged": true,
"quantity": 146,
"location": "A-313"
},
"ean": "0123456789000",
"eanAlternative": "0123456789012345678901234",
"units": {
"id": 2,
"name": "Meter",
"symbol": "m"
},
"category": {
"id": 12,
"name": "Shoe accessories"
},
"supplier": {
"id": 67890,
"name": "XYZ Inc."
},
"createdAt": "2022-01-01 18:00:00.000Z",
"modifiedAt": "2023-12-31 18:00:00.000Z"
}