user-purchases

Get purchase history

Retrieve audit-style history entries for one purchase.

Use this endpoint to render chronological activity feeds for a purchase.

Behavior:

  • Verifies purchase ownership first.
  • Returns entries newest-first.
  • Includes related order/order-item references and user metadata where available.
  • Captures cross-party actions so buyers can understand exactly what changed and when.

Responses:

  • Returns 404 for missing or non-owned purchases.
  • Returns a normalized timeline payload suitable for rendering directly in activity feeds.
get/user/purchases/{id}/history

Request

  • Base URL: https://api.managem.co.uk
  • URL: https://api.managem.co.uk/user/purchases/{id}/history
  • Auth: HTTP bearer

Path parameters

idstring required

Purchase ID

Response

Purchase history

idstring cuid2 required

Unique identifier for the history entry

purchaseIdstring required

Identifier of the purchase that this history belongs to

orderIdstring nullable

Identifier of the order associated with this entry

commentstring required

Human readable description of the action

party'BUYER' | 'SELLER' | 'SYSTEM' required

Which party initiated the action recorded in the history

userIdstring nullable

User identifier of the action initiator, when available

createdAtstring date-time nullable required

Timestamp when the history entry was recorded

orderItemIdsstring[]

Identifiers of order items involved in the history entry

Changes

No recorded changes to this operation across all 248 revisions of this API.