Skip to content

Instantly share code, notes, and snippets.

@ksummerlin
Last active August 29, 2015 14:03
Show Gist options
  • Save ksummerlin/b111250855650d7a9129 to your computer and use it in GitHub Desktop.
Save ksummerlin/b111250855650d7a9129 to your computer and use it in GitHub Desktop.
A simple PUT request to update the order.
//PUT /admin/orders/#{id}.json
{
"order": {
"id": 450789469,
"email": "new_email@example.com",
"line_items": [
{
"id": 12412415,
"title": "Shiny Black Boots",
"price": 82.99,
"quantity": 1
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment