emart - Laravel Multi-Vendor Ecommerce Advanced CM
  • Documentation
  • Introduction
  • Key Features
  • Installation
    • Server Requirements
    • Shared Hosting Install
    • Installation Step By Step
    • Installation on VPS hosting
  • Developer Guide
    • Developer Guide
  • Setting up emart
    • Mail settings
    • Setting up CRON JOBS
    • PWA Setup
    • Multivendor Setup
    • Setting up Multicurrency
    • Database backup
    • Import Demo Content
    • Push notifications
    • Seller Payouts
    • Front settings
      • Payment gateways
      • SMS Settings
    • Site Settings
    • Setting up Google review
    • Wallet settings
    • Add-on Manager
  • faq's
    • Installation FAQ's
    • General Settings
    • Disclaimer
    • Regular & Extended Licenses
    • Privacy Policy
    • Access Denied
  • UPDATE PROCESS
    • Changelogs
    • UpdateGuide
    • Quick Update
      • 2.8.x
      • 2.9.x
      • 3.0x
  • Support
    • Support
    • Source and Credits
    • Emart Tutorials - Youtube
    • Installation of eMart
  • Conclusion
    • Conclusion
  • portfolio
  • Codecanyon
  • Themeforest
  • Graphic River
  • Homepage
  • Emart Api
  • 🍿Getting Started
  • Login
  • Register
  • Refresh Token
  • Logout
  • Social Login API
  • Homepage (12/01/2022)
  • Product Detail page (18/01)
  • Product all Comments
  • Product All Reviews
  • Get All Brands
  • Brand Products
  • Main Category with products(26/11)
  • Subcategory with products (26/11)
  • Child category with their products (26/11)
  • Get all categories
  • Get All Subcategory
  • Get All Childcategories
  • 🦹‍♂️View User Profile
  • Current User Wallet
  • User Favorite Wishlist (26/11)
  • Add item in wishlist (09/02)
  • Remove items from wishlist (09/02)
  • Wishlist collection (09/02)
  • View Particular Wishlist collection (09/02)
  • Create wishlist collection (09/02)
  • Current User Address list (02/02)
  • Create new user address (02/02)
  • List Billing address (02/02)
  • Create billing address (02/02)
  • Current User bank list (10/01/2022)
  • Current User notifications
  • 🌟My Reviews
  • Get User Cart (13/01)
  • Add Item in User Cart (13/01)
  • Remove Item from user cart (13/01)
  • Clear user cart
  • Increase item quantity in user cart (19/01) (Updated)
  • Get Guest User Cart (15/01)
  • Guest cart Store (15/01)
  • Apply Coupans
  • Remove coupan
  • General FAQ API
  • Custom Page
  • Pincode API (03/02)
  • General Configurations
  • Payment Methods List
  • List of countries
  • List of states
  • List of Cities
  • Search City (03/02)
  • Fetch City List By Pincode For Guest (03/02)
  • Fetch city list with address for logged in user (03/02)
  • List Languages
  • Fetch Current Time
  • Policy Pages
  • Order Review (27/02)
  • Localpickup apply (27/02)
  • Remove Localpickup (27/02)
  • Confirm Order
  • MY Orders
  • View Order
  • Get Razorpay Payment ORDER ID
  • Generate Paytm Checksum
  • View All Flashdeals (12/01)
  • View Specific Flashdeals (12/01)
  • Wishlist
  • Changelogs
Powered by GitBook
On this page
  • This endpoint allows you to get order review page
  • IGST RESPONSE
  • CGST + SGST Example
  • IF response fail

Was this helpful?

Order Review (27/02)

Fire this api to get Order Review page.

This endpoint allows you to get order review page

GET https://emart.castleindia.in /api/order-review /api/order-review

Headers

Name
Type
Description

Authorization*

String

Bearer { bearer_token without brackets }

Request Body

Name
Type
Description

same_as*

Integer

