Actions84
- Affiliate Actions
- Checkout Actions
- Customer Actions
- Discount Actions
- Discount Redemption Actions
- File Actions
- License Key Actions
- License Key Instance Actions
- Order Actions
- Order Item Actions
- Price Actions
- Product Actions
- Store Actions
- Subscription Actions
- Subscription Invoice Actions
- Subscription Item Actions
- Usage Record Actions
- User Actions
- Variant Actions
- Webhook Actions
Order Item → Get Many
AI-generatedSummary
Retrieve multiple order items from Lemon Squeezy with optional filtering, pagination, and output simplification.
Inputs
- Return All — Whether to return all order items matching the filters or limit the results to a maximum number.
- Limit — Maximum number of order items to return if 'Return All' is false; range is 1 to 100.
- Filters — Optional filters to narrow results by Order ID, Product ID, or Variant ID.
- Simplify — Whether to simplify the JSON:API response by flattening attributes to the top level or to return the raw JSON:API format.
- Retry Options — Configuration of retry behavior for failed API requests, including maximum retries and initial delay with exponential backoff.
Output shape
a list of order item records
Returns a list of order items from Lemon Squeezy API. If 'Return All' is true, it paginates to fetch all items matching filters; otherwise, it returns up to 'Limit' items. The output can be simplified to flatten JSON:API attributes and relationships or left in raw JSON:API format with 'type', 'attributes', and 'relationships' fields.
Examples
Example 1: Fetch up to 50 order items for a specific Order ID with simplified output
Set 'Return All' to false, 'Limit' to 50, provide the Order ID in Filters, and ensure 'Simplify' is true.
Example 2: Retrieve all order items for a specific Product ID without simplification
Set 'Return All' to true, provide the Product ID in Filters, and set 'Simplify' to false to get raw JSON:API responses.