Manage orders - Check Inventory
指定された国のインベントリ検証結果を取得します。
POST https://api.partnercenter.microsoft.com/v{version}/extensions/product/checkinventory
POST https://api.partnercenter.microsoft.com/v{version}/extensions/product/checkinventory?country={country}
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
version
|
path | True |
string |
|
|
country
|
query |
string |
国情報。 国の 2 文字表現 |
要求ヘッダー
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
| 名前 | 必須 | 型 | 説明 |
|---|---|---|---|
| Authorization | True |
string |
承認ベアラー トークン |
| ms-correlationid |
string |
要求を内部的に追跡するために使用されます。 ms-correlationid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
|
| MS-CV |
string |
要求を内部的に追跡するために使用されます。 MS-CV が指定されていない場合、サーバーは要求ごとに新しい MS-CV を生成します |
|
| ms-requestid |
string |
要求のべき等性に使用されます。 ms-requestid が指定されていない場合、サーバーは要求ごとに新しいものを生成します |
要求本文
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
| 名前 | 型 | 説明 |
|---|---|---|
| inventoryCheckRequest |
在庫チェック要求。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
要求が成功しました。 インベントリの結果は、応答本文で返されます。 Media Types: "application/json", "text/json", "application/xml", "text/xml" |
定義
| 名前 | 説明 |
|---|---|
|
Contracts. |
在庫チェック要求。 |
|
Contracts. |
|
|
Contracts. |
Contracts.V1.Models.InventoryCheckRequest
在庫チェック要求。
| 名前 | 型 | 説明 |
|---|---|---|
| inventoryContext |
object |
|
| targetItems |
Contracts.V1.Models.InventoryItem
| 名前 | 型 | 説明 |
|---|---|---|
| isRestricted |
boolean |
|
| productId |
string |
|
| restrictions | ||
| skuId |
string |
Contracts.V1.Models.InventoryRestriction
| 名前 | 型 | 説明 |
|---|---|---|
| description |
string |
|
| properties |
object |
|
| reasonCode |
string |