Shopify - Set inventory levelアクション

このページは機械翻訳により提供されています。翻訳内容と英語版に相違がある場合は、英語版が優先されます。

このアクションは、指定されたlocationにあるinventory itemのinventory levelを設定します。 以前に接続されていない場合、inventory itemはlocationに接続されます。

このアクションを使用するには、ShopifyでInventory trackingを設定する必要があります。

入力

フィールド説明
Inventory item IDinventory levelを設定するinventory itemのShopify ID。
ロケーションIDinventory levelを設定するlocationのShopify ID。 locationのIDを見つけるには、List locationsアクションを使用します。
利用可能数量利用可能な在庫数量を設定します。
必要に応じて切断しますかpicklistから選択するか、独自の値を入力します。 inventory itemがfulfillment serviceに接続されている場合、または接続される場合に関連します。 yesの場合、以前に接続されていたすべてのlocationのinventory levelが0に設定され、切断されます。 noで、fulfillment serviceのlocationが関与している場合、アクションは失敗し、inventory levelは設定されません。

出力

フィールド説明
Inventory item IDinventory item ID。
ロケーションIDlocation ID。
Available販売可能なinventory itemの数量。 inventory itemが追跡されていない場合はnullを返します。
更新日時このinventory levelが最後に使用可能だった日時。
Admin GraphQL API ID一意のAdmin GraphQL API ID。

Last updated: