POST catalog/products/recieve?averageCost={averageCost}&activityName={activityName}
Recieve products. Authorized only.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| averageCost | boolean |
Default value is False |
|
| activityName | string |
None. |
Body Parameters
Maximum 250 items per request.
Collection of ProductReceiveItem| Name | Description | Type | Additional information |
|---|---|---|---|
| SKU | string |
None. |
|
| Quantity | decimal number |
None. |
|
| Cost | decimal number |
None. |
|
| Price | decimal number |
None. |
|
| ModifiedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"SKU": "sample string 1",
"Quantity": 2.0,
"Cost": 1.0,
"Price": 1.0,
"ModifiedBy": "sample string 3"
},
{
"SKU": "sample string 1",
"Quantity": 2.0,
"Cost": 1.0,
"Price": 1.0,
"ModifiedBy": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfProductReceiveItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IConnect.Data.Mapping.Mobile.Catalog">
<ProductReceiveItem>
<Cost>1</Cost>
<ModifiedBy>sample string 3</ModifiedBy>
<Price>1</Price>
<Quantity>2</Quantity>
<SKU>sample string 1</SKU>
</ProductReceiveItem>
<ProductReceiveItem>
<Cost>1</Cost>
<ModifiedBy>sample string 3</ModifiedBy>
<Price>1</Price>
<Quantity>2</Quantity>
<SKU>sample string 1</SKU>
</ProductReceiveItem>
</ArrayOfProductReceiveItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |