Sellers Commerce

Open API

Integration reference for the Sellers Commerce B2B platform — endpoints, payloads, status codes and Postman collections.

Introduction

The Sellers Commerce Open API is a RESTful interface with lightweight JSON requests and responses. It gives your systems read and write access to orders, products, employees and returns, and it is the supported way to integrate an ERP, a WMS or a BI tool with the platform.

Three things are true of every call and are not repeated on each endpoint: authentication is a single header, collection endpoints accept OData query options, and JSON responses are wrapped in a standard envelope.

Before your first call

You need three values from your account team: the API base URL for your environment, your API key, and your shared secret. Keys are scoped to one account — every request resolves to that account automatically, so you never pass an account identifier for your own data.

All APIs are account-scoped. The key resolves to exactly one account; every request is authenticated, filtered and (where applicable) rate-limited within that account, and a query can never return another account's data. Test against the specific account whose key you hold — results seen with one account's key do not describe what another account will see.

Throughout this reference the base URL is written {{baseUrl}}. Endpoints that exist only for custom integrations are collected in the appendix and do not apply to the conventional modules.

Authentication

Send the key and secret as a single colon-joined Authorization header. There is no token exchange, no expiry and no refresh step.

Authorization: <apiKey>:<sharedSecret>
Content-Type: application/json

A missing, malformed (not key:secret) or unrecognised header returns 401 Unauthorized with envelope status 777. Treat the pair as a password: send it only over HTTPS, and never put it in a query string or a URL that might be logged.

{
  "Results": [],
  "ResponseMessage": "Unauthorized",
  "StatusCode": 777
}

The ResponseMessage wording may differ slightly; branch on the HTTP status, not the text.

Connector endpoints authenticate differently

The ShipStation, ShipWorks and T-HUB endpoints implement the scheme those products require, not the header above. Everything else on this page uses the standard header.

Response envelope

JSON responses are wrapped in a three-field envelope. The HTTP status code is authoritative: 2xx means the request was accepted and processed, 4xx means the request itself must change (authentication, validation, unknown path or record), and 5xx means the platform failed to process a valid request and the call may be retried. No failure is reported with HTTP 200.

FieldTypeMeaning
Resultsobject, array or stringThe payload. Empty array on an error, or on a search with no match.
ResponseMessagestringHuman-readable outcome. Informational only.
StatusCodeintegerEnvelope status. 100 on success; on an error it mirrors the HTTP class or carries a specific validation code (see Envelope & validation codes).

Success — collection endpoint (OData get routes)

{
  "Results": [ { "EmployeeId": 55831, "UserName": "jdoe" } ],
  "ResponseMessage": "Success",
  "StatusCode": 100
}

Success — single-object and write endpoints

{
  "Results": { "OrderNumber": "100242", "OrderStatusID": 9 },
  "ResponseMessage": "OK",
  "StatusCode": 100
}

Error — same shape for every endpoint

{
  "Results": [],
  "ResponseMessage": "Something went wrong with request parameters, Please try again with valid url or parameters. Details: Please add a 'filter' condition to process the request.",
  "StatusCode": 400
}

The HTTP status codes each endpoint returns are listed under that endpoint in the module sections below, and the four responses every endpoint shares are under Status codes & errors.

Two families return no envelope

The custom-integration endpoints in the appendix (paths containing In_) and the fulfilment-connector endpoints return their payload directly with no wrapper. Parse those against the documented model, not against Results. Neither family applies to the conventional modules.

Filtering, sorting and paging

Endpoints marked OData accept OData v3 query options. Use them to keep responses small — most collection endpoints return the full authorised set when unfiltered.

# One order by number
GET {{baseUrl}}/api/order/get?$filter=OrderNumber eq '100242'

# Orders in a date window
GET {{baseUrl}}/api/order/get?$filter=OrderPlacedDate gt datetime'2026-01-01T00:00:00'
                              and OrderPlacedDate lt datetime'2026-02-01T00:00:00'

# Page through a large set
GET {{baseUrl}}/api/employee/get?$top=100&$skip=200&$orderby=EmployeeId

Supported: $filter, $orderby, $top, $skip, $select, $expand, $inlinecount. URL-encode the value — a literal space and a single quote both need escaping in practice.

An OData query that matches nothing is a successful search with no results: HTTP 200, Results: []. A syntactically invalid $filter (unknown property, bad literal) is a client error: HTTP 400, with the OData parser's message in ResponseMessage. Property names are case-sensitive.

Status codes & errors

Use the 4xx range as "fix the request" and 5xx as "retry later". Each endpoint lists the codes it returns in its module section; the four below can come from any authenticated endpoint.

