Get available packets
AUTHORIZATIONS: access_token
QUERY PARAMETERS
| category_id
required
|
integer
|
| payment_method
required
|
string
Enum: "account" "postpaid"
Payment method |
| type |
string
Enum: "base" "mega" "all"
Packet type. 'base' by default, use 'all' to fetch both types |
| with_features |
integer
Enum: 0 1
Optional field to return features in response |
| zone_id |
string
Field to specify location zone - it's required for categories with enabled "Regional pricing" feature. (Available in UA) |
Responses
200
Status 200
RESPONSE SCHEMA: application/json
Array
| size
required
|
integer
|
| category_id
required
|
integer
|
| name |
string
|
| price |
number
|
| is_premium |
boolean
|
| type |
string
|
|
Array of objects
|
400
Status 400
RESPONSE SCHEMA: application/json
Array
|
required
|
object
|
OLX Production Server
https://www.olx.ro/api/partner/packets
GET
/packets
Response samples
200400
Content type
application/json
[
{
"size": 50,
"category_id": 164,
"name": "Pakiet 50 ogłoszeń",
"price": 2091,
"is_premium": false,
"type": "base",
"features": []
}
]
Copied to clipboard