Update Card Kit Preferences

This api Update Card Kit Preferences


REST


Headers

FieldsTypeDescriptionExampleO/MData Management
URLstring{base-url}/v1/card-kit/updatePreferencesM
METHODstringPOSTM
content-typestringJSONapplication/jsonM
x-access-tokenstringSession token with validitytokenMemployee token

Request

{
    "type":"POS/ECOM",
    "status":"ALLOWED/NOTALLOWED"
}


Success

{
  "result": true,
  "exception": null,
  "pagination": null
}


Error

{
  "error": "Invalid `status`. It should be one of: ALLOWED/NOTALLOWED"
}


Employee can update the card preferences by selecting a field and updating a status (ALLOWED/NOTALLOWED).