StoreHarmony API
  1. Restuarant Order Menus AppCalls
StoreHarmony API
  • Storeharmony API
  • Mobile Apps
    • Apps Registration
      • Authentication
        • Verify User Registration from a Website
        • Verify User Registration
        • Reset User Password
        • Register a new store
        • User Login For Apps
        • Authenticate User
    • Stock Inventory
      • Stock Categories
        • getStoreCategories
        • updateStoreCategory
        • createStoreCategory
        • createStoreSubCategory
        • deleteStoreCategory
        • Upload Category Picture
        • createBulkStoreCategory
      • 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
      • Get Store User
      • Edit Store User
      • Delete a Store User
      • Get Bank Account List for the Store
      • Update Bank Account Details
      • Create Bank Account
      • Delete Bank Account
      • Add a User to Store
      • Set Default Bank
      • List all users for a Store User
      • Get Bank Account Details
      • Delete Bank Account
    • Invoicing Operations
      • createPDFInvoiceLink
  • CRM
    • Customer Registration
      • Register a new customer
      • Log in a customer
      • Verify Customer Email
      • Verify Customer Mobile
      • Reset Customer Password
  • Online Store
    • Restuarant Order Menus AppCalls
      • Place an Order
        POST
      • Submit Store Review
        POST
      • getServiceName
        GET
      • Load a Restro Store Detail
        GET
      • Restro Product Order
        GET
      • Track Order Status
        GET
      • Restro Store Tables
        GET
      • List Auto Categories
        GET
      • Restro Product Details
        GET
      • Fetch Related Products or Recommended Pairs for a Product
        GET
      • Fetch All Categories
        GET
      • Fetch All Products Belonging to a Particular Category
        GET
      • Fetch All Products by Store ID Based on Categories and Subcategories
        GET
      • Fetch All Categories and Subcategories by Store ID
        GET
    • updatesOrder
      PUT
    • cancelOrder
      DELETE
    • postCustomerReview
      POST
    • getCustomerProfile
      GET
    • updateProfile
      POST
    • updateProfileShippingAddress
      POST
    • submitIssues
      POST
    • placeOrderToStore
      POST
    • contactStore
      POST
    • calculateOrderShipping
      POST
    • passResetting
      POST
    • getStoreInfo
      GET
    • getCustomerWalletReport
      GET
    • getRegularPurchase
      GET
    • getRecentPurchase
      GET
    • getCustomerReceipts
      GET
    • getReceiptDetails_1
      GET
    • getCustomerProfileDetails
      GET
    • getCustomerOrders
      GET
    • getOrderDetails
      GET
    • getCustomerLoyaltyReport
      GET
    • getCustomerInvoices
      GET
    • trackPayment
      GET
    • trackOrder_1
      GET
    • loadDeliverypolicy
      GET
    • listAutoCategories_1
      GET
    • getShippingRates
      GET
    • shippingInformation
      GET
    • searchProducts
      GET
    • sendReceipt
      GET
    • listStoreProductsForHome
      GET
    • loadProductByItemId_1
      GET
    • getCustomerReview
      GET
    • loadProducRecommendationsByItemId
      GET
    • loadProductBySlug
      GET
    • loadRelatedProductsByItemId
      GET
    • loadPrivacypolicy
      GET
    • searchPagedProducts
      GET
    • searchPagedProductsByPages
      GET
    • getStoreLocations
      GET
    • getGeocode
      GET
    • loadHomeBanners
      GET
    • getCountries_1
      GET
    • getCountryStates_1
      GET
    • getCountryStatesLGARegion_1
      GET
    • loadStoreCategories_1
      GET
    • loadStoreSubCategories_1
      GET
    • loadStoreAllCategoriesAndSubCategories_1
      GET
    • loadStoreBanners
      GET
    • verifyMobile_1
      GET
    • verifyEmail
      GET
    • loadAboutUs
      GET
    • Log in a customer with token
      POST
    • Log in a customer
      POST
    • Register a new customer
      POST
  • User Operations
    • Get User Information
    • Update User Information
    • Set Default Wallet Bank Account
    • Set VAT, VAT Type and currency etc used for business activities in this location
    • Set a particular location as the default store used for business activities
    • Retrieve Profile Image
    • Upload Profile Image
    • Log a User Complaint
    • createNewStoreLocation
    • Change User Password
    • Get the details, settings and important parameters for a store location
    • Get Bank Account Details
    • Switch account to another store location
    • Get User Store Locations
  • Data Sources & Reports
    • getSalesReportsDetails
    • getSalesReports
    • Sales Report with products sold
    • Sales Report by Criteria
    • Track Sales By Receipt
    • getCustomerDataSet
  • 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
    • reversalMerchantPOSTerminal_1
    • payViaMerchantPOSTerminal_1
    • Creates a bank transfer account
  • Webhooks & Operations
    • reversalMerchantPOSTerminal
    • payViaMerchantPOSTerminal
  1. Restuarant Order Menus AppCalls

