Skip to main content
GET
/
commerce
/
returns
/
{returnId}
/
items
/
{returnItemId}
Error
A valid request URL is required to generate request examples
{
  "attributes": [
    {
      "attributeDefinitionId": 123,
      "auditInfo": {
        "createBy": "<string>",
        "createDate": "2023-11-07T05:31:56Z",
        "updateBy": "<string>",
        "updateDate": "2023-11-07T05:31:56Z"
      },
      "fullyQualifiedName": "<string>",
      "values": [
        "<unknown>"
      ]
    }
  ],
  "bundledProducts": [
    {
      "productCode": "<string>",
      "quantity": 123
    }
  ],
  "data": {},
  "dispositionInfo": [
    {
      "condition": "<string>",
      "locationCode": "<string>",
      "quantity": 123,
      "status": "<string>"
    }
  ],
  "excludeProductExtras": true,
  "id": "<string>",
  "inventoryTags": [
    {
      "name": "<string>",
      "value": "<string>"
    }
  ],
  "notes": [
    {
      "auditInfo": {
        "createBy": "<string>",
        "createDate": "2023-11-07T05:31:56Z",
        "updateBy": "<string>",
        "updateDate": "2023-11-07T05:31:56Z"
      },
      "id": "<string>",
      "text": "<string>"
    }
  ],
  "orderItemId": "<string>",
  "orderItemOptionAttributeFQN": "<string>",
  "orderLineId": 123,
  "product": {
    "allocationExpiration": "2023-11-07T05:31:56Z",
    "allocationId": 123,
    "description": "<string>",
    "fulfillmentStatus": "<string>",
    "goodsType": "<string>",
    "isPackagedStandAlone": true,
    "measurements": {
      "height": {
        "unit": "<string>",
        "value": 123
      },
      "length": {
        "unit": "<string>",
        "value": 123
      },
      "weight": {
        "unit": "<string>",
        "value": 123
      },
      "width": {
        "unit": "<string>",
        "value": 123
      }
    },
    "name": "<string>",
    "productCode": "<string>",
    "productReservationId": 123,
    "stock": {
      "aggregateInventory": 123,
      "availableDate": "2023-11-07T05:31:56Z",
      "availableFutureInventories": 123,
      "futureInventories": [
        {
          "allocated": 123,
          "available": 123,
          "createDate": "2023-11-07T05:31:56Z",
          "deliveryDate": "2023-11-07T05:31:56Z",
          "futureInventoryID": 123,
          "onhand": 123,
          "pending": 123
        }
      ],
      "isOnBackOrder": true,
      "isSubstitutable": true,
      "manageStock": true,
      "stockAvailable": 123,
      "totalAvailableStock": 123
    },
    "bundledProducts": [
      {
        "allocationExpiration": "2023-11-07T05:31:56Z",
        "allocationId": 123,
        "description": "<string>",
        "fulfillmentStatus": "<string>",
        "goodsType": "<string>",
        "isPackagedStandAlone": true,
        "measurements": {
          "height": {
            "unit": "<string>",
            "value": 123
          },
          "length": {
            "unit": "<string>",
            "value": 123
          },
          "weight": {
            "unit": "<string>",
            "value": 123
          },
          "width": {
            "unit": "<string>",
            "value": 123
          }
        },
        "name": "<string>",
        "productCode": "<string>",
        "productReservationId": 123,
        "stock": {
          "aggregateInventory": 123,
          "availableDate": "2023-11-07T05:31:56Z",
          "availableFutureInventories": 123,
          "futureInventories": [
            {
              "allocated": 123,
              "available": 123,
              "createDate": "2023-11-07T05:31:56Z",
              "deliveryDate": "2023-11-07T05:31:56Z",
              "futureInventoryID": 123,
              "onhand": 123,
              "pending": 123
            }
          ],
          "isOnBackOrder": true,
          "isSubstitutable": true,
          "manageStock": true,
          "stockAvailable": 123,
          "totalAvailableStock": 123
        },
        "creditValue": 123,
        "deltaPrice": 123,
        "imageUrl": "<string>",
        "optionAttributeFQN": "<string>",
        "optionValue": "<unknown>",
        "quantity": 123
      }
    ],
    "categories": [
      {
        "id": 123,
        "parent": {}
      }
    ],
    "condition": "<string>",
    "discountsRestricted": true,
    "discountsRestrictedEndDate": "2023-11-07T05:31:56Z",
    "discountsRestrictedStartDate": "2023-11-07T05:31:56Z",
    "fulfillmentFields": [
      {
        "name": "<string>",
        "required": true,
        "userEnteredValue": null
      }
    ],
    "fulfillmentTypesSupported": [
      "<string>"
    ],
    "imageAlternateText": "<string>",
    "imageUrl": "<string>",
    "isRecurring": true,
    "isTaxable": true,
    "mfgPartNumber": "<string>",
    "options": [
      {
        "attributeFQN": "<string>",
        "dataType": "<string>",
        "name": "<string>",
        "shopperEnteredValue": "<unknown>",
        "stringValue": "<string>",
        "value": "<unknown>"
      }
    ],
    "price": {
      "creditValue": 123,
      "isOverRidePriceSalePrice": true,
      "msrp": 123,
      "price": 123,
      "priceListCode": "<string>",
      "priceListEntryMode": "<string>",
      "salePrice": 123,
      "tenantOverridePrice": 123
    },
    "productType": "<string>",
    "productUsage": "<string>",
    "properties": [
      {
        "attributeFQN": "<string>",
        "dataType": "<string>",
        "isMultiValue": true,
        "name": "<string>",
        "values": [
          {
            "stringValue": "<string>",
            "value": null
          }
        ]
      }
    ],
    "serialNumber": "<string>",
    "sku": "<string>",
    "upc": "<string>",
    "variationProductCode": "<string>"
  },
  "productLossAmount": 123,
  "productLossTaxAmount": 123,
  "quantityReceived": 123,
  "quantityRefunded": 123,
  "quantityReplaced": 123,
  "quantityRestockable": 123,
  "quantityRestocked": 123,
  "quantityShipped": 123,
  "reasons": [
    {
      "quantity": 123,
      "reason": "<string>"
    }
  ],
  "receiveStatus": "<string>",
  "refundAmount": 123,
  "refundStatus": "<string>",
  "replaceStatus": "<string>",
  "returnNotRequired": true,
  "returnProcessingFeeApplied": 123,
  "returnType": "<string>",
  "shipmentItemId": 123,
  "shipmentNumber": 123,
  "shippingAndHandlingRefunded": true,
  "shippingLossAmount": 123,
  "shippingLossTaxAmount": 123,
  "taxData": {},
  "totalWithWeightedShippingAndHandling": 123,
  "totalWithoutWeightedShippingAndHandling": 123
}

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

