Update a purchase order
Changed onUpdate a purchase order.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/purchase_orders/{id}
- Authnone declared
Path parameters
ID
Request body
Example request
{
"data": {
"type": "purchase_orders",
"attributes": {
"subject": "Purchase Order PO-2024-017",
"status_id": 1,
"currency": "USD",
"deal_id": 456789,
"vendor_id": 234567,
"issued_on": "2026-04-10",
"delivery_on": "2026-04-17",
"sent_on": "2026-04-10",
"note": "Please confirm delivery date for the attached items.",
"subscriber_ids": [
345678,
456789
],
"attachment_id": 89012,
"document_type_id": 12
}
}
}Response
Single purchase order
Example response
{
"data": {
"id": "45",
"type": "purchase_orders",
"attributes": {
"number": "PO-2026-045",
"status": "approved",
"amount": "25000.00",
"currency": "USD",
"date": "2026-02-01",
"created_at": "2026-02-01T10:00:00.000+00:00"
},
"relationships": {
"company": {
"data": {
"type": "companies",
"id": "65111"
}
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
the
//response's property type changed fromstringto no type, and format fromdateto no format for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromnumbertostringfor status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromintegerto no type for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type, and format fromdate-timeto no format for status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromstringto no type, and format fromdate-timeto no format for status - breaking
the
//response's property type changed fromstringto no type, and format fromdateto no format for status - warning
deleted the
headerrequest parameterX-Organization-Id - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
removed the
1.00enum value from the//response property for the response status - info
removed the
10.00enum value from the//response property for the response status - info
removed the
11.00enum value from the//response property for the response status - info
removed the
2.00enum value from the//response property for the response status - info
removed the
3.00enum value from the//response property for the response status - info
removed the
4.00enum value from the//response property for the response status - info
removed the
5.00enum value from the//response property for the response status - info
removed the
6.00enum value from the//response property for the response status - info
removed the
7.00enum value from the//response property for the response status - info
removed the
8.00enum value from the//response property for the response status - info
removed the
9.00enum value from the//response property for the response status
This list may be incomplete.
- breaking