Allows to cancel a single order.
FIELD | DESCRIPTION |
orderId | Required. String. The Gofilex order id. |
reason | Optional. String. A human-readable reason can be specified here. |
EMEA Portal
https://genie.portal.gofilex.com/api/method/v1/order/cancel
curl -vX POST https://genie.portal.gofilex.com/api/method/v1/order/cancel -d @cancel.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
APAC Portal
https://genie.portal.apac.gofilex.com/api/method/v1/order/cancel
curl -vX POST https://genie.portal.apac.gofilex.com/api/method/v1/order/cancel -d @cancel.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
MPS Portal
https://genie.portal.mps.gofilex.com/api/method/v1/order/cancel
curl -vX POST https://genie.portal.mps.gofilex.com/api/method/v1/order/cancel -d @cancel.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
NORAM Portal
https://genie.portal.gofilex.bydeluxe.com/api/method/v1/order/cancel
curl -vX POST https://genie.portal.gofilex.bydeluxe.com/api/method/v1/order/cancel -d @cancel.json --header "Content-Type: application/json" --header "Authorization: Bearer BXrnipNekltq-sHFxpjdd90S17th2Q5mSaRf_4-Rayx"
cancel.json
{
"orderId": "6qHGWHR9XqqeHqLKr"
}
{
"success": true
}
Or
{
"error": {
"type": "unknown-order",
"message": "Unknown order for \"6qHGWHR9XqqeHqLKr\"."
}
}