Define o e-mail dos avisos de venda da comunidade
PUT/api/notification-settings
- Auth
- Token erforderlich
- Wer darf:
- owner
- admin
- X-CommunityId
X-CommunityIdSende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.
Grava o e-mail que recebe os avisos de venda, estorno e chargeback. `null` ou string vazia limpa o campo, e os avisos voltam para o e-mail da empresa e, sem ele, para o do owner. Só owner e admin.
Header
| Name | Typ | Beschreibung |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Request-Body application/json
| Name | Typ | Beschreibung |
|---|---|---|
salesNotificationEmailoptional | string (email) |
Antworten
| Status | Beschreibung |
|---|---|
200 | Configuração gravada |
400 | E-mail inválido |
401 | Sem autenticação |
403 | Não é owner nem admin da comunidade |
curl-Beispiel
curl -X PUT "https://api.memberfy.net/api/notification-settings" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID" \
-H "Content-Type: application/json" \
-d '{}'