Knowledge Base - API

D365CommerceClientConnectInfo

The D365CommerceClientConnectInfo class provides the necessary properties to connect to and configure a product within a Dynamics 365 Commerce environment.

Properties

Data Type

Properties

Description

string

AuthToken

Returns or sets the authorization token associated with the configurable context in D365 Commerce. This is required to perform integrator actions, and is a nonce issued to the record.

string

CartLineId

Returns or sets the Shopping Cart line ID, for accessing existing configurations that are associated with a Cart. Supersedes the ProductId property.

long

ProductId

Returns or sets the Product ID, for creating new configurations that are associated with a cart. Superseded by CartLineId.

Inheritance

ClientConnectInfo

The ClientConnectInfo class represents the base type for parameters needed to connect to the integration environment.

Properties

The following table outlines properties included in the base ClientConnectInfo class and all ClientConnectionInfo-derived classed used to connect to specific host systems.

Data Type

Property

Description

string

AuthUserName

Returns or sets the user name to authenticate the caller to the service. The most common case will be that the user account specified here will be used as the service account for the backing service (such as the CRM web services); any existing server-side credentials will be ignored.

string

AuthPassword

Returns or sets the password to authenticate the caller to the service.