Warehouse Events for Returns
Use the Return Processed API to trigger different return flows based on the acceptance or rejection of the registered return.
Overview
parcelLab provides an API you can use to trigger different flows in your returns experience based on a review of a return after it is received at your warehouse.
You can use the Return Processed API to send a custom event to parcelLab to update a return registered in your Returns Portal based on the outcome of returns that were processed in your warehouse. This event can be used to trigger subsequent events (for example: paying out a refund, sending emails to the customer).
Return Processed API
You can submit a custom event to update a registered return using the hook-rma-processed
endpoint.
Handles updates for RMA processed items and creates tracking updates
Your parcelLab account ID
1619884
Your parcelLab authentication token
<API-Token>
Must be application/json
External identifier for the return
66d8980c0c49874aecd20b68
Original order number
ORDER-0001
RMA identifier
RMA-1001
Courier handling the return
ups
Tracking number for the return shipment
1Z0001730802157555
When true
, articles with unspecified rejected quantities are treated as fully rejected. Defaults to false
if not provided.
false
RMA update accepted and being processed
Invalid request payload
Unauthorized request
Internal server error
POST /hook-rma-processed HTTP/1.1
Host: api.parcellab.com
user: text
token: text
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"courier": "ups",
"trackingNumber": "1Z0001730802157555",
"articles": [
{
"articleNo": "SKU-123",
"acceptedQuantity": 1,
"rejectedQuantity": 0
}
]
}
{
"message": "Accepted"
}
Last updated
Was this helpful?