Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products/surcharge-parameters
- https://api.myshoptet.comhttps://api.myshoptet.com/api/products/surcharge-parameters
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X POST \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/products/surcharge-parameters \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"currency": "CZK",
"displayName": "Povinny",
"name": "Povinný",
"code": "povinny",
"description": "Popisek",
"required": true,
"includingVat": true,
"priority": 1,
"googleMapping": "google:gender",
"values": [
{
"name": "Modrý",
"price": "21.00",
"valueIndex": "modry",
"priority": 1
}
]
}
}'Response
{ "data": { "surchargeParameter": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }