Remove Localpickup (27/02)
Fire this api to remove the localpickup from order.
GET
https://emart.castleindia.in /api/localpickup/remove /api/localpickup/remove
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer {bearer_token without brackets} |
Accept* | String | application/json |
Request Body
Name | Type | Description |
---|---|---|
same_as* | Integer | Send 1 If Billing and shipping address are same and 0 if both are different. |
address_id* | Integer | Address id eg : 1 |
billing_id* | Integer | Billing address id eg : 1 |
currency* | String | Currency ISO code 3 eg: INR |
cartid* | Integer | Cart ID eg: 1 |
Cart ID eg: 1
{
"billing_address": {
"name": "Admin",
"email": "admin@mediacity.co.in",
"phone": 1234567890,
"address": "NewStreet, 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": 4634.15,
"totalAmount1": 4634.15,
"combinedTotal": 4634.15
},
"total_tax_amount": 4634.15
},
"subtotal": 25745.28,
"product_grand_total": 33323.43
},
{
"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": 4745.29,
"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": 34421.54
}
}
Cart ID eg: 1
{
"message": "Unauthenticated."
}
Last updated