Update Card Kit Preferences
This api Update Card Kit Preferences
REST
Headers
Fields | Type | Description | Example | O/M | Data Management |
---|---|---|---|---|---|
URL | string | {base-url}/v1/card-kit/updatePreferences | M | ||
METHOD | string | POST | M | ||
content-type | string | JSON | application/json | M | |
x-access-token | string | Session token with validity | token | M | employee 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).