Skip to Content

Products API

Total endpoints: 42

Source: routes/bulkupload.js

POST/api/bulkupload

Create or update bulkupload

POST/api/deleteProductsListofVendors

Create or update deleteProductsListofVendors

POST/api/bulkStockUpdateAuth Required

Create or update bulkStockUpdate

Source: routes/inventory.js

GET/api/locations/:storeAuth Required

GET /locations/:store — List vendor locations

POST/api/locations/:storeAuth Required

POST /locations/:store — Create location

PUT/api/locations/:store/:idAuth Required

PUT /locations/:store/:id — Update location

PUT/api/locations/:store/:id/defaultAuth Required

PUT /locations/:store/:id/default — Set as default location

GET/api/inventory/product/:product_idAuth Required

GET /inventory/product/:product_id — Get stock for all variants/locations

PUT/api/inventory/product/:product_idAuth Required

PUT /inventory/product/:product_id — Bulk update stock (product edit page)

PUT/api/inventory/item/:id/adjustAuth Required

PUT /inventory/item/:id/adjust — Manual stock adjustment with reason

GET/api/inventory/movements/:product_idAuth Required

GET /inventory/movements/:product_id — Stock movement history

GET/api/inventory/low-stock/:storeAuth Required

GET /inventory/low-stock/:store — All low-stock items

PUT/api/inventory/track/:product_idAuth Required

PUT /inventory/track/:product_id — Toggle inventory tracking

Source: routes/products.js

GET/api/brands

Get brands

GET/api/products/searchAuth Required

Get products search

GET/api/allproducts/searchAuth Required

Get allproducts search

GET/api/getProductsListofVendorsAuth Required

Get getProductsListofVendors

GET/api/getProductsListofInventoryAuth Required

Get getProductsListofInventory

GET/api/getSortedproducts/sort

Get getSortedproducts sort

PUT/api/updateProductsStatusAuth Required

Update updateProductsStatus

DELETE/api/deleteProduct/:id

Delete deleteProduct

POST/api/removeVariantImageAuth Required

Create or update removeVariantImage

POST/api/remove-product-image

Create or update remove product image

POST/api/updateInventoryDetails/:storeAuth Required

Create or update updateInventoryDetails

GET/api/inventory/editAuth Required

Get inventory edit

GET/api/products/:id/variantsAuth Required

Get products variants

POST/api/updateVariantRecord

Create or update updateVariantRecord

POST/api/updateVariantSingle

Create or update updateVariantSingle

DELETE/api/deleteVariantSingle

Delete deleteVariantSingle

POST/api/upsell_productsAuth Required

Create or update upsell_products

GET/api/getProductDetails/:idAuth Required

Get getProductDetails

GET/api/getProductTagsAuth Required

Get getProductTags

Source: routes/product_metafield.js

GET/api/product_metafieldsAuth Required

Get product_metafields

GET/api/fields/:idAuth Required

Get fields

POST/api/manage-product-metafieldAuth Required

Create or update manage product metafield

DELETE/api/manage-product-metafieldAuth Required

Delete manage product metafield

GET/api/product_list_metafieldsAuth Required

Get product_list_metafields

Source: routes/reviews.js

POST/api/updateReviewStatusAuth Required

UPdate REviews Status

DELETE/api/deleteReviewAuth Required

Delete deleteReview

POST/api/reviews/bulk-actionAuth Required

Create or update reviews bulk action

PUT/api/reviews/updateAuth Required

Update reviews update

DELETE/api/reviewmediaDeleteAuth Required

Delete reviewmediaDelete