Skip to main content

ReturnItem

Return provides access to the return item resource.

For more information please see Return.

Added 2018-08-03 Return Item Properties Example of a return object with items included

{
"response": {
"Page": 1,
"PageCount": 543,
"RecordsSent": 1,
"RecordsFound": 543,
"ReturnItem": [
{
"id": 1,
"Sequence": 1,
"SKU": "MEPTP28188",
"return_id": 2,
"supplier_id": 0,
"Supplier_Code": "",
"Price": 22,
"Quantity": 1,
"Value": 22,
"Discount": 0,
"Detail": {
"Article": "Test jeans",
"ColourCode": "188",
"ColourName": "BLACK",
"Brand": "Mens Core",
"ProductGroup": "DENIM",
"Reason Code": 1,
"Reason": "SIZING - TOO SMALL",
"Action Code": 2,
"Action": "Wastage",
"Supplier": 0,
"Location": "C000",
"Order Num": "",
"Order RSN": 0,
"Order Item RSN": 0,
"Sizes": [
{
"SKUSize": "MEPTP28188 B",
"Size": "28",
"Qty": 1,
"SizeSort": 2
}
]
}
}
]
}
}

ReturnItem Properties​

PropertyExampleDescription
id1300 Unique id of the order
return_id"4703122564"Order reference can be passed in. If passed it will be used with the Order_Source to check uniqueness
Sequence1092Customer id
SKU"01298"Order number created by i.Level (Read Only)
supplier_id0Supplier id
Supplier_Code"ABCO"Supplier code
Price12.50Price of item
Quantity1Item quantity being returned
Value12.50Value for return item
Discount0Discount amount
Detail{}Embeded object containing the return item detail and sizes

Detail​

PropertyExampleDescription
Article"Test Jeans"The article name
ColourCode"118"The colour code for the item
ColourName"BLACK"The colour name for the item
Brand"Mans Core"The brand the product belongs to
ProductGroup"DENIM"Product group the product belongs to
Reason Code1Reason code
Reason"SIZING - TOO SMALL"Reason text
Action Code2Action code
Action"Wastage"Action in text. Could be expanded version of the lookup value
Supplier0The supplier RSN
Location"C000"The pick location for the item
Order Num""The original order number if the item was imported from a previously created customer order
Order RSN0The original order RSN if the item was imported from a previously created customer order
Order Item RSN0The original order item RSN if the item was imported from a previously created customer order
Sizes[]An array of size objects with quantities (see below)

Sizes​

PropertyExampleDescription
SKUSize"MEPTP28188 B"The SKUSize for the variant
Size28The size code for the size variant
Qty1The qunatity for the size variant
SizeSort2The size sort for the given size variant

Return Methods​

GET /api/returnitem​

Returns all returnitem records in the system with all published fields.

ShowZeros Custom Parameter​

The ShowZeros parameter can be used to display sizes for the return item that have a zero quantity in them. By default the behaviour is to return only sizes that have a non zero quantity.