PUT v1/Returns/{id}/Rows

Update an existing OrderReturnRow.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
id

The OrderReturn identifier.

integer

Required.

Body Parameters

The OrderReturnRow.

OrderReturnRow
NameDescriptionTypeAdditional information
Id

Gets or sets the Id

integer

Required

OrderRowId

Gets or sets the order row id

integer

Required

ProductCode

Gets or sets the product code

string

None.

ProductName

Gets or sets the product name

string

None.

Comment

Gets or sets the comment

string

Max length: 2147483647

CustomerComment

Gets or sets the customer comment

string

Max length: 2147483647

ReturnedQuantity

Gets or sets the returned quantity

decimal number

Required

ApprovedQuantity

Gets or sets the approved quantity

decimal number

Required

Resolution

Gets or sets the resolution

ReturnResolutionEnum

None.

ReturnReasonId

Gets or sets the return reason id

integer

None.

MainReturnRowStatusId

Gets or sets the main return row status id

integer

Required

ReturnConditionId

Gets or sets the return condition id

integer

None.

ProductSelectionProductId

Gets or sets the

integer

None.

SupplierName

Gets or sets the supplier name

string

None.

CustomReturnRowStatusId

Gets or sets the customer return row status id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrderRowId": 2,
  "ProductCode": "sample string 3",
  "ProductName": "sample string 4",
  "Comment": "sample string 5",
  "CustomerComment": "sample string 6",
  "ReturnedQuantity": 1.0,
  "ApprovedQuantity": 1.0,
  "Resolution": 0,
  "ReturnReasonId": 1,
  "MainReturnRowStatusId": 1,
  "ReturnConditionId": 1,
  "ProductSelectionProductId": 1,
  "SupplierName": "sample string 7",
  "CustomReturnRowStatusId": 1
}

application/xml, text/xml

Sample:
<OrderReturnRow xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <OrderRowId>2</OrderRowId>
  <ProductCode>sample string 3</ProductCode>
  <ProductName>sample string 4</ProductName>
  <Comment>sample string 5</Comment>
  <CustomerComment>sample string 6</CustomerComment>
  <ReturnedQuantity>1</ReturnedQuantity>
  <ApprovedQuantity>1</ApprovedQuantity>
  <Resolution>Undefined</Resolution>
  <ReturnReasonId>1</ReturnReasonId>
  <MainReturnRowStatusId>1</MainReturnRowStatusId>
  <ReturnConditionId>1</ReturnConditionId>
  <ProductSelectionProductId>1</ProductSelectionProductId>
  <SupplierName>sample string 7</SupplierName>
  <CustomReturnRowStatusId>1</CustomReturnRowStatusId>
</OrderReturnRow>

Response Information

Resource Description

The HttpResponseMessage object.


OrderReturnRow
NameDescriptionTypeAdditional information
Id

Gets or sets the Id

integer

Required

OrderRowId

Gets or sets the order row id

integer

Required

ProductCode

Gets or sets the product code

string

None.

ProductName

Gets or sets the product name

string

None.

Comment

Gets or sets the comment

string

Max length: 2147483647

CustomerComment

Gets or sets the customer comment

string

Max length: 2147483647

ReturnedQuantity

Gets or sets the returned quantity

decimal number

Required

ApprovedQuantity

Gets or sets the approved quantity

decimal number

Required

Resolution

Gets or sets the resolution

ReturnResolutionEnum

None.

ReturnReasonId

Gets or sets the return reason id

integer

None.

MainReturnRowStatusId

Gets or sets the main return row status id

integer

Required

ReturnConditionId

Gets or sets the return condition id

integer

None.

ProductSelectionProductId

Gets or sets the

integer

None.

SupplierName

Gets or sets the supplier name

string

None.

CustomReturnRowStatusId

Gets or sets the customer return row status id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "OrderRowId": 2,
  "ProductCode": "sample string 3",
  "ProductName": "sample string 4",
  "Comment": "sample string 5",
  "CustomerComment": "sample string 6",
  "ReturnedQuantity": 1.0,
  "ApprovedQuantity": 1.0,
  "Resolution": 0,
  "ReturnReasonId": 1,
  "MainReturnRowStatusId": 1,
  "ReturnConditionId": 1,
  "ProductSelectionProductId": 1,
  "SupplierName": "sample string 7",
  "CustomReturnRowStatusId": 1
}

application/xml, text/xml

Sample:
<OrderReturnRow xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Id>1</Id>
  <OrderRowId>2</OrderRowId>
  <ProductCode>sample string 3</ProductCode>
  <ProductName>sample string 4</ProductName>
  <Comment>sample string 5</Comment>
  <CustomerComment>sample string 6</CustomerComment>
  <ReturnedQuantity>1</ReturnedQuantity>
  <ApprovedQuantity>1</ApprovedQuantity>
  <Resolution>Undefined</Resolution>
  <ReturnReasonId>1</ReturnReasonId>
  <MainReturnRowStatusId>1</MainReturnRowStatusId>
  <ReturnConditionId>1</ReturnConditionId>
  <ProductSelectionProductId>1</ProductSelectionProductId>
  <SupplierName>sample string 7</SupplierName>
  <CustomReturnRowStatusId>1</CustomReturnRowStatusId>
</OrderReturnRow>