To update an advert on an RE user account, you have to send a request to the https://api.olxgroup.com/advert/v1/{advert_uuid} endpoint.

This endpoint requires the PUT HTTP method and expects data as JSON along with Content-Type: application/json header, as the same explained in the Create advert section.

Using this endpoint updates an advert in the name of a currently authenticated user related to the access_token in the request.

Path Params
string
required
Defaults to UUID of the advert
Body Params
json
Defaults to { "title": "[qatest-mercury] Ogłoszenie testowe", "description": "Czasami musimy dodać takie ogłoszenie, żeby zweryfikować działanie niektórych funkcji systemu. Liczymy na Twoją wyrozumiałość :) Radzimy skorzystać ponownie z naszej wyszukiwarki ofert.<br/><br/> Powodzenia w dalszych poszukiwaniach!", "category_urn": "urn:concept:apartments-for-sale", "contact": { "name": "Bartek Kowalski", "phone": "663774007", "email": "bartek.kowalski@testmail.com", "photo": "https://i.imgur.com/9Em2tky.png" }, "price": { "value": 750000, "currency": "PLN" }, "location": { "lat": 53.364719, "lon": 21.564647, "exact": true }, "images": [ { "url": "https://i.imgur.com/WozSfdQg.jpg" }, { "url": "https://i.imgur.com/3YNg1bI.jpg" } ], "attributes": [ { "urn": "urn:concept:building-type", "value": "urn:concept:apartment" }, { "urn": "urn:concept:floor", "value": "urn:concept:2nd-floor" }, { "urn": "urn:concept:net-area-m2", "value": "110" }, { "urn": "urn:concept:building-ownership", "value": "urn:concept:cooperative-ownership-with-land-and-mortage-register" }, { "urn": "urn:concept:status", "value": "urn:concept:ready-to-use" }, { "urn": "urn:concept:number-of-rooms", "value": "urn:concept:3" }, { "urn": "urn:concept:security", "value": "urn:concept:alarm" }, { "urn": "urn:concept:building-material", "value": "urn:concept:concrete" }, { "urn": "urn:concept:heating", "value": "urn:concept:gas" }, { "urn": "urn:concept:windows-type", "value": "urn:concept:aluminium" }, { "urn": "urn:concept:media-types", "value": "urn:concept:internet" }, { "urn": "urn:concept:equipment-types", "value": "urn:concept:furniture" }, { "urn": "urn:concept:extras", "value": "urn:concept:lift" }, { "urn": "urn:concept:remote-services", "value": "urn:concept:yes" } ], "site_urn": "urn:site:otodompl", "custom_fields": { "id": "test123", "reference_id": "abc12345" } }
Headers
string
Defaults to application/json
string
Defaults to application/json
string
Defaults to Bearer {{acces_token}}
string
Defaults to {{api_key}}
Responses

Language
Choose an example:
application/json