[NEWS] Usuwamy metody WebAPI do ponownego wystawiania oferty / We are going to remove WebAPI methods for relisting offer
- 主要語言
- 沒有語言資料
- 星號
- 244
- 分支
- 40
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Zgodnie z [wcześniejszą zapowiedzią](https://github.com/allegro/allegro-api/issues/2155) przypominamy, że 30 września 2019 usuniemy poniższe metody WebAPI do ponownego [wystawienia oferty:](https://allegro.pl/webapi/documentation.php/theme/id,41)
- [doSellSomeAgain](https://allegro.pl/webapi/documentation.php/show/id,321),
- [doSellSomeAgainInShop](https://allegro.pl/webapi/documentation.php/show/id,322),
- [doVerifyItem](https://allegro.pl/webapi/documentation.php/show/id,181).
Aby wystawić podobną ofertę przez REST API, wystarczy, że pobierzesz ją za pomocą [GET /sale/offers/{offerId}](https://developer.allegro.pl/documentation/#operation/getOfferUsingGET.), a następnie prześlesz całą jej strukturę przez [POST /sale/offers](https://developer.allegro.pl/documentation/#operation/createOfferUsingPOST) z wyłączeniem:
- numeru identyfikacyjnego oferty (id),
- informacji, kiedy odbyła się ostatnia walidacja oferty (validatedAt),
- daty utworzenia oferty (createdAt),
- daty ostatniej aktualizacji oferty (updatedAt).
Pamiętaj, że musisz być uwierzytelniony i zautoryzowany jako sprzedawca, który wystawił tę ofertę. W ten sposób stworzysz nowy draft oferty na podstawie danych z oferty, którą pobrałeś wcześniej.
Jeśli oferta jest kompletna i poprawnie zwalidowana, to za pomocą metody [PUT /sale/offer-publication-commands/{commandId}](https://developer.allegro.pl/documentation/#operation/changePublicationStatusUsingPUT) możesz ją opublikować w serwisie.
Więcej informacji na ten temat znajdziesz w [naszym poradniku](https://developer.allegro.pl/sale/#similar-offer).
-----
According to the [previous announcement,](https://github.com/allegro/allegro-api/issues/2155) we remind you that on September 30th, 2019 we will remove the following WebAPI methods for listing offer:
- [doSellSomeAgain](https://allegro.pl/webapi/documentation.php/show/id,321),
- [doSellSomeAgainInShop](https://allegro.pl/webapi/documentation.php/show/id,322),
- [doVerifyItem](https://allegro.pl/webapi/documentation.php/show/id,322).
If you want to list similar offer via REST API, retrieve it by calling [GET /sale/offers/{offerId}](https://developer.allegro.pl/documentation/#operation/getOfferUsingGET.) and transfer the whole structure with [POST /sale/offers](https://developer.allegro.pl/documentation/#operation/createOfferUsingPOST) apart from:
- offer ID (id),
- last offer validation (validatedAt),
- offer creation date (createdAt),
- last offer update (updatedAt).
Remember, you must be authenticated and authorized as a seller who listed the previous offer. Therefore, you will create a new draft offer based on data of the retrieved offer.
Once the offer is complete and properly validated, call [PUT on /sale/offer-publication-commands/{commandId}](https://developer.allegro.pl/documentation/#operation/changePublicationStatusUsingPUT) to publish the offer on the site.
You can find more details in [our guide](https://developer.allegro.pl/sale/#similar-offer).
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。