Get the cost of the operations of an order by its reference
curl --request GET \
--url https://api.bold-factory.com/v1/production/orders/{orderReference}/operations/cost \
--header 'Authorization: Bearer <token>'{
"results": [
{
"orderId": "<string>",
"operationId": "<string>",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"autoUpdateCost": true,
"plannedCostPerUnit": {
"amount": 123,
"currency": "<string>"
},
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
}
},
"code": "<string>",
"name": "<string>",
"totalCost": {
"amount": 123,
"currency": "<string>"
},
"quantity": 123,
"machineHours": 123,
"costPerUnit": {
"amount": 123,
"currency": "<string>"
},
"laborCost": {
"amount": 123,
"currency": "<string>"
},
"materialCost": {
"amount": 123,
"currency": "<string>"
},
"machineCost": {
"amount": 123,
"currency": "<string>"
},
"plannedQuantity": 123,
"plannedMachineHours": 123,
"plannedLaborHours": 123,
"plannedLaborCostPerHour": {
"amount": 123,
"currency": "<string>"
},
"plannedLaborCost": {
"amount": 123,
"currency": "<string>"
},
"plannedMaterialCost": {
"amount": 123,
"currency": "<string>"
},
"plannedMachineCost": {
"amount": 123,
"currency": "<string>"
},
"plannedTotalCost": {
"amount": 123,
"currency": "<string>"
},
"plannedCostPerUnit": {
"amount": 123,
"currency": "<string>"
}
}
],
"totalCount": 123
}Production Orders
Get the cost of the operations of an order by its reference
Requires Costs.Production.Read permissions
GET
/
v1
/
production
/
orders
/
{orderReference}
/
operations
/
cost
Get the cost of the operations of an order by its reference
curl --request GET \
--url https://api.bold-factory.com/v1/production/orders/{orderReference}/operations/cost \
--header 'Authorization: Bearer <token>'{
"results": [
{
"orderId": "<string>",
"operationId": "<string>",
"skuId": "<string>",
"sku": {
"id": "<string>",
"code": "<string>",
"externalReference": "<string>",
"name": "<string>",
"autoUpdateCost": true,
"plannedCostPerUnit": {
"amount": 123,
"currency": "<string>"
},
"unit": {
"id": "<string>",
"code": "<string>",
"name": "<string>"
}
},
"code": "<string>",
"name": "<string>",
"totalCost": {
"amount": 123,
"currency": "<string>"
},
"quantity": 123,
"machineHours": 123,
"costPerUnit": {
"amount": 123,
"currency": "<string>"
},
"laborCost": {
"amount": 123,
"currency": "<string>"
},
"materialCost": {
"amount": 123,
"currency": "<string>"
},
"machineCost": {
"amount": 123,
"currency": "<string>"
},
"plannedQuantity": 123,
"plannedMachineHours": 123,
"plannedLaborHours": 123,
"plannedLaborCostPerHour": {
"amount": 123,
"currency": "<string>"
},
"plannedLaborCost": {
"amount": 123,
"currency": "<string>"
},
"plannedMaterialCost": {
"amount": 123,
"currency": "<string>"
},
"plannedMachineCost": {
"amount": 123,
"currency": "<string>"
},
"plannedTotalCost": {
"amount": 123,
"currency": "<string>"
},
"plannedCostPerUnit": {
"amount": 123,
"currency": "<string>"
}
}
],
"totalCount": 123
}⌘I