returnId
string
required

Unique identifier of the return whose item you want to get.

returnItemId
string
required

Unique identifier of the return item whose details you want to get.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Response

Success

attributes
object[] | null

Collection of attributes defined for this return item.

bundledProducts
object[] | null
deprecated

Deprecated. Not used.

data
object

Custom data for a given vendor set within the commerce process.

dispositionInfo
object[] | null
excludeProductExtras
boolean | null

If this return item refers to a product/bundle that has product extras, this specifies whether those child items should be included or excluded. For backward compatibility, a null value will be treated as false, i.e. include the extras.

id
string | null

The identifier of the return

inventoryTags
object[] | null
notes
object[] | null

Any merchant-supplied notes for this ReturnItem.

orderItemId
string | null

The OrderItem that this ReturnItem is associated with. Either the Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.Product or the OrderItemId must be present.

orderItemOptionAttributeFQN
string | null

If this item refers to a product extra, provide the item's corresponding OptionAttributeFQN.

orderLineId
integer<int32> | null

The OrderLineId that this ReturnItem is associated with. If Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.OrderItemId is present, the OrderLineId should be present also.

product
object

The product as it appears on the order item.

productLossAmount
number<double> | null

The loss incurred of the returned products, used for accounting purposes.

productLossTaxAmount
number<double> | null

