MY Orders

To fetch logged in users orders list.

To fetch logged in users order lis

GET https://emart.castleindia.in /api/orders?secret=xxxx

Query Parameters

NameTypeDescription

secret*

String

Secret key obtained from admin panel.

Headers

NameTypeDescription

Accept*

String

application/json

Authorization*

String

Bearer {token}

{
    "orders": [
        {
            "id": 49,
            "order_id": "EODD61de85e044eb4",
            "total_qty": 2,
            "payment_method": "Paypal",
            "transaction_id": "PAYID-MHPILYI7TU96906U3361744P",
            "total_items": 1,
            "currency": "USD",
            "order_total": 16.78,
            "tax_amount": 3.02,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 29.8
        },
        {
            "id": 48,
            "order_id": "EODD61de84b3a1631",
            "total_qty": 2,
            "payment_method": "Paypal",
            "transaction_id": "PAYID-MHPIJNI0UX735417L578301S",
            "total_items": 1,
            "currency": "USD",
            "order_total": 16.78,
            "tax_amount": 3.02,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0.5,
            "grand_total": 30.3
        },
        {
            "id": 47,
            "order_id": "EODD61de80a00b413",
            "total_qty": 1,
            "payment_method": "Paypal",
            "transaction_id": "PAYID-MHPIBKI0M575390CK795560B",
            "total_items": 1,
            "currency": "USD",
            "order_total": 8.39,
            "tax_amount": 1.51,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0.5,
            "grand_total": 20.4
        },
        {
            "id": 46,
            "order_id": "EODD61dd2b59b9861",
            "total_qty": 1,
            "payment_method": "Paypal",
            "transaction_id": "PAYID-MHOSWWY9HP05113FP439671T",
            "total_items": 1,
            "currency": "USD",
            "order_total": 8.39,
            "tax_amount": 1.51,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0.5,
            "grand_total": 20.4
        },
        {
            "id": 45,
            "order_id": "EODD61d2d43917c8f",
            "total_qty": 1,
            "payment_method": "ONEPAY",
            "transaction_id": "202201031617212017738927",
            "total_items": 1,
            "currency": "VND",
            "order_total": 18798.72,
            "tax_amount": 4126.55,
            "shipping": 275103.24,
            "handlingcharge": 229252.7,
            "gift_charge": 0,
            "grand_total": 527281.21
        },
        {
            "id": 44,
            "order_id": "EODD61d2d3c3117f3",
            "total_qty": 1,
            "payment_method": "ONEPAY",
            "transaction_id": "202201031615231465470806",
            "total_items": 1,
            "currency": "VND",
            "order_total": 18798.72,
            "tax_amount": 4126.55,
            "shipping": 275103.24,
            "handlingcharge": 229252.7,
            "gift_charge": 0,
            "grand_total": 527281.21
        },
        {
            "id": 43,
            "order_id": "EODD61d2d289487ee",
            "total_qty": 1,
            "payment_method": "ONEPAY",
            "transaction_id": "202201031610091955424664",
            "total_items": 1,
            "currency": "VND",
            "order_total": 18798.72,
            "tax_amount": 4126.55,
            "shipping": 275103.24,
            "handlingcharge": 229252.7,
            "gift_charge": 0,
            "grand_total": 527281.21
        },
        {
            "id": 42,
            "order_id": "EODD61d291c01f5b8",
            "total_qty": 1,
            "payment_method": "ONEPAY",
            "transaction_id": "20220103155839890053541",
            "total_items": 1,
            "currency": "VND",
            "order_total": 18798.72,
            "tax_amount": 4126.55,
            "shipping": 275103.24,
            "handlingcharge": 229252.7,
            "gift_charge": 0,
            "grand_total": 527281.21
        },
        {
            "id": 41,
            "order_id": "EODD61d291c01f5b7",
            "total_qty": 2,
            "payment_method": "Paytm",
            "transaction_id": "20220103111212800110168723503339200",
            "total_items": 2,
            "currency": "INR",
            "order_total": 11933.79,
            "tax_amount": 1761.72,
            "shipping": 913.44,
            "handlingcharge": 761.2,
            "gift_charge": 0,
            "grand_total": 15370.150000000001
        },
        {
            "id": 40,
            "order_id": "EODD61ae04e449f1f",
            "total_qty": 1,
            "payment_method": "Stripe",
            "transaction_id": "ch_1K3gV8IIJkWvsnWlXadMtcUD",
            "total_items": 1,
            "currency": "INR",
            "order_total": 61.36,
            "tax_amount": 13.47,
            "shipping": 897.96,
            "handlingcharge": 748.3,
            "gift_charge": 0,
            "grand_total": 1721.09
        },
        {
            "id": 39,
            "order_id": "EODD61ab5c39ae90c",
            "total_qty": 1,
            "payment_method": "Stripe",
            "transaction_id": "ch_1K2xAeAQEsn49CF5VAxumYLI",
            "total_items": 1,
            "currency": "USD",
            "order_total": 473.14,
            "tax_amount": 21.86,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 505
        },
        {
            "id": 38,
            "order_id": "EODD61ab5b5e6cbf3",
            "total_qty": 1,
            "payment_method": "Stripe",
            "transaction_id": "ch_1K2x77AQEsn49CF5yQ4RkjpL",
            "total_items": 1,
            "currency": "INR",
            "order_total": 37018.78,
            "tax_amount": 21.86,
            "shipping": 0,
            "handlingcharge": 748.3,
            "gift_charge": 0,
            "grand_total": 37788.94
        },
        {
            "id": 37,
            "order_id": "EODD61ab5a71b4af1",
            "total_qty": 1,
            "payment_method": "Stripe",
            "transaction_id": "ch_1K2x3MAQEsn49CF51vJNJlkO",
            "total_items": 1,
            "currency": "INR",
            "order_total": 7854.16,
            "tax_amount": 1724.08,
            "shipping": 897.96,
            "handlingcharge": 748.3,
            "gift_charge": 0,
            "grand_total": 11224.5
        },
        {
            "id": 36,
            "order_id": "EODD61ab5a134bd46",
            "total_qty": 1,
            "payment_method": "Stripe",
            "transaction_id": "ch_1K2x1nAQEsn49CF57w8BDTNo",
            "total_items": 1,
            "currency": "INR",
            "order_total": 484.65,
            "tax_amount": 0.99,
            "shipping": 0,
            "handlingcharge": 748.3,
            "gift_charge": 0,
            "grand_total": 1233.94
        },
        {
            "id": 35,
            "order_id": "EODD61ab302ecf437",
            "total_qty": 1,
            "payment_method": "Stripe",
            "transaction_id": "ch_3K2uERGBj6eLM2HW1tdkxekV",
            "total_items": 1,
            "currency": "USD",
            "order_total": 5.5,
            "tax_amount": 0.99,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 16.490000000000002
        },
        {
            "id": 34,
            "order_id": "EODD61ab2977a3363",
            "total_qty": 2,
            "payment_method": "Stripe",
            "transaction_id": "ch_3K2tmqGBj6eLM2HW0JbAt0ow",
            "total_items": 2,
            "currency": "USD",
            "order_total": 181.3,
            "tax_amount": 16.7,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 208
        },
        {
            "id": 33,
            "order_id": "EODD61ab0e360e9bd",
            "total_qty": 1,
            "payment_method": "Stripe",
            "transaction_id": "ch_3K2ryaGBj6eLM2HW1CYL2OqK",
            "total_items": 1,
            "currency": "USD",
            "order_total": 94.5,
            "tax_amount": 4.5,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 109
        },
        {
            "id": 30,
            "order_id": "EODD61963e9e25972",
            "total_qty": 1,
            "payment_method": "UPI/QR Payments",
            "transaction_id": "3PHWLfHm",
            "total_items": 1,
            "currency": "USD",
            "order_total": 104.96,
            "tax_amount": 23.04,
            "shipping": 12,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 150
        },
        {
            "id": 29,
            "order_id": "EODD618fa5529f60a",
            "total_qty": 1,
            "payment_method": "SQUARE PAY",
            "transaction_id": "TrTVS2GoqEaXDLX7VwY82nfsc7dZY",
            "total_items": 1,
            "currency": "USD",
            "order_total": 26.25,
            "tax_amount": 1.25,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 37.5
        },
        {
            "id": 28,
            "order_id": "EODD618cdbe7316d1",
            "total_qty": 3,
            "payment_method": "Midtrans",
            "transaction_id": "43a12d08-4c73-4eff-9839-c94774d6ead5",
            "total_items": 3,
            "currency": "USD",
            "order_total": 1465.79,
            "tax_amount": 287.38,
            "shipping": 0,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 1763.17
        },
        {
            "id": 3,
            "order_id": "EODD61753832753b0",
            "total_qty": 2,
            "payment_method": "Cashfree",
            "transaction_id": "1130877",
            "total_items": 1,
            "currency": "INR",
            "order_total": 15445.92,
            "tax_amount": 3390.57,
            "shipping": 882.96,
            "handlingcharge": 735.8,
            "gift_charge": 0,
            "grand_total": 20455.247919999998
        },
        {
            "id": 2,
            "order_id": "EODD6175302cad557",
            "total_qty": 2,
            "payment_method": "Paytm",
            "transaction_id": "20211024111212800110168958503102263",
            "total_items": 1,
            "currency": "USD",
            "order_total": 209.92,
            "tax_amount": 46.08,
            "shipping": 12,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 278.004
        },
        {
            "id": 1,
            "order_id": "EODD617529fb3c5b3",
            "total_qty": 1,
            "payment_method": "Paypal",
            "transaction_id": "PAYID-MF2SVBY26U27300KB092334X",
            "total_items": 1,
            "currency": "USD",
            "order_total": 104.96,
            "tax_amount": 23.04,
            "shipping": 12,
            "handlingcharge": 10,
            "gift_charge": 0,
            "grand_total": 150.002
        }
    ],
    "status": "success"
}

Last updated