Organization warehouse
Cancel warehouse reservation
This endpoint cancels a specific warehouse reservation. If the reservation is active the credits will be immediately made available in the organization's warehouse.
delete/organizations/{id}/warehouse/inventory/reservations/{reservationId}
Path parameters
idstring required
reservationIdstring required
Headers
x-icr-api-versionstring
API version
Response
Example response
{
"id": "d449c665-3100-40c6-91ad-9d3f0a9fd343",
"creditId": "exPost-2-0x51298f2f1142ecb129a2db5e6afd24f34f2e53f1",
"serialization": "ICR-ISL-354-78040-14-R-0-2021",
"amount": 10,
"createdAt": "2022-01-01T00:00:00Z",
"state": "pending",
"retirementId": "1",
"updatedAt": "2022-01-01T00:00:00Z",
"tokenId": "123e4567-e89b-12d3-a456-426614174000",
"tokenAddress": "0x123456789abcdef",
"type": "exPost",
"reservedToDate": "2022-01-01T00:00:00Z",
"isComplete": true,
"project": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"fullName": "Project 1",
"url": "https://api.carbonregistry.com/projects/47abd663-fb35-4b2e-ad08-c347e761649e",
"publicUrl": "https://carbonregistry.com/explore/projects/47abd663-fb35-4b2e-ad08-c347e761649e"
},
"reserver": {
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Reserver 1"
}
}