v1
latestOpenAPI 3.0.12026-07-2412502.6 MBSearch line items
Search line items
Query parameters
Search for specific line item ID(s). Comma separate for multiple.
Search for line items that belong to a specific order.
Search for line items that belong to a specific customer.
Return only line items that were completed on or after this date. A date to and from field is required when not passing line item ID(s), a customer ID or an order ID.
Return only line items that were completed on or before this date. Required when passing date_complete_from. Maximum date range: 31 days.
Return only line items that were scheduled on or after this date. A date to and from field is required when not passing line item ID(s), a customer ID or an order ID.
Return only line items that were delivered on or before this date. Required when passing date_scheduled_from. Maximum date range: 31 days.
Search line items that are tied to orders of a specific campaign.
Search line items that are tied to orders of a specific offer.
Search line items that are tied to a specific item.
Search line items that are tied to orders with a specific discount code.
Search line items by success status.
Expand on the information returned by including 'with' in the query parameters. For multiple attributes, separate with a comma (example : with=order,customer)
Limit the number of results. Default: 25, max: 200.
Offset the results
Field to sort result by
Order by asc or desc
Response
OK
Example response
{
"line_items": [
{
"date_complete": "2023-04-01 00:00:00",
"transaction": {
"date_scheduled": "2023-04-01 00:00:00",
"date_complete": "2023-04-01 00:00:00",
"date_cancelled": "2023-04-01 00:00:00",
"date_skip": "2023-04-01 00:00:00",
"date_batch": "2023-04-01 00:00:00",
"date_deposit": "2023-04-01 00:00:00",
"date_request": "2023-04-01 00:00:00",
"date_response": "2023-04-01 00:00:00",
"rebill_date": "2023-04-01 00:00:00",
"original_attempt_date": "2023-04-01 00:00:00",
"parent_date_complete": "2023-04-01 00:00:00",
"chargeback_date": "2023-04-01 00:00:00",
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
},
"order": {
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00",
"date_authorized": "2023-04-01 00:00:00",
"date_auto_capture": "2023-04-01 00:00:00",
"date_ordered": "2023-04-01 00:00:00",
"date_capture": "2023-04-01 00:00:00"
},
"customer": {
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00",
"customer_cards": [
{
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
],
"customer_addresses": [
{
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
]
},
"item": {
"date_created": "2023-04-01 00:00:00",
"date_modified": "2023-04-01 00:00:00"
}
}
]
}