Send 1 or 0 {1 if billing is same as shipping address , 0 if billing and shipping address are different}

billing_id*

Integer

Billing id which selected.

address_id*

Integer

Address id which selected.

currency*

String

Currency ISO code 3

{
    "billing_address": {
        "name": "User",
        "email": "customer@mediacity.co.in",
        "phone": 6543219870,
        "address": "Bhilwara",
        "country": "India",
        "state": "Rajasthan",
        "city": "Bhilwara",
        "pincode": 311001
    },
    "shipping_address": {
        "name": "User",
        "email": "customer@mediacity.co.in",
        "phone": 6543219870,
        "address": "Bhilwara",
        "country": "India",
        "state": "Rajasthan",
        "city": "Bhilwara",
        "pincode": 311001
    },
    "order_review": [
        {
            "cartid": 51,
            "productid": 1,
            "variantid": 1,
            "productname": {
                "en": "Canon EOS185"
            },
            "price": 25745.28,
            "total_price": 25745.28,
            "currency_symbol": "₹",
            "qty": 1,
            "rating": 4,
            "review": 1,
            "thumbnail_path": "https://emartv8.test/variantimages/thumbnails",
            "thumbnail": "variant_1596517251tehUwZNT9c.jpg",
            "tax_info": "Exclusive of tax",
            "soldby": "store01",
            "common_variant": [],
            "variant": [
                {
                    "var_name": "24MP",
                    "attr_name": "Resolution",
                    "type": "s"
                }
            ],
            "minorderqty": 1,
            "maxorderqty": 5,
            "shipping": 2944,
            "tax": {
                "tax_type": "single",
                "tax_name": {
                    "name1": {
                        "en": "GST"
                    }
                },
                "amount": {
                    "amount1": 0,
                    "totalAmount1": 0,
                    "combinedTotal": 0
                },
                "total_tax_amount": 0
            },
            "subtotal": 25745.28,
            "product_grand_total": 28689.28
        },
        {
            "cartid": 53,
            "productid": 132,
            "variantid": 108,
            "productname": {
                "en": "Yoga Matt"
            },
            "price": 617.5,
            "total_price": 617.5,
            "currency_symbol": "₹",
            "qty": 1,
            "rating": 0,
            "review": 0,
            "thumbnail_path": "https://emartv8.test/variantimages/thumbnails",
            "thumbnail": "variant_1594299426WeoJG0lo1t.png",
            "tax_info": "Inclusive of all taxes",
            "soldby": "emart",
            "common_variant": [],
            "variant": [
                {
                    "var_name": "Yellow",
                    "attr_name": "Color",
                    "type": "c"
                }
            ],
            "minorderqty": 1,
            "maxorderqty": 100,
            "shipping": 2944,
            "tax": {
                "tax_type": "multiple",
                "tax_name": {
                    "name1": {
                        "en": "IGST"
                    },
                    "name2": {
                        "en": "CGST"
                    }
                },
                "amount": {
                    "amount1": 55.57,
                    "totalAmount1": 55.57,
                    "amount2": 55.57,
                    "totalAmount2": 55.57,
                    "combinedTotal": 111.14
                },
                "total_tax_amount": 111.14
            },
            "subtotal": 617.5,
            "product_grand_total": 3672.64
        }
    ],
    "payment_details": {
        "total_items": 2,
        "subtotal": 26362.78,
        "total_tax": 111.14,
        "discount_amount": 2574.53,
        "coupan": {
            "id": 3,
            "code": "CART1000",
            "description": null,
            "distype": "per",
            "amount": "10",
            "link_by": "category",
            "pro_id": null,
            "cat_id": 2,
            "is_login": 0,
            "maxusage": 44,
            "minamount": null,
            "expirydate": "2021-10-10 00:00:00",
            "created_at": "2020-02-05T11:05:45.000000Z",
            "updated_at": "2021-01-28T04:16:07.000000Z"
        },
        "total_handingcharge": 0,
        "total_shipping": 5888,
        "grand_total": 29787.39
    }
}

