> ## Documentation Index
> Fetch the complete documentation index at: https://developers.perform.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Self-Service Returns

> Let shoppers request a return, get it approved and download a label from your Tracking Page, under the return policy rules you configure.

**Available to all Returns customers.**

## Summary

Self-Service Returns lets a shopper start a return from the Tracking Page of a delivered order, choose the items and a return reason, get the request approved and download a return label, without contacting your support team. Every request lands in the Returns Overview in the portal, where your team reviews it or your return policy rules approve it automatically.

## Who it’s for

Customer service and e-commerce teams who handle return requests by email and ticket today. The returns widget is the same widget that shows the delivery, so the shopper stays on your branded page and your team stops re-typing return details from emails.

## Key benefits

* **Returns start where the delivery ends.** Once a shipment reaches Delivered, the Tracking Page shows a return call-to-action. The shopper picks the items and a reason in the same widget, so there is no separate returns portal to build or host.
* **Approval runs the way your return policy says.** Choose manual approval, automatic approval, or a hybrid flow where requests matching your criteria, such as high product value, wait for a manual review.
* **Your return policy is enforced in the form.** A return window, non-eligible items and items that need manual review are configured as rules, so a shopper sees up front what can be returned.
* **One request covers a multi-parcel order.** With returns at order level, the form lists every line item shipped under the same order ID, so the shopper does not file one request per parcel.
* **Shoppers can follow the return to the refund.** Return tracking events and the events you add, such as a completed quality check, show in the same widget and can trigger notifications and webhooks.

## How it works

### The return flow

