Skip to content

Ramp: Update a purchase order — request body — body

Update a purchase order: request body, field body. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Update a purchase order — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
accounting_field_selectionsarrayOptionalList of accounting field options selected to code the purchase order at the body level. Will be updated in an ‘all or nothing’ manner. Generally, only a single vendor accounting field is supported.
accounting_field_selections[]ModelEach itemExpand Create a bill — request body — body accounting field selections item
memoJSONOptional
memo (anyOf 1)stringAlternativeMemo for the purchase order.
memo (anyOf 2)nullAlternative
nameJSONOptional
name (anyOf 1)stringAlternativeName of the purchase order. Must contain a non-whitespace character. Omit to preserve the current name, or set to null to clear it.
Pattern: \s*\S
name (anyOf 2)nullAlternative
owner_idstringOptionalUnique identifier of the new owner of the purchase order. The purchase order must be approved.
Format: uuid
spend_end_datestringOptionalThe date when spending for this purchase order ends.
Format: date
spend_start_datestringOptionalThe date when spending for this purchase order begins.
Format: date
withholding_default_rateJSONOptional
withholding_default_rate (anyOf 1)JSONAlternativeDefault retainage withholding rate for the purchase order, expressed as a fractional decimal. For example, 0.10 means 10%.
Minimum: 0
Less than: 1
withholding_default_rate (anyOf 1) (oneOf 1)stringAlternativeFormat: decimal
withholding_default_rate (anyOf 1) (oneOf 2)numberAlternative
withholding_default_rate (anyOf 2)nullAlternative

Referenced models: Create a bill — request body — body accounting field selections item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.