VendorCostAdjustmentPreviewResponse
amountnumberrequired
directionstringrequired
invalidCountinteger<int32>required
modestringrequired
rows object[]required
Array [
barcodestringnullable
newCostnumbernullable
newMarginnumbernullable
newPricenumbernullable
oldMarginnumbernullable
oldPricenumberrequired
oldProductCostnumberrequired
oldSupplierCostnumbernullable
previewVersionstringrequired
productIdstring<uuid>required
productNamestringrequired
reasonstringnullable
supplierIdstring<uuid>required
supplierNamestringrequired
supplierSkustringnullable
validbooleanrequired
]
supplierIdstring<uuid>required
totalCountinteger<int32>required
validCountinteger<int32>required
VendorCostAdjustmentPreviewResponse
{
"amount": 0,
"direction": "string",
"invalidCount": 0,
"mode": "string",
"rows": [
{
"barcode": "string",
"newCost": 0,
"newMargin": 0,
"newPrice": 0,
"oldMargin": 0,
"oldPrice": 0,
"oldProductCost": 0,
"oldSupplierCost": 0,
"previewVersion": "string",
"productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"productName": "string",
"reason": "string",
"supplierId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"supplierName": "string",
"supplierSku": "string",
"valid": true
}
],
"supplierId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"totalCount": 0,
"validCount": 0
}