IGST RESPONSE

{
    "shipping_address": {
        "name": "Admin",
        "email": "admin@mediacity.co.in",
        "phone": 1234567890,
        "address": "Sector-15, Wolf Street",
        "country": "United States",
        "state": "Georgia",
        "city": "Brunswick",
        "pincode": 10100
    },
    "billing_address": {
        "name": "John Doe",
        "email": "johndoe@example.com",
        "phone": 7894561230,
        "address": "Sample Billing Address",
        "country": "India",
        "state": "Rajasthan",
        "city": "Bhilwara",
        "pincode": 311001
    },
    "order_review": [
        {
            "cartid": 46,
            "productid": 132,
            "variantid": 108,
            "productname": {
                "en": "Yoga Matt"
            },
            "price": 611.05,
            "total_price": 611.05,
            "currency_symbol": "₹",
            "qty": 1,
            "rating": 0,
            "review": 0,
            "thumbnail_path": "https://emartv8.test/variantimages/thumbnails",
            "thumbnail": "variant_1594299426WeoJG0lo1t.png",
            "tax_info": "Inclusive of all taxes",
            "soldby": "emart",
            "common_variant": [],
            "variant": [
                {
                    "var_name": "Yellow",
                    "attr_name": "Color",
                    "type": "c"
                }
            ],
            "minorderqty": 1,
            "maxorderqty": 100,
            "shipping": 2913.2,
            "tax": {
                "tax_type": "single",
                "tax_name": {
                    "name1": {
                        "en": "IGST"
                    }
                },
                "amount": {
                    "amount1": 109.97,
                    "totalAmount1": 109.97,
                    "combinedTotal": 109.97
                },
                "total_tax_amount": 109.97
            },
            "subtotal": 3634.22
        }
    ]
}

CGST + SGST Example

{
    "shipping_address": {
        "name": "User",
        "email": "customer@mediacity.co.in",
        "phone": 6543219870,
        "address": "Bhilwara",
        "country": "India",
        "state": "Rajasthan",
        "city": "Bhilwara",
        "pincode": 311001
    },
    "billing_address": {
        "name": "Admin",
        "email": "admin@mediacity.co.in",
        "phone": 1234567890,
        "address": "NewStreet, Bhilwara",
        "country": "India",
        "state": "Rajasthan",
        "city": "Bhilwara",
        "pincode": 311001
    },
    "order_review": [
        {
            "cartid": 46,
            "productid": 132,
            "variantid": 108,
            "productname": {
                "en": "Yoga Matt"
            },
            "price": 611.05,
            "total_price": 611.05,
            "currency_symbol": "₹",
            "qty": 1,
            "rating": 0,
            "review": 0,
            "thumbnail_path": "https://emartv8.test/variantimages/thumbnails",
            "thumbnail": "variant_1594299426WeoJG0lo1t.png",
            "tax_info": "Inclusive of all taxes",
            "soldby": "emart",
            "common_variant": [],
            "variant": [
                {
                    "var_name": "Yellow",
                    "attr_name": "Color",
                    "type": "c"
                }
            ],
            "minorderqty": 1,
            "maxorderqty": 100,
            "shipping": 2913.2,
            "tax": {
                "tax_type": "multiple",
                "tax_name": {
                    "name1": {
                        "en": "IGST"
                    },
                    "name2": {
                        "en": "CGST"
                    }
                },
                "amount": {
                    "amount1": 54.99,
                    "totalAmount1": 54.99,
                    "amount2": 54.99,
                    "totalAmount2": 54.99,
                    "combinedTotal": 109.97
                },
                "total_tax_amount": 109.97
            },
            "subtotal": 3634.22
        }
    ]
}

IF response fail

{
    "msg": "The address id field is required.",
    "status": "fail"
}

PreviousPolicy PagesNextLocalpickup apply (27/02)

Last updated 2 years ago

Was this helpful?