Seller Assistant Warehouses (Beta) API
Beta: this section can change without notice.
Beta: this section can change without notice.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/sellerassistant-app:sellerassistant-app-warehouses-beta-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Seller Assistant Public Warehouses (Beta) API
description: Seller Assistant is powerful amazon product research tool. The Public API allows developers to interact with the platform programmatically. A section that starts its description with Beta can change without notice, and a change there does not keep the old shape. A trial can use the API with 500 requests for the whole trial. On trial a list shows only its first 25 rows, and `meta.trial_limit` gives the true total and the subscribe link.
termsOfService: https://www.sellerassistant.app/terms-of-use
version: 1.0.0
tags:
- name: Warehouses (Beta)
description: 'Beta: this section can change without notice.'
paths:
/api/v1/sa/inventory/warehouses:
get:
tags:
- Warehouses (Beta)
summary: List warehouses
description: The list holds the warehouses of the team and the shared ones. A shared warehouse is read only.
operationId: listWarehouses
parameters:
- $ref: '#/components/parameters/ApiV1Search'
- name: sort
in: query
description: 'The column to order by: created_at, name, location, status. A minus sign in front of the name orders from the highest down. Without a sort the order is `-created_at`. Another name answers 400. The primary warehouse comes first whatever the column.'
required: false
schema:
type: string
example: -created_at
- $ref: '#/components/parameters/ApiV1Page'
- $ref: '#/components/parameters/ApiV1PerPage'
responses:
'200':
description: One page of the warehouses
content:
application/json:
schema:
properties:
data:
type: array
items:
$ref: '#/components/schemas/Warehouse'
meta:
properties:
pagination:
$ref: '#/components/schemas/ApiV1Pagination'
trial_limit:
$ref: '#/components/schemas/ApiV1TrialLimit'
type: object
type: object
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/AccessDenied'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- api_key: []
post:
tags:
- Warehouses (Beta)
summary: Create warehouses
description: 'The body is one warehouse or an array of them. The website is unique inside the team. `is_primary: true` moves the primary flag: one team has one primary warehouse.'
operationId: createWarehouse
requestBody:
required: true
content:
application/json:
schema:
oneOf:
- allOf:
- $ref: '#/components/schemas/WarehouseForm'
- required:
- name
- website
- title: Several warehouses in one call
type: array
items:
$ref: '#/components/schemas/WarehouseForm'
maxItems: 100
responses:
'201':
description: The warehouse the call wrote. One object answers this shape.
content:
application/json:
schema:
properties:
data:
$ref: '#/components/schemas/Warehouse'
type: object
'200':
description: One result for each element. An array answers this shape.
content:
application/json:
schema:
properties:
data:
type: array
items:
$ref: '#/components/schemas/Warehouse'
meta:
$ref: '#/components/schemas/ApiV1BatchMeta'
errors:
type: array
items:
$ref: '#/components/schemas/ApiV1BatchError'
type: object
'400':
$ref: '#/components/responses/BadRequest'
'402':
$ref: '#/components/responses/PaymentRequired'
'422':
$ref: '#/components/responses/BusinessLogicError'
description: The plan refuses the warehouses of the call. The code `feature_not_available` says the plan gives none, and `plan_limit_reached` says the call would pass the limit. An array is checked as a whole.
'403':
$ref: '#/components/responses/AccessDenied'
'409':
$ref: '#/components/responses/Conflict'
description: Another create of warehouses of the team is running. The call waited for it and gave up; a retry can go through.
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- api_key: []
delete:
tags:
- Warehouses (Beta)
summary: Delete warehouses
description: The call names the warehouses with `ids`. The answer keeps the order of the input, so the caller can match an error to the id it sent.
operationId: deleteWarehouses
requestBody:
required: true
content:
application/json:
schema:
required:
- ids
properties:
ids:
type: array
items:
type: integer
example: 3
maxItems: 100
type: object
responses:
'200':
description: One result for each id
content:
application/json:
schema:
properties:
data:
type: array
items:
type:
- object
- 'null'
meta:
$ref: '#/components/schemas/ApiV1BatchMeta'
errors:
type: array
items:
$ref: '#/components/schemas/ApiV1BatchError'
type: object
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/AccessDenied'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- api_key: []
/api/v1/sa/inventory/warehouses/{id}:
get:
tags:
- Warehouses (Beta)
summary: Get a warehouse
description: Gives one warehouse of the team.
operationId: getWarehouse
parameters:
- name: id
in: path
required: true
schema:
type: integer
example: 3
responses:
'200':
description: The warehouse
content:
application/json:
schema:
properties:
data:
$ref: '#/components/schemas/Warehouse'
type: object
'403':
$ref: '#/components/responses/AccessDenied'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- api_key: []
delete:
tags:
- Warehouses (Beta)
summary: Delete a warehouse
description: The path names the row, and the answer carries no body. `DELETE /api/v1/sa/inventory/warehouses` removes several in one call and answers a result for each id.
operationId: deleteWarehouse
parameters:
- name: id
in: path
required: true
schema:
type: integer
example: 7
responses:
'204':
description: The warehouse is gone. The answer carries no body.
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/AccessDenied'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/BusinessLogicError'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- api_key: []
patch:
tags:
- Warehouses (Beta)
summary: Update a warehouse
description: A shared warehouse belongs to no team, so the team cannot change it and the call answers 404.
operationId: updateWarehouse
parameters:
- name: id
in: path
required: true
schema:
type: integer
example: 3
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/WarehouseForm'
responses:
'200':
description: The warehouse
content:
application/json:
schema:
properties:
data:
$ref: '#/components/schemas/Warehouse'
type: object
'400':
$ref: '#/components/responses/BadRequest'
'403':
$ref: '#/components/responses/AccessDenied'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- api_key: []
/api/v1/sa/inventory/warehouse-providers:
get:
tags:
- Warehouses (Beta)
summary: List prep providers
description: Lists the prep providers that a warehouse can sync with. Connect a provider in the Seller Assistant app.
operationId: listWarehouseProviders
responses:
'200':
description: The providers
content:
application/json:
schema:
properties:
data:
type: array
items:
$ref: '#/components/schemas/WarehouseProvider'
type: object
'403':
$ref: '#/components/responses/AccessDenied'
'429':
$ref: '#/components/responses/TooManyRequests'
security:
- api_key: []
components:
parameters:
ApiV1PerPage:
name: per_page
in: query
description: The rows a page carries. The maximum is 200.
required: false
schema:
type: integer
example: 25
maximum: 200
minimum: 1
ApiV1Page:
name: page
in: query
description: The page to read. It starts at 1.
required: false
schema:
type: integer
example: 1
minimum: 1
ApiV1Search:
name: search
in: query
description: A term the list looks for. Each list names the columns it reads.
required: false
schema:
type: string
maxLength: 255
responses:
Conflict:
description: Conflict - the row is there, and another row already holds the place the call asks for
content:
application/json:
schema:
required:
- code
- message
- trace_id
properties:
code:
description: API error code
type: string
example: conflict
message:
description: Error message. It names the row that holds the place.
type: string
example: 'PO item #4471 is already linked to SKU ''SA-NLL8-GL7X'' (ID: 822). Unlink it first.'
trace_id:
description: Id of the error, to find it in the logs. Read this one.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
traceId:
description: The same id in the older spelling. Only an endpoint that predates DEV-620 sends it, and only until its clients move to trace_id. The endpoints this ticket added or reworked send trace_id alone.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
deprecated: true
type: object
PaymentRequired:
description: Payment Required - subscription expired or payment method required
content:
application/json:
schema:
required:
- code
- message
- trace_id
properties:
code:
description: API error code
type: string
example: subscription_required
message:
description: Error message
type: string
example: Subscription Required
trace_id:
description: Id of the error, to find it in the logs. Read this one.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
traceId:
description: The same id in the older spelling. Only an endpoint that predates DEV-620 sends it, and only until its clients move to trace_id. The endpoints this ticket added or reworked send trace_id alone.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
deprecated: true
type: object
BusinessLogicError:
description: Business logic error - operation cannot be completed due to business rules
content:
application/json:
schema:
required:
- code
- message
- trace_id
properties:
code:
description: API error code
type: string
example: business_logic_error
message:
description: Error message
type: string
example: e.g. Amazon seller account connection required
trace_id:
description: Id of the error, to find it in the logs. Read this one.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
traceId:
description: The same id in the older spelling. Only an endpoint that predates DEV-620 sends it, and only until its clients move to trace_id. The endpoints this ticket added or reworked send trace_id alone.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
deprecated: true
type: object
BadRequest:
description: Bad request - validation failed or invalid parameters
content:
application/json:
schema:
required:
- code
- message
- trace_id
properties:
code:
description: API error code
type: string
example: validation_failed
message:
description: Error message. It repeats the first entry of `errors`.
type: string
example: The selected domain is invalid.
trace_id:
description: Id of the error, to find it in the logs. Read this one.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
traceId:
description: The same id in the older spelling. Only an endpoint that predates DEV-620 sends it, and only until its clients move to trace_id. The endpoints this ticket added or reworked send trace_id alone.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
deprecated: true
errors:
description: One entry for each field that failed, with every message of that field. Present when the validation refused the call.
type: object
example:
filter.supplier_id:
- The filter [supplier_id] must be an integer of 1 or more.
additionalProperties:
type: array
items:
type: string
type: object
AccessDenied:
description: Access denied - insufficient permissions, invalid API key, or the API request limit is used up (`public_api_key_limit`)
content:
application/json:
schema:
required:
- code
- message
- trace_id
properties:
code:
description: API error code
type: string
example: access_denied
message:
description: Error message
type: string
example: API Token is invalid
trial_code:
description: Present on trial when the trial cap of API requests is used up.
type: string
example: trial_limit_reached
trial_message:
description: Present on trial. The message to show the user.
type: string
example: Trial limit reached. Subscribe for full plan limits.
subscribe_url:
description: Present on trial. The page where the user subscribes.
type: string
format: uri
example: https://app.sellerassistant.app/subscription
trace_id:
description: Id of the error, to find it in the logs. Read this one.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
traceId:
description: The same id in the older spelling. Only an endpoint that predates DEV-620 sends it, and only until its clients move to trace_id. The endpoints this ticket added or reworked send trace_id alone.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
deprecated: true
type: object
NotFound:
description: Resource not found
content:
application/json:
schema:
required:
- code
- message
- trace_id
properties:
code:
description: API error code
type: string
example: not_found
message:
description: Error message
type: string
example: Resource not found
trace_id:
description: Id of the error, to find it in the logs. Read this one.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
traceId:
description: The same id in the older spelling. Only an endpoint that predates DEV-620 sends it, and only until its clients move to trace_id. The endpoints this ticket added or reworked send trace_id alone.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
deprecated: true
type: object
TooManyRequests:
description: Too many requests - rate limit exceeded
content:
application/json:
schema:
required:
- code
- message
- trace_id
properties:
code:
description: API error code
type: string
example: too_many_requests
message:
description: Error message
type: string
example: Too Many Requests
trace_id:
description: Id of the error, to find it in the logs. Read this one.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
traceId:
description: The same id in the older spelling. Only an endpoint that predates DEV-620 sends it, and only until its clients move to trace_id. The endpoints this ticket added or reworked send trace_id alone.
type: string
example: 7d7f121a-06a3-419b-8136-63dac0d5321c
deprecated: true
type: object
schemas:
ApiV1Pagination:
description: The page the answer carries. Every list of the v1 answers it under `meta`.
properties:
page:
description: 'The schemas every endpoint of the public API v1 shares.
The envelope is the same on every endpoint, so it lives here once. An
endpoint points at it with a `$ref`, and the generated collection stays
small and consistent.
The parameters live in ApiV1Parameters, not here. swagger-php drops the
class level `OA\Schema` attributes of a class that also carries a class
level `OA\Parameter`, so the two kinds need two classes.
This class holds no code. swagger-php reads the attributes, and nothing
calls it.'
type: integer
example: 1
per_page:
type: integer
example: 25
total:
type: integer
example: 137
last_page:
type: integer
example: 6
type: object
ApiV1TrialLimit:
description: Present only on trial, when the trial hides rows of the list. The trial shows the first rows of a list, and the pagination counts only these rows.
properties:
max_rows:
description: The number of rows that the trial shows.
type: integer
example: 25
total:
description: The true number of rows in the list. It is null for a list that does not count its rows.
type:
- integer
- 'null'
example: 137
code:
type: string
example: trial_list_limited
message:
type: string
example: The trial shows only the first rows of a list. Subscribe to see all rows.
subscribe_url:
type: string
format: uri
example: https://app.sellerassistant.app/subscription
type: object
Warehouse:
description: Where goods go before Amazon. A shared warehouse belongs to no team, and the team can read it but not change it.
properties:
id:
type: integer
example: 3
name:
type: string
example: East Coast Prep
website:
type:
- string
- 'null'
example: eastcoastprep.com
location:
type:
- string
- 'null'
contacts:
type:
- string
- 'null'
config:
type:
- object
- 'null'
status:
type:
- string
- 'null'
example: active
is_primary:
description: One team has one primary warehouse.
type: boolean
example: false
is_shared:
description: A shared warehouse is read only for the team.
type: boolean
example: false
provider:
description: The prep provider the warehouse syncs with.
type:
- string
- 'null'
is_synced:
type: boolean
created_at:
type:
- string
- 'null'
format: date-time
updated_at:
type:
- string
- 'null'
format: date-time
type: object
ApiV1BatchMeta:
description: The count of a write that took an array.
properties:
succeeded:
type: integer
example: 2
failed:
type: integer
example: 1
type: object
WarehouseProvider:
description: A prep provider that a warehouse can sync with. Connect a provider in the Seller Assistant app.
properties:
id:
type: integer
example: 1
name:
type: string
example: Prep Provider
slug:
type: string
example: prep-provider
provider:
description: The key of the integration.
type: string
example: prepbusiness
country:
type:
- string
- 'null'
example: US
description:
type:
- string
- 'null'
logo_url:
description: The address of the logo, or null when the provider has none.
type:
- string
- 'null'
website:
type:
- string
- 'null'
settings_url:
description: The page of the provider where the team finds its API key.
type: string
is_active:
type: boolean
example: true
is_connected:
description: Whether the team connected this provider.
type: boolean
example: false
type: object
ApiV1BatchError:
description: The reason one row of a batch failed. It is null for a row that went in.
properties:
code:
type: string
example: not_found
message:
type: string
example: The product [P-1] was not found.
type:
- object
- 'null'
WarehouseForm:
description: The create needs `name` and `website`. The update sends only the fields it changes.
properties:
name:
description: The name of the warehouse.
type: string
example: East Coast Prep
maxLength: 255
website:
description: Unique inside the team.
type: string
example: eastcoastprep.com
maxLength: 255
location:
type:
- string
- 'null'
contacts:
type:
- string
- 'null'
config:
type:
- object
- 'null'
status:
type: string
example: active
is_primary:
type: boolean
example: false
type: object
securitySchemes:
api_key:
type: apiKey
description: 'Generate an API key on the [API Keys](https://app.sellerassistant.app/settings/api-keys) page of your Seller Assistant account. Send the API key in the `X-Api-Key` header. Do not put the key in the URL: the server rejects the `api_key` and `api_token` query parameters. Seller Assistant shows the key one time only, when you create it.'
name: X-Api-Key
in: header
oauth2:
type: oauth2
description: OAuth 2.0 Authorization Code with PKCE — used by AI agents (Claude, ChatGPT) to access the API on behalf of a user.
flows:
authorizationCode:
authorizationUrl: https://app.sellerassistant.app/oauth/authorize
tokenUrl: https://app.sellerassistant.app/oauth/token
refreshUrl: https://app.sellerassistant.app/oauth/token
scopes:
read_write: Access and manage your data (products, inventory, suppliers, listings, and more)