Quick security check

Verifying…

Protected by Cloudflare. This keeps bots from creating fake accounts.

We Ship YouAnythingAnywhere
  • Shop
  • Mobile APP
  • Docs
  • Pricing
  • About Us
  • Shop
    • WeShipYou

      Shop curated products from WeShipYou sellers, fulfilled end-to-end with our shipping guarantee.

    • Amazon

      Shop on Amazon, the world's largest store with the widest range of products, all with the security of WeShipYou!

    • eBay

      New and used items from US sellers: we buy Buy It Now listings for you.

    • AliExpress

      Millions of products at factory prices, bought and shipped by us.

    • Walmart

      Shop pharmacy and grocery products at Walmart quickly and easily!

    • Shein

      Shop the latest trending products at the best discounted prices, only at the Shein store!

    • Temu

      Shop the best products at discounted prices at the Temu store!

    • Shopify

      Search thousands of US Shopify stores at once, or paste a link from any of them.

  • Download Mobile APP
    • FulfillmentNew

      Receiving, storage, same-day pick & pack, multi-carrier shipping and returns — handled by us.

    • Price comparator

      Compare and select the shipping service based on your interest fast and easy

    • Shop integrations

      Shopify app, public API and more — plug WeShipYou into your store.

    • API

      API Access for developers

    • Invoicing

      Automatic monthly invoices, branded PDFs and one-click payments.

  • Docs
  • Pricing
  • About us
  • Recharges to Mexico
  • Recharges to Colombia

Join our newsletter!

No spam, guaranteed.

Miami, FL — United States Warehouse

1940 NW 70th Ave, Miami, FL 33126

Get Directions
Follow us
GroupChannel
RechargesRecharge to MexicoRecharge to ColombiaRecharge to JamaicaRecharge to Nicaragua
ShippingSend a packageFulfillment serviceShop integrationsInvoicingShip to ColombiaShip to BrazilShip to MexicoLocker for Colombia
ResourcesDownload APPApiCommercial Assistance
CompanyAbout
Careers
Hiring
Become an AffiliateSupportContact us
Shop
WeShipYou
Amazon
eBay
AliExpress
Walmart
Shein
Temu
Shopify

WeShipYou is proud to be PCI-compliant certified, ensuring the highest standards of payment security and data protection

© We Ship You Corp. Terms of service · Privacy Policy · Legal

The WeShipYou logo and the name "WeShipYou" are registered trademarks of We Ship You Corp

Theme
WeShipYou
  • Overview
Guides
  • Quickstart
  • Authentication
  • Test mode and live mode
  • Shipments and labels
  • Tracking
  • Sub-accounts
  • Errors
Authentication process
  • Authentication
General
  • Shipments
  • Tracking
  • Services
Forwarder
  • Forwarder
Mobile Recharges
  • Mobile Recharges
Account
  • Accounts
  • Account Addresses
  • Transactions
  • Add Funds
  • Add Sub Account
Download the OpenAPI spec
Menu
  • Overview
Guides
  • Quickstart
  • Authentication
  • Test mode and live mode
  • Shipments and labels
  • Tracking
  • Sub-accounts
  • Errors
Authentication process
  • Authentication
General
  • Shipments
  • Tracking
  • Services
Forwarder
  • Forwarder
Mobile Recharges
  • Mobile Recharges
Account
  • Accounts
  • Account Addresses
  • Transactions
  • Add Funds
  • Add Sub Account
Download the OpenAPI spec
Guides

Errors

The shape of an error, what each status means, and when to retry.

The API answers with standard HTTP status codes: 2xx succeeded, 4xx means the request needs to change, 5xx means something failed on our side.

The error body#

Every error has the same JSON shape:

JSON
1
2
3
4
5
6
7
8
9
{
  "name": "BadRequest",
  "message": "Validation error; `data` holds the message for each invalid field",
  "code": 400,
  "className": "bad-request",
  "data": {
    "recipient": { "phone": "Invalid phone number" }
  }
}
  • code repeats the HTTP status and name names it.
  • message is meant for you, not for your customers.
  • data, on a validation error, holds a message per invalid field, nested like the body you sent.

Status codes#

StatusNameWhat to do
400BadRequestFix the fields listed in data and send again.
401NotAuthenticatedLog in again: the token is missing, expired or malformed.
403ForbiddenThe user may not do this on this account.
404NotFoundThe object does not exist, or belongs to an account you are not a member of.
409ConflictThe object changed while you were changing it. Read it again, then retry.
429TooManyRequestsSlow down and retry later.
5xxRetry later with a growing delay.

Retrying safely#

Retry only 409, 429 and 5xx, and wait longer after each attempt (for example 1, 2, 4 and 8 seconds). Before you retry a request that buys something, such as POST /shipments/labels, read the shipment first: if the first attempt went through, it already has a label.

Contacting support#

Error answers carry a wsy-request-id header. Include it when you contact support about a failed request; it lets us find that exact call.

PreviousSub-accounts