/orders/:id

Update an order

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

You can update any order you have access to. For example, you may want to set the fulfilled status to true:

$.put('http://sampleapi.readme.com/orders/123', {
  fulfilled: true,
  key: '[[app:key]]'
}, function(data) {
	alert(data);
});
r = requests.put('http://sampleapi.readme.com/orders/123', {
	fulfilled: true    
}, auth="[[app:key]]")
print r.text
var request = require('request');
request.put('http://sampleapi.readme.com/orders/123', {
  fulfilled: true,
}, function (error, response, body) {
  if (!error && response.statusCode == 200) {
    console.log(body) // Print the google web page.
  }
})
Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!