allegro / allegro/allegro-api

[NEWS] Usuwamy pole “ean” oraz obiekt ”eans” / We will remove the "ean" field and the "eans" object

未关闭
#4,042 0 条评论 0 个 reaction 已指派 1 人 已被 @AureliuszBrussy 认领 在 GitHub 查看
News
主要语言
没有语言数据
星标
244
派生
40
PR 合并指标
30 天内没有已合并 PR

描述

Zgodnie z [wcześniejszą zapowiedzią](https://developer.allegro.pl/news/#gtin-intro) informujemy, że **29 marca 2021** usuniemy:

- pole “ean” - w modelu oferty,
- obiekt “eans” - w modelu produktu.

Proces usunięcia tych obiektów podzieliliśmy na 3 kroki.

1. **1 lutego 2021** wdrożymy zmianę, która spowoduje, że jeśli w swoim requeście prześlesz:

- pole “ean” w [POST /sale/offers](https://developer.allegro.pl/documentation/#operation/createOfferUsingPOST) i [PUT /sale/offers/{offerId}](https://developer.allegro.pl/documentation/#operation/updateOfferUsingPUT),
- obiekt “eans” [w POST /sale/product-proposals](https://developer.allegro.pl/documentation/#operation/proposeSaleProduct),

zignorujemy je i nie będziemy go walidować.

Gdy będziesz pobierać:

- szczegóły oferty za pomocą [GET /sale/offers/{offerId}](https://developer.allegro.pl/documentation/#operation/getOfferUsingGET) - w polu “ean” zwrócimy wartość parametru GTIN (np. EAN/ISBN/ISSN), jeśli taki został podany w ofercie,
- dane produktu za pomocą [GET /sale/product/{productId}](https://developer.allegro.pl/documentation/#operation/getSaleProduct) - w obiekcie “eans” zwrócimy wartość parametru GTIN (np. EAN/ISBN/ISSN), jeżeli taki został zdefiniowany w produkcie.

2. Od **1 marca 2021** wartość w:

- polu “ean” na [GET /sale/offers/{offerId}](https://developer.allegro.pl/documentation/#operation/getOfferUsingGET),
- obiekcie “eans” na [GET /sale/product/{productId}](https://developer.allegro.pl/documentation/#operation/getSaleProduct),

ustawimy trwale jako **null** - jej zmiana nie będzie możliwa.

3. **29 marca 2021** usuniemy pole “ean” z modelu oferty oraz obiekt “eans” z modelu produktu.
To spowoduje, że nie otrzymasz i nie prześlesz już:

- pola “ean” metodami GET/POST/PUT na zasobie **/sale/offers**,
- obiektu “eans” w na zasobach:
- **/sale/product-proposals**,
- **/sale/product**.

Przypominamy, że od **29.06.2020** [udostępniliśmy parametr globalny numer jednostki handlowej](https://developer.allegro.pl/news/#gtin) tzw. GTIN. Wartość GTIN (czyli EAN, ISBN, ISSN) zmienisz tylko korzystając z parametru.

-----
According to our [previous announcement](https://developer.allegro.pl/en/news/#gtin-intro), we would like to inform you that on **March 29th, 2021**, we will remove:

- "ean" field - in the offer model,
- "eans" object - in the product model.

We have divided the process of removing these objects into 3 steps.

1. On **February 1st, 2021,** we will implement a change that if you provide in your request:

- “ean” field via [POST /sale/offers](https://developer.allegro.pl/en/documentation/#operation/createOfferUsingPOST) and [PUT /sale/offers/{offerId}](https://developer.allegro.pl/en/documentation/#operation/updateOfferUsingPUT),
- “eans” object via [w POST /sale/product-proposals](https://developer.allegro.pl/en/documentation/#operation/proposeSaleProduct),

we will ignore those values and not validate them.

When you get:

- offer details using [GET /sale/offers/{offerId}](https://developer.allegro.pl/en/documentation/#operation/getOfferUsingGET) - in the "ean" field we will return the GTIN parameter value (EAN/ISBN/ISSN) if one has been provided in the offer,
- product data using [GET /sale/product/{productId}](https://developer.allegro.pl/en/documentation/#operation/getSaleProduct) -in the "eans" object we will return the value of the GTIN parameter (EAN/ISBN/ISSN) if one has been defined in the product.

2. From **March 1st, 2021** value in:

- “ean” field on [GET /sale/offers/{offerId}](https://developer.allegro.pl/en/documentation/#operation/getOfferUsingGET),
- “eans” object on [GET /sale/product/{productId}](https://developer.allegro.pl/en/documentation/#operation/getSaleProduct),

will be set permanently as **null** - it will not be possible to change it.

3. On **March 29th, 2021** we will remove the "ean" field from the offer model and the "eans" object from the product model.
This means that you will not receive and will not send:

- “ean” field by GET/POST/PUT methods on resource **/sale/offers**,
- "eans” object on resources:
- **/sale/product-proposals**,
- **/sale/product**.

We remind you, that on **June 29th, 2020** we [introduced the Global Trade Item Number (GTIN) parameter](https://developer.allegro.pl/news/#gtin). You can change the GTIN value (EAN, ISBN, ISSN) only by using this parameter.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。