The tax on the returned products, used for accounting purposes.

quantityReceived
integer<int32>

The amount of this item actually received from the shopper. It may differ from the sum of the ReturnReasons. This is populated by the system when the Receive action is performed.

quantityRefunded
integer<int32>

The quantity of the item being refunded is specified in this field

quantityReplaced
integer<int32> | null

Specifies the quantity of this item that has been marked as replaced, i.e. it has been used to generate a replacement order for the return. Note that the quantity replaced may not line up with the quantity of the item actually sent back to the shopper, such as in the case of an exchange, e.g. swapping a medium shirt for a large shirt.

quantityRestockable
integer<int32>

Of the quantity returned, how many of this item can be added back into the inventory? This item is set by the merchant via an UpdateReturn call. It is used during the Restock action to set some quantity of this item back into the inventory management system.

quantityRestocked
integer<int32>

Field to specify How many items added to inventory

quantityShipped
integer<int32>

The quantity of this item fulfilled on the parent order.

reasons
object[] | null

For a given return reason (Damaged, Defective, MissingParts, DifferentExpectations, Late, NoLongerWanted, Other), how many of the above OrderItem are to be replaced. This value is provided by the Shopper when they request a Return.

receiveStatus
string | null

Describes the receive status of this item. If Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ReturnNotRequired is {true}, then this should be Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemReceiveStatusConst.NOT_REQUESTED. Otherwise the value should be Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemReceiveStatusConst.RECEIVED or Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemReceiveStatusConst.WAITING depending on Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.QuantityReceived.

refundAmount
number<double> | null

If a refund is issued for the return, how much of the refund amount is for this particular item.

refundStatus
string | null

Describes the refund status of this item. If Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ReturnType is Mozu.CommerceRuntime.Contracts.Returns.Return.ReturnTypeConst.REPLACE, then this should be Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemRefundStatusConst.NOT_REQUESTED. Otherwise the value should be Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemRefundStatusConst.REFUNDED or Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemRefundStatusConst.NOT_REFUNDED depending on Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.RefundAmount.

replaceStatus
string | null

Describes the replace status of this item. If Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ReturnType is Mozu.CommerceRuntime.Contracts.Returns.Return.ReturnTypeConst.REFUND, then this should be Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemReplaceStatusConst.NOT_REQUESTED. Otherwise the value should be Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemReplaceStatusConst.REPLACED or Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.ItemReplaceStatusConst.NOT_REPLACED depending on Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.QuantityReplaced.

returnNotRequired
boolean

Specifies whether this item should be returned to the merchant, e.g. if the item is irreparably damaged and it's not worth shipping back. Even if this is set to true, Mozu.CommerceRuntime.Contracts.Returns.ReturnItem.QuantityShipped should still be set to the quantity of items involved in the return.

returnProcessingFeeApplied
number<double> | null

The processing fee on the item that gets persisted into the database

returnType
string | null

Specifies whether the requested resolution for this item is Refund or Replace.

shipmentItemId
integer<int32> | null

The identifier of the item

shipmentNumber
integer<int32> | null
shippingAndHandlingRefunded
boolean | null

Determines if shipping and handling is returned on the item

shippingLossAmount
number<double> | null

The loss incurred of the returned product shipping, used for accounting purposes.

shippingLossTaxAmount
number<double> | null

The tax on the returned product shipping, used for accounting purposes.

taxData
object

Additional tax-related data for this return item.

totalWithWeightedShippingAndHandling
number<double> | null

Line item total with line item, Tax, Weighted Tax with Weighted shipping and handling costs

totalWithoutWeightedShippingAndHandling
number<double> | null

Taxable Subtotal including Weighted Order amounts