Produkte
Produkt abrufen
Produkte
Produkt abrufen
Details eines spezifischen Produkts abrufen
GET
/
products
/
{productId}
curl --request GET \
--url https://dashboard.scango.ch/api/v1/products/{productId} \
--header 'Authorization: Bearer <token>'
{
"data": {
"name": "<string>",
"price": 123,
"supplier": "<string>",
"taxCategory": "8.1",
"category": "<string>",
"declarations": "<string>",
"barcode": "<string>",
"depositProduct": 123,
"description": "<string>",
"salePrice": 123,
"salePercentage": 123,
"salePriceDateFrom": "2023-12-25",
"salePriceDateTo": "2023-12-25",
"costPrice": 123,
"margin": 123,
"showOnHomescreen": true,
"showOnScreen": true,
"ageRestriction": true,
"showOnScale": true,
"saleStop": true,
"index": 123
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the product to retrieve
Response
200 - application/json
Product details
Name of the product
Price in cents
Supplier of the product
Tax category
Available options:
8.1
, 2.6
, 3.8
, 0
Category ID of the product
Product declarations
Product barcode
Deposit amount in cents
Product description
Sale price in cents
Sale percentage
Sale start date
Sale end date
Cost price in cents
Product margin
Show on homescreen
Show on screen
Age restriction
Show on scale
Sale stop
Product index
War diese Seite hilfreich?
curl --request GET \
--url https://dashboard.scango.ch/api/v1/products/{productId} \
--header 'Authorization: Bearer <token>'
{
"data": {
"name": "<string>",
"price": 123,
"supplier": "<string>",
"taxCategory": "8.1",
"category": "<string>",
"declarations": "<string>",
"barcode": "<string>",
"depositProduct": 123,
"description": "<string>",
"salePrice": 123,
"salePercentage": 123,
"salePriceDateFrom": "2023-12-25",
"salePriceDateTo": "2023-12-25",
"costPrice": 123,
"margin": 123,
"showOnHomescreen": true,
"showOnScreen": true,
"ageRestriction": true,
"showOnScale": true,
"saleStop": true,
"index": 123
}
}