Set a store's business profile
Full-replacement update of the store’s business profile. Shipping zones may be supplied here as a manual override/seed; connector ingestion otherwise sources fulfillment data.
/stores/{store_id}/profileAuthorizationBearer token (JWT) · headerrequiredJWT issued by the external IdP via the OAuth 2.0 authorization-code flow (Kinde in
production; a simulator in test). The client obtains it and sends it as a Bearer token on
every authenticated call. Sarvex's services verify it — issuer, audience, signature
(IdP JWKS), expiry — and read identity and tenant from its claims. Sarvex does not issue
or revoke these tokens. merchant_id/store_id are read from the verified claims (and the
merchant→store mapping), never from the URL. The operator scope is required for
/operator/*. Operators acting on a specific merchant pass the X-Operate-As header,
which is recorded in the audit log.
store_idstringrequiredA store the caller's merchant owns. Authorized server-side against the principal; not a free-form tenant selector.
application/jsonlegal_namestringsupport_emailstring<email>domainstring<uri>return_policy_urlstring<uri>fulfillment_regionsstring[]shipping_zonesobjectUpdated store profile.
store_idstringlegal_namestringsupport_emailstring<email>domainstring<uri>The store's storefront/brand domain where /.well-known/ucp is served.
return_policy_urlstring<uri>URL of this store's return policy.
fulfillment_regionsstring[]shipping_zonesobjectShipping zones keyed by zone id.
Resource not found within the caller's tenant.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequireddetailsobject | nullRequest body failed validation.
errorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequireddetailsobject | null