allegro / allegro/allegro-api

[NEWS] Załączniki do oferty - zwiększymy restrykcje walidacji plików / Offer attachments - we will increase file validation restrictions

Đang mở
#7,289 0 bình luận 0 reaction 1 người được giao Được @MaciejFrackowiak nhận Xem trên GitHub
News
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
244
Fork
40
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Dzięki [POST /sale/offer-attachments](https://developer.allegro.pl/documentation/#operation/createOfferAttachmentUsingPOST) do ofert możesz dodawać załączniki w formacie PDF, JPEG, JPG i PNG. Wyświetlamy je pod opisem oferty w sekcji Dodatkowe informacje.

**Co zmienimy?**

Od **28.08.2023** wprowadzimy bardziej restrykcyjną walidację przesyłanych plików. Dla poszczególnych typów załączników będziesz mógł dodać pliki **tylko** w formatach:

* Poradnik (MANUAL) - PDF,
* Regulamin promocji (SPECIAL_OFFER_RULES) - PDF,
* Regulamin konkursu (COMPETITION_RULES) - PDF,
* Fragment książki (BOOK_EXCERPT) - PDF,
* Instrukcja obsługi (USER_MANUAL) - PDF,
* Instrukcja montażu (INSTALLATION_INSTRUCTIONS) - PDF,
* Instrukcja gry (GAME_INSTRUCTIONS) - PDF,
* Etykieta energetyczna (ENERGY_LABEL) - JPEG, JPG, PNG,
* Karta produktu (PRODUCT_INFORMATION_SHEET) - PDF.

**Dlaczego wprowadzamy zmianę?**

Chcemy uspójnić działanie funkcjonalności z serwisem WWW, gdzie dopuszczamy dodawanie plików tylko w wybranych formatach.

Więcej informacji o załącznikach znajdziesz w [naszym poradniku](https://developer.allegro.pl/tutorials/jak-jednym-requestem-wystawic-oferte-powiazana-z-produktem-D7Kj9gw4xFA#zalaczniki).

-----
With [POST /sale/offer-attachments](https://developer.allegro.pl/documentation/#operation/createOfferAttachmentUsingPOST), you can add attachments in PDF, JPEG, JPG and PNG format to your offers. These are displayed below the offer description in the Additional information section.

**What will we change?**

From **August 28, 2023**, we will introduce a more restrictive validation of uploaded files. For individual attachment types, you will **only** be able to add files in the following formats:

* Guide (MANUAL) - PDF,
* Special offer terms (SPECIAL_OFFER_RULES) - PDF,
* Competition terms (COMPETITION_RULES) - PDF,
* Book excerpt (BOOK_EXCERPT) - PDF,
* Manual (USER_MANUAL) - PDF,
* Installation manual (INSTALLATION_INSTRUCTIONS) - PDF,
* Game manual (GAME_INSTRUCTIONS) - PDF,
* Energy label (ENERGY_LABEL) - JPEG, JPG, PNG,
* Product information sheet (PRODUCT_INFORMATION_SHEET) - PDF.

**Why do we make the change?**

We want to make the functionality more consistent with the website, where we only allow adding files in selected formats.

You can find more information about the offer attachments in [our tutorial](https://developer.allegro.pl/tutorials/list-offer-assigned-product-one-request-D7Kj9M71Bu6#attachments).

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.