Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gauravgargtech/dbf90f930e1114bbc74dff30eea5e877 to your computer and use it in GitHub Desktop.
Save gauravgargtech/dbf90f930e1114bbc74dff30eea5e877 to your computer and use it in GitHub Desktop.
Online Return - choose address call Output
{
"success": true,
"messages": {
"success": [
"Order return customer address success"
]
},
"session": {
"id": "7javbaqgu6k0kkqpmojsu4ag33",
"expire": null,
"is_loggedin": true,
"app_cache_mt": {
"stmsgv": "1.3",
"hpbr": "18"
},
"YII_CSRF_TOKEN": "dd9802242ac88af7bc56950e7086864d0b20144f",
"rpid": null,
"api_token": "7javbaqgu6k0kkqpmojsu4ag33"
},
"server_flags": {
"webp_enabled": 0,
"gn_enabled": 0
},
"metadata": {
"md5": "",
"base_url": "http://sc.alice.jabong.com/mobapi/",
"media_base_url": "http://static.jabong.com",
"data": {
"shipping_address": {
"id_sales_order_address": "777",
"first_name": "gaurav garg",
"last_name": "ghj",
"address1": "test",
"city": "DELHI",
"postcode": "110065",
"phone": "3543543543",
"address_type": "0",
"fk_country": "105",
"is_billing": "0",
"created_at": "2016-04-13 19:10:06",
"updated_at": "2016-04-13 19:10:06",
"fk_customer_address_region": "26"
},
"saved_address": [
{
"id_customer_address": "710",
"first_name": "gaurav garg",
"middle_name": "",
"last_name": "ghj",
"address1": "test",
"address2": "",
"city": "DELHI",
"postcode": "110065",
"phone": "3543543543",
"address_type": "0",
"fk_customer": "1",
"fk_country": "105",
"fk_customer_address_region": "26",
"is_default_billing": "0",
"is_default_shipping": "1",
"created_at": "2016-03-17 18:39:53",
"updated_at": "2016-04-15 19:39:55",
"validation_flag": "-1"
},
{
"id_customer_address": "751",
"first_name": "gaurav garg",
"last_name": "ghj",
"address1": "N-531",
"address2": "SNP1",
"city": "New Delhii",
"postcode": "110066",
"phone": "919213565428",
"fk_customer": "1",
"fk_country": "105",
"fk_customer_address_region": "26",
"is_default_billing": "0",
"is_default_shipping": "0",
"created_at": "2016-04-14 16:51:21",
"updated_at": "2016-04-14 16:51:21",
"validation_flag": "-1"
},
{
"id_customer_address": "732",
"first_name": "gaurav garg",
"last_name": "ghj",
"address1": "N-531",
"address2": "SNP1",
"city": "New Delhii",
"postcode": "110066",
"phone": "919213565428",
"fk_customer": "1",
"fk_country": "105",
"fk_customer_address_region": "26",
"is_default_billing": "0",
"is_default_shipping": "0",
"created_at": "2016-04-14 16:22:30",
"updated_at": "2016-04-14 16:22:30",
"validation_flag": "-1"
},
{
"id_customer_address": "731",
"first_name": "hjghj",
"middle_name": "",
"last_name": "ghj",
"address1": "N-531",
"address2": "SNP1",
"city": "New Delhii",
"postcode": "110066",
"phone": "919213565428",
"fk_customer": "1",
"fk_country": "105",
"fk_customer_address_region": "26",
"is_default_billing": "0",
"is_default_shipping": "0",
"created_at": "2016-04-07 18:04:18",
"updated_at": "2016-04-07 18:04:19",
"validation_flag": "-1"
},
{
"id_customer_address": "730",
"first_name": "hjghj",
"middle_name": "",
"last_name": "ghj",
"address1": "N-531",
"address2": "SNP1",
"city": "New Delhii",
"postcode": "110066",
"phone": "919213565428",
"fk_customer": "1",
"fk_country": "105",
"fk_customer_address_region": "26",
"is_default_billing": "0",
"is_default_shipping": "0",
"created_at": "2016-04-07 16:50:44",
"updated_at": "2016-04-07 16:50:44",
"validation_flag": "-1"
}
],
"self_ship_address": {
"id_logistics_return_send_address": "3",
"crm_address_id": "120",
"pincode": "122015",
"city": "Delhi",
"state": "delhi",
"address": "delhi packaging centera address",
"phone": "56456456456",
"contact_person_name": "kerala muralee",
"email": "kk@kk.com",
"is_selfship": "self",
"is_active": "1",
"created_at": "2016-02-16 00:12:48",
"updated_at": "2016-02-16 00:12:48"
},
"self_ship_address_message": "Courier your products to a selected Jabong address at your convenience and get Rs160/kg Jabong Credits as reimbursement.",
"shippingAddressServiceability": [],
"refund_modes": [
{
"mode": "Jabong Credit",
"code": "JC",
"tat": "Processed in 1 day(s)",
"message": "Payment made in JC/Payback will be refunded in JC only",
"refund_by_text": "Refund by"
},
{
"mode": "NEFT",
"code": "NEFT",
"tat": "Processed in 4 day(s)",
"message": "Payment made in JC/Payback will be refunded in JC only",
"refund_by_text": "Refund initiated by"
}
],
"payment_gateway": "CashOnDelivery"
},
"action_name": "ReturnAddress"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment