Skip to content

Update a purchaseorder ​

PUT
/v1/purchaseorders/{purchaseorder_id}

Authorizations​

api_key
Type
API Key (header: X-Api-Key)

Parameters​

Path Parameters

purchaseorder_id*

XS2event ID of the PurchaseOrder

Type
string
Required

Request Body​

application/json
JSON
{
  
"reference_number": "string",
  
"purchaseorder_status": null,
  
"booking_code": null,
  
"comments": null,
  
"items": [
  
  
{
  
  
  
"ticket_id": "string",
  
  
  
"quantity": 0,
  
  
  
"use_allocation": true,
  
  
  
"costprice": null,
  
  
  
"vat_category": null,
  
  
  
"net_rate": null,
  
  
  
"purchaseorderitem_id": 0
  
  
}
  
]
}

Responses​

OK

Playground​

Server
Authorization
Variables
Key
Value
Body

Samples​