You can get information about an order by using the order api:
Code Block |
---|
curl -s \ -H "Content-Type: application/json" \ -H "Authorization: Bearer ej577asf-a5k6-42yq-a3a2-fh03hb8cb58c" \ https://beta-api.ambita.com/infoland/v1/flex/orders/1234568/information |
It will return a response like this:
Code Block |
---|
{ "id": 16648791234568, "status": "FINISHED", "priceExclVat": 30, "priceInclVat": 37.5, "ordered": "2020-12-14T10:26:23.634+0100", "updated": "2021-03-23T07:40:23.336+0100", "reference": "test", "technicalReference": "some-technical-reference" "user": "USERNAME", "products": [ { "code": "WI30950100", "name": "Meglerbrev", "priceExclVat": 30, "priceInclVat": 37.5, "status": "FINISHED" } ] } |
...