Get an access token
Quick security check
Check the box so we know it’s really you.
Protected by Cloudflare. This keeps bots from creating fake accounts.
Shop curated products from WeShipYou sellers, fulfilled end-to-end with our shipping guarantee.
Shop on Amazon, the world's largest store with the widest range of products, all with the security of WeShipYou!
New and used items from US sellers: we buy Buy It Now listings for you.
Millions of products at factory prices, bought and shipped by us.
Shop pharmacy and grocery products at Walmart quickly and easily!
Shop the latest trending products at the best discounted prices, only at the Shein store!
Shop the best products at discounted prices at the Temu store!
Search thousands of US Shopify stores at once, or paste a link from any of them.
Receiving, storage, same-day pick & pack, multi-carrier shipping and returns — handled by us.
Compare and select the shipping service based on your interest fast and easy
Shopify app, public API and more — plug WeShipYou into your store.
API Access for developers
Automatic monthly invoices, branded PDFs and one-click payments.
Get an access token
accessTokenstringiatnumberexpnumberuserobjectidnumberuidstringusernamestringemailstringisEnabledboolean | integerisVerifiedboolean | integerinvalidTokensBeforeAtstring <date-time>nullablemetadataobjectnullabletermsAgreementDatestring <date-time>nullabletermsAgreementVersionstringnullablecreatedAtstring <date-time>updatedAtstring <date-time>deletedAtstring <date-time>nullableroleIdnumberavatarIdnumbernullablerevisionnumbernullableroleobjectavatarobjectuser_detailobjectidnumbernullableuidstringnullabletaxIdstringnullablephonestringnullablefirstNamestringnullablelastNamestringnullabledisplayNamestringnullablegenderstringnullablelanguagestringnullablebirthdaystring <date-time>nullablecreatedAtstring <date-time>nullableupdatedAtstring <date-time>nullabledeletedAtstring <date-time>nullableuserIdnumbernullableaccountsarray of AccountnamestringrequireddisplayNamestringrequiredsystemUnitsstringrequiredimperialmetricemailstringrequirednotificationEmailstringrequiredwebsitestringrequirednullablephonestringrequirednullableemergencyPhonestringrequirednullabletaxIdstringnullabletaxIdCountryobjectnullableisoCodestringrequireduidstringread-onlyaccountNumberstringread-onlyparentUidstringnullableread-onlyThe uid of the parent account when this is a sub-account, null otherwise.
statusstringread-onlylanguagestringrequiredisBusinessboolean | integerrequiredallowBankAccountPaymentsboolean | integerread-onlymetadataobjectnullableread-onlycreatedAtstring <date-time>read-onlyupdatedAtstring <date-time>read-onlydeletedAtstring <date-time>nullableread-onlyaddressIdnumbernullableread-onlybillingAddressIdnumbernullableread-onlydefaultShipFromIdnumbernullableread-onlydefaultAddressOnLabelIdnumbernullableread-onlydefaultReturnAddressIdnumbernullableread-onlyprimaryPaymentShipmentsIdnumbernullableread-onlylogoIdnumbernullableread-onlypickupServiceFallbackIdnumbernullableread-onlyrevisionnumbernullableread-onlyaddressAccount address | objectMain address of the account.
uidstringrequirednullableAddress UID. Use it as accountAddressId, or as a sender / recipient uid on a shipment.
nicknamestringnullableName shown in address books.
namestringnullableContact name.
companyNamestringnullableCompany name.
taxIdstringnullableTax ID of the contact.
emailstringnullableContact email.
phonestringnullableContact phone, E.164.
birthdaystring <date-time>nullableContact birthday, when collected.
isRecipientboolean | integernullableThe address can receive shipments. 1/true or 0/false.
isSenderboolean | integernullableThe address can send shipments. 1/true or 0/false.
isResidentialboolean | integernullableThe address is residential. 1/true or 0/false.
statusstringrequirednullableRecord status.
addressobjectnullableStreet address. Included when the address is read on its own.
cityobjectnamestringnullablestateobjectstreetstringStreet address, including the building or apartment number.
postalCodestringcountryobjectnullableCountry of the address. Included when the address is read on its own.
isoCodestringADAEAFALAGAIAQAMAOARASATAUAWAXAZBABBBDBEBFBGBHBIBJBLBMBNBOBQBRBSBTBVBWBYBZCACCCDCFCGCHCICKCLCMCNCOCRCUCVCWCXCYCZDEDJDKDMDODZECEEEGEHERESETFIFJFKFMFOFRGAGBGDGEGFGGGHGIGLGMGNGPGQGRGSGTGUGWGYHKHMHNHRHTIDIEILIMINIOIQIRISITJEJMJOJPKEKGKHKIKMKNKPKRXKKWKYKZLALBLCLILKLRLSLTLULVLYMAMCMDMEMFMGMHMKMLMMHUMNMOMPMQMRMSMTMUMVMWMXMYMZNANCNENFNGNINLNONPNRNUNZOMPAPEPFPGPHPKPLPMPNPRPSPTPWPYQARERORSRURWSASBSCSDSSSESGSHSISJSKSLSMSNSOSRSTSVSXSYSZTCTDTFTGTHTJTKTLTMTNTOTRTTTVTWTZUAUGUMUSUYUZVAVCVEVGVIVNVUWFWSYTYEZAZMZWCSANcreatedAtstring <date-time>requirednullableWhen the address was saved.
updatedAtstring <date-time>requirednullableWhen the address last changed.
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6ImFjY2VzcyJ9.eyJzdWIiOiJjeGZ0b2N2bTJsY2ciLCJhdWQiOiJodHRwczovL3dlc2hpcHlvdS5jb20ifQ.SIGNATURE",
"iat": 1793493470,
"exp": 1825029470,
"user": {
"id": 1,
"uid": "cxftocvm2lcg",
"username": "janedoe",
"email": "jane.doe@example.com",
"isEnabled": 1,
"isVerified": 1,
"invalidTokensBeforeAt": null,
"metadata": null,
"termsAgreementDate": null,
"termsAgreementVersion": null,
"createdAt": "2026-11-01T00:37:50.000Z",
"updatedAt": "2026-11-01T00:37:50.000Z",
"deletedAt": null,
"roleId": 1,
"avatarId": null,
"revision": null,
"role": {
"id": 1,
"name": "customer",
"inheritPermissionsFromRoleId": null,
"inheritPermissionsFromRole": {
"id": null,
"name": null
}
},
"avatar": {
"id": null,
"uid": null,
"md5": null,
"height": null,
"width": null,
"format": null,
"awsUrl": null
},
"user_detail": {
"id": null,
"uid": null,
"taxId": null,
"phone": null,
"firstName": null,
"lastName": null,
"displayName": null,
"gender": null,
"language": null,
"birthday": null,
"createdAt": null,
"updatedAt": null,
"deletedAt": null,
"userId": null
},
"accounts": [
{
"name": "Acme Imports",
"displayName": "Acme Imports",
"systemUnits": "metric",
"email": "jane.doe@example.com",
"notificationEmail": "jane.doe@example.com",
"website": null,
"phone": null,
"emergencyPhone": null,
"taxId": null,
"uid": "l96f0r4g37om",
"accountNumber": "0000ACC1X1",
"status": "active",
"language": "en",
"isBusiness": 0,
"allowBankAccountPayments": 0,
"metadata": null,
"createdAt": "2026-11-01T00:37:50.000Z",
"updatedAt": "2026-11-01T00:37:50.000Z",
"deletedAt": null,
"addressId": null,
"billingAddressId": null,
"defaultShipFromId": null,
"defaultAddressOnLabelId": null,
"defaultReturnAddressId": null,
"primaryPaymentShipmentsId": null,
"logoId": null,
"pickupServiceFallbackId": null,
"revision": null,
"address": null
}
]
}
}Exchanges your username and password (plus the two-factor code when it is on) for a JWT access token. Send it as Authorization: Bearer <accessToken> on every other request.
Accept-LanguagestringTwo-letter code of the language for messages: en, es or pt.
en-USYour WeShipYou login.
usernamestringrequiredYour WeShipYou username or email.
{{username}}passwordstringrequiredYour password.
{{password}}twoFactorTokenstringThe current 6-digit code from your authenticator app. Required when two-factor authentication is on for your user.
modestringtest on the production server: you log in with your production username and password, and the answer is a Sandbox token. The sandbox gets a test copy of your user, your accounts and your memberships (no balance, payment methods or verification data), refreshed on every test login. Every token carries a livemode claim: true for production, false for the sandbox.
livetestliveLogged in
Invalid request
namestringBadRequestmessagestringcodenumber400classNamestringbad-requestdataobjectWrong username or password; Two-factor authentication required (with data.twoFactorRequired: true) when the code is missing; Invalid two-factor code when it is wrong.
namestringNotAuthenticatedmessagestringcodenumber401classNamestringnot-authenticateddataobjecttwoFactorRequiredbooleanmode: "test" only: the sandbox already has a different user with your username or email.
namestringConflictmessagestringcodenumber409classNamestringconflictmode: "test" only: the sandbox could not be reached or could not open the test session. Your production login is not affected; try again in a minute.
namestringUnavailablemessagestringcodenumber503classNamestringunavailablecurl -X POST 'https://sandbox.weshipyou.com/api/v1/authentication' \
-H "Content-Type: application/json" \
-d '{
"username": "janedoe",
"password": "correct-horse-battery-staple",
"twoFactorToken": "123456"
}'{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6ImFjY2VzcyJ9.eyJzdWIiOiJjeGZ0b2N2bTJsY2ciLCJhdWQiOiJodHRwczovL3dlc2hpcHlvdS5jb20ifQ.SIGNATURE",
"iat": 1793493470,
"exp": 1825029470,
"user": {
"id": 1,
"uid": "cxftocvm2lcg",
"username": "janedoe",
"email": "jane.doe@example.com",
"isEnabled": 1,
"isVerified": 1,
"invalidTokensBeforeAt": null,
"metadata": null,
"termsAgreementDate": null,
"termsAgreementVersion": null,
"createdAt": "2026-11-01T00:37:50.000Z",
"updatedAt": "2026-11-01T00:37:50.000Z",
"deletedAt": null,
"roleId": 1,
"avatarId": null,
"revision": null,
"role": {
"id": 1,
"name": "customer",
"inheritPermissionsFromRoleId": null,
"inheritPermissionsFromRole": {
"id": null,
"name": null
}
},
"avatar": {
"id": null,
"uid": null,
"md5": null,
"height": null,
"width": null,
"format": null,
"awsUrl": null
},
"user_detail": {
"id": null,
"uid": null,
"taxId": null,
"phone": null,
"firstName": null,
"lastName": null,
"displayName": null,
"gender": null,
"language": null,
"birthday": null,
"createdAt": null,
"updatedAt": null,
"deletedAt": null,
"userId": null
},
"accounts": [
{
"name": "Acme Imports",
"displayName": "Acme Imports",
"systemUnits": "metric",
"email": "jane.doe@example.com",
"notificationEmail": "jane.doe@example.com",
"website": null,
"phone": null,
"emergencyPhone": null,
"taxId": null,
"uid": "l96f0r4g37om",
"accountNumber": "0000ACC1X1",
"status": "active",
"language": "en",
"isBusiness": 0,
"allowBankAccountPayments": 0,
"metadata": null,
"createdAt": "2026-11-01T00:37:50.000Z",
"updatedAt": "2026-11-01T00:37:50.000Z",
"deletedAt": null,
"addressId": null,
"billingAddressId": null,
"defaultShipFromId": null,
"defaultAddressOnLabelId": null,
"defaultReturnAddressId": null,
"primaryPaymentShipmentsId": null,
"logoId": null,
"pickupServiceFallbackId": null,
"revision": null,
"address": null
}
]
}
}