Update Partner Brand Status
Description¶
The updateCrossBrandStatus
endpoint is used to activate or deactivate an existing Partner Brand rule within the Loyalty Rewards Program.
Request¶
Endpoint¶
/ui/v1/updateCrossBrandStatus
Method¶
POST
Header¶
Content-Type: application/json
Authorization: $TOKEN
Note
Replace $TOKEN
in the request with the base64-encoded username/password combination in the format username:password
.
Given a username of username
and a password of password
, the request header would appear as follows:
Content-Type: application/json
Authorization: dXNlcm5hbWU6cGFzc3dvcmQ=
Request Body¶
{
"id": 1,
"createdDateTime": 1642191464000,
"lastUpdatedDateTime": null,
"lockedDateTime": null,
"lockedByUserId": null,
"createdUserId": 404,
"lastModifiedUserId": "642",
"crossBrandName": "2000",
"rewardsProgramName": "fagfgsfd",
"merchantBrandPoints": 2,
"crossBrandPoints": 2,
"crossBrandStatus": {
"value": "Disabled",
"name": "ACTIVE"
},
"minimumTransferPoints": 11,
"maxTransferPointsPerYear": 111,
"flatTransferFees": {
"amount": null,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1733858673000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"transferFeesPerPoint": {
"amount": null,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1733858673000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"maxTransferFees": {
"amount": null,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1733858673000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"payFeeWithPoints": null,
"merchantId": 1,
"createdUserName": null,
"message": null
}
Response¶
{
"id": 1,
"createdDateTime": 1642191464000,
"lastUpdatedDateTime": null,
"lockedDateTime": null,
"lockedByUserId": null,
"createdUserId": 404,
"lastModifiedUserId": 642,
"crossBrandName": "2000",
"rewardsProgramName": "fagfgsfd",
"merchantBrandPoints": 2,
"crossBrandPoints": 2,
"crossBrandStatus": {
"value": "Active",
"name": "ACTIVE"
},
"minimumTransferPoints": 11,
"maxTransferPointsPerYear": 111,
"flatTransferFees": {
"amount": null,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1733858673000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"transferFeesPerPoint": {
"amount": null,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1733858673000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"maxTransferFees": {
"amount": null,
"currency": {
"id": 1,
"currencyCode": "USD",
"currencyText": "United States Dollar",
"currencySymbol": "$",
"fractionalUnit": "Cent",
"numOfDecimalPlaces": "2",
"supportedByVisaCheckout": true,
"createdDateTime": 1733858673000,
"isoNumericCode": "840",
"isoCountryCode": "840"
}
},
"payFeeWithPoints": null,
"merchantId": 1,
"createdUserName": null,
"message": {
"code": "56",
"type": {
"name": "SUCCESS"
},
"include_i_icon": false,
"description": "CROSS_BRAND_ENABLE_SUCCESS",
"parameters": [
{
"name": "PARTNER_BRAND_NAME",
"value": "2000"
}
]
}
}
Updated As Of Version 6.6.x