HTTPEnvelope StatusCodeReturned when
401777Authorization header missing, malformed or not recognised for any account.
404404The URL path is wrong or the endpoint does not exist. Never a record-lookup result — a search with no match is 200 with an empty array.
429429Rate limit exceeded (see Rate limiting). Only on endpoints marked as rate-limited.
500101The platform failed to process a valid request. Safe to retry with back-off.

Wrong path (404)

GET {{baseUrl}}/api/employee/gett

{
  "Results": [],
  "ResponseMessage": "Not Found. Details: No HTTP resource was found that matches the request URI '{{baseUrl}}/api/employee/gett'. No action was found on the controller 'Employee' that matches the name 'gett'.",
  "StatusCode": 404
}

Platform failure (500)

{
  "Results": [],
  "ResponseMessage": "An error has occurred while processing your request. Details: An error has occurred.",
  "StatusCode": 101
}

Record-level "not found" outcomes (for example an unknown order number on GetOrderByOrderNumber, or an unknown username on DeleteEmployee) are also 404, but carry the specific validation code in StatusCode — 24 for an order, 22 for a user. They are listed on the endpoints that emit them.

Rate limiting

ItemValue
HTTP status when limited429 Too Many Requests, envelope StatusCode: 429
Endpoints subject to the limitTBC. Currently enforced on POST api/product/ImportProducts for selected accounts only. No other conventional endpoint is rate-limited today.
Limit and windowTBC. The limit currently applied to ImportProducts is 200 requests per account per UTC clock hour.
Retry-After headerYes. Seconds until the next request will be accepted.
Scope of the counterPer account (API key), not per client IP.
HTTP/1.1 429 Too Many Requests
Retry-After: 1740
Content-Type: application/json

{
  "Results": [],
  "ResponseMessage": "You have exceeded the hourly limit",
  "StatusCode": 429
}

Recommended client behaviour

  1. On 429, wait for the number of seconds in Retry-After, then retry the same request once.
  2. If Retry-After is absent, back off exponentially: 30 s, 60 s, 120 s, 240 s, 480 s, then stop and raise an alert.
  3. Do not retry any other 4xx without changing the request; it will fail the same way.
  4. 5xx responses may be retried with the same back-off schedule. Write endpoints are safe to retry: an order already at the requested status, or an employee already updated, is reported as processed rather than re-applied.
  5. Spread bulk work over time rather than bursting: batch employee upserts in groups of 50 and page order queries with $top/$skip.

Postman export

Every module below has its own Postman button that downloads a ready-to-import Collection v2.1 file for that module alone. Import it, fill in three collection variables, and every request is runnable.

VariableSet to
baseUrlThe API host for your environment, no trailing slash
apiKeyYour API key
sharedSecretYour shared secret

Collection-level auth is pre-wired to send Authorization: {{apiKey}}:{{sharedSecret}} on every request, so credentials are set once rather than per request.

Envelope & validation codes

Envelope status — conventional endpoints

The envelope StatusCode values a conventional endpoint can carry. Each is tied to exactly one HTTP status; the HTTP status is what to branch on. Codes that appear only on custom integrations are listed in the appendix.

CodeHTTPMeaning
100200Success (including a search with no match)
400400Request invalid — validation, malformed body or query
20–41404Specific record not found (see validation results), for example 22 user, 24 order
404404URL path wrong or endpoint does not exist
429429Rate limit exceeded
777401Not authorised
101500Platform failed to process the request

Validation results

Returned by the write endpoints as the outcome text in Results (by name, for example OrderNotExist), and as the envelope StatusCode on a 404 record-not-found response (by value, for example 22).

CodeNameMeaning
20ProcessedProcessed successfully
21ProviderNotExistsAccount does not exist
22UserNotExistsUser does not exist
23ProductNotExistProduct not found
24OrderNotExistOrder does not exist
25SkuNotExistSKU not present on this order
26InvalidQtyInvalid quantity
27PaymenExistPayment data already exists for this order
28AlreadyCapturedOrder already captured
29ProcessFailedProcessing failed
30InvalidDataInvalid data provided
31CategoryNotExistCategory does not exist
32ParentCategoryNotExistsParent category does not exist
33ExistsAlready exists for this request
34InvalidSkuInvalid SKU data
35BrandNotExistsBrand and first-level category do not match
36InsertCategoryFailedCategory insertion failed
37IdentityNodeNotFoundIdentity node not found
38UserNotFoundWithGivenIdentityUser not found for the given identity
39InvalidOrInactiveRequestInvalid or inactive request
40ParameterShouldNotBeNullRequired parameter was null
41UnableToFindValidProviderUnable to resolve a valid account
400InvalidUrlMalformed URL or parameters
404NotFoundNo record found

Enumerations

Every coded value the API accepts or returns. Send the numeric value; the description is shown so you can label it in your own system.