Return Order Webhook
POSThttps://your_server_address/{your_return_order_endpoint}
Notifies you of a return status update.
The same body is sent when a return is created (the "返品作成" (return created) event in the admin) and when it is updated ("返品更新", return updated). Fields without a value are omitted, and null is never sent. Amounts are currently sometimes sent as decimals such as 5000.0. Accept both integer and decimal forms.
Headers
X-Recustomer-Signature-256-V2stringrequiredSignature. The lowercase hexadecimal HMAC-SHA256 of
{value of X-Recustomer-Signature-256-V2-Timestamp-Epoch}.{body}(withoutsha256=). Use the webhook secret string itself as the key (do not decode it as hexadecimal), and the body bytes exactly as received (do not reformat the JSON)X-Recustomer-Signature-256-V2-Timestamp-EpochstringrequiredTime of signing (Unix time in seconds). Renewed each time the notification is sent. Reject values that differ from the current time by more than 5 minutes
X-Recustomer-Signature-256stringrequiredSignature of the body, which is
sha256=followed by the lowercase hexadecimal HMAC-SHA256 of the body (the key and body are handled as in X-Recustomer-Signature-256-V2). It does not include a timestamp, so use X-Recustomer-Signature-256-V2 to verify notificationsX-Recustomer-Sender-IdstringrequiredAn identifier fixed for each store. The same as the value shown in the admin Webhook settings
X-Recustomer-Event-IdstringrequiredEvent ID. Unchanged when the notification is sent again. The same event may arrive more than once, so use it to detect duplicates
X-Recustomer-Event-Occurred-Atstring(date-time)requiredTime the event occurred (ISO 8601; currently sent in UTC). It is not the time of sending and stays the same across retries. The order of delivery is not guaranteed, so you can use this value to determine the order of events
Request body
idintegerrequiredID of the Return Order
external_order_idstringID of the original order (omitted if empty)
order_numberstringrequiredOrder number
request_idstringrequiredID of the request
created_atstring(date-time)requiredReturn created at
refund_reject_reasonstringReason for rejecting the refund
approval_atstring(date-time)Return approved at
send_backed_atstring(date-time)Sent back at
reshipmented_atstring(date-time)Reshipped at
exchanged_atstring(date-time)Exchanged at
refunded_atstring(date-time)Refunded at
completed_atstring(date-time)Request completed at
approval_statusstringApproval status
send_back_statusstringSend back status
reshipment_statusstringReship status
exchange_statusstringExchange status
refund_statusstringRefund status
payment_statusstringPayment status
exchange_slip_creation_statusstringExchange order issuance status
order_itemsarray of objectsrequiredShow child attributes12
idintegerrequiredReturn item ID
original_item_idstringrequiredOriginal item ID
skustringrequiredReturn item SKU
product_idstringrequiredReturned product ID
image_linkstringReturned product image
is_deletedbooleanrequiredWhether the returned product has been deleted
item_namestringrequiredReturned product name
item_pricenumberrequiredReturned product price
currencystringrequiredCurrency
item_resultobjectrequiredShow child attributes13
idintegerrequiredID of the result for the returned item
approval_statusstringApproval status of the returned item
send_back_statusstringSend back status of the returned item
reshipment_statusstringReship status of the returned item
resolution_methodstringResolution for the returned item
item_statusstringInspection result of the returned item (the name of an inspection status configured by the store)
is_required_send_backbooleanrequiredWhether the item needs to be sent back
is_customer_paybooleanrequiredWhether the customer pays the return shipping
approval_reject_reasonstringReason for rejecting approval
exchange_reject_reasonstringReason for rejecting the exchange
memostringMemo
send_back_reject_reasonstringReason for rejecting the send back
arrival_datestring(date)Date the sent-back item arrived
optionsarray of objectsShow child attributes2
keystringrequiredOption key of the returned item
valuestringrequiredOption value of the returned item
exchange_itemobjectShow child attributes10
idintegerrequiredExchange product ID
item_namestringrequiredExchange product name
optionsarray of objectsShow child attributes2
keystringrequiredOption key of the returned item
valuestringrequiredOption value of the returned item
image_linkstringExchange product image
skustringrequiredExchange product SKU
item_pricenumberrequiredExchange product price
currencystringrequiredCurrency
exchange_statusstringExchange status
exchange_slip_creation_statusstringExchange order issuance status
external_order_codestringExternal exchange order code
customerobjectrequiredShow child attributes10
idintegerrequiredCustomer ID
emailstringrequiredEmail address
return_countintegerrequiredNumber of returns
cancel_countintegerrequiredNumber of cancellations
last_namestringrequiredLast name
first_namestringrequiredFirst name
full_namestringrequiredFull name
phone_numberstringrequiredPhone number
is_consent_email_marketingbooleanrequiredWhether marketing email is allowed
is_consent_sms_marketingbooleanrequiredWhether marketing SMS is allowed
shipping_addressobjectShow child attributes10
last_namestringrequiredLast name
first_namestringrequiredFirst name
full_namestringrequiredFull name
phone_numberstringrequiredPhone number
country_codestringrequiredCountry code. Currently always
JP. This may changepostal_codestringrequiredPostal code
provincestringrequiredPrefecture
citystringrequiredCity
address1stringrequiredAddress line 1 (street and number)
address2stringrequiredAddress line 2 (building and room number)
billing_addressobjectShow child attributes10
last_namestringrequiredLast name
first_namestringrequiredFirst name
full_namestringrequiredFull name
phone_numberstringrequiredPhone number
country_codestringrequiredCountry code. Currently always
JP. This may changepostal_codestringrequiredPostal code
provincestringrequiredPrefecture
citystringrequiredCity
address1stringrequiredAddress line 1 (street and number)
address2stringrequiredAddress line 2 (building and room number)
refund_infoobjectShow child attributes8
idintegerrequiredRefund information ID
payment_methodstringPayment method
refund_methodstringRefund
refund_sub_totalnumberrequiredRefund subtotal
taxnumberrequiredTax
suggested_amountnumberrequiredSuggested refund amount
fixed_amountnumberRefunded amount
discount_and_expensesarray of objectsrequiredShow child attributes4
idintegerrequiredsuggested_amountnumberfixed_amountnumberdiscount_expenses_namestringrequiredName of the discount or fee setting
is_archivebooleanrequired