Documentation Index
Fetch the complete documentation index at: https://docs.rmz.gg/llms.txt
Use this file to discover all available pages before exploring further.
List Orders
GET
Returns a paginated list of orders for the authenticated store. Includes customer and transaction data.
/ordersAuthentication
Headers
| Header | Value | Required |
|---|---|---|
Authorization | Bearer YOUR_API_TOKEN | Yes |
Accept | application/json | Recommended |
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
page | integer | No | Page number (default: 1) |
created_from | date | No | Filter orders created on or after this date (e.g., 2024-01-01) |
created_to | date | No | Filter orders created on or before this date |
orderBy | string | No | Sort field: id, created_at, updated_at, total (default: id) |
orderDirection | string | No | Sort direction: asc or desc (default: desc) |
Example Request
Success Response
The
transaction.human_format values for created_at and store_balance_scheduled_at appear as null in the list endpoint because only specific transaction columns are selected. The payment.method field returns the Arabic translation of the payment method.Filtering by Date Range
Error Responses
| Code | Description |
|---|---|
401 | Unauthorized — invalid or missing token |
422 | Validation error — invalid filter parameters |

