POST api/jd-public/products/getstock
获取产品库存,建议详情页面使用
Request Information
URI Parameters
None.
Body Parameters
ClientParam| Name | Description | Type | Additional information |
|---|---|---|---|
| p | integer |
None. |
|
| c | integer |
None. |
|
| d | integer |
None. |
|
| t | integer |
None. |
|
| skus | Collection of ClientProduct |
None. |
Request Formats
application/json, text/json
Sample:
{
"p": 1,
"c": 2,
"d": 3,
"t": 4,
"skus": [
{
"sku": 1,
"count": 2
},
{
"sku": 1,
"count": 2
}
]
}
application/xml, text/xml
Sample:
<ClientParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Waiter.Mall.Apis.Services.JD">
<c>2</c>
<d>3</d>
<p>1</p>
<skus>
<ClientProduct>
<count>2</count>
<sku>1</sku>
</ClientProduct>
<ClientProduct>
<count>2</count>
<sku>1</sku>
</ClientProduct>
</skus>
<t>4</t>
</ClientParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.