allegro / allegro/allegro-api

[NEWS] Przelicznik cen - udostępniliśmy nowe zasoby do zarządzania ceną w serwisach dodatkowych / Price automation - we have introduced new resources for managing prices in additional marketplaces

Abierto
#7,513 0 comentarios 0 reacciones 1 asignado Reclamado por @Lukasz-Zurek Ver en GitHub
News
Lenguaje dominante
Sin datos de lenguaje
Estrellas
244
Forks
40
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Udostępniliśmy dziś nowe zasoby, za pomocą których automatycznie przeliczysz ceny w swoich ofertach, które wyświetlamy w [serwisach dodatkowych](https://developer.allegro.pl/tutorials/glosariusz-VL6Yel7BnSz#serwis-dodatkowy). Ceny obliczamy na podstawie informacji o kursach publikowanych przez Europejski Bank Centralny.

**Jak przeliczamy ceny?**

Podane przez Ciebie ceny w walucie serwisu bazowego przeliczamy na walutę serwisu dodatkowego (aktualnie dotyczy to wyłącznie walut PLN oraz CZK) według wzoru:

cena w walucie serwisu bazowego x kurs walut = cena w walucie serwisu dodatkowego

Europejski Bank Centralny publikuje informacje o kursie walut raz dziennie. Dlatego gdy skorzystasz z przelicznika cen, zaktualizuje on ceny na podstawie informacji o kursie z poprzedniego dnia roboczego, np. Europejski Bank Centralny publikuje dane o 16:21 w piątek. Na Allegro nowy kurs obowiązuje od godziny 00:00:01 w poniedziałek, aż do wtorku 00:00:01.

**Jakie udostępniliśmy zasoby?**

Aktualnie udostępniliśmy:

- [GET /sale/price-automation/rules](https://developer.allegro.pl/documentation#operation/getPriceAutomationRulesUsingGET) - pobierz dostępne reguły przelicznika cen. Aktualnie zawsze zwrócimy listę jednoelementową, która zawiera regułę typu “EXCHANGE_RATE” - zgodnie z nią, ceny w ofertach na serwisach dodatkowych przeliczymy zgodnie z aktualnym kursem wymiany. Zasób jest dodatkowo limitowany do 5 requestów na sekundę;
- [POST /sale/offer-price-automation-commands](https://developer.allegro.pl/documentation#operation/offerPriceAutomationModificationCommandUsingPOST) - przypisz albo usuń regułę przelicznika cen do jednej lub wielu ofert. Zasób jest dodatkowo limitowany do 250 tys. zmian w pojedynczej ofercie na godzinę lub 9 tys. na minutę;
- [GET /sale/offer-price-automation-commands/{commandId}](https://developer.allegro.pl/documentation#operation/getofferPriceAutomationModificationCommandStatusUsingGET) - pobierz informacje o statusie zadania przypisania reguły przelicznika cen. Zasób jest dodatkowo limitowany do 270 tys. ofert w zleconych komendach na minutę;
- [GET /sale/offer-price-automation-commands/{commandId}/tasks](http://getofferpriceautomationmodificationcommandtasksstatusesusingget/) - pobierz szczegółowy raport zadania przypisania reguły przelicznika cen. Zasób jest dodatkowo limitowany do 270 tys. ofert w zleconych komendach na minutę;
- [GET /sale/price-automation/offers/{offerId}/rules](https://developer.allegro.pl/documentation#operation/getPriceAutomationRulesForOfferUsingGET) - pobierz reguły przelicznika cen aktualnie przypisane do ofert. Zasób jest dodatkowo limitowany do 5 requestów na sekundę;

Jest to pierwszy etap prac, w kolejnym, który planujemy ukończyć do końca 2023, dodamy także nowe możliwości, które pozwolą m.in. konfigurować reguły przelicznika cen.

**Dodatkowe informacje:**

- ceny w ofertach, które wyświetlasz w serwisach dodatkowych, przeliczymy automatycznie zawsze, gdy zmienisz cenę w serwisie bazowym,
- gdy w ofercie korzystasz z przelicznika cen, ale zdecydujesz się ustawić w niej własną cenę w serwisie dodatkowym – automatycznie wyłączymy przelicznik cen w tej ofercie,
- przelicznik wylicza cenę na dodatkowych marketplace'ach na podstawie ceny na bazowym marketplace. Nie uwzględnia cen, które zostały obniżone w związku z udziałem w kampaniach i programach,
- gdy wznawiasz ofertę z włączonym przelicznikiem cen, zaktualizujemy w niej cenę w walucie serwisu dodatkowego zgodnie z aktualnym kursem.

Więcej informacji o nowych zasobach do przeliczania cen znajdziesz w naszym poradniku - [Serwisy zagraniczne Allegro](https://developer.allegro.pl/tutorials/wystawianie-i-zarzadzanie-oferta-w-serwisach-zagranicznych-wwzjP4M8gTZ).

----------

Today we have introduced new resources, thanks to which you will automatically convert prices in your offers, which we display in [additional marketplaces](https://developer.allegro.pl/tutorials/glossary-LRVjol8kdCA#additional-marketplace). We will recalculate prices based on exchange rate information published by the European Central Bank.

**How do we recalculate prices?**

We convert the prices you enter in the base marketplace currency into additional marketplace currency (currently, it applies only to PLN and CZK currencies) with the following formula:

price in base marketplace currency x exchange rate = price in the additional marketplace currency

The European Central Bank publishes exchange rate information once a day. That is why, when you use the price converter, it updates prices based on the exchange rate from the last working day, for example - the European Central Bank publishes data on Friday, 4:21 p.m. The new exchange rate applies on Allegro from Monday, 12:00:01 a.m. until Tuesday, 12:00:01 a.m.

**What resources have we introduced?**

Currently, we have introduced:

- [GET /sale/price-automation/rules](https://developer.allegro.pl/documentation#operation/getPriceAutomationRulesUsingGET) - retrieve the available price automation rules. Currently, we will always return a list with one element, which contains “EXCHANGE_RATE” rule type. It means we will convert prices in offers on additional marketplaces according to the current exchange rate. The resource is additionally limited to 5 requests per second;
- [POST /sale/offer-price-automation-commands](https://developer.allegro.pl/documentation#operation/offerPriceAutomationModificationCommandUsingPOST) - set or remove price automation rule to one or many offers. The resource is additionally limited to 250 000 offer changes per hour or 9000 per minute;
- [GET /sale/offer-price-automation-commands/{commandId}](https://developer.allegro.pl/documentation#operation/getofferPriceAutomationModificationCommandStatusUsingGET) - retrieve information about the status of the price automation rule assignment task. The resource is additionally limited to 270 000 offers in the requested commands per minute;
- [GET /sale/offer-price-automation-commands/{commandId}/tasks](http://getofferpriceautomationmodificationcommandtasksstatusesusingget/) - retrieve the detailed report of the price automation rule assignment task. The resource is additionally limited to 270 000 offers in the requested commands per minute;
- [GET /sale/price-automation/offers/{offerId}/rules](https://developer.allegro.pl/documentation#operation/getPriceAutomationRulesForOfferUsingGET) - retrieve price automation rules assigned to the offer. The resource is additionally limited to 5 requests per second;

It is the first phase of work, in the next one, which we want to release by the end of 2023, we will add new features, e.g. the possibility to configure price automation rules.

**Additional information:**

- prices in offers, which you display on additional marketplaces, will be recalculated each time you change the price on the base marketplace;
- if you use price automation in your offer, but decide to set your own price on the additional marketplace, we will automatically disable the price converter in that offer;
- the price converter calculates the price on the additional marketplace based on the price from the base marketplace. It does not account for prices lowered as a result of campaigns and programs;
- If you relist an offer for which you enabled the Price Converter — we will update its price in CZK according to the current exchange rate.

For more information on the new price automation resources, see our guide - [Allegro Foreign Marketplaces](https://developer.allegro.pl/tutorials/listing-and-managing-offers-on-foreign-marketplaces-7GndGjeAATn).

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.