Reverse consolidation code examples
Bash:
curl -X DELETE https://app.staging.shippit.com/api/3/consolidations/{parent_order} \
-H 'Accept: application/json' \
-H 'Authorization: API_KEY'
HTTP:
DELETE https://app.staging.shippit.com/api/3/consolidations/{parent_order} HTTP/1.1
Host: app.staging.shippit.com
Accept: application/json
Authorization: API_KEY
Javascript:
const headers = {
"Accept": "application/json",
"Authorization": "API_KEY"
};
fetch("https://app.staging.shippit.com/api/3/consolidations/{parent_order}", {
method: "DELETE",
headers: headers
})
.then((res) => res.json())
.then((body) => console.log(body));