Skip to content

Ramp: Fetch a vendor agreement — response body — purchase orders item

Fetch a vendor agreement: response body, field purchase_orders / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Fetch a vendor agreement — response body — purchase orders item

FieldTypePresenceDescription and constraints
$objectRoot
can_viewbooleanRequired within parentWhether the current user has permission to view this purchase order.
documentsarrayRequired within parent
documents[]objectEach item
end_dateJSONRequired within parent
end_date (anyOf 1)stringAlternativeEnd date of the purchase order.
Default: null
Format: date
end_date (anyOf 2)nullAlternative
idstringRequired within parentUnique identifier for the purchase order.
nameJSONRequired within parent
name (anyOf 1)stringAlternativeName of the purchase order.
Default: null
name (anyOf 2)nullAlternative
paid_by_bill_amountModelRequired within parentExpand Hold Bill — response body — amount
paid_by_card_amountModelRequired within parentExpand Hold Bill — response body — amount
pending_bill_amountModelRequired within parentExpand Hold Bill — response body — amount
purchase_order_numberJSONRequired within parent
purchase_order_number (anyOf 1)stringAlternativeExternal purchase order number.
Default: null
purchase_order_number (anyOf 2)nullAlternative
spend_requestModelRequired within parentExpand Fetch a vendor agreement — response body — purchase orders item spend request
start_dateJSONRequired within parent
start_date (anyOf 1)stringAlternativeStart date of the purchase order.
Default: null
Format: date
start_date (anyOf 2)nullAlternative
statusJSONOptional
status (anyOf 1)stringAlternativeKnown values: CLOSED, DELETED, FULLY_BILLED, OPEN, PARTIALLY_BILLED
status (anyOf 2)nullAlternative
total_amountModelRequired within parentExpand Hold Bill — response body — amount

Referenced models: Fetch a vendor agreement — response body — purchase orders item spend request, Hold Bill — response body — amount

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.