[NEWS] Produktyzacja - Powiąż ofertę z produktem w kategoriach z częściami motoryzacyjnymi / Productization - Assign product to an offer in categories with vehicle parts
- 主要语言
- 没有语言数据
- 星标
- 244
- 派生
- 40
- PR 合并指标
- 30 天内没有已合并 PR
描述
Udostępniliśmy dziś opcje, dzięki którym możesz powiązać ofertę z produktem w kategorii Układ hamulcowy:
1. W kategoriach z częściami motoryzacyjnymi w szczegółach produktu, które otrzymujesz w odpowiedzi dla GET /sale/products/{product.id} znajdziesz:
- **offerRequirements** - gdzie znajdziesz informacje, jakie wymagania musi spełniać oferta, by można ją było powiązać z danym produktem np. Stan = Nowy.
- **compatibilityList** - identyfikator sekcji Pasuje do - który musisz przekazać w ofercie. Dodatkowo zwracamy tam tekstową reprezentację treści tej sekcji.
- **tecdocSpecification** - identyfikator specyfikacji technicznej TecDoc dla danej części - który musisz przekazać w ofercie. Dodatkowo zwracamy tam tekstową reprezentację treści tej sekcji.
2. W modelu oferty, który przesyłasz za pomocą POST /sale/offers i PUT /sale/offers
- w **compatibilityList** - przekaż identyfikator sekcji Pasuje do otrzymany dla produktu oraz "type": "PRODUCT_BASED".
- dodaliśmy nowy obiekt - **tecdocSpecification** - w którym przekaż identyfikator specyfikacji technicznej TecDoc otrzymany dla produktu.
3. W modelu oferty, który otrzymasz za pomocą GET /sale/offers otrzymasz tekstową reprezentację compatibilityList i tecdocSpecification. Nie zwracamy błędu, gdy poza identyfikatorami nowych obiektów, przekażesz również ich reprezentację tekstową w POST /sale/offers i PUT /sale/offers - treści tekstowe po prostu ignorujemy.
Więcej informacji o tym, jak powiązać ofertę z produktem znajdziesz w [naszym poradniku](https://developer.allegro.pl/productization/).
---------------------------------------
We have released new features, which allow you to assign product to an offer in Braking system category:
1. In categories with vehicle parts in product details received in response for GET /sale/products/{product.id} you will find:
- **offerRequirements** - which provides you with conditions that offers must meet to be assigned with the product, i.e. Condition parameter must be set to New.
- **compatibilityList** - Compatibility list id - which you must include in the offer assigned to the product. In addition, we return a text representation of the content of this section.
- **tecdocSpecification** - TecDoc specification id - which you must include in the offer assigned to the product. In addition, we return a text representation of the content of this section.
2. In offer details send with POST /sale/offers and PUT /sale/offers
- In **compatibilityList** provide Compatibility list id received for selected product and "type": "PRODUCT_BASED".
- New object is available - **tecdocSpecification** - where you should provide TecDoc specification id received for selected product
3. In offer details received in response to GET /sale/offers you will receive a text representation of the content of Compatibility list and TecDoc specification. We will not return an error if the text representation is provided in requests for POST /sale/offers and PUT /sale/offers - the text representation is ignored.
You can find more details about assigning products to offers in [our tutorial](https://developer.allegro.pl/en/productization/).
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。