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
Parameter | Param Type | Description | Data Type | Mandatory |
---|---|---|---|---|
type | Body | The type of fulfillment: REIMBURSEMENT | String | ✅ |
offerId | Body | The offer ID that is to be canceled | String | ✅ |
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"
}
}
Updated 6 months ago