Order Management
Order List
Use the https://app.ship.com/public/orders/paginated endpoint to get a paginated list of orders.
Request Parameters
Parameter |
Type |
Required |
Default |
Description |
page |
int |
No |
1 |
Page number to fetch |
pageSize |
int |
No |
25 |
Number of results per page |
startDate |
string (ISO) |
No |
– |
Filter orders created on or after this date |
endDate |
string (ISO) |
No |
– |
Filter orders created on or before this date |
Request Example
GET https://www.ship.com/public/orders/paginated?page=1&pageSize=10&startDate=2024-10-01
Authorization: Bearer OAUTH2.abc123xyz456...
Response Structure
Success Response:
Field |
Type |
Description |
success |
boolean |
Indicates whether the request succeeded |
result |
array |
List of orders |
pagination |
object |
Metadata about result set |
{
"success": true,
"result": [ /* array of orders */ ],
"pagination": {
"currentPage": 1,
"pageSize": 25,
"totalOrders": 100,
"totalPages": 4
}
}
{
"currentPage": 1,
"pageSize": 25,
"totalOrders": 100,
"totalPages": 4
}
{
"success": false,
"error": "Invalid or Expired Credentials"
}