POST api/stockadjustment/item/transfer/initiate
Initiates an item transfer of item quantities, from sender ShopId to recipient ShopId.
Request Information
URI Parameters
None.
Body Parameters
Item transfer model
PublicAPI.Models.ItemTransferDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopIdSender |
Sender shop id. |
integer |
Range: inclusive between 1001 and 999999 |
| ShopIdRecipient |
Recipient shop id. |
integer |
Range: inclusive between 1001 and 999999 |
| Items |
List of items. |
Collection of PublicAPI.Models.ItemDto |
None. |
Request Formats
application/json, text/json
Sample:
{
"ShopIdSender": 1,
"ShopIdRecipient": 2,
"Items": [
{
"VariantId": 1,
"Quantity": 2
},
{
"VariantId": 1,
"Quantity": 2
}
]
}
application/xml, text/xml
Sample:
<ItemTransferDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
<Items>
<ItemDto>
<Quantity>2</Quantity>
<VariantId>1</VariantId>
</ItemDto>
<ItemDto>
<Quantity>2</Quantity>
<VariantId>1</VariantId>
</ItemDto>
</Items>
<ShopIdRecipient>2</ShopIdRecipient>
<ShopIdSender>1</ShopIdSender>
</ItemTransferDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
The automatically generated invoice identifier, for the item transfer draft.
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>