Skip to main content
The Now Shipping multi-tenant model lets you run a single integration that serves every shop on your platform. Instead of issuing one API key per merchant, you create a company account — a top-level account flagged as isCompanyAccount: true — and attach any number of merchant sub-accounts to it. A single nsk_live_... key authenticates all traffic, and the X-Merchant-Id header tells the API which merchant each request belongs to.

Account types

Now Shipping distinguishes between two account types. Single business account — A standard merchant account. The API key is tied directly to that business; no X-Merchant-Id is needed or accepted. Company account — A multi-tenant integrator account (isCompanyAccount: true). Designed for e-commerce SaaS platforms, aggregators, or any system that manages shipping on behalf of multiple merchants. Each merchant you onboard becomes a sub-account linked to your company via the parentCompany relationship. One API key serves all merchants under the company.
Contact your Now Shipping account manager to have your account flagged as a company account before you start onboarding merchants.

How X-Merchant-Id works

On every order and pickup request made with a company key, include the X-Merchant-Id header to identify the target merchant. The API accepts three identifier formats: You can also pass the identifier as a query parameter instead of a header:
Use whichever format aligns with what you stored during merchant onboarding. Most integrations use externalMerchantId because it maps directly to the shop ID in their own database.

Behavior by account type

Request flow

The sequence below shows how a typical platform onboards a new shop and places its first order: Map your internal IDs to Now Shipping identifiers as soon as you onboard a merchant. Persist both businessAccountCode and externalMerchantId in your database so you always have a fallback identifier.
Recommended data mapping

Error codes

If you send a company key without a required X-Merchant-Id, or use an identifier that isn’t linked to your company, the API returns one of these errors:
Never send X-Merchant-Id on a single-business key. The API rejects it with MERCHANT_NOT_APPLICABLE rather than silently ignoring it.

Next steps

  • To onboard a new merchant sub-account, see Create Merchant.
  • To understand which scopes your key needs for merchant operations, see API Key Scopes.