curl --location 'https://headless.treez.io/v2.0/dispensary/partnersandbox2/ecommerce/customer/orders/page/0' \
--header 'client_id: 1234EXAMPLECLIENTID567890' \
--header 'client_secret: 1234EXAMPLECLIENTSECRET567890' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJzY290dC50aGFjaGVyK2Vjb21tMTVAdHJlZXouaW8iLCJjcmVhdGVkIjoxNjkwNDY5MTcxODYwLCJrdXAiOjMzNzY0LCJleHAiOjE2OTA0Njk3NzEsInN1cCI6MTEwMH0.323Vu-yb1SdkcLzavs4OwiDUGvTKHiJopcL692LYMctRmIXDGzwL_TSpeIFFkG9XyslX_53ZegE6kNQRTSIJWg'
{
"data": [
{
"orderId": "f8e38a71-0859-4c55-825d-3776f7a04873",
"status": "COMPLETED",
"orderNumber": "KUCVVY",
"dateCreated": "2023-07-27T14:56:07.000Z",
"lastUpdateAt": "2023-07-27T14:57:01.000Z",
"hash": "1961290465"
},
{
"orderId": "a4483465-225c-4f7f-957a-814fcb4803f9",
"status": "COMPLETED",
"orderNumber": "TISZ8N",
"dateCreated": "2023-07-27T14:47:39.000Z",
"lastUpdateAt": "2023-07-27T14:48:37.000Z",
"hash": "-1965964473"
}
],
"totalPages": 1,
"totalElements": 2
}