Skip to main content
PATCH
Configure the company's Amazon connection

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

connection_id
integer

Id of the company's Amazon connection to act on. Omit it to use the primary connection (the oldest active one, or the most recent one when none is active).

Required range: x >= 1

Body

application/json

At least one of marketplace_id and house_member_id is required; house_member_id may be null to clear the house account.

marketplace_id
string
required

The Amazon marketplace id (e.g. ATVPDKIKX0DER for amazon.com).

connection_id
integer

Id of the company's Amazon connection to configure. Omit it to use the primary connection (the oldest active one, or the most recent one when none is active). It may also be sent as a query parameter.

Required range: x >= 1
house_member_id
string<uuid> | null

Id of the active company member to credit with imported Amazon orders that have no rep. Send null to clear the house account.

Response

Success

connection
object

A company's link to one Amazon Selling Partner account. Never exposes the encrypted LWA tokens themselves — only identity, status, expiry, and last_error.

status
integer
meta
object