GET
/v1/quotes/{quote}/line_itemsList a quote's line items
Lists all line items associated with a quote. Use cursor parameters to retrieve additional pages and expand to include related fields in each result. Use page and per_page to paginate the results.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
quotestringrequired
The quote identifier whose line items to retrieve. Must not exceed 5000 characters.
ending_beforestringoptional
A cursor identifying an object before which to return results. Must not exceed 5000 characters.
expandarray<string>optional
Fields to expand in each response object. Each value must not exceed 5000 characters.
limitintegeroptional
The maximum number of line items to return.
starting_afterstringoptional
A cursor identifying an object after which to return results. Must not exceed 5000 characters.
200Returns a list object containing line items in `data`, a `has_more` pagination flag, the `list` object type, and the list `url`.
dataarray<LineItem>required
Details about each object.
has_morebooleanrequired
True if this list has another page of items after this one that can be fetched.
objectstringrequired
String representing the object's type. Objects of the same type share the same value. Always has the value `list`.
urlstringrequired
The URL where this list can be accessed.
defaultError response.
errorobjectrequired
Error handling
quote must identify the quote whose line items you want to retrieve and must not exceed 5000 characters. ending_before and starting_after must not exceed 5000 characters, and limit must specify the requested page size.