Skip to main content
GET
Get Purchase

Get Purchase

Retrieve detailed information about a specific purchase using its unique identifier.

Request

Headers

string
required
Your API key for authenticationExample: sk_live_1234567890abcdef
string
required
Your organization UUIDExample: a8315ef3-dd50-43f8-b7ce-d839e68d51fa

Path Parameters

string
required
The unique identifier (UUID) of the purchase to retrieveExample: 550e8400-e29b-41d4-a716-446655440000

Response

string
Unique identifier (UUID)
string
Organization UUID
string | null
Name of the product or service
string | null
Optional description
string | null
Economic sector
string | null
2-letter ISO country code
number | null
Purchase amount
string | null
Unit of measurement
date | null
Date of purchase
string | null
Calculation method: spend_based or supplier_specific
string
Classification: capex or opex
string | null
Purchase status
number | null
Recycled content percentage (0-1)
string | null
Supplier identifier
string | null
Custom emission factor UUID
string | null
Linked file UUID
string | null
Linked file name
string | null
Linked file download URL
number | null
Calculated CO2 equivalent emissions (kg)
string | null
Purchase frequency
number | null
Exchange rate used to convert the purchase amount to EUR
date | null
Date used for the exchange rate lookup
object | null
Custom emission group applied to this purchase
datetime | null
Timestamp of the most recent purchase in a recurring series
object | null
Supplier details
object | null
Unit of measurement details
string | null
UUID of the user who created this record
object | null
User who created this record
datetime
Timestamp when the purchase was created
datetime | null
Timestamp when the purchase was last updated

Example

Successful Response

Common Errors

401 Unauthorized

Cause: Missing or invalid API key
Solution: Verify your API key is valid and active.

404 Not Found

Cause: Purchase not found or doesn’t belong to your organization
Solution: Verify the purchase ID exists and belongs to the organization specified in the header.

422 Validation Error

Cause: Invalid purchase ID format
Solution: Ensure the purchase ID is a valid UUID format.

Use Cases

Verify Purchase Details Before Update

Check Calculation Status

List Purchases

Retrieve all purchases with filtering

Update Purchase

Modify purchase details

Delete Purchase

Remove a purchase

Create Purchase

Add a new purchase