Skip to content
Back to Site

Set Up an API Connection

Prepare API credentials, permissions, required values, verification checks, and cleanup steps when Next-Cart shows API setup for a selected platform.

A valid API connection gives Next-Cart the authorized platform access required by the selected migration path. Complete API setup only when Next-Cart shows API fields for the Source Platform, Target Platform, or both.

An API connection lets Next-Cart access supported platform data through credentials created in the platform admin, developer area, integration settings, or authorization flow. The exact credential type depends on the platform.

Before you set up an API connection, confirm that:

  • you are signed in to the correct Next-Cart account;
  • the order and purchased migration show the correct Source Platform and Target Platform;
  • Next-Cart shows API setup for the platform you are connecting;
  • you can sign in to the platform admin, developer area, or integration settings;
  • your platform account has permission to create or manage API credentials;
  • you know which data types are in scope for the migration;
  • you have a secure way to store and transfer credentials during setup;
  • you know who will revoke or rotate credentials after completion.

Different platforms use different credential names. Prepare only the values shown by Next-Cart for the selected platform.

Value typeWhat it usually meansCommon examples
Store URLThe public, admin, or platform-specific URL that identifies the store.Store URL, Admin URL, Site URL, Store Admin URL.
API URLThe endpoint used to access platform data.API Path, API URL, Endpoint URL, Instance URL.
API keyA platform-generated key used to identify the connection.API Key, Keystring, Application Key.
API tokenA generated token that authorizes access.Access Token, Auth Token, API Token, Application Token.
Client credentialsA credential pair used by some app or integration flows.Client ID, Client Secret, App ID, App Key.
Account or merchant IDA platform-specific account identifier.Merchant ID, Account ID, Account Name.
Username/password pairA platform-specific API user, not necessarily your admin login.API Username, API Password.
Authorization resultA value created after approving access through the platform.Authorization code, generated key, connected app token.

Grant the minimum access required for the migration scope while ensuring Next-Cart can read or write the selected data where the selected platform requires it.

Migration data areaPermissions to check
Products and catalogProducts, variants/options, categories, collections, inventory, images, brands, manufacturers, attributes, or catalog resources.
CustomersCustomers, customer addresses, customer groups, companies, or account-related customer records where supported.
OrdersOrders, order line items, transactions, refunds, fulfillments, order statuses, taxes, discounts, and shipping lines where supported.
Reviews, coupons, pages, or contentReviews, discounts, coupons, CMS pages, blog posts, files, redirects, or content resources where supported.
Store informationStore metadata, currencies, locations, languages, taxes, or settings needed to interpret migrated data.

If a platform offers read-only access and the setup only needs source-side data reading, prefer read-only permissions. If the target-side setup requires creating data in the target store, the platform may require broader access.

  1. Confirm API setup is required

    Open the purchased service under Account → Migrations → My Migrations, select Start, and confirm that API fields are shown for the platform you are connecting.

  2. Open the platform admin or developer area

    Sign in to the platform account that has permission to create apps, tokens, API users, private integrations, or authorization credentials.

  3. Create a dedicated credential for Next-Cart

    Use a clear name, such as Next-Cart migration, so the credential can be found and removed later.

  4. Set the required permissions

    Enable the permissions needed for the data types included in the migration scope. Avoid unrelated permissions when the platform lets you choose scopes.

  5. Save or authorize the credential

    Follow the platform flow to generate the token, key, app credential, or authorization result.

  6. Copy the required values immediately

    Some platforms show tokens or secrets only once. Copy the required values and store them in an approved secure location.

  7. Enter the values in Next-Cart

    Paste the required values into the matching API fields shown by Next-Cart. Check the field labels before saving.

  8. Run Test Connection

    In Connect Stores, select Test Connection for the API setup you entered. The Source Platform and Target Platform have separate controls, so test each side that uses API setup.

When entering values, keep these rules in mind:

RuleWhy it matters
Match each value to the exact field label.Similar credentials can have different meanings, such as API Key versus API Token.
Copy full URLs exactly.Missing protocol, wrong admin domain, or incorrect endpoint path can cause connection failure.
Avoid extra spaces.Leading or trailing whitespace can break tokens, URLs, usernames, and secrets.
Do not mix source and target credentials.The Source Platform and Target Platform may each require different credentials.
Do not reuse stale tokens.Expired, revoked, or old credentials often fail during verification.

After API setup is complete:

  • the required API values are prepared;
  • the credentials have permissions for the selected migration scope;
  • the values are entered into the correct Next-Cart fields;
  • Test Connection succeeds for the applicable source or target store;
  • credential cleanup is planned for after migration work is complete.

Use Test Connection before configuring migration options. Test the Source Platform and Target Platform separately when both use API setup. A successful result for one store does not verify the other.

CheckPass condition
Source connectionThe Source Platform Test Connection succeeds when the source store uses API setup.
Target connectionThe Target Platform Test Connection succeeds when the target store uses API setup.
AuthenticationNext-Cart accepts the API values for the tested side without authentication errors.
Permission accessNext-Cart can access the selected data type areas, such as products, customers, and orders.
Store identityThe connection points to the intended source store or target store.
Endpoint formatStore URL, admin URL, API path, or endpoint URL matches the platform-specific requirement.
Scope coverageCredentials cover the data types selected for migration.
Token stateTokens, keys, and authorization values are active and not expired or revoked.
IssueWhat to check
Invalid credential errorRe-copy the token, key, username, password, client ID, or secret. Check for missing characters and extra spaces.
Permission errorConfirm the credential has access to the selected data types. Update scopes or create a new credential if needed.
Wrong URL errorConfirm whether the field requires a public store URL, admin URL, API URL, endpoint URL, API path, or instance URL.
Expired or revoked tokenGenerate a new token or repeat the platform authorization flow.
IP restriction or firewall errorCheck whether the platform, hosting provider, or security layer blocks external access.
Wrong environmentConfirm that the credential belongs to the intended production, staging, or test store.
Platform rate limitWait, reduce repeated test attempts, or contact support with the visible error details.

After migration work is complete and verified:

  • revoke tokens created only for migration work;
  • delete temporary private apps or API users where appropriate;
  • reduce permissions on credentials that must remain active;
  • rotate credentials that were shared for setup;
  • remove credential screenshots or copied secrets from internal notes where possible;
  • keep only the records required for support, finance, or audit purposes.
SituationGo to
You need platform-specific credential stepsAPI Connection Guides
You entered API values and need to test both storesVerify Platform Connections
API setup is not shown for your selected Source PlatformUpload Source Data Files or Install KitConnect if shown by Next-Cart.
The connection test failsTroubleshoot Connection Setup
The connection works and access is verifiedConfigure Your Migration