LockerBoxTemeprature
getLockerByID
getLockers
orderCancel
orderCreate
orderDispatched
orderGetByUID
orderHistory
orderPlaceIN
DATA (php):
stdClass Object
(
[id] => ORD123
[location_id] => locationUID
[time_slot] => stdClass Object
(
[starts_at] => 2023-05-29T11:37:22+00:00
[ends_at] => 2023-05-29T15:37:22+00:00
)
[boxes] => Array
(
[0] => stdClass Object
(
[size] => small
[temperature] => cold
)
[1] => stdClass Object
(
[size] => mediium
[temperature] => cold
)
[2] => stdClass Object
(
[size] => large
[temperature] => cold
)
)
[webhook] => http://applications.greenbees.cloud/webhook/
)
DATA (json):
{
"id":"ORD123",
"location_id":"locationUID",
"time_slot":
{
"starts_at":"2023-05-29T11:37:22+00:00",
"ends_at":"2023-05-29T15:37:22+00:00"
},
"boxes":[
{
"size":"small",
"temperature":"cold"
},
{
"size":"mediium",
"temperature":"cold"
},
{
"size":"large",
"temperature":"cold"
}
],
"webhook":"http://applications.greenbees.cloud/webhook/"
}RESPONSE:
{"status":false,"message":"Autorization Token has expired! Find new token in token param response","token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxNjIuMTU4LjkwLjE0NiIsImF1ZCI6ImJyYWludmFsbGV5IiwiaWF0IjoxNjg1MzYwMjQyLCJuYmYiOjE2NDcwMDMwNDcsImV4cCI6MTcwMDkxMjI0MiwiZGF0YSI6IntcImlkXCI6XCJicmFpbnZhbGxleVwiLFwiY29tcGFueV9uYW1lXCI6XCJCcmFpblZhbGxleVwifSJ9.Tpg6LZgb5J3RFt2fnGgl4stx8_0mMW8ZEsxYV7MuAUY"}
JSON decoded:
"{\"status\":false,\"message\":\"Autorization Token has expired! Find new token in token param response\",\"token\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiIxNjIuMTU4LjkwLjE0NiIsImF1ZCI6ImJyYWludmFsbGV5IiwiaWF0IjoxNjg1MzYwMjQyLCJuYmYiOjE2NDcwMDMwNDcsImV4cCI6MTcwMDkxMjI0MiwiZGF0YSI6IntcImlkXCI6XCJicmFpbnZhbGxleVwiLFwiY29tcGFueV9uYW1lXCI6XCJCcmFpblZhbGxleVwifSJ9.Tpg6LZgb5J3RFt2fnGgl4stx8_0mMW8ZEsxYV7MuAUY\"}"