Update purchase order

Endpoint for updating an existing purchase order.

Path Params
string
required
Body Params

Adds nested create feature

attachments
array of strings

List of attachments linked to this purchase order.

attachments
string | null

The branch associated with this purchase order, if applicable.

string

The contact (vendor) associated with this purchase order.

string
enum
required
  • AED - AED ⃱
  • SAR - SAR ⃁
  • USD - USD $
  • EUR - EUR €
  • CAD - CAD $
  • AFN - AFN ؋
  • ALL - ALL Lek
  • AMD - AMD դր.
  • ARS - ARS $
  • AUD - AUD $
  • ...

Full information for CurrencyEnum

custom_fields
object

A mapping of custom field IDs to their values.

double | null

The exchange rate to the organization base currency at the time of the document.

string
length ≤ 255

External identifier for the purchase order.

string
enum
  • ar - Arabic
  • en - English

Full information for LanguageEnum

Allowed:
line_items
array of objects
required

The individual line items that make up the purchase order.

line_items*
string

Any additional notes or comments related to the purchase order.

string | null

The project associated with this purchase order, if any.

date | null

The date when the purchase order was issued.

string

The unique identifier or number assigned to this purchase order.

string

Any additional reference information for this purchase order.

string
enum
Defaults to DRAFT
  • DRAFT - DRAFT
  • SENT - SENT
  • BILLED - BILLED
  • VOIDED - VOIDED

Full information for PurchaseOrderStatusEnum

Allowed:
string
enum
  • TAX_INCLUSIVE - inc. tax
  • TAX_EXCLUSIVE - exc. tax

Full information for TaxAmountTypeEnum

Allowed:
string

The terms and conditions of the purchase order.

Headers
string

Client-provided UUID to uniquely identify a request

string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json