Skip to main content

ApiResponseShrinkageByProductReport

data object
endDatestring<date-time>
entries object[]required
  • Array [
  • adjustmentEntryCountinteger<int32>required
    costLossnumberrequired
    productIdstring<uuid>required
    productNamestringrequired
    recentCountsShortinteger<int32>required
    recentCountsTotalinteger<int32>required
    retailLossnumberrequired
    shrinkageRatePercentnumberrequired
    unitsLostinteger<int32>required
    varianceEntryCountinteger<int32>required
  • ]
  • sortedByShrinkageProductSortrequired

    Possible values: [COST_LOSS, UNIT_LOSS, SHRINKAGE_RATE, VARIANCE_FREQUENCY, ADJUSTMENT_FREQUENCY]

    startDatestring<date-time>
    storeIdstring<uuid>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
    ApiResponseShrinkageByProductReport
    {
    "data": {
    "endDate": "2024-07-29T15:51:28.071Z",
    "entries": [
    {
    "adjustmentEntryCount": 0,
    "costLoss": 0,
    "productId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "productName": "string",
    "recentCountsShort": 0,
    "recentCountsTotal": 0,
    "retailLoss": 0,
    "shrinkageRatePercent": 0,
    "unitsLost": 0,
    "varianceEntryCount": 0
    }
    ],
    "sortedBy": "COST_LOSS",
    "startDate": "2024-07-29T15:51:28.071Z",
    "storeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
    },
    "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
    }