| Name | Description | Type | Additional information |
|---|---|---|---|
| WarehouseLocationId |
Optional id of warehouse location where the return stock item(s) should be stored in the warehouse |
integer |
None. |
| AsDifferentProductId |
Optional id of product to restock it in the warehouse. |
integer |
None. |
| RefundItemAmount |
Refund amount per item. If not set (or null) original item price is used for credit. |
decimal number |
None. |
| ReasonId |
Id of return reason. ShopOwnerId of reason must be zero or match ShopOwner of shop for which the return is created. |
integer |
None. |
| ConditionId |
Id of return condition. ShopOwnerId of condition must be zero or match ShopOwner of shop for which the return is created. |
integer |
None. |
| Comment |
Comment for row. Overrides any existing comment. |
string |
None. |
| StockItems |
When product has advanced stock items, they need to specified here |
Collection of AdvancedStockItem |
None. |