Website

Update advert

Last update: 29.01.2024

Update advert

AUTHORIZATIONS: access_token
PATH PARAMETERS
advertId

required
integer
REQUEST BODY SCHEMA: application/json
object

Please check description and an example in Create advert section. All parameters are the same as in Create advert section.

Responses

200

Status 200

RESPONSE SCHEMA: application/json
id

required
integer
status

required
string
Enum: "new" "active" "limited" "removed_by_user"
url

required
string

Advert URL in OLX

created_at

required
string

Date of creation

activated_at

required
string

Date of last activation

valid_to

required
string
title

required
string
description

required
string
category_id
number
advertiser_type
string
Enum: "private" "business"
external_id
string

Advert’s ID in origin system

external_url
string

Advert’s URL in origin system

required
object
object
Array of objects
object

Used by most of the categories, i.e. cars, houses, clothes, etc.

object

Used by some of the categories, i.e. jobs.

Array of objects
courier
boolean

Is delivery possible. If true that means that delivery is possible. (Available in BG, KZ, PT, RO).

OLX Production Server

https://www.olx.ro/api/partner/adverts/{advertId}
		PUT
/adverts/{advertId}

Request samples
Payload
Content type
application/json

{ }
Response samples
200
Content type
application/json

{
"id": 123,
"status": "active",
"url": "https://www.olx.ro/oferta/url.html",
"created_at": "2018-02-02 09:35:16",
"activated_at": "2018-02-02 09:32:52",
"valid_to": "2018-03-04 09:32:52",
"title": "This is title",
"description": "This is description",
"category_id": 123,
"advertiser_type": "private",
"external_id": 12345,
"external_url": "http://myshop.com/advert/123",
"contact": {
"name": "John",
"phone": 123123123,
"location": {}
},
"images": [
{},
{}
],
"price": {
"value": 123,
"currency": "PLN",
"negotiable": false,
"trade": false,
"budget": false
},
"salary": null,
"attributes": [
{},
{}
],
"courier": null
}			
		
Copied to clipboard