anuluj
Pokazywanie wyników dla 
Zamiast tego wyszukaj 
Czy miało to oznaczać: 

Create product offer via API

Client:143253311
#7 Wielbiciel

Hello,

I am integrating my third-party CRM with my Allegro seller account via the API.

In my CRM, I have product offers that I would like to publish on Allegro. According to the API documentation, I need to provide an EAN (GTIN) when creating an offer.

However, some of my products do not have an EAN.

When I create a test product manually in the Sandbox environment via the UI, everything works correctly — I am able to create an offer without providing an EAN, as long as the selected category does not require it.

But when I try to create the same type of offer via the API (in a category that does not require EAN), the API response indicates that the EAN value is required.

Could you please clarify:

  • Why is it possible to create such an offer without EAN via the Sandbox UI?

  • Why does the API require EAN for the same category?

  • Is there any additional parameter or configuration required in the API request?

Thank you in advance for your assistance.

 

Dzień dobry,

Integruję zewnętrzny system CRM z moim kontem sprzedawcy Allegro za pomocą API.

W systemie CRM posiadam oferty produktów, które chciałbym wystawić na Allegro. Zgodnie z dokumentacją API podczas tworzenia oferty wymagane jest podanie EAN (GTIN).

Część moich produktów nie posiada jednak numeru EAN.

W środowisku Sandbox, podczas ręcznego tworzenia oferty przez UI, wszystko działa poprawnie — mogę wystawić produkt bez EAN, jeśli wybrana kategoria go nie wymaga.

Natomiast przy próbie utworzenia tej samej oferty przez API (w kategorii, która nie wymaga EAN) otrzymuję odpowiedź, że pole EAN jest wymagane.

Czy mogliby Państwo wyjaśnić:

  • Dlaczego w Sandbox UI możliwe jest wystawienie oferty bez EAN?

  • Dlaczego API wymaga EAN dla tej samej kategorii?

  • Czy w zapytaniu API należy przekazać dodatkowy parametr lub zastosować inne ustawienie?

Z góry dziękuję za pomoc.

oznacz moderatorów
3 ODPOWIEDZI 3

w_kiwi
Moderacja Społeczności
Moderacja Społeczności

@Client:143253311 Please indicate the exact category you're experiencing this issue in. I'll look into it.

   Wiktoria
   Moderatorka Allegro Gadane
oznacz moderatorów

Client:143253311
#7 Wielbiciel

Thank you,
the error was on our side.
At the same time, another question has arisen.

You have the following category hierarchy:
Business and Services – Office and Advertising – Advertising – Merchandise – Clothes.

When we make a request to obtain the parameters for it, we do not receive a field where we can select the size as a parameter.

Could you please clarify if this is how it is supposed to be?

Dziękujemy,
błąd był po naszej stronie.
Jednocześnie pojawiło się inne pytanie.

U Państwa istnieje następująca hierarchia kategorii:
Firma i usługi – Biuro i Reklama – Reklama – Gadżety – Odzież.

Kiedy wysyłamy zapytanie o pobranie parametrów dla tej kategorii, nie otrzymujemy pola, w którym można wybrać rozmiar jako parametr.

Czy mogliby Państwo potwierdzić, czy tak właśnie powinno być?



oznacz moderatorów

Syrena_zT
Moderacja Społeczności
Moderacja Społeczności

@Client:143253311 Yes, the [size] parameter does not appear in this category. You can add the available sizes in the offer description and, for example, include a size chart in the photo. Customer can specify their chosen size in the order message. 

   Alicja
   Moderatorka Allegro Gadane
oznacz moderatorów