Skip to content

Instantly share code, notes, and snippets.

@dhruvasagar
Last active June 17, 2016 13:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhruvasagar/7604ff8bfa5b8233bcef51546d5df83f to your computer and use it in GitHub Desktop.
Save dhruvasagar/7604ff8bfa5b8233bcef51546d5df83f to your computer and use it in GitHub Desktop.
{
"customer_name": "Girish ",
"customer_phone_number": "8345657321",
"amount": 199,
"placement_date": "16/06/2016",
"line_items": [
{
"variant_sku": "TIWD2571_M",
"quantity": 1,
"lmdn_enabled": true,
"number": "441936972462-01"
}
],
"store_name": "Perf Retailer 50001",
"current_state": "order_placed",
"token": "9e38a4c07f20b1867cc2e14d99fc9fa20b2a4c15e7681929",
"number": "441936972462",
"request_id": "91228879995000120001",
"coupon_code": null,
"participants_attributes": [
{
"role": "retailer",
"name": "Retailer 50001",
"order_id": null,
"account_updated": null,
"participant_id": 20001,
"phone_number": "7000000001",
"commission_amount": null,
"commission_type": null,
"commission_type_value": null
},
{
"role": "distributor",
"name": "AMJATHKHAN",
"order_id": null,
"account_updated": null,
"participant_id": 2309,
"phone_number": "9543040400",
"commission_amount": null,
"commission_type": null,
"commission_type_value": null
}
],
"spree_order_attributes": {
"ship_address_attributes": {
"address1": "NO:157/7, Ghanga Complex, Harveypatti Bus Stop, G.S.T.Road,Thirupparnkundram, Madurai-625005",
"city": "Madurai",
"zipcode": "625005",
"phone": "9543040400",
"firstname": "AMJATHKHAN",
"state_name": "Tamil Nadu"
},
"bill_address_attributes": {
"address1": "Address for retailer 50001",
"city": "Bangalore",
"zipcode": "700258",
"phone": "7000000001",
"firstname": "Retailer 50001",
"state_name": "Karnataka"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment