Menu
Get Site Preference
Get Site Preference
GET
/organizations/{organizationId}/site-preference-groups/{groupId}/{instanceType}/preferences/{preferenceId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Site Preference action (under Preferences (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getSitePreference.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getSitePreference.response.data.<field>}}.
{
"id": "WapiStringAttr",
"description": {},
"displayName": {},
"attributeDefinition": {
"id": "color",
"effectiveId": "c_color",
"displayName": {
"default": "Product",
"de": "Produkt",
"en": "Product"
},
"description": {
"default": "Object type representing products.",
"de": "Objekttyp, der Produkte repräsentiert.",
"en": "Object type representing products."
},
"key": false,
"mandatory": false,
"localizable": false,
"siteSpecific": false,
"searchable": true,
"queryable": true,
"valueType": "string",
"visible": true
},
"siteValues": {},
"valueType": "string"
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?