These docs are for v2.0. Click to read the latest docs for v3.0.

Cancel an offer

Endpoint to cancel one of your offers.

🚧

The Market API will be discontinued, in Q3 2024 we will be sunsetting this product

Request Endpoint: reference

POST /fulfillments
ParameterParam TypeDescriptionData TypeMandatory
typeBodyThe type of fulfillment: REIMBURSEMENTString✅
offerIdBodyThe offer ID that is to be canceledString✅

Example Request:

POST https://api.venly.market/fulfillments
{
    "type": "REIMBURSEMENT",
    "offerId": "f3f56b55-9df5-4061-90fa-ffff78d2dd11"
}

Response Body:

{
  "success": true,
  "result": {
    "id": "ff887a6c-5a97-47bf-815c-c40078546519",
    "type": "REIMBURSEMENT",
    "offerId": "f3f56b55-9df5-4061-90fa-ffff78d2dd11",
    "amount": 1,
    "status": "QUEUED",
    "creationDate": "2022-04-20T13:22:34.338410"
  }
}