title: PATCH API REST best naming option
body: <p>I want to add, or replace a coupon to an order via api. I thought in this two possibilities</p>
  
  <p>PATCH /api/orders/{id}</p>
  
  <pre><code>{ "couponCode": "test"}
  </code></pre>
  
  <p>PATCH /api/orders/{id}/coupon/{couponCode}</p>
  
  <p>I like the second because it's important in the application to apply a coupon code, and this url specifies it very well. </p>
  
  <p>Are first and second valid possibilities following REST? The second option is valid with PUT and PATCH HTTP Methods?
  Which do you think is better?</p>
  
  <p>Thanks</p>