POST catalog/products/recieve?averageCost={averageCost}

Recieve products. Authorized only.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
averageCost

boolean

Default value is False

Body Parameters

Maximum 250 items per request.

Collection of ProductReceiveItem
NameDescriptionTypeAdditional information
SKU

string

None.

Quantity

decimal number

None.

Cost

decimal number

None.

Price

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SKU": "sample string 1",
    "Quantity": 2.0,
    "Cost": 1.0,
    "Price": 1.0
  },
  {
    "SKU": "sample string 1",
    "Quantity": 2.0,
    "Cost": 1.0,
    "Price": 1.0
  }
]

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>
    <Price>1</Price>
    <Quantity>2</Quantity>
    <SKU>sample string 1</SKU>
  </ProductReceiveItem>
  <ProductReceiveItem>
    <Cost>1</Cost>
    <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
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.