---
# System prepended metadata

title: Evaly Core Order Module Merchant V2 API's

---

# Evaly Core Order Module Merchant V2 API's

```
<core_base_url> == https://api-beta.evaly.com.bd/core 
```

### End Points

## Seller's Order list
* **<core_base_url>/v2/merchant/seller-orders/**

```
requested_url:
<core_base_url>/v2/merchant/seller-orders/?page=1&limit=5

Query Params:
{
    'order_status', 'date', 'payment_method', 'payment_status'
}

request_method--GET

--header
     Authorization: bearer {token}
     
No Request Body Requred

Example Response Body:
{
  "count": 1098,
  "next": "http://127.0.0.1:8000/v2/merchant/seller-orders/?limit=5&page=2",
  "previous": null,
  "results": [
    {
      "id": 6177,
      "customer": {
        "id": 1062,
        "username": "01672099120",
        "first_name": "kamrujjaman",
        "last_name": "khan"
      },
      "invoice_no": "EVL147128342",
      "order_status": "cancel",
      "payment_method": "",
      "payment_status": "unpaid",
      "total": "2222.00",
      "date": "2021-07-08T18:36:41.148337Z"
    },
    {
      "id": 6176,
      "customer": {
        "id": 1062,
        "username": "01672099120",
        "first_name": "kamrujjaman",
        "last_name": "khan"
      },
      "invoice_no": "EVL315610355",
      "order_status": "cancel",
      "payment_method": "",
      "payment_status": "unpaid",
      "total": "2222.00",
      "date": "2021-07-08T18:30:22.317509Z"
    },
    {
      "id": 6166,
      "customer": {
        "id": 40,
        "username": "01938504111",
        "first_name": "Tanzina",
        "last_name": "Toma"
      },
      "invoice_no": "EVL252513174",
      "order_status": "pending",
      "payment_method": "",
      "payment_status": "unpaid",
      "total": "3333.00",
      "date": "2021-07-08T13:25:41.252909Z"
    },
    {
      "id": 6081,
      "customer": {
        "id": 1011,
        "username": "01681442238",
        "first_name": "syed",
        "last_name": "musa"
      },
      "invoice_no": "EVL631896609",
      "order_status": "processing",
      "payment_method": "balance",
      "payment_status": "paid",
      "total": "660.00",
      "date": "2021-07-07T10:48:12.632288Z"
    },
    {
      "id": 6080,
      "customer": {
        "id": 1011,
        "username": "01681442238",
        "first_name": "syed",
        "last_name": "musa"
      },
      "invoice_no": "EVL071725405",
      "order_status": "processing",
      "payment_method": "balance",
      "payment_status": "paid",
      "total": "660.00",
      "date": "2021-07-07T09:51:44.072073Z"
    }
  ]
}


```

## Seller Order details
* **<core_base_url>/v2/merchant/seller-orders/{invoice_no}/**

```
requested_url:
<core_base_url>/v2/merchant/seller-orders/EVL147128342/

request_method--GET

--header
     Authorization: bearer {token}
     
No Request Body Requred

Example Response Body:
{
  "id": 6177,
  "invoice_no": "EVL147128342",
  "order_items": [
    {
      "id": 7320,
      "shop_item": 6992,
      "quantity": 2,
      "item_name": "ALpha",
      "variations": [],
      "order_item_status": "pending",
      "order_time_price": "1111.00",
      "product_slug": "alpha-f56c3f009",
      "item_images": [
        "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/8f2b3bf5eec7-nagaddd.jpg"
      ]
    }
  ],
  "customer": {
    "id": 1062,
    "username": "01672099120",
    "first_name": "kamrujjaman",
    "last_name": "khan",
    "email": "",
    "gender": "male",
    "verified": true,
    "is_active": true
  },
  "customer_address": "Mohammadpur, Dhaka",
  "contact_number": "01977537988",
  "shop": {
    "name": "Shwapno  Evaly Priority Store",
    "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvODQxM2Q1N2YwNmE0LWRvd25sb2FkLTIuanBnIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogMjUwLCAiaGVpZ2h0IjogMjUwLCAiZml0IjogImNvbnRhaW4iLCAiYmFja2dyb3VuZCI6IHsiciI6IDAsICJnIjogMCwgImIiOiAwLCAiYWxwaGEiOiAwfX0sICJwbmciOiB7ImFkYXB0aXZlRmlsdGVyaW5nIjogdHJ1ZSwgInByb2dyZXNzaXZlIjogdHJ1ZSwgImZvcmNlIjogdHJ1ZX19fQ==",
    "slug": "shwapno-evaly-priority-store",
    "approved": true,
    "contact_number": "01997938460",
    "is_delivery_hero_allowed": false,
    "is_cod_allowed": false,
    "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvOTVkMWY2NTQzMjA1LUVjb21tZXJjZV9CYW5uZXIucG5nIiwgImVkaXRzIjogeyJyZXNpemUiOiB7IndpZHRoIjogOTAwLCAiaGVpZ2h0IjogMzUwLCAiZml0IjogImZpbGwifSwgImpwZWciOiB7InF1YWxpdHkiOiA3NX19fQ==",
    "address": "#8 house , #14 number house Dhanmondi Dhaka Banglades",
    "owner_name": "ishak"
  },
  "order_status": "cancel",
  "payment_method": "",
  "payment_status": "unpaid",
  "total": "2222.00",
  "subtotal": "2222.00",
  "paid_amount": "0.00",
  "status": "active",
  "date": "2021-07-08T18:36:41.148337Z",
  "shop_groups": [],
  "delivery_confirmed": false,
  "delivery_confirmation_required": false,
  "elgoistics_delivery_id": null,
  "elgoistics_delivery_hero_id": null,
  "elogistics_delivery_status": null,
  "is_delivery_hero_allowed": false,
  "campaign_rules": [],
  "is_express_order": false,
  "express_service_details": null,
  "customer_note": null,
  "last_update": "2021-07-08T19:13:39.734460Z",
  "allowed_payment_methods": [
    "balance",
    "gift_code",
    "sslcommerz_gateway",
    "citybank_gateway",
    "sebl_gateway",
    "bkash",
    "bank",
    "nagad",
    "upay_gateway"
  ],
  "apply_delivery_charge": false,
  "delivery_charge": null,
  "attachments": []
}


```


## Update order status
* **<core_base_url>/v2/merchant/orders/update/status/:invoice_no/**

```
requested_url:
<core_base_url>/v2/merchant/orders/update/status/EVL665108553/

request_method--PUT

--header
     Authorization: bearer {token}

Example Request Body:
{
    "user_note": "Seller shipped the order.",
    "order_status": "shipped"
}

Example Response Body:
{
  "success": true,
  "data": {
    "id": 6116,
    "invoice_no": "EVL665108553",
    "order_items": [
      {
        "id": 7250,
        "shop_item": 2297,
        "quantity": 2,
        "item_name": "Test Product",
        "variations": [],
        "order_item_status": "pending",
        "order_time_price": "450.00",
        "product_slug": "test-product-b40215a7a",
        "item_images": [
          "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/7dd87fdeef4f-424bfa3079ae-image.jpg"
        ]
      }
    ],
    "customer": {
      "id": 3,
      "username": "01977537988",
      "first_name": "The",
      "last_name": "Zinda",
      "email": "ishak@evaly.com.bd",
      "gender": "male",
      "verified": true,
      "is_active": true
    },
    "customer_address": "Road #3, Mohammadpur, Dhaka., Tongi, Gazipur, Dhaka",
    "contact_number": "01521200079",
    "shop": {
      "name": "Fair Trade For Cyclone",
      "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvMzJjZTAxYWQ5YjA1LTA1YjMwN2M0ZWIxOC0xMjh4MTI4LnBuZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
      "slug": "fair-trade-for-cyclone",
      "approved": true,
      "contact_number": "01521200079",
      "is_delivery_hero_allowed": false,
      "is_cod_allowed": false,
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmE4NDFlNGNmNjRhLXdhbGxwYXBlcmZsYXJlY29tX3dhbGxwYXBlci0zLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDkwMCwgImhlaWdodCI6IDM1MCwgImZpdCI6ICJmaWxsIn0sICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0=",
      "address": "Road #3, Mohammadpur, Dhaka.",
      "owner_name": "01677537984"
    },
    "order_status": "shipped",
    "payment_method": "sslcommerz_gateway",
    "payment_status": "partial",
    "total": "900.00",
    "subtotal": "900.00",
    "paid_amount": "10.00",
    "status": "active",
    "date": "2021-07-07T15:54:20.665456Z",
    "shop_groups": [],
    "delivery_confirmed": false,
    "delivery_confirmation_required": false,
    "campaign_rules": [
      {
        "id": 5,
        "name": "Cyclone on Every Friday",
        "slug": "cyclone-on-every-friday-d4db45",
        "image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/c305c5760848-flash-sale.png",
        "banner_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/0b6ff873272e-dims.jpg",
        "description": "[\"Only new payment is applicable for the Evaly \\\"Quick Deal\\\" campaign.\",\"All payments can be made upon Bank Deposit using Account Payee Cheques, availing Regular Gateway Services or through Bkash Merchant Account (01704169596) of Evaly.\",\"Several orders can be placed for products from the same category using every unique customer account. Delivery of more than one ordered product will be confirmed upon availability of stock.\",\"We highly encourage our customers to make the Full Payment using any convenient payment method for each order as Partial Payment modality is not applicable for this campaign.\",\"Product will be shipped the very next day of successful payment completion.\",\"All the Campaign products will be available in limited quantity and the offer will be active till stocks last.\",\"The Terms &Conditions constitute a legally bound understanding/agreement between the Customer and E-valy.com Limited. Please carefully read the above mentioned Terms & Conditions carefully before registering with us and/or using any of our services. By accepting it will be considered as the customer has agreed to be bound by the policies whenever accessing and browsing Evaly website and using the services. The customer will need to register own Evaly account to avail any service and/or offerings, and is required to be logged in to the account and have a valid payment method associated with it. Any breach of the Terms & Conditions will immediately effect as a prohibition on continuing to use Evaly website for further services. Evaly reserves the right to modify, extend, suspend, remove, disable or impose access restrictions or limits on any of the policies at any time without notice or liability; also the right to reject or cancel any order placed with Evaly, and/or to limit quantities on any order, without giving any reason. These restrictions may include the orders placed using the same Evaly account, the same payment method or orders that use the same billing or shipping address.\"]",
        "start_date": "2020-12-31T18:00:00Z",
        "end_date": "2030-03-13T18:00:00Z",
        "promotion_start_date": "2020-12-31T18:00:00Z",
        "promotion_end_date": "2030-12-19T18:00:00Z",
        "created_at": "2021-01-05T13:52:16.932280Z",
        "created_by": {
          "first_name": "Ishak",
          "last_name": "Ahammed",
          "username": "ishak"
        },
        "modified_at": "2021-07-06T17:55:49.923500Z",
        "modified_by": {
          "first_name": "Ishak",
          "last_name": "Ahammed",
          "username": "ishak"
        },
        "cashback_destination": "balance",
        "cashback_percentage": "50.00",
        "cashback_on_payment_by": "bkash,nagad,sebl_gateway,citybank_gateway,upay_gateway,sslcommerz_gateway,bank",
        "cashback_type": "instant",
        "cashback_date": null,
        "cashback_backoff_period": null,
        "allowed_payment_methods": "bkash,nagad,sebl_gateway,upay_gateway,citybank_gateway,sslcommerz_gateway,balance,bank,gift_code",
        "category": {
          "name": "Anniversary Flash Day",
          "slug": "anniversary-flash-day-1edd6ef9",
          "banner_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/02ce74f10797-smart-deal.png",
          "image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e55a9b55364b-smart-deal.png",
          "description": "description",
          "banner_primary_bg_color": "#59cccc",
          "banner_secondary_bg_color": "#e3fdfd",
          "banner_header_text": "Anniversary Flash Day",
          "banner_header_text_color": "#d00000",
          "banner_sub_text": "Anniversary Flash Day",
          "banner_sub_text_color": "#12130f",
          "status": "archived",
          "modified_at": "2021-01-25T14:29:58.942488Z",
          "modified_by": {
            "first_name": "Ishak",
            "last_name": "Ahammed",
            "username": "ishak"
          },
          "created_at": "2020-12-06T10:10:39.460048Z",
          "created_by": {
            "first_name": "Ishak",
            "last_name": "Ahammed",
            "username": "ishak"
          },
          "score": 0
        },
        "score": 0,
        "purchase_score_enabled": false,
        "purchase_score_type": null,
        "purchase_score_terms": null,
        "min_order_quantity": null,
        "min_order_amount": null,
        "max_order_quantity": null,
        "max_order_amount": null,
        "edit_before": null,
        "campaign_status": "live",
        "applied_on": "shop"
      }
    ],
    "is_express_order": false,
    "express_service_details": null,
    "customer_note": "50.00% cashback available for Bkash, Nagad, Sebl_gateway, Citybank_gateway, Upay_gateway, Sslcommerz_gateway and Bank payments. Cashback can be claimed instantly",
    "last_update": "2021-07-08T10:41:59.130048Z",
    "allowed_payment_methods": [
      "bkash",
      "nagad",
      "sebl_gateway",
      "upay_gateway",
      "citybank_gateway",
      "sslcommerz_gateway",
      "balance",
      "bank",
      "gift_code"
    ],
    "apply_delivery_charge": false,
    "delivery_charge": null,
    "attachments": [],
    "is_delivery_hero_allowed": false,
    "payment_offer_selected": "bkash_cashback",
    "maintain_by": null
  }
}
```


## Cancel order
* **<core_base_url>/v2/merchant/orders/cancel/:invoice_no/**

```
requested_url:
<core_base_url>/v2/merchant/orders/cancel/EVL665108553/

request_method--PUT

--header
     Authorization: bearer {token}

Example Request Body:
{
    "user_note": "Seller cancelled the order.",
    "order_status": "cancel"
}

Example Response Body:
{
  "success": true,
  "data": {
    "id": 6116,
    "invoice_no": "EVL665108553",
    "order_items": [
      {
        "id": 7250,
        "shop_item": 2297,
        "quantity": 2,
        "item_name": "Test Product",
        "variations": [],
        "order_item_status": "pending",
        "order_time_price": "450.00",
        "product_slug": "test-product-b40215a7a",
        "item_images": [
          "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/7dd87fdeef4f-424bfa3079ae-image.jpg"
        ]
      }
    ],
    "customer": {
      "id": 3,
      "username": "01977537988",
      "first_name": "The",
      "last_name": "Zinda",
      "email": "ishak@evaly.com.bd",
      "gender": "male",
      "verified": true,
      "is_active": true
    },
    "customer_address": "Road #3, Mohammadpur, Dhaka., Tongi, Gazipur, Dhaka",
    "contact_number": "01521200079",
    "shop": {
      "name": "Fair Trade For Cyclone",
      "logo_image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvMzJjZTAxYWQ5YjA1LTA1YjMwN2M0ZWIxOC0xMjh4MTI4LnBuZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDI1MCwgImhlaWdodCI6IDI1MCwgImZpdCI6ICJjb250YWluIiwgImJhY2tncm91bmQiOiB7InIiOiAwLCAiZyI6IDAsICJiIjogMCwgImFscGhhIjogMH19LCAicG5nIjogeyJhZGFwdGl2ZUZpbHRlcmluZyI6IHRydWUsICJwcm9ncmVzc2l2ZSI6IHRydWUsICJmb3JjZSI6IHRydWV9fX0=",
      "slug": "fair-trade-for-cyclone",
      "approved": true,
      "contact_number": "01521200079",
      "is_delivery_hero_allowed": false,
      "is_cod_allowed": false,
      "image": "https://df17fp68uwcso.cloudfront.net/eyJidWNrZXQiOiAibWVkaWEuZXZhbHkuY29tLmJkIiwgImtleSI6ICJtZWRpYS9pbWFnZXMvNmE4NDFlNGNmNjRhLXdhbGxwYXBlcmZsYXJlY29tX3dhbGxwYXBlci0zLmpwZyIsICJlZGl0cyI6IHsicmVzaXplIjogeyJ3aWR0aCI6IDkwMCwgImhlaWdodCI6IDM1MCwgImZpdCI6ICJmaWxsIn0sICJqcGVnIjogeyJxdWFsaXR5IjogNzV9fX0=",
      "address": "Road #3, Mohammadpur, Dhaka.",
      "owner_name": "01677537984"
    },
    "order_status": "cancel",
    "payment_method": "sslcommerz_gateway",
    "payment_status": "partial",
    "total": "900.00",
    "subtotal": "900.00",
    "paid_amount": "10.00",
    "status": "active",
    "date": "2021-07-07T15:54:20.665456Z",
    "shop_groups": [],
    "delivery_confirmed": false,
    "delivery_confirmation_required": false,
    "campaign_rules": [
      {
        "id": 5,
        "name": "Cyclone on Every Friday",
        "slug": "cyclone-on-every-friday-d4db45",
        "image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/c305c5760848-flash-sale.png",
        "banner_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/0b6ff873272e-dims.jpg",
        "description": "[\"Only new payment is applicable for the Evaly \\\"Quick Deal\\\" campaign.\",\"All payments can be made upon Bank Deposit using Account Payee Cheques, availing Regular Gateway Services or through Bkash Merchant Account (01704169596) of Evaly.\",\"Several orders can be placed for products from the same category using every unique customer account. Delivery of more than one ordered product will be confirmed upon availability of stock.\",\"We highly encourage our customers to make the Full Payment using any convenient payment method for each order as Partial Payment modality is not applicable for this campaign.\",\"Product will be shipped the very next day of successful payment completion.\",\"All the Campaign products will be available in limited quantity and the offer will be active till stocks last.\",\"The Terms &Conditions constitute a legally bound understanding/agreement between the Customer and E-valy.com Limited. Please carefully read the above mentioned Terms & Conditions carefully before registering with us and/or using any of our services. By accepting it will be considered as the customer has agreed to be bound by the policies whenever accessing and browsing Evaly website and using the services. The customer will need to register own Evaly account to avail any service and/or offerings, and is required to be logged in to the account and have a valid payment method associated with it. Any breach of the Terms & Conditions will immediately effect as a prohibition on continuing to use Evaly website for further services. Evaly reserves the right to modify, extend, suspend, remove, disable or impose access restrictions or limits on any of the policies at any time without notice or liability; also the right to reject or cancel any order placed with Evaly, and/or to limit quantities on any order, without giving any reason. These restrictions may include the orders placed using the same Evaly account, the same payment method or orders that use the same billing or shipping address.\"]",
        "start_date": "2020-12-31T18:00:00Z",
        "end_date": "2030-03-13T18:00:00Z",
        "promotion_start_date": "2020-12-31T18:00:00Z",
        "promotion_end_date": "2030-12-19T18:00:00Z",
        "created_at": "2021-01-05T13:52:16.932280Z",
        "created_by": {
          "first_name": "Ishak",
          "last_name": "Ahammed",
          "username": "ishak"
        },
        "modified_at": "2021-07-06T17:55:49.923500Z",
        "modified_by": {
          "first_name": "Ishak",
          "last_name": "Ahammed",
          "username": "ishak"
        },
        "cashback_destination": "balance",
        "cashback_percentage": "50.00",
        "cashback_on_payment_by": "bkash,nagad,sebl_gateway,citybank_gateway,upay_gateway,sslcommerz_gateway,bank",
        "cashback_type": "instant",
        "cashback_date": null,
        "cashback_backoff_period": null,
        "allowed_payment_methods": "bkash,nagad,sebl_gateway,upay_gateway,citybank_gateway,sslcommerz_gateway,balance,bank,gift_code",
        "category": {
          "name": "Anniversary Flash Day",
          "slug": "anniversary-flash-day-1edd6ef9",
          "banner_image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/02ce74f10797-smart-deal.png",
          "image": "https://s3-ap-southeast-1.amazonaws.com/media.evaly.com.bd/media/images/e55a9b55364b-smart-deal.png",
          "description": "description",
          "banner_primary_bg_color": "#59cccc",
          "banner_secondary_bg_color": "#e3fdfd",
          "banner_header_text": "Anniversary Flash Day",
          "banner_header_text_color": "#d00000",
          "banner_sub_text": "Anniversary Flash Day",
          "banner_sub_text_color": "#12130f",
          "status": "archived",
          "modified_at": "2021-01-25T14:29:58.942488Z",
          "modified_by": {
            "first_name": "Ishak",
            "last_name": "Ahammed",
            "username": "ishak"
          },
          "created_at": "2020-12-06T10:10:39.460048Z",
          "created_by": {
            "first_name": "Ishak",
            "last_name": "Ahammed",
            "username": "ishak"
          },
          "score": 0
        },
        "score": 0,
        "purchase_score_enabled": false,
        "purchase_score_type": null,
        "purchase_score_terms": null,
        "min_order_quantity": null,
        "min_order_amount": null,
        "max_order_quantity": null,
        "max_order_amount": null,
        "edit_before": null,
        "campaign_status": "live",
        "applied_on": "shop"
      }
    ],
    "is_express_order": false,
    "express_service_details": null,
    "customer_note": "50.00% cashback available for Bkash, Nagad, Sebl_gateway, Citybank_gateway, Upay_gateway, Sslcommerz_gateway and Bank payments. Cashback can be claimed instantly",
    "last_update": "2021-07-08T10:41:59.130048Z",
    "allowed_payment_methods": [
      "bkash",
      "nagad",
      "sebl_gateway",
      "upay_gateway",
      "citybank_gateway",
      "sslcommerz_gateway",
      "balance",
      "bank",
      "gift_code"
    ],
    "apply_delivery_charge": false,
    "delivery_charge": null,
    "attachments": [],
    "is_delivery_hero_allowed": false,
    "payment_offer_selected": "bkash_cashback",
    "maintain_by": null
  }
}
```



## Order History
* **<core_base_url>/v2/merchant/orders/histories/:invoice_no/**
Merchant side application calls this endpoint to see order history.
```
requested_url:
<core_base_url>/v2/merchant/orders/histories/EVL665108553/


request_method--GET

--header
     Authorization: bearer {token}

No Request Body requierd.

Example Response Body:
{
  "success": true,
  "data": {
    "invoice_no": "EVL665108553",
    "order_status": "cancel",
    "histories": [
      {
        "date": "2021-07-08T10:41:59.373460Z",
        "order_status": "cancel",
        "payment_status": "refund_requested",
        "note": "Tk. 10.00 refund requested to Evaly Pay by -  customer"
      },
      {
        "date": "2021-07-08T10:41:59.135922Z",
        "order_status": "cancel",
        "payment_status": "partial",
        "note": "Customer Canceled the order. -  ishak"
      },
      {
        "date": "2021-07-07T15:55:01.153266Z",
        "order_status": "pending",
        "payment_status": "partial",
        "note": "Tk. 10.0 (SSLCommerz Gateway) payment received by Evaly Pay from customer"
      },
      {
        "date": "2021-07-07T15:54:20.732721Z",
        "order_status": "pending",
        "payment_status": "unpaid",
        "note": "Thank you for placing your order at Evaly. We will start processing your order after payment is complete - Evaly"
      },
      {
        "date": "2021-07-07T15:54:20.667969Z",
        "order_status": "pending",
        "payment_status": "unpaid",
        "note": "<a href=\"/about/purchasing-policy\">Purchasing Policy</a> and <a href=\"/about/terms-conditions\">Terms & Conditions</a> accepted. EVL665108553 has been marked as <strong>Pending<strong> by -  customer"
      }
    ]
  }
}

```


## Export Order List
* **<core_base_url>/v2/merchant/orders/order_list_excel**
Merchant side application calls this endpoint to export all orders in excel file.
```

request_method--POST

--header
     Authorization: bearer {token}
     
Example Request Body:
{
	"email":"m.hoque@evaly.com.bd"
}

Example Response Body:
{
  "success": true,
  "message": "orders fetched successfully."
}
```


## Sales Growth (Shop wise)

* **<core_base_url>/v2/merchant/orders/sales-growth?shop=:shop_slug**

```
requested_url:
<core_base_url>/v2/merchant/orders/sales-growth?shop=sumaiya

request_method--GET

--header
     Authorization: bearer {token}
     
No Request Body Required

Example Response Body:
{
  "success": true,
  "message": "Shop sales growth fetched successfully",
  "data": [
    {
      "month": "Jan",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Feb",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Mar",
      "year": 2021,
      "total": 5898.0
    },
    {
      "month": "Apr",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "May",
      "year": 2021,
      "total": 500.0
    },
    {
      "month": "Jun",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Jul",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Aug",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Sep",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Oct",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Nov",
      "year": 2021,
      "total": 0.0
    },
    {
      "month": "Dec",
      "year": 2021,
      "total": 0.0
    }
  ]
}
```


## Delivered order analytics
* **<core_base_url>/v2/merchant/orders/delivered/analytics/shop?shop={shop_slug}**

```
requested_url:
<core_base_url>/v2/merchant/orders/delivered/analytics/shop?shop=zays-official-store

request_method--GET

--header
     Authorization: bearer {token}
     
No Request Body Required


Example Response Body:
{
  "success": true,
  "message": "Shop delivered order analytics fetched successfully",
  "data": [
    {
      "date": "2021-07-05",
      "total": 0.0,
      "count": 0
    },
    {
      "date": "2021-07-06",
      "total": 0.0,
      "count": 0
    },
    {
      "date": "2021-07-07",
      "total": 0.0,
      "count": 0
    },
    {
      "date": "2021-07-08",
      "total": 0.0,
      "count": 0
    },
    {
      "date": "2021-07-09",
      "total": 0.0,
      "count": 0
    },
    {
      "date": "2021-07-10",
      "total": 0.0,
      "count": 0
    },
    {
      "date": "2021-07-11",
      "total": 0.0,
      "count": 0
    }
  ]
}

```


## Status wise Order analytics
* **<core_base_url>/v2/merchant/orders/seller/stat-by-status**

```

request_method--GET

--header
     Authorization: bearer {token}
     
No Request Body Required


Example Response Body:
{
  "success": true,
  "message": "seller stat fetched successfully",
  "data": [
    {
      "order_status": "cancel",
      "total_order_amount": 56571903.0,
      "total_paid_amount": 10828.0,
      "total_orders": 496
    },
    {
      "order_status": "confirmed",
      "total_order_amount": 1000.0,
      "total_paid_amount": 0.0,
      "total_orders": 1
    },
    {
      "order_status": "delivered",
      "total_order_amount": 485230.0,
      "total_paid_amount": 73164.0,
      "total_orders": 22
    },
    {
      "order_status": "pending",
      "total_order_amount": 1905606.0,
      "total_paid_amount": 140878.0,
      "total_orders": 271
    },
    {
      "order_status": "picked",
      "total_order_amount": 7064197.0,
      "total_paid_amount": 65177.0,
      "total_orders": 30
    },
    {
      "order_status": "processing",
      "total_order_amount": 3787066.0,
      "total_paid_amount": 3682537.0,
      "total_orders": 276
    },
    {
      "order_status": "shipped",
      "total_order_amount": 1598.0,
      "total_paid_amount": 1598.0,
      "total_orders": 2
    }
  ]
}

```