Association

Store Commerce Association

Changed on

Persists the Commerce instance the app is associated with so runtime actions can later retrieve it via the SDK helpers.

post/association

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /association
  • Auth: OAuth 2 (client credentials, token URL https://ims-na1.adobelogin.com/ims/token/v3, scopes: AdobeID, openid)

Headers

x-gw-ims-org-idstring required

Adobe IMS organization ID that identifies the organization for the request.

Request body

commerceBaseUrlstring uri required

Commerce API base URL of the associated instance.

commerceEnv'saas' | 'paas' required

Deployment type of the associated Commerce instance.

Response

Association data stored successfully. Returns the app's IMS client ID so the Commerce App Management Service can bind record ownership.

clientIdstring required

The app's IMS S2S client ID.

Changes