Best Practices for Refunds
Buy with Prime API is now available for early access
Sign up for early access to the Buy with Prime API using the 'Sign Up' button below. The API may change as Amazon receives feedback and iterates on it.
When you process a Buy with Prime refund request, you call the updateOrder
mutation and include as much information as possible about the refund. This topic provides best practices for processing refunds.
For troubleshooting information, see Troubleshoot Refund Errors and Troubleshoot Order Errors.
Processing refunds
Sign up to receive Buy with Prime events. When you receive a REFUND_REQUESTED
event, process the event by using Steps to Process Refunds.
Providing refund IDs
When you provide refund details to updateOrder
, you provide refund IDs in RefundDetailsInput
. Heed the following best practices to avoid errors providing refund IDs.
- To avoid a
MissingRefundId
error, you must provide a refund ID toupdateOrder
. - To avoid an
InvalidRefundId
error, the refund ID that you provide toupdateOrder
must be the exactid
from therefunds.details
field returned from aREFUND_REQUESTED
event or theorder
query. - To avoid a
DuplicateRefundId
error, the refund ID that you provide toupdateOrder
must be unique across elements in therefunds.details
list for a single call toupdateOrder
.
Related topics
Updated 23 days ago