Shopify - Set inventory levelアクション
このアクションは、指定されたlocationにあるinventory itemのinventory levelを設定します。 以前に接続されていない場合、inventory itemはlocationに接続されます。
このアクションを使用するには、ShopifyでInventory trackingを設定する必要があります。
入力
| フィールド | 説明 |
|---|---|
| Inventory item ID | inventory levelを設定するinventory itemのShopify ID。 |
| ロケーションID | inventory 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 ID | inventory item ID。 |
| ロケーションID | location ID。 |
| Available | 販売可能なinventory itemの数量。 inventory itemが追跡されていない場合はnullを返します。 |
| 更新日時 | このinventory levelが最後に使用可能だった日時。 |
| Admin GraphQL API ID | 一意のAdmin GraphQL API ID。 |
Last updated: