Skip to content

Instantly share code, notes, and snippets.

@onedanshow
Last active February 6, 2019 12:41
Show Gist options
  • Save onedanshow/63c0fa1e090b5d208edb6af50dc8c4f7 to your computer and use it in GitHub Desktop.
Save onedanshow/63c0fa1e090b5d208edb6af50dc8c4f7 to your computer and use it in GitHub Desktop.
A Shopify-like order for a Zapier zap
{
"order": {
"note": "This is a customer note made at checkout or similar that will be internally visiable to M&E personnel.",
"local_delivery_date": "2019/01/24", // must be in YYYY/MM/DD
"shipping_address": {
"address1": "123 Amoebobacterieae St", // required
"address2": "",
"city": "Ottawa", // required
"company": null,
"country": "Canada", // required
"first_name": "Bob", // required
"last_name": "Bobsen", // required
"phone": "555-625-1199", // required
"province": "Ontario", // required
"zip": "K2P0V6" // required
},
"line_items": [
{
"name": "ABC Food Item", // internal use only
"sku": "ABC123", // this is an agreed upon SKU between you and M&E
"quantity": 1
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment