Copies a purchase order
Changed onCopy an existing 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/copy
- Authnone declared
Request body
Example request
{
"data": {
"type": "purchase_orders",
"attributes": {
"template_id": 7890,
"deal_id": 456789
}
}
}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
- warning
- breaking
removed the success response with the status
- warning
the optional response header
Content-Typeremoved for the status201 - warning
deleted the
headerrequest parameterX-Organization-Id - info
added the non-success response with the status
This list may be incomplete.
- breaking