English
cURL
curl --request POST \ --url https://dashboard.scango.ch/api/v1/products \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --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 }'
{ "success": true, "id": "<string>" }
Create a new product in your organization
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Product to create
The body is of type object.
object
Product created successfully
The response is of type object.
Was this page helpful?