API Documentation
A Comprehensive Guide for Integrating and Managing Store.ICU APIs.
For API keys and authentication, please contact your account manager.
1. Super Admin Login (Reseller)
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{ "email": "your-email@example.com", "password":"your-password" }' \
https://core-api.store.icu/v1/account/auth/super/login2. User Creation by SuperAdmin
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{ "email": "user@example.com", "password":"User@123" ,"name": "User" ,"surname": "Example","country":"US" }' \
https://core-api.store.icu/v1/account/super/create-user3. Store Creation by SuperAdmin
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{ "store_owner_email": "user@example.com", "currency":"USD" ,"country": "US" ,"name": "Example Store","handle":"examplestore","timezone":"America/New_York" }' \
https://core-api.store.icu/v1/account/super/create-shop-for-user4. Suspend Store by SuperAdmin
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{ "shop_handle": "examplestore" }' \
https://core-api.store.icu/v1/account/super/suspend-shop5. Unsuspend Store by SuperAdmin
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{ "shop_handle": "examplestore" }' \
https://core-api.store.icu/v1/account/super/unsuspend-shop6. List All Stores of a User
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{ "store_owner_email": "user@example.com" }' \
https://core-api.store.icu/v1/account/super/list-user-shops7. Deactivate Stores and User Account
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{ "store_owner_email": "user@example.com" }' \
https://core-api.store.icu/v1/account/super/deactivate-user-account8. Activate Stores and User Account
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-d '{ "store_owner_email": "user@example.com" }' \
https://core-api.store.icu/v1/account/super/activate-user-accountNote: Replace YOUR_ACCESS_TOKEN with the actual token provided by your account manager.