Skip to content

Ramp: Update a single line item on an existing purchase order — request body — body

Update a single line item on an existing 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 single line item on an existing purchase order — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
accounting_field_selectionsarrayOptionalList of accounting field options selected to code the line item. Will be updated in an ‘all or nothing’ manner.
accounting_field_selections[]ModelEach itemExpand Create a bill — request body — body accounting field selections item
descriptionJSONOptional
description (anyOf 1)stringAlternativeDescription of the line item.
description (anyOf 2)nullAlternative
end_dateJSONOptional
end_date (anyOf 1)stringAlternativeThe date when spending for this line item ends. Omit to preserve the current date; set to null to clear it.
Format: date
end_date (anyOf 2)nullAlternative
start_dateJSONOptional
start_date (anyOf 1)stringAlternativeThe date when spending for this line item begins. Omit to preserve the current date; set to null to clear it.
Format: date
start_date (anyOf 2)nullAlternative
unit_priceJSONOptionalUnit price of the line item.
unit_price (oneOf 1)stringAlternativeFormat: decimal
unit_price (oneOf 2)numberAlternative
unit_quantityJSONOptionalQuantity of the line item.
unit_quantity (oneOf 1)stringAlternativeFormat: decimal
unit_quantity (oneOf 2)numberAlternative
withholding_rateJSONOptional
withholding_rate (anyOf 1)JSONAlternativeRetainage withholding rate for the line item, expressed as a fractional decimal. If set, this line-level rate overrides the purchase order withholding_default_rate for this line item. For example, 0.10 means 10%.
Minimum: 0
Less than: 1
withholding_rate (anyOf 1) (oneOf 1)stringAlternativeFormat: decimal
withholding_rate (anyOf 1) (oneOf 2)numberAlternative
withholding_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.