Module: routers/v8/analytics/services

Express router for analytics services related routes

Methods

(static) get/analytics/services/order/:orderNumber() → {orderDetails}

Route to fetch order progress and details for an order number
Parameters:
Name Type Description
req.param.orderNumber String
Returns:
Type
orderDetails

Type Definitions

orderDetails

Type:
  • Object
Properties:
Name Type Description
orderDetails.supplierId String The supplier ID
orderDetails.customerGroup String The customer group
orderDetails.season String The season
orderDetails.articleName String The article name
orderDetails.productName String The product name
orderDetails.orderReceiptDate String The order receipt date
orderDetails.quantity String The total order quantity
orderDetails.plannedMarkets Array.<Object> The list of planned markets
Properties
Name Type Description
plannedMarketOrderId Number The planned market order ID
quantity Number The quantity for the country/market
deliveryMarket String The market/country name
termsOfDelivery String The delivery date
orderDetails.percentageFabricReceived String The percentage of fabric received
orderDetails.orderProgress Array.<Object> The order progress details
Properties
Name Type Description
plannedMarketOrderId Number The planned marker order ID
quantity Number The order quantity assigned to the factory
factory String The factory location
cutQuantity Number The total cut quantity at the factory for the order
stitchedQuantity Number The total stitched quantity at the factory for the order
finalInspectionQuantity Number The final inspection quantity at the factory for the order
wepQuantity Number The total washed quantity at the factory for the order
finishedQuantity Number The total finished quantity at the factory for the order
shippedQuantity Number The total shipped quantity at the factory for the order