Skip to content

Ramp: Create a vendor agreement — request body — body line items Line items associated with the agreement item

Create a vendor agreement: request body, field body / line_items / Line items associated with the agreement / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Create a vendor agreement — request body — body line items Line items associated with the agreement item

FieldTypePresenceDescription and constraints
$objectRoot
discountJSONOptional
discount (anyOf 1)JSONAlternativeDiscount applied to the line item, if any.
Default: null
discount (anyOf 1) (oneOf 1)numberAlternative
discount (anyOf 1) (oneOf 2)stringAlternative
discount (anyOf 2)nullAlternative
price_per_unitJSONRequired within parentPrice for a single unit in the line item.
price_per_unit (oneOf 1)numberAlternative
price_per_unit (oneOf 2)stringAlternative
product_or_service_namestringRequired within parentName of the product or service covered by the agreement line item.
quantityJSONRequired within parentQuantity of units included in the line item.
quantity (oneOf 1)numberAlternative
quantity (oneOf 2)stringAlternative
termJSONOptional
term (anyOf 1)stringAlternativeFreeform term label for the line item, if applicable.
Default: null
term (anyOf 2)nullAlternative
time_unitJSONOptional
time_unit (anyOf 1)stringAlternativeTime unit associated with the line item, if applicable.
Default: null
time_unit (anyOf 2)nullAlternative
total_priceJSONOptional
total_price (anyOf 1)JSONAlternativeTotal price for the line item, if provided.
Default: null
total_price (anyOf 1) (oneOf 1)numberAlternative
total_price (anyOf 1) (oneOf 2)stringAlternative
total_price (anyOf 2)nullAlternative
unitJSONOptional
unit (anyOf 1)stringAlternativeUnit name for the quantity, if applicable.
Default: null
unit (anyOf 2)nullAlternative

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.