[NEWS] Nowe zasoby - złóż ofertę kupna w licytacji
- Langage dominant
- Aucune donnée de langage
- Étoiles
- 244
- Forks
- 40
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Udostępniliśmy zasoby (w wersji beta), dzięki którym złożysz ofertę kupna w trwającej licytacji oraz pobierzesz informację na ten temat:
- [PUT /bidding/offers/{offerID}/bid](https://developer.allegro.pl/documentation/#operation/placeBid) - złóż ofertę kupna w licytacji
- [GET /bidding/offers/{offerID}/bid](https://developer.allegro.pl/documentation/#operation/getBid) - pobierz informacji na temat ostatniej złożonej oferty.
Aby skorzystać z zasobów, musisz być zalogowany jako użytkownik, który chce złożyć ofertę kupna w licytacji.
**Przykładowy request - PUT /bidding/offers/{offerID}/bid**
```
curl -X PUT \
https://api.allegro.pl/bidding/offers/{offerId}/bid \
-H 'Authorization: Bearer {token}' \
-H 'Accept: application/vnd.allegro.beta.v1+json'
-H 'Content-Type: application/vnd.allegro.beta.v1+json'
{
"maxAmount": - maksymalna kwota, za jaką chcesz
zalicytować w ofercie
{
"amount": "60",
"currency": "PLN"
}
}
```
**Przykładowy response:**
```
{
"maxAmount": {
"amount": "60.00",
"currency": "PLN"
},
"highBidder": true,
"minimalPriceMet": true,
"auction": {
"currentPrice": {
"amount": "50.00",
"currency": "PLN"
}
}
}
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.