allegro / allegro/allegro-api

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

Aberta
#7,289 0 comentários 0 reações 1 responsável Reivindicada por @MaciejFrackowiak Ver no GitHub
News
Linguagem predominante
Sem dados de linguagem
Estrelas
244
Forks
40
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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).

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.