v3.1.0 Release
· 約1分
概要
- メーカー向けAPIの機能追加です
メーカー向け
以下のエンドポイントの {order_code} において、 OrdersMaker.code を指定する場合だと注文を一意に特定できないため、
OrdersMaker.id も指定できるように変更しました。
現在のエンドポイント
/api/v1/maker/orders_makers/{order_code}/order_products
/api/v1/maker/orders_makers/{order_code}/order_products/{branch_number}
/api/v1/maker/orders_makers/{order_code}/order_products/{branch_number}/confirm
/api/v1/maker/orders_makers/{order_code}/order_products/{branch_number}/update_delivery_date
新規で実装したエンドポイント
/api/v1/maker/orders_makers/{order_id}/order_products
/api/v1/maker/orders_makers/{order_id}/order_products/{branch_number}
/api/v1/maker/orders_makers/{order_id}/order_products/{branch_number}/confirm
/api/v1/maker/orders_makers/{order_id}/order_products/{branch_number}/update_delivery_date
注意
サーバサイドでは、order_code が指定されたのか、 order_id が指定されたのかを判別できないため、
order_id を最初に検索し、見つからなかったら order_code として検索します。
関連資料
https://tanomimaster.com/docs/api#tag/Maker/operation/listOrdersForMaker
小売向け
- なし。
管理者向け
- なし
