Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 734 Bytes

File metadata and controls

27 lines (18 loc) · 734 Bytes

list

Retrieve a quote's line items

When retrieving a quote, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.

API Endpoint: GET /v1/quotes/{quote}/line_items

Synchronous Client

from os import getenv
from sideko_stripe import Stripe

client = Stripe(token=getenv("API_TOKEN"))
res = client.quotes.line_item.list(quote="string")

Asynchronous Client

from os import getenv
from sideko_stripe import AsyncStripe

client = AsyncStripe(token=getenv("API_TOKEN"))
res = await client.quotes.line_item.list(quote="string")