Skip to main content
POST
/
commerce
/
orders
/
{orderId}
/
processreturnrules
Error
A valid request URL is required to generate request examples
[
  {
    "shipmentItemId": 123,
    "shipmentNumber": 123,
    "appliedReturnRuleInfo": {
      "isItemReturnable": true,
      "returnWindowClosed": true,
      "maxReturnQtyExceeded": true,
      "returnRuleInfo": {
        "isReturnable": true,
        "maxQty": 123,
        "maxDays": 123,
        "ruleCode": "<string>"
      }
    }
  }
]

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme.

Path Parameters

orderId
string
required

Unique identifier of the order item.

Query Parameters

responseFields
string

limits which fields are returned in the response body

Body

application/json

List of the shipments and their items to validate return rules

totalCount
integer<int32>
items
object[] | null

Response

Success

shipmentItemId
integer<int32>
shipmentNumber
integer<int32>
appliedReturnRuleInfo
object