curl --request POST \
--url https://api.managem.co.uk/user/purchases/{id}/{orderId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "delivered",
"items": [
{
"id": "order-item-id-1"
},
{
"id": "order-item-id-2"
}
]
}
'Purchases
Update purchase order
Apply a buyer-side update to a specific order inside a purchase.
Use this endpoint for post-purchase item actions such as delivery confirmation or opening a dispute.
Rules:
- Purchase must belong to the authenticated user.
- Target
orderIdmust exist within that purchase. - Cancellation is intentionally excluded from this endpoint and handled by the dedicated cancel route.
Responses:
- Returns
204on success. - Returns
404for missing purchase or order.
POST
/
user
/
purchases
/
{id}
/
{orderId}
curl --request POST \
--url https://api.managem.co.uk/user/purchases/{id}/{orderId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"action": "delivered",
"items": [
{
"id": "order-item-id-1"
},
{
"id": "order-item-id-2"
}
]
}
'Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Order updated