1b.app
Link copied -

prom update api availability once an hour

Необходима автоматизация с Prom?
Нужна консультация по работе компонента?
Вы можете создать топик на нашем форуме и там описать поставленную задачу (это бесплатно) и вам помогут в решении наши партнеры-интеграторы! Создать топик
In the action "PromUA / Import products" there is a setting "Update prices and availability for all products on PromUA every hour" https://prnt.sc/10alput
It is necessary to refine this functionality without importing products into the box. For example, do an action once an hour to update the availability of API products, because. Updating through the price of the site is limited to updating every 4 hours from the side of the prom https://prnt.sc/10alsuw Is this improvement possible?
Original question is available on version: ru

Answers:

Why does the setting slightly lower "Upload price, discount and product availability on PromUA without importing products" not suit you?
02.03.2021, 13:37
Original comment available on version: ru


Tyndyk Maxim Vadimovich
Administrator wrote:
Why does the setting slightly lower "Upload price, discount and product availability on PromUA without importing products" not suit you?

Action settings https://prnt.sc/10bhaps
Changed product https://rivcont.info/admin/shop/products/2328/edit/
https://prnt.sc/10bgrfo
On the site https://rivcont.com.ua/p1024117839-antiblikovye-polyarizovannye-solntsezaschitny...
https://prnt.sc/10bgs3x
Hourly cron worked https://prnt.sc/10bh7nm
The product on the site has not been updated https://prnt.sc/10bh88g
Because this is a products import action, maybe it looks for products by external id. We can only match by the OneBox product ID. What field are you looking for? and is it possible to search by box product ID
02.03.2021, 20:13
Original comment available on version: ru

You have blocked access to your system to OneBox employees.
In this case, we cannot analyze your settings and help.
03.03.2021, 14:55
Original comment available on version: ru


Tyndyk Maxim Vadimovich
Administrator wrote:
https://rivcont.info/admin/shop/products/2328/edit/

Opened access
03.03.2021, 15:28
Original comment available on version: ru


Nicholas wrote:
Because this is a products import action, maybe it looks for products by external id. We can only match by the OneBox product ID. What field are you looking for? and is it possible to search by box product ID

as id in api https://my.prom.ua/api/v1/products/edit the external product ID from OneBox is passed
on the prom side does it match?
03.03.2021, 15:33
Original comment available on version: ru


Tyndyk Maxim Vadimovich
Administrator wrote:

Nicholas wrote:
Because this is a products import action, maybe it looks for products by external id. We can only match by the OneBox product ID. What field are you looking for? and is it possible to search by box product ID

as id in api https://my.prom.ua/api/v1/products/edit the external product ID from OneBox is passed
on the prom side does it match?

There is a match for external_id (on the side of the promo)
box product id
The example was taken from the yml file of the orders of the prom
https://prnt.sc/10c7ned
product in the box /admin/shop/products/3944/edit/
Can we search by external_id and box product id ?
03.03.2021, 17:26
Original comment available on version: ru

As far as I can see, there is a similar method on the api side https://public-api.docs.prom.ua/#/Products/post_products_edit_by_external_id
It can be finalized in action the setting that, upon the above price and availability update, send a request specifically for editing the product by an external identifier (send our ID as an identifier) - this setting will take 2 hours.
04.03.2021, 15:49
Original comment available on version: ru


Tyndyk Maxim Vadimovich
Administrator wrote:
As far as I can see, there is a similar method on the api side https://public-api.docs.prom.ua/#/Products/post_products_edit_by_external_id
It can be finalized in action the setting that, upon the above price and availability update, send a request specifically for editing the product by an external identifier (send our ID as an identifier) - this setting will take 2 hours.

We do, invoice
04.03.2021, 18:12
Original comment available on version: ru


Nicholas wrote:

Tyndyk Maxim Vadimovich
Administrator wrote:
As far as I can see, there is a similar method on the api side https://public-api.docs.prom.ua/#/Products/post_products_edit_by_external_id
It can be finalized in action the setting that, upon the above price and availability update, send a request specifically for editing the product by an external identifier (send our ID as an identifier) - this setting will take 2 hours.

We do, invoice

Can you tell me when you can invoice?
10.03.2021, 21:56
Original comment available on version: ru

You should have sent it to your mail.
11.03.2021, 14:43
Original comment available on version: ru

Good afternoon
Can you tell me when it will be done?
22.03.2021, 20:59
Original comment available on version: ru

Ask this question in the email that you were billed.
24.03.2021, 17:30
Original comment available on version: ru


Tyndyk Maxim Vadimovich wrote:
Ask this question in the email that you were billed.

Wrote in a letter
waiting for OS
25.03.2021, 18:00
Original comment available on version: ru

Payment made
Can we start editing?
26.03.2021, 12:27
Original comment available on version: ru

added the setting "When the price and availability are updated above, send a request to edit the product using an external identifier (our ID is used as an identifier)"
29.03.2021, 14:16
Original comment available on version: ru

1. Action once a day
2. Changed the product in the box https://rivcont.info/admin/shop/products/3504/edit/
3. Clock cron worked
4. The site did not update the data
What is configured incorrectly? Can you take a look?

Tyndyk Maxim Vadimovich wrote:
added the setting "When the price and availability are updated above, send a request to edit the product using an external identifier (our ID is used as an identifier)"
29.03.2021, 17:18
Original comment available on version: ru

You have a daily action - when it is launched once a day, it creates processors for the whole day (for the specified hours) to run.
That is, with the new settings, you will create a queue to run only at night for tomorrow.
29.03.2021, 17:24
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