Skip to content

Exclui uma oferta de downsell

DELETE/api/subscription-groups/{groupId}/downsell-offers/{offerId}

Auth
Requires a token
Who can call it:
owner
admin
X-CommunityId
X-CommunityId Send the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.

F-39. Owner ou admin. Exclusão lógica; as exibições ainda não mostradas são canceladas, as já disponíveis valem até vencer.

Parameters

NameInTypeDescription
groupIdrequiredpathstring
offerIdrequiredpathstring

Headers

NameTypeDescription
X-CommunityIdoptionalstring (uuid)ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade.

Responses

StatusDescription
200Oferta excluída.
401Token ausente, inválido ou expirado.
403Autenticado, mas sem permissão para esta operação.
404Recurso não encontrado.
500Erro interno do servidor.

curl example

curl -X DELETE "https://api.memberfy.net/api/subscription-groups/<groupId>/downsell-offers/<offerId>" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-CommunityId: $COMMUNITY_ID"