Ecommerce
Backend
Order

## List

Get all order list by GET Method with filter function customized option for you. below list of route with parameter

https://ecom.coderorbit.com/public/api/admin/{{app_token}}/orders
 
headers:{ 
    "Accept": "application/json"    
    "Authorization" : `Bearer ${token}`
}

### Result

{
    "orders": [
    {
      "id": 5,
      "unique_id": "1688272740",
      "user_id": 14,
      "status": {
        "id": 2,
        "unique_id": "L1yhz8QZil0fYw1",
        "name": "Processing"
      },
      "discount": 18,
      "quantity": 2,
      "total": 90,
      "grand_total": 72,
      "payment_status": "Unpiad",
      "promo_code": "MS20",
      "description": "This is a note",
      "extend_props": {
        "vat": 0,
        "tax": 0,
        "boundle_name": "Bundle Offer 2 products",
        "type": "Bundle",
        "contact": {
          "address": "current address",
          "delivery_address": "Delivery Address",
          "email": "majadul.dev@gmail.com",
          "mobile": "01677270944"
        },
        "others": {
          "check": "test"
        }
      },
      "created_by": 14,
      "updated_by": 14,
      "deleted_at": null,
      "created_at": "2023-07-02T04:39:00.000000Z",
      "updated_at": "2023-07-02T11:34:50.000000Z",
      "order_items": [
        {
          "id": 9,
          "unique_id": "",
          "order_id": 1688272740,
          "vendor_id": 1,
          "brand_id": 1,
          "item_id": 4,
          "item_name": "this first add product from vs code",
          "icon": "",
          "regular_price": 50,
          "current_price": 40,
          "discount_amount": 0,
          "quantity": 1,
          "grand_total": 0,
          "extend_props": {
            "vat": 0,
            "tax": 0
          },
          "created_by": 14,
          "updated_by": 14,
          "deleted_at": null,
          "created_at": "2023-07-02T04:39:00.000000Z",
          "updated_at": "2023-07-02T04:39:00.000000Z"
        },
        {
          "id": 10,
          "unique_id": "",
          "order_id": 1688272740,
          "vendor_id": 1,
          "brand_id": 1,
          "item_id": 5,
          "item_name": "this first add product from vs code",
          "icon": "",
          "regular_price": 50,
          "current_price": 40,
          "discount_amount": 0,
          "quantity": 1,
          "grand_total": 0,
          "extend_props": {
            "vat": 0,
            "tax": 0
          },
          "created_by": 14,
          "updated_by": 14,
          "deleted_at": null,
          "created_at": "2023-07-02T04:39:00.000000Z",
          "updated_at": "2023-07-02T04:39:00.000000Z"
        }
      ]
    },
    {
        ...
    }
  ]
}
 

Order Summary

Get all order summary by GET Method with filter function customized option for you. below list of route with parameter

https://ecom.coderorbit.com/public/api/admin/{{app_token}}/order_summary
 
headers:{ 
    "Accept": "application/json"    
    "Authorization" : `Bearer ${token}`
}

### Result

    {
    "all": 5,
    "pending": 2,
    "processing": 1,
    "packaging": 1,
    "shipped": 0,
    "cancel": 0,
    "rejected": 0,
    "delivered": 1,
    "total_amount": 452,
    "total_cancel_reject_amount": 0,
    "total_delivered_amount": 90,
    "commission": 0,
    "affiliate": 0
    }
CODER ORBIT
Portugal Office:
Call: 01534-645492
11/C, House-1, Lane-10
Road-11, Dhaka 1216
Email: support@coderorbit.com
Others
Domain & Hosting
Course
Debug
Portfolio
FOLLOW US
SUBSCRIBE US
Subscribe
2018 - 2023 Copyright © Coder Orbit. All rights reserved.