Pytanie o zasób: POST /sale/issues/{issueId}/message i wartość atrybutu 'id' w odpowiedzi.
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 244
- Forks
- 40
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
Testuję dodawanie nowej wiadomości do reklamacji za pomocą zasobu:
**POST /sale/issues/{issueId}/message**
Dla payloadu:
```
{
"type": "REGULAR",
"text": "test message",
"attachments": []
}
```
otrzymuję odpowiedź:
Http status: **201**
```
{
"id": "b8bf49d5-c9b9-4602-a71f-fe934847600d",
"text": "test message",
"attachments": [],
"author": {
"login": "M******e",
"role": "SELLER"
},
"createdAt": "2026-01-27T19:35:15.776Z"
}
```
Natomiast dla payloadu:
```
{
"type": "RETURN_REQUIRED_SELLER_LABEL",
"text": "test message",
"attachments": []
}
```
otrzymuję odpowiedź:
Http status: **201**
```
{
"id": null,
"text": "test message",
"attachments": [],
"author": {
"login": "M******e",
"role": "SELLER"
},
"createdAt": "2026-01-27T19:35:15.776Z"
}
```
Zgodnie z dokumentacją pole `id` w odpowiedzi powinno być typu `string`, jednak w drugim przypadku zwracana jest wartość `null`.
Takie zachowanie obserwuję zarówno w środowisku testowym (sandbox), jak i w środowisku produkcyjnym.
Czy to może jakiś błąd po stronie API Allegro? Czy pole 'id' może mieć wartość null?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.