Sandbox Environment
ShipEngine's sandbox environment gives you a safe place to experiment, test, and develop your app without incurring costs or affecting your production data.
How to Use the Sandbox
To use our sandbox environment, you simply use a sandbox API key rather than a production API key. Sandbox keys always start with TEST_
to make it obvious you're using a sandbox key.
Other than the API key, everything else is the same. So you can easily test and develop your application in the sandbox. When you're ready to go to production all you need to do is change the API key.
Costs
You won't incur any costs for anything you do in the sandbox. This gives your developers the freedom to "kick the tires" and experiement with our API without worrying about costing the company real money.
Data Isolation
Sandbox data is isolated from production data, so anything you create in the sandbox will not be accessible in production, or vice-versa. This means you can safely experiement and delete data without affecting your production system.
Differences in Behavior
Our sandbox environment matches the production environment as much as possible, but there are a few differences to be aware of.
Limited Parcel Carriers
The sandbox only supports the three major US parcel carriers -- UPS, FedEx, and USPS (Stamps.com). This is the case no matter which country your ShipEngine account is based in. Other carriers will be added in the future, including international carriers.
If your preferred carrier is not currently supported, you can still test and develop in our sandbox using one of the supported carriers. Just switch the carrier_code
and carrier_id
when you go to production.
Test Labels
Shipping labels created in the sandbox cannot be used to ship actual packages. Depending on the carrier the label will be watermarked or will have a warning message indicating that it's a test label.
Rates
The rates that you get in the sandbox may not match the rates that you get in production. Any negotiated rate discounts that you have are not applied in the sandbox and some rates are "dummy" rates to prevent abuse of our sandbox for production purposes.
FedEx Multi-Package
The multi-package shipping feature does not work with FedEx in the sandbox. You'll receive the error A shipping carrier error occurred: Unable to create FedEx shipment. Unable to retrieve record from database.
when attempting a multi-package shipment with FedEx.
Tracking
Tracking, even in the sandbox environment, requires real packages to be in the mailstream. ShipEngine doesn't currently provide a way to simulate tracking events in the sandbox.
Webhooks
Webhooks and workflows that require webhooks (such as batching) are not available in the sandbox environment.
Branding
Branding features, such as Branded Labels and Branded Tracking Pages, are not currently available in the sandbox. Examples for what to expect from these calls are available on their pages in the documentation.
Beta Features
Features in beta, including the Sales Orders API, are not available in the sandbox.
Rate Limits
The sandbox environment has a 20 requests per minute rate limit, which is significantly lower than our production environment. This helps prevent abuse of our sandbox for production purposes.
Performance Differences
The ShipEngine sandbox uses development environments provided by the carriers. Those development environments can sometimes be significantly slower than production environments, so you may see longer response times in the sandbox. Rest assured that you will see much faster performance in production.