Items can officially be posted to eBay

This commit is contained in:
2024-03-26 15:58:54 -05:00
parent 7646ee0fc8
commit 04a3dba994
3 changed files with 84 additions and 53 deletions

View File

@@ -1,12 +1,13 @@
// routes/dataRoutes.js
import express from "express";
import { createAndListItem, deleteItemBySku, getAllInventory } from "../controllers/inventoryController.js";
import { createAndListItem, deleteItemBySku, getAllInventory, getOffers } from "../controllers/inventoryController.js";
const router = express.Router();
router.post("/create-list-item", createAndListItem);
router.get("/delete-item-by-sku", deleteItemBySku);
router.get("/get-all-inventory", getAllInventory)
router.get("/get-all-inventory", getAllInventory);
router.get("/get-offers", getOffers)
export default router;