allegro / allegro/allegro-api

[NEWS] Wprowadziliśmy zmiany w warunkach zwrotów / We have made changes to the terms of return policy

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

描述

Od dziś obowiązuje nowa [Polityka zwrotów na Allegro](https://allegro.pl/pomoc/artykul/polityka-zwrotow-na-allegro-q0yPaBXLrhD). Zmiany wdrożyliśmy również w API.

**Na jakie zasoby mają wpływ te zmiany?**

- [POST /after-sales-service-conditions/return-policies](https://developer.allegro.pl/documentation/#operation/createAfterSalesServiceReturnPolicyUsingPOST) - dodaj warunki zwrotów,
- [GET /after-sales-service-conditions/return-policies/{returnPolicyId}](https://developer.allegro.pl/documentation/#operation/getAfterSalesServiceReturnPolicyUsingGET) - pobierz szczegółowe dane warunków zwrotów,
- [PUT /after-sales-service-conditions/return-policies/{returnPolicyId}](https://developer.allegro.pl/documentation/#operation/updateAfterSalesServiceReturnPolicyUsingPUT) - edytuj warunki zwrotów.

**Co zmieniliśmy?**

1. Dodaliśmy walidację adresu dla "countryCode": "PL".
2. Usunęliśmy pole "attachment".
3. Usunęliśmy pole "description" i zastąpiliśmy opcjonalnym obiektem "contact".
4. Przesłanie pełnej struktury "options" jest obowiązkowe.
5. Usunęliśmy 3 wartości z restrictionCause.name:
- "ALCOHOL",
- "BOOKED_SERVICE",
- "FULLY_IMPLEMENTED_SERVICE".

**Co się stanie, gdy nie dostosujesz warunków zwrotów do wprowadzonych zmian?**

W przyszłości nie będzie można wystawiać, ani edytować ofert przez API, które mają nieaktualne warunki zwrotów.

Wcześniejsze informacje:
- [Zmiany w warunkach zwrotów](https://developer.allegro.pl/news/#return-policy-changed) (6.07.2021)
- [Wprowadziliśmy zmiany w warunkach zwrotów](https://developer.allegro.pl/news/#return-policy-changed2) (20.07.2021)

-----

A new [Return policy on Allegro](https://allegro.pl/pomoc/artykul/polityka-zwrotow-na-allegro-q0yPaBXLrhD) applies from today. We have also implemented changes in the API.

**Which resources are affected by these changes?**

- [POST /after-sales-service-conditions/return-policies](**url**) - create new user's return policy,
- [GET /after-sales-service-conditions/return-policies/{returnPolicyId}](https://developer.allegro.pl/en/documentation/#operation/getAfterSalesServiceReturnPolicyUsingGET)- get the user's return policy,
- [PUT /after-sales-service-conditions/return-policies/{returnPolicyId}](https://developer.allegro.pl/en/documentation/#operation/updateAfterSalesServiceReturnPolicyUsingPUT)- change the user's return policy.

**What have we changed?**

1. To the current structure:
2. We added address validation. For "countryCode": "PL".
3. We removed the "attachment" field.
4. We removed the "description" field and replaced it with an optional "contact" object.
5. Sending the full "options" structure is obligatory.
6. We removed 3 values from restrictionCause.name:
- "ALCOHOL",
- "BOOKED_SERVICE",
- "FULLY_IMPLEMENTED_SERVICE";

**What happens if you don't adapt the terms of return policy to the changes?**

In the future, it will not be possible to list or edit offers via API that have outdated terms of return policy.

Previous news:

- [Changes to the terms of return policy](https://developer.allegro.pl/en/news/#return-policy-changed) (July 6th, 2021)
- [We have made changes to the terms of return policy](https://developer.allegro.pl/en/news/#return-policy-changed2) (July 20th, 2021)

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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