Learn how to setup a sandbox account on ShipBob
Our sandbox accounts allow you to test your integration with realistic, production-like data. Think of it as a practice run—everything works like the real thing, but no actual shipments are made.
Our sandbox accounts are separate environments and data cannot be transferred over to production.
ShipBob verifies a user’s request by using a Bearer token in the header. We call this a Personal Access Token.
On the ShipBob dashboard, go to Integrations > API Tokens. Click Generate New Token. Copy this token as we will use in next step.
Use your PAT token to make a request to the GET Channels endpoint. You will need the channel ID to create products, orders and returns with the ShipBob API.
Example response
The channel ID to use when creating products, orders and returns would be 100102
since this is the channel that has scopes with _write
access.
Below is a sample request to create a product:
Make sure to pass the shipbob_channel_id
in the header.
Set these up in the ShipBob dashboard under Products > [Your Product] > Packaging Preferences.
There is no way to do this via the API. You have to do this manually for each product in your sandbox account.
Below is a sample request to create a order:
Make sure to pass the shipbob_channel_id
in the header.
You can also test making this request in our API Playground here.
Add a test payment method so when you create new orders the orders do not go OnHold due to payment failure.
4242 4242 4242 4242
Credit card entry form
If you want to add test inventory quantities to your products please email [email protected]
with your request and the email tied to your Sandbox account.
Ready to test fulfillment workflows?
Check out our Sandbox Simulations guide to simulate order shipping and delivery events in your sandbox environment.