SLAS Admin - create/update public client

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

Request Body

{"clientId"=>"{{public_client_id}}", "name"=>"Public Client", "isPrivateClient"=>"false", "channels"=>["RefArch", "RefArchGlobal"], "scopes"=>["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-experience", "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.pwdless_login", "sfcc.session_bridge"], "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"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring