SLAS Admin - create/update private client

PUT {{HOST}}/shopper/auth-admin/{{version}}/tenants/{{tenant}}/clients/{{private_client_id}}

Request Body

{"clientId"=>"{{private_client_id}}", "secret"=>"{{private_client_secret}}", "name"=>"Private Client", "isPrivateClient"=>"true", "channels"=>["RefArch", "RefArchGlobal"], "scopes"=>["sfcc.catalogs", "sfcc.customerlists.rw", "sfcc.orders.rw", "sfcc.products.rw", "sfcc.gift-certificates", "sfcc.gift-certificates.rw", "sfcc.shopper-baskets-orders", "sfcc.shopper-baskets-orders.rw", "sfcc.shopper-categories", "sfcc.shopper-context.rw", "sfcc.shopper-customers.login", "sfcc.shopper-customers.register", "sfcc.shopper-discovery-search", "sfcc.shopper-gift-certificates", "sfcc.shopper-myaccount", "sfcc.shopper-myaccount.addresses", "sfcc.shopper-myaccount.addresses.rw", "sfcc.shopper-myaccount.baskets", "sfcc.shopper-myaccount.orders", "sfcc.shopper-myaccount.paymentinstruments", "sfcc.shopper-myaccount.paymentinstruments.rw", "sfcc.shopper-myaccount.productlists", "sfcc.shopper-myaccount.productlists.rw", "sfcc.shopper-myaccount.rw", "sfcc.shopper-product-search", "sfcc.shopper-productlists", "sfcc.shopper-products", "sfcc.shopper-promotions", "sfcc.shopper.stores", "sfcc.inventory.impex-event-log", "sfcc.inventory.impex-graphs", "sfcc.inventory.impex-graphs.rw", "sfcc.inventory.impex-inventory.rw", "sfcc.inventory.impex-inventory", "sfcc.inventory.availability", "sfcc.inventory.availability.rw", "sfcc.inventory.reservations", "sfcc.inventory.reservations.rw", "sfcc.inventory.admin.rw", "sfcc.pwdless_login", "sfcc.session_bridge", "sfcc.ts_ext_on_behalf_of"], "redirectUri"=>["http://127.0.0.1:3000/callback", "http://localhost:3000/callback", "https://*.mobify-storefront.com/callback", "{{ocapi_uri}}/on/demandware.store/Sites-{{ocapi_site}}-Site/{{locale}}/SLASCallback-RetrieveCode"], "callbackUri"=>["{{ocapi_uri}}/on/demandware.store/Sites-{{ocapi_site}}-Site/default/PasswordlessLogin-Callback", "{{callback_url}}"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring