|
|
|
@ -1609,7 +1609,7 @@ fastify.get("/api/getSingleQuotationData/:quotationId", {
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fastify.put("/api/updateInstallationId/:orderId", {
|
|
|
|
|
fastify.put("/api/updateInstallationId/:_id", {
|
|
|
|
|
schema: {
|
|
|
|
|
tags: ["Install"],
|
|
|
|
|
description: "Update the installationId of an order",
|
|
|
|
@ -1617,12 +1617,12 @@ fastify.put("/api/updateInstallationId/:orderId", {
|
|
|
|
|
params: {
|
|
|
|
|
type: "object",
|
|
|
|
|
properties: {
|
|
|
|
|
orderId: {
|
|
|
|
|
_id: {
|
|
|
|
|
type: "string",
|
|
|
|
|
description: "Order ID",
|
|
|
|
|
description: "_id",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
required: ["orderId"],
|
|
|
|
|
required: ["_id"],
|
|
|
|
|
},
|
|
|
|
|
body: {
|
|
|
|
|
type: "object",
|
|
|
|
|