| Step | What happens |
| - | - |
| Return request | The outbound shipment reaches Delivered. The Tracking Page highlights the status and shows the return call-to-action. The shopper selects items, gives a return reason, and optionally uploads an image and adds a comment. |
| Approval | The Return request and its Return Shipment are created in the portal. Depending on your approval flow, the request waits as Pending or is approved on the spot. |
| Label | After approval the shopper gets the return label in the widget, either immediately or after choosing a drop-off point. See [Return Options & Labels](https://developers.perform.ai/products/returns/return-options-and-labels.md). |
| Return tracking | As soon as the carrier confirms receipt of the parcel, the widget switches to show the return shipment’s tracking events. |
| Refund processing | Events you add to the Return Shipment, such as items received at the warehouse or a completed quality check, appear in the tracking timeline and can trigger notifications and webhooks. Perform.AI does not process refund payments. |

Brands already using Post-Purchase do not need to install anything else: outbound tracking and return tracking run through the same widget.

### Add the returns widget to your store

Self-Service Returns runs inside the Tracking Page widget, so the returns flow appears wherever that widget is embedded: your help centre, order status page or any other page of your site. To embed it, follow the steps on [Tracking Page](https://developers.perform.ai/products/post-purchase/tracking-page.md).

### The returns form

| Field | Rule |
| - | - |
| Items to return | Required. The shopper selects one or more line items. Items blocked by a policy rule show a non-eligible label and cannot be selected. |
| Return reason | Required. You define the return reasons. Up to 8 custom reasons are supported; ask your account team if you need more. |
| Image upload | Optional. The field can be shown or hidden. Its label and helper text are customisable. |
| Comment | Optional. The field can be shown or hidden. |

### Returns at order level or shipment level

* **Order level.** The form lists all line items from every shipment that shares the same order ID or reference. Recommended for most brands, because a shopper with a three-parcel order returns items from all of them in one request.
* **Shipment level.** The form lists only the line items of the shipment currently open. Useful for marketplaces, where one multi-parcel order can contain items from several sellers.

### Approval flows

| Flow | Behaviour |
| - | - |
| Manual | The request is created with status Pending. Your team approves or rejects it in the [Returns Overview](https://developers.perform.ai/products/returns/returns-overview.md). The widget tells the shopper the request was received and what happens next; this message is customisable, for example to state your approval timeline. |
| Automated | The request is approved on creation. The shopper goes straight to drop-off selection and the return label. |
| Hybrid | Requests are approved automatically or routed to manual review based on criteria you define, such as product value. |

A rejected request can later be changed to Approved. An approval cannot be reversed.

### Return policy rules

Rules align the returns form with your return policy and decide return eligibility. Four rule types are available:

| Rule | Effect |
| - | - |
| Return window | Defines how long an order or shipment stays eligible for return. After the window closes, the return call-to-action is disabled and a customisable message explains why. |
| Non-eligible items | Marks items that cannot be returned, for example hygiene products or sale items. They show a non-eligible label in the form and cannot be selected. The label text is customisable; the default is “Non-Eligible”. |
| Automated approval | Approves every request on creation. |
| Items requiring manual review | Excludes items such as high-value products from automatic approval and routes their requests to your team. |

Rules match against the shipment and line item data you send with the outbound shipment, so the data a rule relies on must be present on your shipments. Rules are configured with your account team. See [Returns Policy Rules](https://developers.perform.ai/products/returns/returns-policy-rules.md).

### Return statuses

Return requests move through these statuses in the Returns Overview:

| Status | Meaning |
| - | - |
| Pending | The request is waiting for approval or rejection. |
| Approved | You approved the request. |
| Rejected | You rejected the request. The reason you enter is shown to the shopper. |
| Cancelled | The shopper withdrew the request. |
| Shipping | The request is approved, the carrier booking succeeded and the parcel is about to be handed to the carrier. |
| Refunded | The parcel was returned and the shopper received the refund. This status is set when the Return Shipment is updated with a refund-processed event. |

A return shipment that has no new status is usually waiting on the carrier: either the carrier booking did not succeed, or the carrier has not yet sent new tracking events. Open the return shipment from the Returns Overview to check, and contact your account team if a booking failed.

### Pre-printed return labels

If you put a pre-printed return label in the outbound parcel, the shopper can return items without a digital return request. You create the Return Shipment through the API for each outbound shipment, ideally with the same order ID. The Return Shipment stays hidden on the Tracking Page until it receives a pick-up event, so it does not show while the outbound parcel is still on its way. Once visible, the widget shows only return tracking events: the request, approval, drop-off and label steps are skipped. This flow requires the Preprinted Return Labels setting on your account.

### Customisable text

| Text | Where it shows |
| - | - |
| Order non-eligible text | On the outbound Tracking Page for delivered shipments that can no longer be returned. |
| Returns form footer | At the bottom of the form. Typically links to your return policy or refund page. |
| Attachment upload label and helper text | On the image upload field. |
| Non-eligible product label | On items blocked by a non-eligible items rule. |
| Parcel details box | Custom text in the parcel details box throughout the flow. |
| Pending approval | While a request waits for manual review. |
| Reject reason | When a request is rejected. |
| Shipping instructions | When the return label is ready. |
| Return shipping text | In the parcel details box during the Download Label step. |

When both the parcel details box text and the return shipping text are set, the return shipping text shows in the Download Label step and the parcel details box text everywhere else. When the return shipping text is empty, the parcel details box text shows in every step.

### Additional line item information

Up to 3 extra line item fields, such as product ID, size or colour, can be shown in the order details section, the returns form and the return details section. You name the fields in the Tracking Page configuration and they are read from the line item data on the shipment.

### Branding and languages

The returns widget takes the branding of the Tracking Page it runs on, including your logo and brand colours, so the return flow looks like the rest of your site. A campaign image in the widget can promote new products during the return. The Tracking Page can be configured in more than 30 local languages for different return locations.

### Return reports

Under **Returns** > **Reports & Analysis**, two reports cover recent return requests:

* **Return approvals over time** shows the approval rate as a line graph or table.
* **Return Rate & Reasons** shows returns per day, the return rate and a pie chart of the return reasons shoppers submitted.

Reports cover requests from the last 30 days; the time range cannot be changed. Charts export as PNG or CSV, and the whole report can be sent by email.

## How to set it up

1. Embed the Tracking Page widget on your site. See [Tracking Page](https://developers.perform.ai/products/post-purchase/tracking-page.md).
2. Agree your return reasons, approval flow, return policy rules and custom text with your account team. Rules need the matching data on your outbound shipments.
3. To show extra line item fields, go to **Tracking Page configuration** > **Additional Features** > **Line Item** and enter up to 3 field names exactly as they appear in your shipment line items.
4. Manage incoming requests under **Returns** > **Returns Overview**. See [Returns Overview](https://developers.perform.ai/products/returns/returns-overview.md).

## Use via API and MCP

The returns API lets you create return requests from your own returns portal, a custom front end or customer service tooling, and amend them afterwards. Returns created through the API appear in the Returns Overview alongside widget requests.

* [Create a Return](https://developers.perform.ai/guides/create-return.md) with `POST /v5/return/` ([API reference](https://developers.perform.ai/api-reference/v5/returns/create-return.md)). Each request creates a Return request and its Return Shipment; the return label is generated later by the Return Booking Service.
* [Create a Return with a preprinted label](https://developers.perform.ai/guides/create-return-preprinted-label.md) registers a Return Shipment whose label shipped in the outbound parcel.
* [Update a Return](https://developers.perform.ai/guides/update-return.md) with `POST /v5/return/update/` ([API reference](https://developers.perform.ai/api-reference/v5/returns/update-return.md)) changes the return details and its Return Shipment.
* [Create events](https://developers.perform.ai/guides/create-events.md) adds return processing events, such as received at warehouse or quality check passed, to the Return Shipment. A warehouse or 3PL system can send these.
* [Webhooks](https://developers.perform.ai/guides/webhooks.md) deliver return events to your systems. Triggers can fire on events you choose, for example carrier receipt, warehouse receipt or a completed quality check.
* Authentication, rate limits and error formats are shared with the rest of the API: see [Authentication](https://developers.perform.ai/authentication.md), [Rate limits](https://developers.perform.ai/essentials/rate-limits.md) and [Responses and errors](https://developers.perform.ai/essentials/responses-and-errors.md).

## FAQ

### Do I need a separate returns portal?

No. The return call-to-action appears on the Tracking Page once the shipment is delivered, and the whole return flow, from item selection to label download, runs in the same widget as outbound tracking. If you already run your own returns portal, send its requests to Perform.AI with the returns API instead.

### Can I approve some returns automatically and review others?

Yes. The hybrid flow approves requests automatically unless they match your manual-review criteria, such as product value. The manual-review rule excludes those items from automatic approval.

### How many return reasons can I set up?

Up to 8 custom return reasons. Ask your account team if you need more.

### Can shoppers upload a photo with their return?

Yes, if you show the image upload field on the form. It is optional for the shopper, and you can also show or hide a comment field.

### What does a shopper see for an item that cannot be returned?

The item carries a non-eligible label in the form and cannot be selected. The label text defaults to “Non-Eligible” and can be changed to match your own terminology, for example “Final sale”.

### Can I undo an approval?

No. A rejected request can be changed to Approved, but an approval cannot be reversed.

## Troubleshooting

| Symptom | Cause | Fix |
| - | - | - |
| The return call-to-action does not appear | The outbound shipment has not reached Delivered, or the return window has closed | Check the shipment status in Shipment Overview. If the window has closed, the shopper sees the order non-eligible text instead. |
| An item that should be returnable shows as non-eligible | A non-eligible items rule matches the line item data on the shipment | Compare the item’s line item data with the rule and correct the data or the rule with your account team. |
| A request was approved automatically that should have waited for review | The manual-review rule did not match, usually because the shipment lacks the data the rule checks | Make sure the data the rule relies on, such as product value, is sent with the outbound shipment. |
| A shopper with a multi-parcel order only sees items from one parcel | Returns run at shipment level, or the parcels do not share an order ID | Switch to order-level returns, and send the same order ID on every shipment of the order. |
| A return shipment status is not updating | The carrier booking failed, or the carrier has not sent new tracking events yet | Open the return shipment from the Returns Overview. Contact your account team if the booking failed or the status has not changed for a long time. |
| A pre-printed return does not show on the Tracking Page | The Return Shipment has not received a pick-up event yet | Wait for the carrier’s first pick-up event; the return shows from then on. |
| Extra line item fields are blank on the widget | The field names in the configuration do not match the line item data on the shipment | Use the exact field names sent with the shipment’s line items. A maximum of 3 extra fields is shown. |

## Related

* [Return Options & Labels](https://developers.perform.ai/products/returns/return-options-and-labels.md)
* [Returns Overview](https://developers.perform.ai/products/returns/returns-overview.md)
* [Returns Notifications & Refund Triggers](https://developers.perform.ai/products/returns/returns-notifications-and-refund-triggers.md)
* [Returns Policy Rules](https://developers.perform.ai/products/returns/returns-policy-rules.md)
* [Tracking Page](https://developers.perform.ai/products/post-purchase/tracking-page.md)
* [Returns overview](https://developers.perform.ai/products/returns/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.