Determines whether an item or order is eligible for exchange.
Customers may request an exchange due to size, fit, color, or style preferences.
This endpoint verifies eligibility according to your defined business policies.
You can also specify a lineItemId to check exchange eligibility for a specific
item. If omitted, eligibility is checked for each item in the order.
Note:
orderIdType to order-number.orderIdType to order-external-id.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A header used by fabric to identify the tenant making the request. You must include tenant id in the authentication header for an API request to access any of fabric’s endpoints. You can retrieve the tenant id , which is also called account id, from Copilot. This header is required.
x-fabric-channel-id identifies the sales channel where the API request is being made; primarily for multichannel use cases. The channel ids are 12 corresponding to US and 13 corresponding to Canada. The default channel id is 12. This field is required.
Unique request ID
The type of order identifier used to locate the order.
Supported values:
order-numberorder-external-idorder-number, order-external-id The value of the specified order identifier.
The merchant-defined exchange policy to apply.
If omitted, the default policy is used.
A single line item ID.
OK
Eligibility details object.
Reason codes for returns
Fee details
Item's eligibility for return, cancellation, or exchange
24-character system-generated order ID
"62f3982438bcab1951be0a19"
Return, exchange or cancellation window as per merchant policy
"30D00H00M"
Policy type that determines eligibility of exchange, return, or cancellation. If omitted, the default policy is considered.
"Company Policy 2023"