ApiResponseStoreApprovalPolicyHistory
data object
items object[]required
Array [
cashierSelfRefundEnabledbooleanrequired
changedAtstring<date-time>required
changedBystringrequired
discountEscalationBandStandardIamDelegationBandrequired
Possible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]
discountLimit objectnullable
currencystringnullable
kindManagerOverrideValueKindrequired
Possible values: [AMOUNT, PERCENTAGE]
valuestringrequired
Possible values: non-empty
headCashierDiscountsEnabledbooleanrequired
headCashierRefundLimitstringrequired
reasonstringrequired
refundCurrencystringrequired
refundEscalationBandStandardIamDelegationBandrequired
Possible values: [ORGANIZATION_AFFILIATION, BASE_EMPLOYEE, CASHIER, STOCK_PERSON, HEAD_CASHIER, ASSISTANT_MANAGER, MANAGER, STORE_OWNER, ORGANIZATION_OWNER]
versioninteger<int64>required
]
pageinteger<int32>required
sizeinteger<int32>required
totalinteger<int64>required
totalPagesinteger<int32>required
error object
codestring
correlationIdstringnullable
detailstring
details objectnullable
anyOf
- ScheduleErrorDetails
- GatewayErrorDetails
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
ApiResponseStoreApprovalPolicyHistory
{
"data": {
"items": [
{
"cashierSelfRefundEnabled": true,
"changedAt": "2024-07-29T15:51:28.071Z",
"changedBy": "string",
"discountEscalationBand": "ORGANIZATION_AFFILIATION",
"discountLimit": {
"currency": "string",
"kind": "AMOUNT",
"value": "string"
},
"headCashierDiscountsEnabled": true,
"headCashierRefundLimit": "string",
"reason": "string",
"refundCurrency": "string",
"refundEscalationBand": "ORGANIZATION_AFFILIATION",
"version": 0
}
],
"page": 0,
"size": 0,
"total": 0,
"totalPages": 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
}