Orders

curl --request GET \ --url 'https://services-uat.bees-platform.dev/v1/order-service/v3/orders?orderStatus=PENDING&orderBy=PLACEMENT_DATE&sort=DESC&limit=50' \ --header 'Authorization: Bearer {{token}}' \ --header 'Content-Type: application/json' \ --header 'Content-Type": application/json' \ --header 'country: TZ' \ --header 'requestTraceId: 92ec94ba-aee4-11ec-b909-0242ac120002'

Order Get

BEES entity responsible to communicate the order to partner. In BEES today we work in a passive way, the partner requests the pending orders via HTTP GET. Following examples:

{ 
"orders":[
{
"beesAccountId": "58a1bf78-d727-4b2c-b514-9b22bf9f254e",
"channel": "B2B_APP",
"orderNumber": "UAT0012083",
"placementDate": "2023-12-31T12:34:47.000Z",
"previousStatus": "PENDING",
"status": "PENDING",
}
]
}

Response Get Order