Fetch All Categories and Subcategories by Store ID

GET
/restro/{storeid}/categories/subcategory
Restuarant Order Menus AppCalls
Retrieves all categories and subcategories associated with a store, using the store ID.

Request

Path Params
storeid
string 
required
The unique identifier for the store
Query Params
pageSize
integer <int32>
optional
The number of items to fetch per page
Default:
100
page
integer <int32>
optional
The page number to fetch
Default:
0

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/restro//categories/subcategory'

Responses

🟢200OK
*/*
Successfully retrieved categories and subcategories.
Body
categories
array[object (RestroCategory) {8}] 
optional
id
integer <int32>
optional
name
string 
optional
slug
string 
optional
description
string 
optional
image
string 
optional
subs
array[string]
optional
subCategories
array[object (RestroSubCategory) {8}] 
optional
content
array[object (RestroItem) {8}] 
optional
category
array[object (RestroCategory) {8}] 
optional
id
integer <int32>
optional
name
string 
optional
slug
string 
optional
description
string 
optional
image
string 
optional
subs
array[string]
optional
subCategories
array[object (RestroSubCategory) {8}] 
optional
content
array[object (RestroItem) {8}] 
optional
pages
object (DataPages) 
optional
subcategories
array[object (RestroSubCategory) {8}] 
optional
id
integer <int32>
optional
slug
string 
optional
name
string 
optional
image
string 
optional
label
string 
optional
content
array[object (RestroItemContent) {5}] 
optional
pages
object (DataPages) 
optional
count
integer <int32>
optional
Example
{
    "categories": [
        {
            "id": 0,
            "name": "string",
            "slug": "string",
            "description": "string",
            "image": "string",
            "subs": [
                "string"
            ],
            "subCategories": [
                {
                    "id": 0,
                    "slug": "string",
                    "name": "string",
                    "image": "string",
                    "label": "string",
                    "content": [
                        {
                            "image": "string",
                            "title": "string",
                            "description": "string",
                            "amount": "string",
                            "itemId": "string"
                        }
                    ],
                    "pages": {
                        "totalPages": 0,
                        "currentPage": 0,
                        "perPage": 0
                    },
                    "count": 0
                }
            ],
            "content": [
                {
                    "itemId": "string",
                    "image": "string",
                    "name": "string",
                    "description": "string",
                    "price": 0,
                    "quantity": 0,
                    "totalPrice": 0,
                    "additionalOptions": [
                        "string"
                    ]
                }
            ]
        }
    ],
    "category": [
        {
            "id": 0,
            "name": "string",
            "slug": "string",
            "description": "string",
            "image": "string",
            "subs": [
                "string"
            ],
            "subCategories": [
                {
                    "id": 0,
                    "slug": "string",
                    "name": "string",
                    "image": "string",
                    "label": "string",
                    "content": [
                        {
                            "image": "string",
                            "title": "string",
                            "description": "string",
                            "amount": "string",
                            "itemId": "string"
                        }
                    ],
                    "pages": {
                        "totalPages": 0,
                        "currentPage": 0,
                        "perPage": 0
                    },
                    "count": 0
                }
            ],
            "content": [
                {
                    "itemId": "string",
                    "image": "string",
                    "name": "string",
                    "description": "string",
                    "price": 0,
                    "quantity": 0,
                    "totalPrice": 0,
                    "additionalOptions": [
                        "string"
                    ]
                }
            ]
        }
    ],
    "pages": {
        "totalPages": 0,
        "currentPage": 0,
        "perPage": 0
    },
    "subcategories": [
        {
            "id": 0,
            "slug": "string",
            "name": "string",
            "image": "string",
            "label": "string",
            "content": [
                {
                    "image": "string",
                    "title": "string",
                    "description": "string",
                    "amount": "string",
                    "itemId": "string"
                }
            ],
            "pages": {
                "totalPages": 0,
                "currentPage": 0,
                "perPage": 0
            },
            "count": 0
        }
    ]
}
🟠404Record Not Found
🔴500Server Error
Modified at 2025-03-27 14:31:04
Previous
Fetch All Products by Store ID Based on Categories and Subcategories
Next
updatesOrder
Built with