- Storeharmony API
- Mobile Apps
- Apps Registration
- Stock Inventory
- Stock Categories
- Create Bulk ProductsPOST
- Create Product with VariantsPOST
- Add Variants to ProductPOST
- Upload Product PicturePOST
- Update Product PricesPOST
- Add New Quantity to ProductPOST
- Deduct Quantity from ProductPOST
- Creates a simple product in the inventoryPOST
- Get Product by Item IDGET
- getProductTransfersGET
- acceptTransferIntoStoreGET
- listProductsPricesForRecentChangesGET
- listProductsPricesGET
- Get Inventory Stock ItemsGET
- getProductAuditGET
- findBySKUGET
- Update ProductPUT
- Removes provided variants from provided Existing ProductPUT
- Add Variants to Existing ProductPOST
- getProductsWithComplexQueryPOST
- Removes Product by Item IDDELETE
- Add Variants to Existing ProductGET
- 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
- updatesOrder
- cancelOrder
- postCustomerReview
- getCustomerProfile
- updateProfile
- updateProfileShippingAddress
- submitIssues
- placeOrderToStore
- contactStore
- calculateOrderShipping
- passResetting
- getStoreInfo
- getCustomerWalletReport
- getRegularPurchase
- getRecentPurchase
- getCustomerReceipts
- getReceiptDetails_1
- getCustomerProfileDetails
- getCustomerOrders
- getOrderDetails
- getCustomerLoyaltyReport
- getCustomerInvoices
- trackPayment
- trackOrder_1
- loadDeliverypolicy
- listAutoCategories_1
- getShippingRates
- shippingInformation
- searchProducts
- sendReceipt
- listStoreProductsForHome
- loadProductByItemId_1
- getCustomerReview
- loadProducRecommendationsByItemId
- loadProductBySlug
- loadRelatedProductsByItemId
- loadPrivacypolicy
- searchPagedProducts
- searchPagedProductsByPages
- getStoreLocations
- getGeocode
- loadHomeBanners
- getCountries_1
- getCountryStates_1
- getCountryStatesLGARegion_1
- loadStoreCategories_1
- loadStoreSubCategories_1
- loadStoreAllCategoriesAndSubCategories_1
- loadStoreBanners
- verifyMobile_1
- verifyEmail
- loadAboutUs
- Log in a customer with token
- Log in a customer
- Register a new customer
- Restuarant Order Menus AppCalls
- 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
- 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
Create Bulk Products
POST
/app/{storeid}/stock/createBulk
Stock Inventory Basic Functions
Request
Path Params
storeid
string
required
Header Params
sessiontoken
string
required
Body Params application/json
Bulk product details to be added to the inventory
invoiceNo
string
optional
Example:
#1234567890
supplierNo
string
optional
Example:
SUP123
supplyDate
string <date-time>
optional
products
array[object (SimpleProduct) {18}]
required
productCategory
string
required
Example:
Electronics
subcategory
string
optional
Example:
Smartphones
itemDescription
string
required
Example:
Latest model smartphone with 128GB storage
quantity
number <double>
optional
Example:
100
costPrice
number <double>
optional
Example:
500
sellingPrice
number <double>
required
Example:
700
bulkPrice
number <double>
optional
Example:
600
qtyPerBulk
number <double>
optional
Example:
10
barcode
string
optional
Example:
123456789012
productBrand
string
optional
Example:
BrandX
color
string
optional
Example:
Black
size
string
optional
Example:
Large
expireDate
string <date-time>
optional
memberPrice
number <double>
optional
Example:
650
supplierNo
string
optional
Example:
SUP12345
storeId
string
optional
Example:
STORE001
productType
string
required
Example:
whole_item
photoData
array[string <byte>]
optional
Example
{
"invoiceNo": "#1234567890",
"supplierNo": "SUP123",
"supplyDate": "2019-08-24T14:15:22Z",
"products": [
{
"productCategory": "Electronics",
"subcategory": "Smartphones",
"itemDescription": "Latest model smartphone with 128GB storage",
"quantity": 100,
"costPrice": 500,
"sellingPrice": 700,
"bulkPrice": 600,
"qtyPerBulk": 10,
"barcode": "123456789012",
"productBrand": "BrandX",
"color": "Black",
"size": "Large",
"expireDate": "2019-08-24T14:15:22Z",
"memberPrice": 650,
"supplierNo": "SUP12345",
"storeId": "STORE001",
"productType": "whole_item",
"photoData": [
"string"
]
}
]
}
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 POST 'https://gateway.storeharmony.com/cloudapi/app//stock/createBulk' \
--header 'sessiontoken;' \
--header 'Content-Type: application/json' \
--data-raw '{
"invoiceNo": "#1234567890",
"supplierNo": "SUP123",
"supplyDate": "2019-08-24T14:15:22Z",
"products": [
{
"productCategory": "Electronics",
"subcategory": "Smartphones",
"itemDescription": "Latest model smartphone with 128GB storage",
"quantity": 100,
"costPrice": 500,
"sellingPrice": 700,
"bulkPrice": 600,
"qtyPerBulk": 10,
"barcode": "123456789012",
"productBrand": "BrandX",
"color": "Black",
"size": "Large",
"expireDate": "2019-08-24T14:15:22Z",
"memberPrice": 650,
"supplierNo": "SUP12345",
"storeId": "STORE001",
"productType": "whole_item",
"photoData": [
"string"
]
}
]
}'
Responses
🟢201Created
application/json
Body
string
optional
Example
"string"
🟠400Bad Request
🟠404Record Not Found
🔴500Server Error
Modified at 2025-03-27 14:31:04