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
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
discount | JSON | Optional | |
discount (anyOf 1) | JSON | Alternative | Discount applied to the line item, if any. Default: null |
discount (anyOf 1) (oneOf 1) | number | Alternative | |
discount (anyOf 1) (oneOf 2) | string | Alternative | |
discount (anyOf 2) | null | Alternative | |
price_per_unit | JSON | Required within parent | Price for a single unit in the line item. |
price_per_unit (oneOf 1) | number | Alternative | |
price_per_unit (oneOf 2) | string | Alternative | |
product_or_service_name | string | Required within parent | Name of the product or service covered by the agreement line item. |
quantity | JSON | Required within parent | Quantity of units included in the line item. |
quantity (oneOf 1) | number | Alternative | |
quantity (oneOf 2) | string | Alternative | |
term | JSON | Optional | |
term (anyOf 1) | string | Alternative | Freeform term label for the line item, if applicable. Default: null |
term (anyOf 2) | null | Alternative | |
time_unit | JSON | Optional | |
time_unit (anyOf 1) | string | Alternative | Time unit associated with the line item, if applicable. Default: null |
time_unit (anyOf 2) | null | Alternative | |
total_price | JSON | Optional | |
total_price (anyOf 1) | JSON | Alternative | Total price for the line item, if provided. Default: null |
total_price (anyOf 1) (oneOf 1) | number | Alternative | |
total_price (anyOf 1) (oneOf 2) | string | Alternative | |
total_price (anyOf 2) | null | Alternative | |
unit | JSON | Optional | |
unit (anyOf 1) | string | Alternative | Unit name for the quantity, if applicable. Default: null |
unit (anyOf 2) | null | Alternative |