List orders
Changed onRetrieves a list of all user orders of a linked company. You can filter the list using optional query parameters.
Request
- Base URLhttps://marketplace.appdirect.com/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Supported billing contexts
Page number
Number of results per page
Sort field and order. For ascending sort order, use the '+[FieldName]' format. For descending order, use the '-[FieldName]' format.
For RESELLER, the customer's user ID; for RESELLER_MANAGER, the Reseller's user ID
Reseller's company ID. Required only for the RESELLER_MANAGER context.
User's company ID. Required only for the RESELLER context.
Date filter, defined by upper or lower inclusive or exclusive limits, in Unix timestamp format. Acceptable values are: gte([timestamp]) - 'greater than or equal to'; gt([timestamp]) - 'greater than'; lte([timestamp]) - 'less than or equal to'; or lt([timestamp]) - 'less than.'
Order status (valid status are INITIALIZED, PENDING_USER_APPROVAL, PENDING_REMOTE_CREATION, PENDING_MANUAL_RECOVERY, PENDING_ASYNCHRONOUS_CREATION, FREE_TRIAL, ACTIVE, FINISHED, ONE_TIME, CANCELLED, SUSPENDED, FREE_TRIAL_EXPIRED, FREE_TRIAL_CANCELLED, DELETED, FAILED, UPCOMING, PENDING_MIGRATION_ACTIVATION, PENDING_DELAYED_PROVISIONING)
Status of the subscription related to the payment of this order
Indicates whether order has pending events
Search text
Response
Success
Example response
{
"content": [
{
"id": "1234",
"createdOn": 1529083173000,
"status": "ACTIVE",
"frequency": "One Time",
"totalFee": "USD350.00",
"applicationName": "AUTO_DISCOUNTS_APP",
"editionName": "Edition",
"orderCardId": "4567",
"company": {
"id": "698555fc-bc65-4163-9fee-16308edec41b",
"name": "Company A"
}
},
{
"id": "4567",
"createdOn": 1529083173000,
"status": "PENDING MANUAL RECOVERY",
"frequency": "One Time",
"totalFee": "USD350.00",
"applicationName": "AUTO_DISCOUNTS_APP",
"editionName": "Edition",
"orderCardId": "4567",
"company": {
"id": "386626c0-53e2-4515-8450-4a720bb5d029",
"name": "Company B"
}
}
],
"page": {
"size": 10,
"totalElements": 2,
"totalPages": 1,
"number": 1
}
}Changes
- breaking
the response's body type changed from no type to
objectfor status - info
added the required property
to the response with the status - info
added the required property
to the response with the status
- breaking