Version History
Version History
Get the change history of a purchase record
GET
Version History
Version History
Returns a paginated list of all changes made to a purchase over time, including who made the change, when, and which fields were modified.Request
Headers
Your API key for authenticationExample:
sk_live_1234567890abcdefYour organization UUIDExample:
a8315ef3-dd50-43f8-b7ce-d839e68d51faPath Parameters
UUID of the purchase
Query Parameters
Page number (1-based)
Items per page (max 100)
Response
Version entries:
| Field | Type | Description |
|---|---|---|
index | integer | Version number (0 = creation) |
changeset | object | Map of field names to [old_value, new_value] pairs |
user_id | string | null | UUID of the user who made the change |
created_at | string | ISO 8601 timestamp |
Total number of versions
Current page number
Page size
Example
Successful Response
Common Errors
401 Unauthorized
Cause: Missing or invalid API key403 Forbidden
Cause: The authenticated user is not a member of the organization404 Not Found
Cause: The purchase does not exist or belongs to another organizationRelated Endpoints
Get Purchase
View current purchase details
Update Purchase
Modify a purchase record

