allegro / allegro/allegro-api

[NEWS] Serwisy zagraniczne Allegro - dodaliśmy nowy obiekt "marketplace" w zamówieniach / Allegro foreign services - we added a new "marketplace" object in orders

未關閉
#6,730 1 則留言 0 個 reaction 已指派 1 人 已被 @AureliuszBrussy 認領 在 GitHub 檢視
Marketplaces News
主要語言
沒有語言資料
星號
244
分支
40
PR 合併指標
30 天內沒有已合併 PR

描述

W jednym z naszych [poprzednich newsów](https://developer.allegro.pl/news/zmiany-w-wystawianiu-ofert-dodamy-mozliwosc-wyswietlania-ofert-w-zagranicznych-domenach-serwisu-allegro-VLm1P0KVlhd) informowaliśmy o tym, że sprzedawcy będą mogli wkrótce wyświetlać swoje oferty w zagranicznych domenach serwisu Allegro.

W związku z dostosowywaniem API Allegro do nadchodzących zmian, wdrożyliśmy dzisiaj w zamówieniach nowy obiekt "**marketplace**", gdzie w polu "**id**" zwracamy identyfikator domeny serwisu, w którym kupujący wykonał zakup.

Nowy obiekt zwracamy w:

- [GET /order/checkout-forms](https://developer.allegro.pl/documentation#operation/getListOfOrdersUsingGET),
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation/#operation/getOrdersDetailsUsingGET),
- [GET /order/events](https://developer.allegro.pl/documentation/#operation/getOrderEventsUsingGET).

Aktualnie w polu "**marketplace.id**" zwracamy jedynie wartość "allegro-pl", natomiast po uruchomieniu nowych domen będą to także inne wartości, np. "allegro-cz".

Więcej o nadchodzących zmianach w ramach nowych serwisów zagranicznych przeczytasz na [dedykowanej stronie](https://developer.allegro.pl/tutorials/wystawianie-i-zarzadzanie-oferta-w-serwisach-zagranicznych-wwzjP4M8gTZ).

-------

In one of our [previous news](https://developer.allegro.pl/news/changes-in-listing-offers-we-will-add-the-possibility-to-display-offers-in-foreign-domains-of-allegro-s-marketplaces-9gKv0RVzRTK), we informed you that sellers would soon be able to display their offers on foreign Allegro domains.

Due to adapting the Allegro API to the upcoming changes, today we implemented a new "**marketplace**" object in orders, where the "**id**" field returns the domain ID of the site where the buyer made the purchase.

The new object is returned in:

- [GET /order/checkout-forms](https://developer.allegro.pl/documentation#operation/getListOfOrdersUsingGET),
- [GET /order/checkout-forms/{id}](https://developer.allegro.pl/documentation/#operation/getOrdersDetailsUsingGET),
- [GET /order/events](https://developer.allegro.pl/documentation/#operation/getOrderEventsUsingGET).

Currently, the "**marketplace.id**" field only returns the value "allegro-pl", while after the launch of the new domains, it will also be other values, such as "allegro-cz".

You can read more about the upcoming changes under the new foreign services on [dedicated page](https://developer.allegro.pl/tutorials/listing-and-managing-offers-on-foreign-marketplaces-7GndGjeAATn).

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。