Created
November 1, 2016 17:11
-
-
Save maxkremer/957ab5e869733ad82408e5eb5979ba3a to your computer and use it in GitHub Desktop.
Sample JSON for Cosmo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"user_id": "CUSTOMERID0001", | |
"custom_traits": "{}", | |
"email_address": "[email protected]", | |
"first_name": "John", | |
"last_name": "Bonham", | |
"phone": "1-555-1212", | |
"company": "LZ Records", | |
"address": | |
{ | |
"country": "Canada", | |
"city": "London", | |
"region": "Ontario", | |
"postal": "PLM2N5", | |
"address": "123 Any Lane" | |
}, | |
"orders": | |
[ | |
{ | |
"channel": "Store", | |
"order_id": "ORDERNUMBER00001", | |
"currency": "USD", | |
"fx_rate": 0.7, | |
"subtotal": 0, | |
"total": 0, | |
"revenue": 907.98, | |
"shipping": 4.22, | |
"shipping_method": "FE-DEX", | |
"tax": 17.98, | |
"discount": 10.00, | |
"coupon": "COUPON_CODE_0001", | |
"products": | |
[ | |
{ | |
"sku": "100008964-9343", | |
"name": "Big bad drum set", | |
"price": 895.99, | |
"quantity": 3, | |
}, | |
{ | |
"sku": "100008964-32423", | |
"name": "Drum Sticks", | |
"price": 12.99, | |
"quantity": 1, | |
} | |
], | |
"note": "This is a note", | |
"api_token": "sample-token-01" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment