List Orders
GET/payments/orders
The "List Orders" API allows to retrieve a paginated list of orders. Customize your results by filtering orders based on name, alt type, order status, payment mode, date range, type of source, contact, funnel products or paginate through the list using the provided query parameters. This endpoint provides a straightforward way to explore and retrieve order information.
Request
API Version
v3LocationId is the id of the sub-account.
AltId is the unique identifier e.g: location id.
Order status.
Payment Status of the Order
paidunpaidrefundedpartially_paidMode of payment.
Starting interval of orders.
Closing interval of orders.
The name of the order for searching.
Contact id for filtering of orders.
Funnel product ids separated by comma.
Source id
The maximum number of items to be included in a single page of results
10The starting index of the page, indicating the position from which the results should be retrieved.
0Successful response
- application/json
- Schema
- Example (auto)
Schema
An array of orders
total orders count
{
"data": [
{
"_id": "653f5e0cde5a1314e62a837c",
"altId": "3SwdhCu3svxI8AKsPJt6",
"altType": "location",
"contactId": "XPLSw2SVagl12LMDeTmQ",
"contactName": "James Bond",
"currency": "USD",
"amount": "100",
"subtotal": "100",
"discount": "10",
"status": "completed",
"liveMode": "false",
"totalProducts": "5",
"sourceType": "funnel",
"sourceName": "onestep",
"sourceId": "kDj7BHej9Zyyq3QakJmz",
"sourceMeta": "{ domain: \"app.gohighlevel.com\", pageId: \"rBVhyYhMsbxbO8ZqOcei\", pageUrl: \"/v2/preview/rBVhyYhMsbxbO8ZqOcei\", stepId: \"5a772f62-3fbc-418b-af1b-be8929dd64c2\"}",
"couponCode": "100PER",
"createdAt": "2023-11-20T10:23:36.515Z",
"updatedAt": "2024-01-23T09:57:04.846Z",
"sourceSubType": "one_step_order_form",
"fulfillmentStatus": "unfulfilled",
"onetimeProducts": "1",
"recurringProducts": "1",
"createdBy": "user123"
}
],
"totalCount": 0
}