POST v1/Purchases/Cancel

Documentation for 'Cancel'.

Request Information

Parameters

NameDescriptionAdditional information
purchaseCancel
Documentation for 'purchaseCancel'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
Click to beautify!
{
  "purchaseId": 1,
  "cancellationOption": "sample string 2"
}

application/xml, text/xml

Sample:
Click to beautify!
<PurchaseCancel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.Dto.Post">
  <CancellationOption>sample string 2</CancellationOption>
  <PurchaseId>1</PurchaseId>
</PurchaseCancel>

application/x-www-form-urlencoded

Sample:
Click to beautify!

Sample not available.