Skip to main content
PUT
Replaces the API token a connector account authenticates to its endpoint with.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-tenant-id
string<uuid>
required

The tenant ID for the target ERP instance.

Path Parameters

salesChannelId
string
required

Sales channel id of the connector account whose credentials are replaced.

Body

application/json

Request model for SaveConnectorCredentials command endpoint. Route parameters bind from the route, query parameters from the query string, everything else from the body.

apiToken
string
required

The connector account's API token, in plaintext. Write-only: it is never echoed by this endpoint and appears in no response model. At most 111 bytes in UTF-8 - the stored form is larger than the value itself, so the limit is counted in bytes and a multi-byte character consumes more than one of them.

Response

The credentials were stored. No content is returned - the token is never echoed back.