Purchase Orders

Send Purchase Order as an email

Changed on
post/purchaseorders/{id}/emails

Request

  • Base URL
    https://api.getmaintainx.com/v1
  • Auth
    HTTP bearer

Path parameters

idinteger required

Global ID of the Purchase Order

Query parameters

skipWebhookboolean

Set skipWebhook=true, skipWebhook=1 or skipWebhook=yes to skip all webhooks upon successful operation on the endpoint. Learn more about webhooks

Request body

emailsstring[] nullable

Emails to send the Purchase Order to

emailsCCstring[] nullable

Emails to send the Purchase Order to as a carbon copy (CC)

Example request

{
  "emails": [
    "example@gmail.com"
  ],
  "emailsCC": [
    "example@gmail.com"
  ]
}

Response

Successfully created the email

idinteger

Global ID of the Purchase Order

Example response

{
  "id": 12345
}

Changes