Clients marketing consent edit via admin rest API

Hi,

we are building a custom reservation flow using the admin rest API. We need an option to set/edit the users marketing consent.

The user can choose to opt in via our custom booking UI, but we can not find a way to save/set it in SB.

Thanks.

First, just to clarify, by “user” I will mean a user of SimplyBook admin site, and by “client” a customer who books via SimplyBook public site. Marketing consent relates to “client” in this case.

Currently you cannot set those values via admin API (but you can via public API). We will consider adding this functionality