Zum Inhalt springen

Lista a fila de espera

GET/api/products/{id}/waitlist

Auth
Token erforderlich
X-CommunityId
X-CommunityId Sende 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.

F-74. A fila na ordem de entrada, só para a equipe (owner, admin, moderador, financeiro). Cada item traz `position` (0 = oferta aberta), `status`, `joinedAt`, `offerExpiresAt` e o `profile`. Membro recebe 403; o próprio lugar do membro está em `GET /api/products/{id}/waitlist/me`.

Parameter

NameOrtTypBeschreibung
idPflichtpathstring (uuid)

Header

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

Antworten

StatusBeschreibung
200A fila.
401Token ausente, inválido ou expirado.
403Autenticado, mas sem permissão para esta operação.
404Recurso não encontrado.
500Erro interno do servidor.

curl-Beispiel

curl -X GET "https://api.memberfy.net/api/products/<id>/waitlist" \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-CommunityId: $COMMUNITY_ID"