allegro / allegro-api

Issue tracker and wiki for Allegro REST API
https://developer.allegro.pl/
213 stars 39 forks source link

Questions about creating an offer #9539

Open fxsshiwo opened 1 month ago

fxsshiwo commented 1 month ago

Hello, when I called the {{baseURL}}/sale/product proposals interface, the returned ean for an existing product does not match our actual ean. How can I create a new product

eg: POST {{baseUrl}}/sale/product-proposals trace-id:2abaaaeebb638f8e

{"name":"KITCHEN STORAGE ORGANIZER CONDIMENT SEASONING CABINET SHELF FOR KITCHEN","category":{"id":"300489"},"parameters":[{"id":"248811","rangeValue":null,"values":[],"valuesIds":["248811_958954"]},{"id":"225830","rangeValue":null,"values":[],"valuesIds":["225830_313754"]},{"id":"226170","rangeValue":null,"values":[],"valuesIds":["226170_512"]},{"id":"224017","rangeValue":null,"values":["13570029871"],"valuesIds":[]},{"id":"225693","rangeValue":null,"values":["6901423211339"],"valuesIds":[]},{"id":"11323","rangeValue":null,"values":[],"valuesIds":["11323_1"]}],"images":[{"url":"https:\/\/a.allegroimg.com\/original\/1193c4\/33e6a1cd41559d0471be108517fd"},{"url":"https:\/\/a.allegroimg.com\/original\/11a246\/51aaa4bc4a3ea4453183c7db20dc"},{"url":"https:\/\/a.allegroimg.com\/original\/11f7e4\/0727f8164ad19e41652a98092f87"},{"url":"https:\/\/a.allegroimg.com\/original\/110cd3\/94504fc64c4ea5226a78e91cd269"},{"url":"https:\/\/a.allegroimg.com\/original\/11927c\/549795824bbb84b86b0389f407dc"},{"url":"https:\/\/a.allegroimg.com\/original\/11e623\/799b42664dde87558b2c7723f5d5"}],"language":"en-US"}

The product ID returned by the interface is: f0f3f11d-05e3-49b7-b898-a5cc008a3e9d  The corresponding ean is: 794181730831 But we need to upload using 6901423211339 as an ean Dingtalk_20240730140228

PrzemyslawLukanowski commented 1 month ago

Hello, based on the images and other parameters, we found an existing product in our database, but with an other EAN. It won't be possible to create a product with a different EAN in this case.

stale[bot] commented 1 week ago

W tym wątku nie pojawiła się żadna nowa odpowiedź w ciągu 7 dni, dlatego automatycznie oznaczamy go jako przeterminowany. Jeśli w ciągu kolejnych 7 dni nie pojawi się żadna odpowiedź, wątek zostanie zamknięty. Dziękujemy za zaangażowanie w dyskusję i zachęcamy Cię do wypełnienia ankiety dotyczącej naszego wsparcia na forum.


There was no new reply in this thread within 7 days, therefore, we automatically marked it as expired. If no response is received within the next 7 days, this thread will be closed. Thank you for engaging in the discussion. We encourage you to complete our forum support survey.