Switch store
Switches the current session (cookie or JWT bearer) to the given store, re-authenticating the
user under the new store context using the same authentication scheme they are currently using.
Use StoresLookup to discover which store identifiers are available.
Permissions: All users.
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body·
The store to switch to.
- Type: integerFormat: int32Store
I D requiredStore identifier that will be used for switching to unit role. Mandatory field.
Responses
- 200
OK
Request Example for post/v2/Account/SwitchToStore
curl /v2/Account/SwitchToStore \
--request POST \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '{
"StoreID": 1
}'
No Body
