younifyd
Menu

Get Configurations

Retrieves configurations

GET/organizations/{organizationId}/configurations

Use it in a workflow

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Get Configurations action (under Shopper Configurations).
  3. Fill in the fields below, then reference the result from later steps as {{getConfigurations.response.data}}.

Request

Path parameters

organizationIdstringrequired

An identifier for the organization the request is being made by

Query parameters

siteIdstringrequired

The identifier of the site that a request is being made in the context of. Attributes might have site specific values, and some objects may only be assigned to specific sites.

Response

Returns 200 with an object. Read it in later steps with {{getConfigurations.response.data.<field>}}.

configurationsarray<object>

List configurations for the instance and site

idstringrequired

identifier

valueanyrequired

value for identifier

configurationTypestring

type of configuration value

json
{
  "configurations": [
    {
      "id": "SalesforcePaymentsAllowed",
      "value": true,
      "configurationType": "globalConfiguration"
    }
  ]
}

Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.

Get Configurations — Salesforce Commerce Cloud — Documentation