Um tipo de ingresso (também o que só vende pelo link)
GET/api/events/{id}/ticket-types/{typeId}
- Auth
- Requires a token
- API key:
- events:read
- X-CommunityId
X-CommunityIdSend 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.
Quem pode ver o evento lê um tipo publicado, visível ou não na página (o link do convite VIP). Rascunho, inativo ou de outro evento: 404 (a equipe lê todos).
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) | |
typeIdrequired | path | string (uuid) |
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Responses
| Status | Description |
|---|---|
200 | O tipo. |
403 | Autenticado, mas sem permissão para esta operação. |
404 | Recurso não encontrado. |
500 | Erro interno do servidor. |
curl example
curl -X GET "https://api.memberfy.net/api/events/<id>/ticket-types/<typeId>" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"