- Storeharmony API
- Mobile Apps
- Apps Registration
- Stock Inventory
- Stock Categories
- Create Bulk Products
- Create Product with Variants
- Add Variants to Product
- Upload Product Picture
- Update Product Prices
- Add New Quantity to Product
- Deduct Quantity from Product
- Creates a simple product in the inventory
- Get Product by Item ID
- getProductTransfers
- acceptTransferIntoStore
- listProductsPricesForRecentChanges
- listProductsPrices
- Get Inventory Stock Items
- getProductAudit
- findBySKU
- Update Product
- Removes provided variants from provided Existing Product
- Add Variants to Existing Product
- getProductsWithComplexQuery
- Removes Product by Item ID
- Add Variants to Existing Product
- Store Admin Operations
- Invoicing Operations
- CRM
- Online Store
- Restuarant Order Menus AppCalls
- Place an Order
- Submit Store Review
- getServiceName
- Load a Restro Store Detail
- Restro Product Order
- Track Order Status
- Restro Store Tables
- List Auto Categories
- Restro Product Details
- Fetch Related Products or Recommended Pairs for a Product
- Fetch All Categories
- Fetch All Products Belonging to a Particular Category
- Fetch All Products by Store ID Based on Categories and Subcategories
- Fetch All Categories and Subcategories by Store ID
- updatesOrderPUT
- cancelOrderDELETE
- postCustomerReviewPOST
- getCustomerProfileGET
- updateProfilePOST
- updateProfileShippingAddressPOST
- submitIssuesPOST
- placeOrderToStorePOST
- contactStorePOST
- calculateOrderShippingPOST
- passResettingPOST
- getStoreInfoGET
- getCustomerWalletReportGET
- getRegularPurchaseGET
- getRecentPurchaseGET
- getCustomerReceiptsGET
- getReceiptDetails_1GET
- getCustomerProfileDetailsGET
- getCustomerOrdersGET
- getOrderDetailsGET
- getCustomerLoyaltyReportGET
- getCustomerInvoicesGET
- trackPaymentGET
- trackOrder_1GET
- loadDeliverypolicyGET
- listAutoCategories_1GET
- getShippingRatesGET
- shippingInformationGET
- searchProductsGET
- sendReceiptGET
- listStoreProductsForHomeGET
- loadProductByItemId_1GET
- getCustomerReviewGET
- loadProducRecommendationsByItemIdGET
- loadProductBySlugGET
- loadRelatedProductsByItemIdGET
- loadPrivacypolicyGET
- searchPagedProductsGET
- searchPagedProductsByPagesGET
- getStoreLocationsGET
- getGeocodeGET
- loadHomeBannersGET
- getCountries_1GET
- getCountryStates_1GET
- getCountryStatesLGARegion_1GET
- loadStoreCategories_1GET
- loadStoreSubCategories_1GET
- loadStoreAllCategoriesAndSubCategories_1GET
- loadStoreBannersGET
- verifyMobile_1GET
- verifyEmailGET
- loadAboutUsGET
- Log in a customer with tokenPOST
- Log in a customerPOST
- Register a new customerPOST
- User Operations
- Get User InformationGET
- Update User InformationPUT
- Set Default Wallet Bank AccountPOST
- Set VAT, VAT Type and currency etc used for business activities in this locationPOST
- Set a particular location as the default store used for business activitiesPOST
- Retrieve Profile ImageGET
- Upload Profile ImagePOST
- Log a User ComplaintPOST
- createNewStoreLocationPOST
- Change User PasswordPOST
- Get the details, settings and important parameters for a store locationGET
- Get Bank Account DetailsGET
- Switch account to another store locationGET
- Get User Store LocationsGET
- Data Sources & Reports
- Utility Operations
- Create PDF Invoice Link
- Load Store Credentials By ID
- Verify Mobile Number
- Verify Email Address
- Retrieve Store Profiles
- Retrieve List of Roles
- Retrieve Registered Nigerian Banks. Only Supports Nigerian Banks
- Lookup Bank Account Details
- Retrieve List of Countries
- Retrieve States in a Country
- Retrieve Regions within a State
- Payments & Webhooks
- Webhooks & Operations
Switch account to another store location
GET
/user/{accountid}/switchStore/{storeId}
User Operations
Request
Path Params
accountid
stringÂ
required
storeId
stringÂ
required
Header Params
sessiontoken
stringÂ
required
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://gateway.storeharmony.com/cloudapi/user//switchStore/' \
--header 'sessiontoken;'
Responses
🟢200OK
*/*
Body
serverTime
string <date-time>
optional
errorCode
integer <int32>
optional
timestamp
integer <int64>
optional
lastActive
stringÂ
optional
active
booleanÂ
optional
success
booleanÂ
optional
message
stringÂ
optional
user
object (User)Â
optional
accountToken
stringÂ
optional
updateAvailable
booleanÂ
optional
centralAccId
stringÂ
optional
appType
stringÂ
optional
mobileOnlyUser
booleanÂ
optional
bankFullName
stringÂ
optional
bankCode
stringÂ
optional
bankAccountNo
stringÂ
optional
bankAccountName
stringÂ
optional
allowAdminOverride
booleanÂ
optional
enforcePasswordChange
booleanÂ
optional
enforceProfileUpdate
booleanÂ
optional
defStore
object (Store)Â
optional
storeGroups
array[object (Store) {71}]Â
optional
accountId
stringÂ
optional
sessionId
stringÂ
optional
userId
stringÂ
optional
fullname
stringÂ
optional
firstname
stringÂ
optional
lastname
stringÂ
optional
mobile
stringÂ
optional
email
stringÂ
optional
sessionExpireDate
string <date-time>
optional
role
stringÂ
optional
profilePicture
stringÂ
optional
storeStaffId
stringÂ
optional
transPrefix
stringÂ
optional
smsBalance
number <double>
optional
appLatestVersion
stringÂ
optional
recentInfo
stringÂ
optional
totalCreditScore
number <double>
optional
walletBalance
integer <int64>
optional
storeId
stringÂ
optional
fields
stringÂ
optional
refresh
booleanÂ
optional
data
object (ResultData)Â
optional
attributes
objectÂ
optional
customerId
stringÂ
optional
storeId
stringÂ
optional
paymentRedirectLink
stringÂ
optional
paymentCaptureBase64
stringÂ
optional
customerProfileResult
object (CustomerProfile)Â
optional
customerResult
object (Customer)Â
optional
customerWalletResult
array[object (CustomerWalletReport) {5}]Â
optional
customerWishlistResult
object (ProductListData)Â
optional
productListResult
object (ProductListData)Â
optional
pendingsTransfers
array[object (StoreTransferOrder) {26}]Â
optional
itemAuditLogs
array[object (ItemAuditReport) {9}]Â
optional
purchaseOrders
array[object (PurchaseOrder) {44}]Â
optional
distributors
array[object (ShopInfo) {33}]Â
optional
orderPaymentMethods
array[object (PayMethodInfo) {18}]Â
optional
orderPaymentReports
array[object (PayMethodInfo) {18}]Â
optional
orderCartItems
array[object (OrderItemRequest) {20}]Â
optional
expenseAccounts
array[object (ExpenseAccounts) {4}]Â
optional
expenseList
array[object (Expense) {34}]Â
optional
storeLevels
object (StoreFinanceItem)Â
optional
analyticsBean
array[object (ProductAnalysisBean) {12}]Â
optional
shippingRequests
array[object (StockerOrder) {35}]Â
optional
salesReportDetails
array[object (SalesStockDetailsSummary) {8}]Â
optional
customerSummaryReport
array[object (CustomerSummaryBean) {6}]Â
optional
staffSummaryReport
array[object (SalesStaffAnalysisBean) {5}]Â
optional
insurePolicy
object (InsuranceAccount)Â
optional
paymentGroupReport
array[object (DataSummaryIdQuerySet) {4}]Â
optional
salesReportFeeds
array[object (StoreIntel) {23}]Â
optional
storeVendorList
array[object (ShopVendor) {38}]Â
optional
banklist
array[object (RemitaBank) {7}]Â
optional
storeResult
object (Store)Â
optional
deliveryAreasListResult
object (DeliveryInfo)Â
optional
categoryListResult
object (Categories)Â
optional
productInfoResult
object (Product)Â
optional
productDetailResult
object (ProductDetail)Â
optional
orderHistoryResult
object (OrderHistory)Â
optional
orderResult
object (MobileOrderRequest)Â
optional
orderShippingResult
object (ShippingProvider)Â
optional
listProvidersResult
object (Shipping)Â
optional
walletBalance
integer <int64>
optional
walletReport
array[object (WalletReport) {5}]Â
optional
categoryGroupsResult
array[string]
optional
userGroups
array[object (User) {33}]Â
optional
bankAccounts
array[object (BankAccount) {21}]Â
optional
referrals
array[object (UserInfoMap) {23}]Â
optional
referralBalance
integer <int64>
optional
openAiExtracts
object (OpenAIExtracts)Â
optional
stockInRequestCache
array[object (StockInRequestCache) {19}]Â
optional
processSMSAlerts
array[object (BankProcessedText) {8}]Â
optional
pendingOrderRequests
array[object (MobileOrderRequest) {46}]Â
optional
ads
array[object (AdBanner) {2}]Â
optional
Example
🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
Modified at 2025-03-27 14:31:04