1. Home
  2. The Plugin Pros Extensions
  3. MarketShip
  4. Connecting MarketShip to Shippo with an API Token

Connecting MarketShip to Shippo with an API Token

« Back to MarketShip docs

If you are planning to allow marketplace vendors to use your personal Shippo account to calculate live shipping rates or print shipping labels, you must enter a Shippo API token on the MarketShip settings page. This article describes how to generate an API token and configure MarketShip to use it.

Step 1: Generate an API Token

Follow the steps below to generate an API Token that can be used by MarketShip.

  1. Log in to your Shippo account or register a new account if you don’t have one already.
  2. Navigate to Settings > API in the Shippo dashboard.
  3. Click the “Generate Token” button under Test Tokens or Live Tokens to generate a new test or live API token, respectively. The token will only appear once, so make sure you copy it and save it somewhere safe!

Test vs. Live Tokens

Shippo has two environments: A “test” environment where you can test Shippo features like shipping rate calculations and label printing without using any real money, and a “live” environment where real money is used. You should use a “test” API token in your testing environments (local, staging, etc.) and a “live” API token for your live production website.

Note that there are some limitations in the Shippo test environment that you should be aware of. See https://goshippo.com/docs/test-mode/ for more info.

Step 2: Update MarketShip Settings

Now that you have your API token, all you need to do is enter it on the MarketShip settings page. To do so, simply navigate to WooCommerce > Settings > Shipping > MarketShip in the WordPress dashboard and paste the API token you generated into the “API Token” field.

Note that the “API Token” field only appears if one of “Use Admin Account for Calculations” or “Use Admin Account for Label Printing” are enabled. If you have not enabled either of these settings and do not plan on doing so, then you should be using OAuth to connect your store to Shippo instead of an API Token. For more information on OAuth credentials and when they should be used, see “Connecting MarketShip to Shippo with OAuth”.

Updated on September 6, 2021

Was this article helpful?

Related Articles