Skip to content

Proof payment deletion

Request

If the proof payment is closed, response code 409 is returned and the document cannot be deleted. Proof payment is closed if:

  • proof payment is/was linked to the invoice or

  • there is a manual lock of proof payment.

Security
shoptetAccessToken or shoptetPrivateApiToken
Path
codestringrequired
Example:P--2015000170-1
Headers
Content-Typestringrequired
Default:"application/json"
curl -i -X DELETE \
  https://api.docs.shoptet.com/_mock/shoptet-api/openapi/api/proof-payments/P--2015000170-1 \
  -H 'Content-Type: application/json' \
  -H 'Shoptet-Access-Token: YOUR_API_KEY_HERE'

Responses

OK

Bodyapplication/json
dataobject or nullrequired
errorsArray of objects or null(Errors)required
metadataobject(Metadata)required
Response
{ "data": {}, "errors": [ {} ], "metadata": { "requestId": "019c8c34-64f3-7328-af43-bf1e34fa39d7" } }