Skip to main content

ApiResponseVendorCostAdjustmentPreviewResponse

data object
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
    error object
    codestring
    correlationIdstringnullable
    detailstring
    details objectnullable
    anyOf
    currentVersionstringnullable
    datesstring<date>[]required
    occurrenceRefsstring[]required
    requestIdsstring<uuid>[]required
    totalinteger<int32>required
    truncatedbooleanrequired
    fieldErrors objectnullable
    property name*stringnullable
    gatewayErrorCodestringnullable
    messagestring
    retryableboolean
    meta object
    limitinteger<int32>
    nextCursorstring
    pageinteger<int32>
    scheduleVersionstringnullable
    totalinteger<int64>
    totalPagesinteger<int32>
    successbooleanrequired
    ApiResponseVendorCostAdjustmentPreviewResponse
    {
    "data": {
    "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
    },
    "error": {
    "code": "string",
    "correlationId": "string",
    "detail": "string",
    "details": {
    "currentVersion": "string",
    "dates": [
    "2024-07-29"
    ],
    "occurrenceRefs": [
    "string"
    ],
    "requestIds": [
    "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    ],
    "total": 0,
    "truncated": true
    },
    "fieldErrors": {},
    "gatewayErrorCode": "string",
    "message": "string",
    "retryable": true
    },
    "meta": {
    "limit": 0,
    "nextCursor": "string",
    "page": 0,
    "scheduleVersion": "string",
    "total": 0,
    "totalPages": 0
    },
    "success": true
    }