Get an order by id (manager)

GET /manager/orders/{id}

Path parameters

  • id integer Required

    The order id

Responses

  • 200 application/json

    Returns the order

    Hide response attributes Show response attributes object
    • id_order integer(int32)
    • id_order_external string(nullable)
    • total_amount number(float)
    • total_paid number(float)
    • total_ws number(float)
    • id_popliste integer(int32)
    • source string
    • last_status string
    • ambassador object

      Additional properties are allowed.

      Hide ambassador attributes Show ambassador attributes object
      • id_ambassador integer(int32)
      • image string
      • firstname string
      • lastname string
      • username string
      • email string
      • email_tmp string
      • active integer(int32)
      • status integer(int32)
      • online boolean

        true: when last_action_date is less than 5 minutes ago

      • last_action_date string(date-time)
      • customer_id string
      • anonymized boolean
    • id_meeting integer(int32)
    • id_meeting_external string(nullable)
    • customer_id string
    • order_info string
    • buyer object

      Additional properties are allowed.

      Hide buyer attributes Show buyer attributes object
      • id_ambassador integer(int32)
      • image string
      • firstname string
      • lastname string
      • username string
      • email string
      • email_tmp string
      • active integer(int32)
      • status integer(int32)
      • online boolean

        true: when last_action_date is less than 5 minutes ago

      • last_action_date string(date-time)
      • customer_id string
      • anonymized boolean
    • currency string
    • date_order string
    • type string
    • id_chat_segment integer(int32)
    • ambassador_chat object

      Additional properties are allowed.

      Hide ambassador_chat attributes Show ambassador_chat attributes object
      • id_ambassador integer(int32)
      • image string
      • firstname string
      • lastname string
      • username string
      • email string
      • email_tmp string
      • active integer(int32)
      • status integer(int32)
      • online boolean

        true: when last_action_date is less than 5 minutes ago

      • last_action_date string(date-time)
      • customer_id string
      • anonymized boolean
    • id_chatroom integer(int32)
    • date_insert string
    • date_update string
    • status array[object]
      Hide status attributes Show status attributes object
      • id_order_status integer(int32)
      • date_insert string
      • date_update string
      • comment string
      • id_order integer(int32)
      • status string
    • products array[object]
      Hide products attributes Show products attributes object
      • id_product integer(int32)
      • name string(nullable)
      • type string(nullable)
      • discount_percentage number(float)
      • price_catalog integer(float)
      • reference_unit_price integer(float)
      • sku string(nullable)
      • youtube_id string(nullable)
      • url string(nullable)
      • description string(nullable)
      • images array[object]
        Hide images attributes Show images attributes object
        • id_i18n_content integer
        • lang string

          Values are en_GB, fr_FR, es_ES, or de_DE.

        • content string
      • price number(float)
      • stock integer(float)
      • stock_available number(float)
      • old_image string(nullable)
      • order_details object

        Additional properties are allowed.

        Hide order_details attributes Show order_details attributes object
        • id_order integer(int32)
        • id_product integer(int32)
        • quantity integer(int32)
        • unit_price number(float)
        • sku string
        • currency string
        • total_price integer(float)

          unit_price * quantity

    • total_products_quantity integer(int32)

      Total quantity of products in the order

  • 401 application/json

    Unauthorized.

    Hide response attribute Show response attribute object
    • message string
  • 403

    Forbidden - You don't have permission to access this route

  • 404

    Not found - The Order does not exist

GET /manager/orders/{id}
curl \
 --request GET 'https://domain.tld/api/v2/manager/orders/{id}' \
 --header "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": "2025-05-04T09:42:00Z",
    "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": "2025-05-04T09:42:00Z",
    "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": "2025-05-04T09:42:00Z",
    "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."
}