The Returns Experience feature must be enabled for your account before you can use the Returns APIs. Contact your Key Account Manager or Customer Success team to activate it.
Two Core Data Objects
1. Return Ticket
The Return Ticket represents the consumer-initiated return request. It captures what the customer wants to return, why, and how they expect to be refunded.2. Return Shipment
The Return Shipment is a virtual representation of the physical parcel travelling back to you. It shares the same data structure as a standard outbound shipment.Every return must include at least one line item in the
line_items array, representing the product being returned. Requests without a line item will be rejected.
The Return Shipment also supports the full range of shipment fields: addresses, line items, notifications, shipping costs, documents, and tags.
Return Methods
When creating a return, specify how the consumer will send back the item using thereturn_method field:
Refund Methods
Use therefund_method field to specify how you will refund the consumer:
Return Statuses
Perform.AI sets thereturn_status automatically based on your actions:
When to Use the API vs. the Widget
Perform.AI provides a branded returns widget that you can embed on your website. When a consumer uses the widget to submit a return request, the Return Ticket and Return Shipment are automatically created in Perform.AI — you don’t need to call the API. Use the Create Return API only when the return request step is handled outside the branded widget, for example:- You have built your own returns portal
- You are ingesting returns from a third-party returns management system
- You are programmatically processing returns from your customer service tooling