Standard RMA webhook
Authentication
This is Standard payload as of Feb 2021. The Standard payload contains what we believe is a sensible default set of attributes.
Request body
RMA details
This represents the status of the return during its journey to the distribution centre.
This field is populated right after a return is initiated.
This field is populated when we receive a first scan event from the carrier.
This field is populated when we receive a delivered scan event from the carrier.
This field is populated when an user chooses to cancel the return.
When Narvar creates the RMA number it will be passed in this field
Original order number for the order
Date when a return was created on the Narvar platform
Retailer name as it is stored in the Narvar system
This object will contain details package containing the returned item/s
The carrier tracking number for the package
This URL can be used to track the package status on the Narvar platform
Carrier used to delivery the package
Class of service used for the package
Destination area of the return
Destination city for the return
Destination country for the return
Fee associated with the return shown to the end user in the returns process
Method selected for the return. Only if MAIL is selected will a corresponding “package” object be sent
When customer ships the product via mail.
When the customer returns it in store.
When the customer returns on their own.
When customer choose the printerless option.
When customer gets the keep the item and the refund is issued without receiving items to the DC
Sent as “true” if the return was initiated by a gift recipient
Email associated with the return. When “gift” is “true” this will contain the gift recipient email collected by Narvar during the returns flow.
Locale that was used to initiate the return
Zip code of the return package origin
City of the return package origin
Country of the return package origin
Amount shown to the end user in the returns process as the estimated refund
Restocking fee shown to the end user during the returns process
Narvar will host the packing slip and label URL as a PDF. This is the URL to access that PDF
This is the refund method the user chose at the last step of the returns workflow.
If the user chose to receive the refund via Store Credit.
If the user chose to receive the refund in the original payment method.
Array of the items being returned
SKU of the item being returned
Unique identifier of the item being returned
Line number for the item
Quantity being returned
Reason for the return selected by the end user
Reason code for the return selected by the end user
Comments entered by the end user during the return process. 300 character max
Unit price of the item being returned
Unit price * Quantity being returned
This denotes if the item is a return or exchange
If the item is a return
If the item is an exchange
Title of the exchange item
Variant ID of the exchange item.
Variant SKU
Exchange options chosen by the user.
Note: color and size are examples - fields may vary based on the Inventory API integration.
Color of the exchange item
Size of the exchange item
All the custom attributes at the item level. This is populated from Orders API.
All the custom attributes at the order level. This is populated from Orders API.
List of all return shipments generated for this return
Tracking Number of this shipment
List of items in this return shipment
Destination address for this shipment
Sender address for this shipment
Carrier moniker for this shipment
Current status of this shipment
timestamp from epoch
timestamp from epoch
Examples
Responses
ITEM CREATED
Body
No payload is required in the response to Narvar. We will ignore any data sent back.
BAD REQUEST
UNAUTHORIZED
FORBIDDEN
INTERNAL SERVER ERROR
Body
Any 5xx response will be considered a failure
Examples
Narvar generates the RMA number will be passed in the payload
POST /rma HTTP/1.1
Content-Type: application/json
{
"return_tracking_status": "returned",
"rma_number": "993338",
"order_number": "70074401",
"return_creation_date": "2018-02-24T13:25:31Z",
"retailer_name": "peninsula",
"package": {
"tracking_number": "1Z453087998799333",
"tracking_url": "https://peninsula.narvar.com/peninsula/tracking/UPS?tracking_numbers=1Z6W11111650E0319580262&type=ret&order_number=70074401&rma=993338",
"carrier": "UPS",
"carrier_service_method": "Ground",
"destination_zip": "01810",
"destination_city": "Andover",
"destination_country": "US",
"shipping_fee": "5.99"
},
"return_method": "mail",
"gift": true,
"email": "johndoe@narvar.com",
"locale": "en_US",
"origin_zip": "94117",
"origin_city": "San Francisco",
"origin_country": "US",
"estimated_refund": "305.93",
"restocking_fee": "0",
"label_url": "https://narvar.com/retailer/label.pdf",
"refund_method": "store_credit",
"items": [
{
"sku": 3423423,
"item_id": "3",
"line_number": "1",
"quantity": "1",
"reason": "Did not Like",
"reason_code": "2OF",
"comment": "Comments entered by user",
"unit_price": "49.99",
"total_item_price": "299.94",
"transaction_type": "exchange",
"exchange_item": {
"variant_title": "Sweatshirt",
"variant_id": "0123",
"variant_sku": "1234",
"exchange_option": {
"color": "blue",
"size": "medium"
}
},
"item_custom_attributes": {}
}
],
"order_custom_attributes": {},
"shipment_info": [
{
"label_url": "",
"barcode_url": "",
"printerless_info_url": "",
"tracking_url": "",
"tracking_number": "709a390231c7cb341",
"items": [
{
"quantity": 1,
"item_id": "",
"product_sku": ""
}
],
"ship_to": {
"address": {
"city": "Seattle",
"state": "WA",
"country": "US",
"street1": "3211 W Mcgraw St",
"street2": "",
"zipcode": "98199"
}
},
"ship_from": {
"first_name": "",
"email": "",
"address": {
"city": "",
"state": "",
"country": "",
"street1": "",
"street2": "",
"zipcode": ""
}
},
"carrier": "fedex",
"status": "shipped",
"created_date": 1,
"modified_date": 1
},
{
"label_url": "",
"barcode_url": "",
"printerless_info_url": "",
"tracking_url": "",
"tracking_number": "709a390231c7cb342",
"items": [
{
"quantity": 1,
"item_id": "",
"product_sku": ""
}
],
"ship_to": {
"address": {
"city": "Seattle",
"state": "WA",
"country": "US",
"street1": "3211 W Mcgraw St",
"street2": "",
"zipcode": "98199"
}
},
"ship_from": {
"first_name": "",
"email": "",
"address": {
"city": "",
"state": "",
"country": "",
"street1": "",
"street2": "",
"zipcode": ""
}
},
"carrier": "fedex",
"status": "delivered",
"created_date": 1,
"modified_date": 1
}
]
}