Purchase Orders

Copies a purchase order

Changed on

Copy an existing purchase order.

post/api/v2/purchase_orders/copy

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/purchase_orders/copy
  • Auth
    none 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_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum 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

    • breaking

      removed the success response with the status

    • warning

      the optional response header Content-Type removed for the status 201

    • warning

      deleted the header request parameter X-Organization-Id

    • info

      added the non-success response with the status

    This list may be incomplete.