DigiKey API Portal

Reference APIs

Active 2-legged

Retrieve associated account information for the authenticated customer.

https://api.digikey.com/CustomerResource/v1 OpenAPI spec →

Endpoints

Method Path Description
GET /associatedaccounts List accounts associated with the authenticated customer

GET /associatedaccounts

Returns the accounts associated with the authenticated customer. This is useful in multi-account setups where orders or data may span multiple DigiKey customer IDs.

Response

{
  "AssociatedAccounts": [
    {
      "CustomerId": 4530750,
      "AccountId": 4530750,
      "CompanyName": "ACME ELECTRONICS",
      "IsDefault": true
    }
  ]
}

Notes

This API has a single endpoint. It is primarily used to identify which AccountId values are accessible when using APIs that accept accountId as a parameter (such as Supply Chain v1).

Models

Request and response object schemas for this API. Error models (ApiErrorResponse, DKProblemDetails) are documented on the Authentication & Concepts page.

AccountAssociationResponse

AccountAssociationResponse

FieldTypeRequiredDescription
Accountsarray of AccountInformationList of accounts associated with your customer ID
EmailAddressUsedstringEmail address used to look up associated AccountIDs. This is the email address that you used for authentication.