OmnichannelInventoryService クラス
名前空間
OmnichannelInventoryService のメソッド
createReservation(createReservationInputRepresentation)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCICreateReservationOutputRepresentation createReservation(ConnectApi.OCICreateReservationInputRepresentation createReservationInputRepresentation)
パラメーター
- createReservationInputRepresentation
- 型: ConnectApi.OCICreateReservationInputRepresentation
- 1 つ以上のオムニチャネル在庫のロケーションまたはロケーショングループの在庫を予約するためのデータ。
fulfillReservation(fulfillReservationInputRepresentation)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCIFulfillReservationOutputRepresentation fulfillReservation(ConnectApi.OCIFulfillReservationInputRepresentation fulfillReservationInputRepresentation)
パラメーター
- fulfillReservationInputRepresentation
- 型: ConnectApi.OCIFulfillReservationInputRepresentation
- 履行する在庫予約のリストをラップします。
getInventoryAvailability(inventoryAvailabilityInputRepresentation)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCIGetInventoryAvailabilityOutputRepresentation getInventoryAvailability(ConnectApi.OCIGetInventoryAvailabilityInputRepresentation inventoryAvailabilityInputRepresentation)
パラメーター
- inventoryAvailabilityInputRepresentation
- 型: ConnectApi.OCIGetInventoryAvailabilityInputRepresentation
- 在庫状況を取得する要求の詳細。
getInventoryAvailabilityUploadStatus(uploadId)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCIUploadInventoryAvailabilityStatusOutputRepresentation getInventoryAvailabilityUploadStatus(String uploadId)
パラメーター
- uploadId
- 型: String
- アップロードジョブのアップロード ID。
getPublishLocationStructureStatus(uploadId)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCIPublishLocationStructureStatusOutputRepresentation getPublishLocationStructureStatus(String uploadId)
パラメーター
- uploadId
- 型: String
- 公開ジョブのアップロード ID。
publishLocationStructure()
releaseReservation(releaseReservationInputRepresentation)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCIReleaseReservationOutputRepresentation releaseReservation(ConnectApi.OCIReleaseReservationInputRepresentation releaseReservationInputRepresentation)
パラメーター
- releaseReservationInputRepresentation
- 型: ConnectApi.OCIReleaseReservationInputRepresentation
- リリースする 1 つ以上の在庫予約の詳細。
submitInventoryAvailabilityUpload(fileUpload)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCIUploadInventoryAvailabilityOutputRepresentation submitInventoryAvailabilityUpload(ConnectApi.BinaryInput fileUpload)
パラメーター
- fileUpload
- 型: ConnectApi.BinaryInput
- 在庫状況データを含む JSON ファイル。
使用方法
在庫状況データファイルを作成するには、データの形式をロケーションと個々の在庫レコードを表す一連の JSON エントリとして設定します。
- 最上位のエントリをカンマではなく改行で区切ります。各エントリを 1 行に入力します。
- システムが location エントリを読み取ると、後続の在庫エントリは別の location エントリを読み取るまで、その location に割り当てられます。
- 各 location エントリで、"mode":"UPDATE" を指定します。
- 各在庫レコードエントリには一意の recordId が必要です。ベストプラクティスは UUID を使用することです。レコード ID によって重複データのインポートが防止されます。
- 各在庫レコードエントリには effectiveDate が必要です。
- 各 futures エントリにはゼロ以外の quantity と将来の expectedDate が必要です。
- システムで作成または更新されるのはデータに含まれているエントリのみです。データに含まれていないエントリは削除されません。ただし、含まれているエントリに空の値が指定されている場合、その値は削除されます。
1{
2 "location":"Warehouse-A", // location identifier
3 "mode":"UPDATE" // must be UPDATE (other operations might be available in future releases)
4}
5{
6 "recordId":"0a87539d-f3dd-47bc-91c7-9c752e39dbe0", // unique identifier for the inventory record
7 "onHand":10,
8 "sku":"12389156",
9 "effectiveDate":"2020-12-08T14:05:22.790896-07:00",
10 "futures":[ // list of future restocks
11 {
12 "quantity":1,
13 "expectedDate":"2021-04-18T14:05:22.781-07:00"
14 },
15 {
16 "quantity":5,
17 "expectedDate":"2021-05-18T14:05:22.781-07:00"
18 }
19 ],
20 "safetyStockCount":0
21}
22{
23 "recordId":"0a87539d-f3dd-47bc-91c7-9c752e312345",
24 "onHand":10,
25 "sku":"9485728",
26 "effectiveDate":"2020-12-08T14:05:22.790896-07:00",
27 "futures":[
28 {
29 "quantity":10,
30 "expectedDate":"2021-04-18T14:05:22.781-07:00"
31 }
32 ],
33 "safetyStockCount":0
34}
35{"location":"Warehouse-B","mode":"UPDATE"}
36{"recordId":"0a87539d-f3dd-47bc-91c7-9c75abc123de","onHand":10,"sku":"12389156","effectiveDate":"2020-12-08T14:05:22.790896-07:00","futures":[{"quantity":1,"expectedDate":"2021-04-18T14:05:22.781-07:00"}],"safetyStockCount":0}
37{"recordId":"0a87539d-f3dd-47bc-91c7-9c75abc98765","onHand":10,"sku":"93867201","effectiveDate":"2020-12-08T14:05:22.790896-07:00","futures":[{"quantity":5,"expectedDate":"2021-04-18T14:05:22.781-07:00"}],"safetyStockCount":0}transferReservation(transferReservationInputRepresentation)
API バージョン
51.0
Chatter が必要かどうか
いいえ
署名
public static ConnectApi.OCITransferReservationOutputRepresentation transferReservation(ConnectApi.OCITransferReservationInputRepresentation transferReservationInputRepresentation)
パラメーター
- transferReservationInputRepresentation
- 型: ConnectApi.OCITransferReservationInputRepresentation
- 在庫予約移行のリストをラップし、1 つの失敗によりリスト全体をキャンセルするかどうかを指定します。