latestOpenAPI 3.0.02026-08-2217901.1 MB

ef9153fcac7c

Purchase Orders

Send Purchase Order as an email

post/purchaseorders/{id}/emails

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
}