api/v1/customer/stores/{id}/save-consent

GET

/api/v1/customer/stores/{id}/save-consent

This API method save status of consent based on per user per store basis.

Sample Request body

Nothing required

Parameter

Value / Type

Required

status

BOOLEAN / NUMBER

True

Sample Response

{
    "status": true,
    "message": "Status saved successfully."
}
{
  "status": false,
  "errorCode": "CHAIN_NOT_ACTIVE",
  "message": "This chain is not currently active in the system"
}