1b.app
Link copied -

The problem of synchronizing goods on Prom

Prices and availability of goods are not updated.
Rest log: https://crm.dobavki.ua/admin/logs/showall/ajax/?file=prom-api-sendavail-2021-04-...
Supporting Prom seems that nothing has been changed in the API robot.
What is the problem?
Original question is available on version: ru

Answers:

Good afternoon, do you have a request and an answer to it:
request:
[{"id":"357516584","presence":"not_available","price":419},{"id":"357515794","presence":"not_available","price":467},{ "id":"357515791","presence":"not_available","price":602},{"id":"357515792","presence":"not_available","price":322},{"id ":"357516382","presence":"order","price":1170},{"id":"357516374","presence":"order","price":387},{"id": "357516401","presence":"order","price":440},{"id":"357516350","presence":"available","price":330},{"id":"357516343 ","presence":"not_available","price":414},{"id":"357516351","presence":"not_available","price":225},{"id":"357516358", "presence":"order","price":349},{"id":"357516389","presence":"order","price":375},{"id":"357515626","presence ":"order","price":656},{"id":"357516376","presence":"order","price":486},{"id":"357515679","presence": "order","price":1142},{"id":"357515700","presence":"order","price":650},{"id":"357515624","presence":"order ","price":193},{"id":"357515615","presence":"order","price":376},{"id":"357515612","presence":"not_available", "price":435},{"id":"357515622","presence":"not_available","price":280}]
answer:
{"error": "Incorrect request data"}
those. Prom does not like something. Ask them exactly what and why.
06.04.2021, 14:08
Original comment available on version: ru

Ярина
Personal license
in logs before 1.04 the value of the ID tag is not taken into account. s 1.04 only paws value, and "incorrect request data" error. what could be the reason?
06.04.2021, 18:07
Original comment available on version: ru

the reason can be anything, so we ask you to clarify what exactly is wrong so as not to guess by the clouds
06.04.2021, 18:10
Original comment available on version: ru

added to make it as before without "
see the result in an hour for new uploads
06.04.2021, 18:36
Original comment available on version: ru

Ярина
Personal license
did not help:
[responce] => {"processed_ids": [357516746, 357516748, 357521625, 357521605, 357521609, 357521567, 357521608, 357521578, 357521612, 357521579, 357521577, 357521584, 357521613, 357521620, 357521619], "errors": {"357516755" : {"id": "Incorrect product id"}, "357516753": {"id": "Incorrect product id"}, "357521606": {"id": "Incorrect product id"}, "357521611": { "id": "Incorrect product id"}, "357521621": {"id": "Incorrect product id"}}}
pіdtrimtsі Prom need butt zapitu, schob_rіti. not to finish the log. Give me, be kind, butt to ask.
07.04.2021, 12:27
Original comment available on version: ru

Everything is fine with the request, as far as I can see, it's just that some product ids are not on the prom

Yarina
Integrator Premium Partner
integrator wrote:
pіdtrimtsі Prom need butt zapitu, schob_rіti. not to finish the log. Give me, be kind, butt to ask.

in the log in the request field an example of the request body, what else do you need?
07.04.2021, 12:45
Original comment available on version: ru

Ярина
Personal license
dyakuyu, already working
08.04.2021, 12:54
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment