ashok 3 months ago
commit fab755d076

@ -1124,20 +1124,21 @@ fastify.get("/api/cart/:customerId", {
fastify.route({
method: "POST",
method: "GET",
url: "/api/getuserOrders/:customerId",
schema: {
description: "To Get orders of customer",
tags: ["User"],
summary: "This is for Geting orders of customer",
summary: "This is for getting orders of a customer",
params: {
type: "object",
properties: {
customerId: {
type: "string",
description: "customerId",
description: "Customer ID",
},
},
required: ["customerId"]
},
security: [
{
@ -1150,5 +1151,6 @@ fastify.get("/api/cart/:customerId", {
});
next();
};

Loading…
Cancel
Save