PUT /orders/{ORDER_ID}
指定された注文を更新するには、/api/orders/{ORDER_ID}に対してPUTを送信します。 APIからは注文のステータスのみを更新することができます。 {ORDER_ID}は、注文のIDです。
リクエスト:ヘッダー
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic <認証情報> |
PATH パラメータ
| Name | Type | 説明 |
|---|---|---|
ORDER_ID |
integer | 注文のID |
リクエスト:ボディ
| Name | Type | 必須 | 説明 | デフォルト値 |
|---|---|---|---|---|
status |
string | 必須 | 注文ステータス | |
notify_user |
integer | ユーザーに通知するかどうか | 1 | |
notify_department |
integer | 注文担当部署に通知するかどうか | 1 |
レスポンス
{}{}