Manage orders - Check Inventory
Ruft die Ergebnisse der Bestandsüberprüfung für das angegebene Land ab.
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-Parameter
| Name | In | Erforderlich | Typ | Beschreibung |
|---|---|---|---|---|
|
version
|
path | True |
string |
|
|
country
|
query |
string |
Die Länderinformationen. Zwei Briefdarstellungen des Landes |
Anforderungsheader
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
| Name | Erforderlich | Typ | Beschreibung |
|---|---|---|---|
| Authorization | True |
string |
Autorisierungs-Bearertoken |
| ms-correlationid |
string |
Wird intern zum Nachverfolgen von Anforderungen verwendet. Wenn keine ms-correlationid angegeben wird, generiert der Server für jede Anforderung eine neue. |
|
| MS-CV |
string |
Wird intern zum Nachverfolgen von Anforderungen verwendet. Wenn kein MS-CV bereitgestellt wird, generiert der Server für jede Anforderung eine neue. |
|
| ms-requestid |
string |
Wird für die Idempotenz von Anforderungen verwendet. Wenn keine ms-requestid angegeben wird, generiert der Server für jede Anforderung eine neue anforderung. |
Anforderungstext
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
| Name | Typ | Beschreibung |
|---|---|---|
| inventoryCheckRequest |
Die Bestandsüberprüfungsanforderung. |
Antworten
| Name | Typ | Beschreibung |
|---|---|---|
| 200 OK |
Die Anforderung war erfolgreich. Die Bestandsergebnisse werden im Antworttext zurückgegeben. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Definitionen
| Name | Beschreibung |
|---|---|
|
Contracts. |
Die Bestandsüberprüfungsanforderung. |
|
Contracts. |
|
|
Contracts. |
Contracts.V1.Models.InventoryCheckRequest
Die Bestandsüberprüfungsanforderung.
| Name | Typ | Beschreibung |
|---|---|---|
| inventoryContext |
object |
|
| targetItems |
Contracts.V1.Models.InventoryItem
| Name | Typ | Beschreibung |
|---|---|---|
| isRestricted |
boolean |
|
| productId |
string |
|
| restrictions | ||
| skuId |
string |
Contracts.V1.Models.InventoryRestriction
| Name | Typ | Beschreibung |
|---|---|---|
| description |
string |
|
| properties |
object |
|
| reasonCode |
string |