Skip to content

Instantly share code, notes, and snippets.

@g0ddest
Created April 4, 2014 08:53
Show Gist options
  • Save g0ddest/9970762 to your computer and use it in GitHub Desktop.
Save g0ddest/9970762 to your computer and use it in GitHub Desktop.
{
"id": "so140527/11",
"name": "Sales order #11 from 27.05.2014",
"customer_id": 587,
"bill_to": {
"country": "Romaina",
"country_code": "RO",
"zip": "RO2546",
"state": "Some State or null",
"city": "Budapeşt",
"address_1": "Lenin 1/56, 25",
"address_2": null,
"tel": "+1 123 456876",
"fax": null,
"mobile": null,
"name": "Mirca Snegur"
},
"ship_to": {
"country": "Romaina",
"country_code": "RO",
"zip": "RO2546",
"state": "Some State or null",
"city": "Budapeşt",
"address_1": "Lenin 1/56, 25",
"address_2": null,
"tel": "+1 123 456876",
"fax": null,
"mobile": null,
"name": "Mirca Snegur"
},
"create_date": "2013-12-25T00:00:00Z",
"last_modification_date": "2014-01-25T00:00:00Z",
"lines": [
{
"sku": "LIQ_BLU_10_0",
"name": "Liqua Ritchy Blueberry 10ml, Nicotine level 0mg/ml",
"count": 1000,
"blocked_count": 1000,
"price": 1.2,
"currency_code": "EUR"
},
{
"sku": "LIQ_BLU_10_5",
"name": "Liqua Ritchy Blueberry 10ml, Nicotine level 5mg/ml",
"count": 500,
"blocked_count": 250,
"price": 1.1,
"currency_code": "EUR"
}
],
"invoices": [
{
"date": "2014-01-15T00:00:00Z",
"file_path": "https://docs.google.com/.../invoice.pdf"
}
]
"history": [
{
"action": "Create",
"date": "2013-12-25T00:00:00Z",
"issuer": "ritchy",
"issuer_code": "rcyeu"
},
{
"action": "check quanitites",
"date": "2013-12-26T00:00:00Z",
"issuer": "maurice ward",
"issuer_code": "mw"
},
{
"action": "block quanitites",
"date": "2013-12-26T00:00:00Z",
"issuer": "maurice ward",
"issuer_code": "mw"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment