Security
shoptetAccessToken or shoptetPrivateApiToken
- Mock serverhttps://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/credit-notes/{code}
- https://api.myshoptet.comhttps://api.myshoptet.com/api/credit-notes/{code}
- shoptetAccessToken
- shoptetPrivateApiToken
curl -i -X PATCH \
https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/credit-notes/0000000002 \
-H 'Content-Type: application/json' \
-H 'Shoptet-Access-Token: YOUR_API_KEY_HERE' \
-d '{
"data": {
"varSymbol": 2021000021,
"dueDate": "2017-04-04",
"taxDate": "2017-04-04",
"constSymbol": "0308",
"specSymbol": 201323134,
"billingMethodId": 1,
"orderCode": "201323134",
"reasonRemark": "Order cancellation"
}
}'Response
{ "data": { "creditNote": { … } }, "errors": [ { … } ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }