Cancel an offer

Endpoint to cancel one of your offers.

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"
  }
}