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 매개 변수
Name | In(다음 안에) | 필수 | 형식 | Description |
---|---|---|---|---|
version
|
path | True |
string |
|
country
|
query |
string |
국가 정보입니다. 국가의 두 글자 표현 |
요청 헤더
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | 필수 | 형식 | Description |
---|---|---|---|
Authorization | True |
string |
권한 부여 전달자 토큰 |
ms-correlationid |
string |
내부적으로 요청을 추적하는 데 사용됩니다. ms-correlationid가 제공되지 않으면 서버는 각 요청에 대해 새 상관 관계를 생성합니다. |
|
MS-CV |
string |
내부적으로 요청을 추적하는 데 사용됩니다. MS-CV 제공되지 않으면 서버는 각 요청에 대해 새 MS-CV 생성합니다. |
|
ms-requestid |
string |
요청의 idempotency에 사용됩니다. ms-requestid가 제공되지 않으면 서버는 각 요청에 대해 새 요청을 생성합니다. |
요청 본문
Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"
Name | 형식 | Description |
---|---|---|
inventoryCheckRequest |
인벤토리 확인 요청입니다. |
응답
Name | 형식 | Description |
---|---|---|
200 OK |
요청이 성공했습니다. 인벤토리 결과는 응답 본문에 반환됩니다. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
정의
Name | Description |
---|---|
Contracts. |
인벤토리 확인 요청입니다. |
Contracts. |
|
Contracts. |
Contracts.V1.Models.InventoryCheckRequest
인벤토리 확인 요청입니다.
Name | 형식 | Description |
---|---|---|
inventoryContext |
object |
|
targetItems |
Contracts.V1.Models.InventoryItem
Name | 형식 | Description |
---|---|---|
isRestricted |
boolean |
|
productId |
string |
|
restrictions | ||
skuId |
string |
Contracts.V1.Models.InventoryRestriction
Name | 형식 | Description |
---|---|---|
description |
string |
|
properties |
object |
|
reasonCode |
string |