受注
POST /webhook-orders
POST
/webhook-orders
Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” Smaregi-Event
string
イベント名 order-shipment:orders
Request Body
Section titled “Request Body ”object
contractId
契約ID
string
smaregi
event
イベント
string
order-shipment:orders
action
アクション
shipped
: 出荷済canceled
: キャンセル済
※actionは今後追加される場合があります。
string
shipped
storeId
受注店舗ID
string
1
orderHeadIds
受注IDリスト
Array<string>
[ "111", "222"]
Example
{ "contractId": "smaregi", "event": "order-shipment:orders", "action": "shipped", "storeId": "1", "orderHeadIds": [ "111", "222" ]}
Responses
Section titled “ Responses ”受信成功