POST /void
Authorizations
Path parameters
orderReferencestringRequired
Order Reference for order
Body
voidReferencestringRequired
The order voiding reference.
descriptionstringOptional
The description of the capture.
amountnumberRequired
The voided amount for the items shipped
Responses
200Success
application/json
400Error
application/json
401Error
application/json
404Error
application/json
post
POST /orders/{orderReference}/void HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 56
{
"voidReference": "text",
"description": "text",
"amount": 1
}
{
"voidReference": "text",
"voidedId": "text",
"amount": 1
}
Sample Request/Response
{
"voidReference": "LatEHAuPtpN2HSrTMK-1",
"description": "Please void this order",
"amount": 100
}
{
"voidReference": "LatEHAuPtpN2HSrTMK-1",
"amount": 100,
"voidedId": "LatEHAuPtpN2HSrTMK-1"
}
Last updated