Webhooks Reference

Payload Object Schemas

V 1.12

Primary Components

Return Line Item Scanned

PropertyTypeNullableSinceDescription
package_scanPackage Scanv1Information about the package and its sorting priority
return_detailReturn Detailsv1Information about the complete return

Return Line Item Details

PropertyTypeNullableSinceDescription
line_itemReturn Line Itemv1Information about the line item
returnReturn Summaryv1Basic information about the return

Bulk Return Event

PropertyTypeNullableSinceDescription
return_bulk_detailsBulk Return Detailsv1.15Basic Information about the the bulk return
returnReturn Detailsv1Detailed information about the return

Return Details

PropertyTypeNullableSinceDescription
idstringv1The Two Boxes ID for the return
captured_rmastring☑️v1.11The value captured in the RMA field of a work capture return in Two Boxes
commentsstring☑️v1Grader-entered comments during grading
completed_atstring - ISO8601 UTC date☑️v1Time when this return's status was marked "complete"
customerCustomer Event Datav1.5Information about the customer initiating the return
grading_statusstringv1Status of grading (ready, in progress, graded, complete)
kindstringv1.13The kind of return. One of the following values: "production", "test"
line_itemsList \ Return Line Itemv1The line items assigned to the return. There is one line item per returned unit
linked_line_itemsList \ Return Line Itemv1.12Line Items that are part of related returns
linksLinksv1.14Links to Two Boxes endpoints and actions relevant to the return
merchant_integrationMerchant Integration Summaryv1.10Merchant connections triggering this event
return_providerstringv1Two Boxes code for the RMA provider
return_typestringv1.13The type of return. One of the following values: "rma", "work-capture", "rts", "import", "unexpected-item", "bulk-capture"
rmastringv1RMA number provided by the RMA provider
rma_addressAddress Event Datav1.5Origin address of the RMA
rma_return_idstring☑️v1The ID in the RMA provider's system for this return
rtsboolv1True if return was marked RTS
store_front_providerstringv1Storefront that initiated the order
undeliverable_shipping_chargefloat64☑️v1.10Shipping charges for RTS undeliverable orders
work_captureboolv1True if return was processed by 3PL without an RMA

Return Line Item Ship Back

PropertyTypeNullableSinceDescription
line_itemReturn Line Itemv1Information about the package and its sorting priority
returnReturn Summaryv1Basic information about the return
ship_back_labelShip Back Label☑️v1.7Shipping information for items dispositioned as "Ship Back to Customer"

Sub-Components

Package Scan

PropertyTypeNullableSinceDescription
package_priorityintv1Highest priority of all units in the package
return_line_item_idUUIDv1ID referencing a line item inside the scanned package
return_line_item_prioritystringv1Priority assigned to a specific unit in the package
scanned_atTimev1UTC timestamp of when the package was scanned
scan_idUUIDv1Unique scan ID for idempotency checks
tracking_numberstringv1Tracking number on the scanned package

Return Summary

PropertyTypeNullableSinceDescription
idstringv1The Two Boxes ID for the return
captured_rmastring☑️v1.11The value captured in the RMA field of a work capture return in Two Boxes
merchant_integrationMerchant Integration Summaryv1.10BEING DEPRECATED DEC 30, 2025
rmastringv1RMA number provided by the RMA provider
rma_return_idstring☑️v1RMA provider’s return ID (nullable)

Return Line Item

PropertyTypeNullableSinceDescription
idstringv1The Two Boxes ID for the return line item
3pl3PLv1.14The Two Boxes 3pl the line item is assigned to
barcodestring☑️v1.5The barcode of the item as defined by the merchant product catalog
captured_lpnstringv1.10An externally generated LPN that is captured for this return line item
carrierstring☑️v1.5The carrier of the shipping label used to ship the return
child_reasonstring☑️v1.5The sub-reason for the return indicated by the customer
commentsstring☑️v1Optional comment provided by the grader
consolidation_codestring☑️v1.5Consolidation code if shipped via LTL palette
consolidation_providerstring☑️v1.5Consolidation provider if shipped via LTL palette
dispositionstringv1Return status: Return to Stock, Resale, Donate, Recycle, Dispose, Missing, Exception, Ship Back To Customer
expected_quantityintv1.15The expected number of units of this line item. Always 1 for non bulk return line items
expiration_datestring - ISO8601 UTC date☑️v1.9The captured expiration date
graded_attributesList[Return Line Item Attribute]v1List of grading attributes assigned to this line item
grading_ended_atstring - ISO8601 UTC date☑️v1Time when grading was completed
linksLinksv1.14Links to Two Boxes endpoints and actions relevant to the return line item
lot_codestring☑️v1.9The captured lot code
lpnstringv1Unique LPN for this return line item
merchantMerchantv1.14The Two Boxes Merchant which the line item is assigned to
parent_reasonstring☑️v1.5The primary reason for return as indicated by the customer
product_variantProduct Variant Summary☑️v1The matched or assigned product definition for this item
put_away_binstring☑️v1Bin assigned after grading
quantityintv1.12The number of units associated to the line item.
rma_line_item_idstringv1.5The ID of the line item in the external RMA provider
siteSite☑️v1.14The Two Boxes site the line item is assigned to
skustringv1The merchant's SKU as configured in the storefront provider
storefront_line_item_idstringv1The line item ID in the originating storefront order
storefront_order_idstring☑️v1The original storefront order ID
storefront_order_namestring☑️v1Name/ID for identifying the order
storefront_order_numberstring☑️v1The storefront's original order number
storefront_product_idstring☑️v1The storefront's product ID
storefront_variant_idstring☑️v1The storefront-provided unique ID for the product variant
tracking_numberstring☑️v1.5Tracking number of the shipping label
transform_skustring☑️v1SKU updated as a result of the grading process
transform_upcstring☑️v1UPC updated as a result of the grading process
upcstring☑️v1.5The UPC as defined by the merchant product catalog
work_capturebool☑️v1True if the return line item was processed by 3PL without an RMA

