Skip to content

Instantly share code, notes, and snippets.

@chrhicks
Created April 10, 2017 18:19
Show Gist options
  • Save chrhicks/a0d32a1f27737e4a7f56d4aa68caf5ca to your computer and use it in GitHub Desktop.
Save chrhicks/a0d32a1f27737e4a7f56d4aa68caf5ca to your computer and use it in GitHub Desktop.
Example Flow order format
{
"id": 4684773897,
"lines": [
{
"variant_id": 6056723589,
"quantity": 1,
"price": {
"name": "Price",
"amount": 135,
"cents": 13500,
"currency": "EUR",
"label": "135,00 €"
},
"total": {
"name": "Total",
"amount": 135,
"cents": 13500,
"currency": "EUR",
"label": "135,00 €"
}
}
],
"prices": [
{
"name": "Item subtotal",
"amount": 134.9,
"cents": 13490,
"currency": "EUR",
"label": "134,90 €"
},
{
"name": "Shipping",
"amount": 0,
"cents": 0,
"currency": "EUR",
"label": "0,00 €"
}
],
"total": {
"name": "Total",
"amount": 134.9,
"cents": 13490,
"currency": "EUR",
"label": "134,90 €"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment