Skip to main content
GET
/
seller
/
orders
/
{id}
/
history
Get order history
curl --request GET \
  --url https://api.managem.co.uk/seller/orders/{id}/history \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "purchaseId": "<string>",
    "comment": "<string>",
    "party": "BUYER",
    "createdAt": "2023-11-07T05:31:56Z",
    "orderId": "<string>",
    "userId": "<string>",
    "user": {
      "id": "<string>",
      "username": "<string>"
    },
    "orderItemIds": []
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Order ID

Response

Order history

id
string<cuid2>
required

Unique identifier for the history entry

purchaseId
string
required

Identifier of the purchase that this history belongs to

comment
string
required

Human readable description of the action

Minimum string length: 1
party
enum<string>
required

Which party initiated the action recorded in the history

Available options:
BUYER,
SELLER,
SYSTEM
createdAt
string<date-time> | null
required

Timestamp when the history entry was recorded

orderId
string | null

Identifier of the order associated with this entry

userId
string | null

User identifier of the action initiator, when available

user
Purchase History Actor · object

User that initiated the action, if the action was user driven

orderItemIds
string[]

Identifiers of order items involved in the history entry