Retrieves a marketing consent by its details. Required fields:
details.type
.details.email
OR details.phone
.Note: Due to the ongoing development of our new documentation portal, the query parameter is not displaying as expected. Use the details
object located in the marketing consent object in the request. You can also see the code example for reference.
You can only call this method when authenticated as a Wix app or Wix user identity.