GET api/Products/GetProductCostPrices?SKUCode={SKUCode}&productCode={productCode}&AppId={AppId}&AppKey={AppKey}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
SKUCode | string |
Default value is |
|
productCode | string |
Default value is |
|
AppId | string |
Default value is |
|
AppKey | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
StandardResponseClassOfProductCostPriceDetailName | Description | Type | Additional information |
---|---|---|---|
code | string |
None. |
|
msg | string |
None. |
|
data | Collection of ProductCostPriceDetail |
None. |
Response Formats
application/json, text/json
Sample:
{ "code": "sample string 1", "msg": "sample string 2", "data": [ { "ProductCode": "sample string 1", "ProductName": "sample string 2", "CostPrice": 3 }, { "ProductCode": "sample string 1", "ProductName": "sample string 2", "CostPrice": 3 } ] }
text/xml
Sample:
<StandardResponseClassOfProductCostPriceDetailm2ATiXWe xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EConnect.Models"> <code>sample string 1</code> <data> <ProductCostPriceDetail> <CostPrice>3</CostPrice> <ProductCode>sample string 1</ProductCode> <ProductName>sample string 2</ProductName> </ProductCostPriceDetail> <ProductCostPriceDetail> <CostPrice>3</CostPrice> <ProductCode>sample string 1</ProductCode> <ProductName>sample string 2</ProductName> </ProductCostPriceDetail> </data> <msg>sample string 2</msg> </StandardResponseClassOfProductCostPriceDetailm2ATiXWe>