Delete a delivery
curl --request DELETE \
--url https://{organization}.rescueconsole.com/api/fundraising/wishlist/{id}/fulfillments/{fulfillmentId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/wishlist/{id}/fulfillments/{fulfillmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/fundraising/wishlist/{id}/fulfillments/{fulfillmentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"item": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"category": "food",
"quantity_needed": 123,
"quantity_fulfilled": 123,
"quantity_remaining": 123,
"is_fulfilled": true,
"unit": "<string>",
"animal_id": "<string>",
"animal_name": "<string>",
"campaign_id": "<string>",
"campaign_name": "<string>",
"priority": "low",
"status": "open",
"closed_reason": "<string>",
"closed_at": "2023-11-07T05:31:56Z",
"estimated_unit_cost_cents": 123,
"estimated_remaining_cents": 123,
"external_url": "<string>",
"fulfillment_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"fulfillments": [
{
"id": "<string>",
"quantity": 123,
"donor_person_id": "<string>",
"donor_name": "<string>",
"donation_id": "<string>",
"received_on": "2023-12-25",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Wish list
Delete a delivery
Deletes a delivery recorded by mistake, for good. Needs write on Fundraising.
DELETE
/
api
/
fundraising
/
wishlist
/
{id}
/
fulfillments
/
{fulfillmentId}
Delete a delivery
curl --request DELETE \
--url https://{organization}.rescueconsole.com/api/fundraising/wishlist/{id}/fulfillments/{fulfillmentId} \
--header 'Authorization: Bearer <token>'const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://{organization}.rescueconsole.com/api/fundraising/wishlist/{id}/fulfillments/{fulfillmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://{organization}.rescueconsole.com/api/fundraising/wishlist/{id}/fulfillments/{fulfillmentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text){
"item": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"category": "food",
"quantity_needed": 123,
"quantity_fulfilled": 123,
"quantity_remaining": 123,
"is_fulfilled": true,
"unit": "<string>",
"animal_id": "<string>",
"animal_name": "<string>",
"campaign_id": "<string>",
"campaign_name": "<string>",
"priority": "low",
"status": "open",
"closed_reason": "<string>",
"closed_at": "2023-11-07T05:31:56Z",
"estimated_unit_cost_cents": 123,
"estimated_remaining_cents": 123,
"external_url": "<string>",
"fulfillment_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
},
"fulfillments": [
{
"id": "<string>",
"quantity": 123,
"donor_person_id": "<string>",
"donor_name": "<string>",
"donation_id": "<string>",
"received_on": "2023-12-25",
"notes": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
]
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}{
"error": "house_trained must be 1, 0 or null (not assessed)"
}Authorizations
An API key from Settings, API keys. It starts with rc_live_.
Path Parameters
The wish list item's ID.
The delivery's ID.