Creates one html page for all the sites preferences in a SFCC instance.
npm install sfcc-1page-preferences
{
"_v":"21.3",
"clients":[
{
"client_id":"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"resources":[
{
"resource_id":"/system_object_definitions/**",
"methods":[
"get"
],
"read_attributes":"(**)",
"write_attributes":"(**)"
},
{
"resource_id":"/site_preferences/**",
"methods":[
"post"
],
"read_attributes":"(**)",
"write_attributes":"(**)"
}
]
}
]
}
`
Getting started
`
npm install sfcc-1page-preferences -g
`
Usage
sfcc-1page-preferences [options]
Sample command when installed globally
`
sfcc-1page-preferences -h= -c= -p=
OR
sfcc-1page-preferences --hostname= --clientId= --clientPassword=
``
--help Generate help message
-h, --hostname Hostname of the SFCC Business Manager instance
-c, --clientId OCAPI client ID
-p, --clientPassword OCAPI client password