Получить товар по ID
GET/v1/product/:id
Получить всю информацию о товаре, используя ID товара.
Request
Path Parameters
id integerrequired
ID товара, который необходимо получить.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful operation. Returns the details of the product.
- application/json
- Schema
- Example (from schema)
Schema
id integerrequired
product stringrequired
{
"id": 0,
"product": "string"
}
Bad request. Invalid input or missing required fields.
Unauthorized. User is not authenticated.
Forbidden. User does not have permission to get a product by ID.
Not found. Product with the specified ID does not exist.
Internal server error.
Loading...