make_return_parcel
Description
Creates a return parcel for selected line-item groups at a chosen return store. This parcel is expected by the store for return drop-off.
When to Use
After customer chooses an eligible return store.
After determining which items will be returned.
Before informing the customer of return instructions.
Workflow
Retrieve order details.
Get return endpoints.
Choose one endpoint.
Convert selected items into index ranges.
Call tool.
Confirm parcel number or success message.
Arguments
Field | Type | Required |
|---|---|---|
order_id | string | Yes |
lig_index_ranges | array | Yes |
endpoint_id | string | Yes |
Input Schema
{
"order_id": "string",
"lig_index_ranges": [[0, 1]],
"endpoint_id": "store_123"
}
Output
{ "result": "string" }Sample Prompts
“Create a return parcel for order 221 using endpoint 99”
“Generate an in-store return parcel for my jean”