Returns an order by id.
Path parameters
-
id
string Required
GET
/api/v2/orders/{id}
curl \
--request GET 'https://bi.agora.place/api/v2/orders/{id}'
Response examples (200)
{
"id": 111111,
"bordereau_url": "762b60bbe9f82bca7b80f5747fe959a4",
"price_h_t": 1000,
"price_t_v_a": 200,
"price_t_t_c": 1200,
"shipping_h_t": 100,
"shipping_t_v_a": 20,
"shipping_t_t_c": 120,
"shipping_address_json": "{\"street\":\"a\",\"additionnal\":\"a\",\"postcode\":\"75000\",\"city\":\"a\",\"country\":\"FR\",\"firstname\":\"a\",\"lastname\":\"a\",\"company\":\"A\", \"type\":\"shipping\",\"email\":\"email@dipli.com\",\"telephone\":\"061111111111\",\"deliveryinfos\":null,\"ref\":null}",
"shipping_status": "pending_confirmation",
"tracking_slug": "ups",
"tracking_number": "X12FA123GT",
"delivered_at": "2022-09-01",
"invoiced_at": "2022-09-01",
"public_id": "A-111111",
"created_at": "2022-09-01",
"to_ship": true,
"cart_items": [
{
"tax_class": "TVA Classique",
"product_sku": "APPLE_IPHONE_8_SKU",
"product_name": "Apple iPhone 8 64",
"product_quantity": 10,
"product_extra_infos": {
"id": 11699153,
"sku": "O3_MQ3D2ZD/A",
"name": "Apple iPhone 8 32",
"color": "Gris sideral",
"grade": "Grade C",
"price": 12000,
"stock": 1,
"position": "1er",
"packaging": "Chargeur et cable",
"tax_class": "Tva classique",
"grouped_id": 707026,
"product_id": 25005
}
}
]
}
Response examples (404)
{
"code": 404,
"msg": "Not Found"
}
Response examples (500)
{
"code": 500,
"msg": "Internale Server Error"
}