List Orders API
This endpoint allows you to retrieve a list of orders. You can use various filters (query parameters) to narrow down your results based on status, dates, or customer information.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| status | string | Filter by order status (e.g., NEW_ORDER, CANCELLED). |
| orderNumber | string | Your internal order alias/number. |
| shippingTrackingNumber | string | The shipping partner's tracking number. |
| customerMobile | string | The mobile number of the recipient. |
| customerName | string | The name of the recipient. |
| type | string | Order type: FORWARD or RETURN. |
| startDate | string | Start date filter (ISO 8601). |
| endDate | string | End date filter (ISO 8601). |
GET
https://api-fulfillment.bosta.co/api/v1/ordersRetrieve all orders associated with your account. Use query parameters to filter the results.
Responses
200List of orders retrieved successfully
Understanding the Response
- Logs: Each order contains a
logsarray tracking every status change and the actor who triggered it (API, System, or Webhook). - Type: Differentiates between
FORWARD(delivery to customer) andRETURN(pickup from customer).