E'lonni boshqarish
olx_advert_actionChange an OLX.uz advert's state: activate, deactivate, refresh, extend, finish, or permanently remove it after user confirmation.
Instructions
Change the state of one of the account's adverts (same actions as the "My ads" page on olx.uz):
activate: re-activate a finished/inactive advert (may require a paid packet if the free limit is used up)
deactivate: hide an active advert (e.g. item sold)
refresh: bump the advert to the top ("Поднять"). May be PAID unless free refresh is available — confirm with the user first
extend: extend the validity period
finish: move to finished/archive
remove: delete a finished advert PERMANENTLY — cannot be undone; always confirm with the user first
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| advert_id | Yes |