Update an order

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
Click Try It! to start a request and see the response here!