Delete Purchase
Delete Purchase
Remove a purchase from your organization
DELETE
Delete Purchase
Delete Purchase
Permanently delete a purchase from your organization. This will remove the purchase and its associated CO2e emissions data from your Scope 3 Category 1 calculations.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
The unique identifier (UUID) of the purchase to deleteExample:
550e8400-e29b-41d4-a716-446655440000Response
Returns204 No Content on successful deletion. No response body is returned.
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key404 Not Found
Cause: Purchase not found or doesn’t belong to your organization422 Validation Error
Cause: Invalid purchase ID formatUse Cases
Delete Single Purchase
Remove a purchase from the system:Delete with Confirmation
Verify the purchase details before deleting:Bulk Delete Purchases
Delete multiple purchases:Delete Purchases by File
Remove all purchases linked to a specific file:Delete Inactive Purchases
Clean up purchases marked as inactive:Best Practices
Consider Alternatives
Before deleting, consider:- Set to Inactive: Update
status: "inactive"to preserve historical data - Archive Data: Export purchase data before deletion for audit trails
- Verify Impact: Check if the purchase’s CO2e data is needed for reports
Preserve Historical Data
If you need to keep emissions records:Audit Trail
Maintain a log of deletions:Related Endpoints
Update Purchase
Modify purchase (e.g., set as inactive instead of deleting)
List Purchases
View all purchases
Create Purchase
Add a new purchase
Get Purchase
View purchase details before deleting

