Orders API

Updating an order

Parameters

Name Description
order[name] Name of order
order[paid] If the order has been paid for
order[email] Email of user that placed the order

Request

Headers

Accept: application/json
Content-Type: application/json
Host: example.org
Cookie: 

Route

PUT /orders/11

Body

cURL

curl "http://rad-example.herokuapp.com/orders/11" -d '{"order":{"name":"Updated Name"}}' -X PUT \
	-H "Accept: application/json" \
	-H "Content-Type: application/json" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

X-UA-Compatible: IE=Edge,chrome=1
Cache-Control: no-cache
X-Request-Id: 729d86508902dead44ad7cd8c44ba691
X-Runtime: 0.007278

Status

204