Delete draft order
import requests
url = "https://api.paywise.de/v2/orders/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v2/orders/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.paywise.de/v2/orders/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request DELETE \
--url https://api.paywise.de/v2/orders/{id}/ \
--header 'Authorization: Bearer <token>'Orders
Delete draft order
The collection orders of your company.
Create a draft with a referenced debtor and embedded claims, edit it while it is a draft, finalize it for review, and follow it to acceptance. Tenant-scoped by the authenticated company.
DELETE
/
v2
/
orders
/
{id}
/
Delete draft order
import requests
url = "https://api.paywise.de/v2/orders/{id}/"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.paywise.de/v2/orders/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));HttpResponse<String> response = Unirest.delete("https://api.paywise.de/v2/orders/{id}/")
.header("Authorization", "Bearer <token>")
.asString();using RestSharp;
var options = new RestClientOptions("https://api.paywise.de/v2/orders/{id}/");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("Authorization", "Bearer <token>");
var response = await client.DeleteAsync(request);
Console.WriteLine("{0}", response.Content);
curl --request DELETE \
--url https://api.paywise.de/v2/orders/{id}/ \
--header 'Authorization: Bearer <token>'Authorizations
caseBearerAuthpartnerBearerAuth
Headers
Response
No response body
