Beta Feature: This integration is currently in beta. APIs and
functionality may change as we continue to improve the integration experience.
Overview
This guide helps you integrate your custom e-commerce platform or order management system with Redo by syncing orders through our dedicated orders endpoint. This integration allows you to programmatically send order data to Redo, enabling seamless returns and package protection for your customers.When to Use This Integration
Use the custom integration orders endpoint when:- You have a custom-built e-commerce platform
- Your platform isn’t directly supported by Redo
- You need programmatic control over order synchronization
- You’re building a middleware integration between your systems
Integration Flow
Order Schema
The orders endpoint accepts order data in the following structure. All fields must conform to this schema for successful synchronization.Order Object
Order Object
Line Items
Line Items
Each order must include at least one line item:
Important Notes
Money Values
- Use string values for amounts to avoid floating-point precision issues
- Currency codes should follow ISO 4217 standards
Quantities
quantity: Total quantity orderedreturnableQuantity: Quantity eligible for return (may differ from quantity for partially fulfilled orders)- Discount and tax amounts should account for quantity
Tax and Discount Calculation
- Line item
taxLinesshould reflect the total tax for all units (quantity × per-unit tax) - Line item
discountsshould reflect the total discount for all units - Shipping
taxLinesanddiscountsfollow the same pattern
Additional Considerations
Redo Protection Line Items
Redo Protection Line Items
When a customer has purchased Redo protection (returns, package protection, or both), you must include a special line item with these exact values:
Example Request
View Example Request
View Example Request
Next Steps
1
Get API Credentials
Contact [email protected] to receive your
API key and endpoint URL
2
Map Your Order Data
Transform your order data to match the required schema
3
Implement the Integration
Build your integration to POST orders to the endpoint when created or
updated
4
Test Thoroughly
Validate your integration with test orders before going live