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; noX-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 theX-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:
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:Recommended data mapping
Map your internal IDs to Now Shipping identifiers as soon as you onboard a merchant. Persist bothbusinessAccountCode 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 requiredX-Merchant-Id, or use an identifier that isn’t linked to your company, the API returns one of these errors:
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.
