Ramp: Update a bill — request body — body inventory line items array item
Update a bill: request body, field body / inventory_line_items / array / item. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Update a bill — request body — body inventory line items array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | |
accounting_field_selections | array | Optional | |
accounting_field_selections[] | Model | Each item | Expand Create a bill — request body — body accounting field selections item |
id | JSON | Optional | |
id (anyOf 1) | string | Alternative | Unique identifier of an existing inventory line item on this bill. When provided, the updated line keeps this identifier; when omitted, a new identifier is assigned. Default: null Format: uuid |
id (anyOf 2) | null | Alternative | |
memo | JSON | Optional | |
memo (anyOf 1) | string | Alternative | Default: null |
memo (anyOf 2) | null | Alternative | |
purchase_order_line_item_id | JSON | Optional | |
purchase_order_line_item_id (anyOf 1) | string | Alternative | Unique identifier of the purchase order line item to match this bill inventory line item to. Default: null Format: uuid |
purchase_order_line_item_id (anyOf 2) | null | Alternative | |
quantity | JSON | Required within parent | Minimum: 0 |
quantity (oneOf 1) | string | Alternative | Format: decimal |
quantity (oneOf 2) | number | Alternative | |
unit_price | JSON | Required within parent | |
unit_price (oneOf 1) | string | Alternative | Format: decimal |
unit_price (oneOf 2) | number | Alternative |
Referenced models: Create a bill — request body — body accounting field selections item