Skip to main content
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

Authorization
string
header
required

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

Path Parameters

id
string
required

Purchase ID

orderId
string
required

Order ID

Body

application/json

Customer-initiated order updates. Use the separate cancel endpoint to cancel a purchase.

action
enum<string>
required
Available options:
delivered
items
object[]
required

Items to mark as delivered

Response

Order updated