Path parameters

  • id integer Required

    The order id

Responses

GET /manager/orders/{id}
curl \
 -X GET https://domain.tld/api/v2/manager/orders/{id} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "id_order": 42,
  "id_order_external": "string",
  "total_amount": 42.0,
  "total_paid": 42.0,
  "total_ws": 42.0,
  "id_popliste": 42,
  "source": "string",
  "last_status": "string",
  "ambassador": {
    "id_ambassador": 42,
    "image": "string",
    "firstname": "string",
    "lastname": "string",
    "username": "string",
    "email": "string",
    "email_tmp": "string",
    "active": 42,
    "status": 42,
    "online": true,
    "last_action_date": "2024-05-04T09:42:00+00:00",
    "customer_id": "string",
    "anonymized": true
  },
  "id_meeting": 42,
  "id_meeting_external": "string",
  "customer_id": "string",
  "order_info": "string",
  "buyer": {
    "id_ambassador": 42,
    "image": "string",
    "firstname": "string",
    "lastname": "string",
    "username": "string",
    "email": "string",
    "email_tmp": "string",
    "active": 42,
    "status": 42,
    "online": true,
    "last_action_date": "2024-05-04T09:42:00+00:00",
    "customer_id": "string",
    "anonymized": true
  },
  "currency": "string",
  "date_order": "string",
  "type": "string",
  "id_chat_segment": 42,
  "ambassador_chat": {
    "id_ambassador": 42,
    "image": "string",
    "firstname": "string",
    "lastname": "string",
    "username": "string",
    "email": "string",
    "email_tmp": "string",
    "active": 42,
    "status": 42,
    "online": true,
    "last_action_date": "2024-05-04T09:42:00+00:00",
    "customer_id": "string",
    "anonymized": true
  },
  "id_chatroom": 42,
  "date_insert": "string",
  "date_update": "string",
  "status": [
    {
      "id_order_status": 42,
      "date_insert": "string",
      "date_update": "string",
      "comment": "string",
      "id_order": 42,
      "status": "string"
    }
  ],
  "products": [
    {
      "id_product": 42,
      "name": "string",
      "type": "string",
      "discount_percentage": 42.0,
      "price_catalog": 42,
      "reference_unit_price": 42,
      "sku": "string",
      "youtube_id": "string",
      "url": "string",
      "description": "string",
      "images": [
        {
          "id_i18n_content": 42,
          "lang": "en_GB",
          "content": "Hello"
        }
      ],
      "price": 42.0,
      "stock": 42,
      "stock_available": 42.0,
      "old_image": "string",
      "order_details": {
        "id_order": 42,
        "id_product": 42,
        "quantity": 42,
        "unit_price": 42.0,
        "sku": "string",
        "currency": "string",
        "total_price": 42
      }
    }
  ],
  "total_products_quantity": 42
}
Response examples (401)
{
  "message": "Unauthorized."
}