Accounts Authentication

To authenticate against an external system a set of credentials is typically used. Those credentials are stored in PDX as Accounts - a configurable set of credentials collected under single Account ID.

There are two options of

📘

Note that the password attribute is missing from the attributes on accounts list view. Password attributes are only visible when a new account is added or an old one is modified.

Accounts consists of a number of attributes:

  • Account Identifier (PDX identifier of an account entity added by default) - does not have to be specified separately
  • Other channel-specific attributes (see example Vendor Id and Vendor Number on image above)

More on the process of defining Account Attributes can be found in Required-client-attributes.

🚧

It is in general required to store those credentials in the adapter as they will be required in submission process to authenticate against an external system.

The AuthenticationRequest contains clientId, channelId and accountId; use these three together as the key under which you store the credentials.

At submission time the submitBatch methods of the SubmitHandlers give you clientId and channelId as parameters, but the per-product accountId is not a parameter — it is carried as the value of the channel's account attribute on each product (see Submissions Object Model).


Did this page help you?