Update Distributor

Updates a Distributor on the calling Account. Send any subset of label,
enabled and credentials; omitted fields and fields sent as null
keep their stored value.

credentials is partial: only the credential fields sent are replaced,
the others stay as stored. Each field sent must be one the Distributor's
name accepts:

nameDistributorRequiredOptional
dandhD&Husername (Login ID), secret (password)country_iso: US, CA
dickerdataDicker Dataaccount_number (Account Code), secret (API token)country_iso: AU, NZ
ingrammicrorestIngram Microcountry_iso, account_number (Customer number), username (Client ID), secret (Client Secret)api_version: v5 (default) or v6
synnexTD SYNNEXaccount_number, username (user email), secret (password)country_iso: US, CA
techdataeuTech Data Europeaccount_number (Account ID), secret (auth code)none

ingrammicrorest accepts country_iso AT, BE, CA, CN, DE, DK, ES, FI, FR, GB,
HK, HU, IN, IT, MX, MY, NL, NO, PT, SE, SG, TH, TW, US. Any field not listed
for the name is rejected; values are non-empty and at most 126 bytes.

name cannot be changed; sending it is rejected as an unknown field.

Credentials are write-only, for security: they are never returned by any
operation, not even encrypted. To change one, send the new value.

Only an Account Owner or Account Admin can update a Distributor.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The Distributor's id.

Body Params

The fields to change; omitted or null fields keep their stored value.

credentials
object | null

One set of generic fields for every Distributor. Which ones a Distributor
requires or accepts is listed on Create Distributor. Never returned.

boolean | null

Whether pricing and availability lookups use this Distributor.

string | null

The Account's own name for this Distributor.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json