Address Event Data

PropertyTypeNullableSinceDescription
address_1stringv1.5Primary address of the customer return
address_2string☑️v1.5Secondary address of the customer return
citystring☑️v1.5City of the customer return
companystring☑️v1.5Company associated with the return
country_codestring☑️v1.5Country code of the customer return
phone_numberstring☑️v1.5Customer phone number
province_codestring☑️v1.5Province of the customer return
zipstringv1.5ZIP/postal code of the customer return

Customer Event Data

PropertyTypeNullableSinceDescription
emailstringv1.5Customer's email address
first_namestring☑️v1.5Customer's first name
full_namestring☑️v1.12Customer's full name (only populated for work capture returns)
last_namestring☑️v1.5Customer's last name
tagsList<string>☑️v1.5Tags for the customer

Merchant Integration Summary

PropertyTypeNullableSinceDescription
idstringv1Unique Two Boxes ID for the merchant integration
namestringv1Human-readable merchant name
merchantMerchantv1.10Merchant details
siteSitev1.10Site details

Product Variant Summary

PropertyTypeNullableSinceDescription
idstringv1The Two Boxes ID for the product variant
namestring☑️v1Product name in the merchant catalog
skustring☑️v1Product SKU in the merchant catalog
barcodestring☑️v1.5Product barcode in the merchant catalog

Return Line Item Attribute

PropertyTypeNullableSinceDescription
idstringv1The Two Boxes ID for the return line item attribute assigned during the grading lifecycle
merchant_grading_attributeMerchant Grading Attributev1Defines the inspection point / graded attribute assigned to this item
vas_successfulboolean☑️v1Null if VAS was not attempted on this item.
Otherwise, the outcome of the VAS required for this item and grading attribute
photo_urlslist of signed photo URLs☑️v1.9Signed photo URLs of all return line item attributes.<br

Merchant Grading Attribute

PropertyTypeNullableSinceDescription
idstringv1The Two Boxes ID for merchant-specific grading
grading_attributeGrading Attributev1The specific type of inspection point
mga_typestringv1Inspection or preassigned grading type
vas_definitionVAS Definition☑️v1.12The Value Added Service applied to the line item

Grading Attribute

PropertyTypeNullableSinceDescription
idstringv1The Two Boxes ID for the inspection point
titlestringv1Name of the inspection point (e.g., "Worn Soles")

VAS Definition

PropertyTypeNullableSinceDescription
idstringv1.12The Two Boxes ID for the VAS
instructionsstringv1.12The instructions for the VAS
titlestringv1.12The title of the VAS

Merchant

PropertyTypeNullableSinceDescription
idstringv1.10The Two Boxes ID for merchant
namestringv1.10Merchant name

Site

PropertyTypeNullableSinceDescription
idstringv1.10The Two Boxes ID for the site
namestringv1.10Site name

3PL

PropertyTypeNullableSinceDescription
idstringv1.14The Two Boxes ID for the 3PL
namestringv1.143PL name

Shipback Label

PropertyTypeNullableSinceDescription
carrierstringv1.7Shipping carrier for the unit
ship_from_addressAddress Event Datav1.7Address listed as "from" on the shipping label
ship_to_addressAddress Event Datav1.7Address listed as "to" on the shipping label
tracking_numberstringv1.7Tracking number associated with the shipping label

Links

PropertyTypeNullableSinceDescription
actionstring☑️v1.14API actions that can be taken on the entity
portalstring☑️v1.14url to view the entity in the Two Boxes Portal
selfstring☑️v1.14url to the entity in the Two Boxes API

Package Scan Not Found

PropertyTypeNullableSinceDescription
scanned_atTimev1.13UTC timestamp of when the package was scanned
site_idUUIDv1.13The Two Boxes ID for the site
tracking_numberstringv1.13Tracking number on the scanned package

Bulk Return Details

PropertyTypeNullableSinceDescription
external_postring☑️v1.15External Po captured for the bulk return
external_rostring☑️v1.15External Ro captured for the bulk return
order_numberstring☑️v1.15Order Number captured for the bulk return
retailerstring☑️v1.15Retailer captured for the bulk return
return_reasonstring☑️v1.15Return Reason captured for the bulk return
rmastring☑️v1.15RMA captured for the bulk return
senderstring☑️v1.15Sender captured for the bulk return