Last active
August 29, 2015 14:03
-
-
Save ksummerlin/b111250855650d7a9129 to your computer and use it in GitHub Desktop.
A simple PUT request to update the order.
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
//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