Get parts https://api.rrr.lt/v2/get/parts

POST parameters

Name Type Required Data
username Text varchar(50) YES Username
password Text varchar(100) YES Password
user_token Text YES Token provided

URI values

Name Type Required Data
date_from date (Y-m-d) NO Date from parts added (exp. 2019-02-14)
date_to date (Y-m-d) NO Date to parts added (exp. 2019-03-14)
user_ids string NO Comma separated ID values (exp. 1,23,789)
external_ids string NO Comma separated ID values (exp. 1,23,789KK)
page integer NO Range from [1...PAGE_NUMBERS]
limit integer NO Range from [1...100]
search string NO Space separated values to search within 'name' or 'manufacturer_code', e.g. ?search=term1 term2 term3
sort array NO Sort list by fields. e.g. ?sort[id]=desc&sort[create_date]=asc. Supported fields are: [id, create_date]

PHP Curl example code

$post = [
'username' => '',
'password' => '',
'user_token' => '',
];

$ch = curl_init('https://api.rrr.lt/v2/get/parts?date_from=2022-01-01&date_to=2022-03-01&limit=5&page=3');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
$response = json_decode(curl_exec($ch));
curl_close($ch);

Attention

Key Type Description
id_bridge string Deprecated. Use external_id instead

Output

{
    "data": [
        {
            "id": "20",
            "id_bridge": "0",
            "car_id": "36",
            "category_id": "1155",
            "name": "Engine control unit/module",
            "manufacturer_code": "03L906027N",
            "visible_code": "",
            "other_code": "",
            "quality": "0",
            "notes": "",
            "price": "555.55",
            "currency": "EUR",
            "original_price": "555.55",
            "original_currency": "EUR",
            "date": "2022-02-17 10:47:23",
            "mechanic": "0",
            "status": "0",
            "reserved_user": "0",
            "reserved_date": "0000-00-00 00:00:00",
            "position": null,
            "rims": null,
            "tires": null,
            "rims_fixing_points": null,
            "rims_spacing": null,
            "rims_quantity": null,
            "rims_central_diameter": null,
            "tires_width": null,
            "tires_height": null,
            "tires_quantity": null,
            "photo": "https://images.ovoko.com/example.jpg",
            "internal_notes": "",
            "create_date": "2022-02-17 10:47:23",
            "shop_url": null,
            "show_url": null,
            "part_photo_gallery": [
                "https://images.ovoko.com/example.jpg",
                "https://images.ovoko.com/example1.jpg",
                "https://images.ovoko.com/example2.jpg"
            ],
            "external_id": null
        },
        {
            "id": "22",
            "id_bridge": "0",
            "car_id": "38",
            "category_id": "1155",
            "name": "Engine control unit/module",
            "manufacturer_code": "03C906027F",
            "visible_code": "",
            "other_code": "",
            "quality": "0",
            "notes": "",
            "price": "761.99",
            "currency": "EUR",
            "original_price": "761.99",
            "original_currency": "EUR",
            "date": "2022-02-17 13:11:11",
            "mechanic": "0",
            "status": "0",
            "reserved_user": "0",
            "reserved_date": "0000-00-00 00:00:00",
            "position": null,
            "rims": null,
            "tires": null,
            "rims_fixing_points": null,
            "rims_spacing": null,
            "rims_quantity": null,
            "rims_central_diameter": null,
            "tires_width": null,
            "tires_height": null,
            "tires_quantity": null,
            "photo": "https://images.ovoko.com/example.jpg",
            "internal_notes": "",
            "create_date": "2022-02-17 13:11:11",
            "shop_url": null,
            "show_url": null,
            "part_photo_gallery": [
                "https://images.ovoko.com/example.jpg",
                "https://images.ovoko.com/example1.jpg",
                "https://images.ovoko.com/example2.jpg"
            ],
            "external_id": null
        },
        {
            "id": "23",
            "id_bridge": "0",
            "car_id": "39",
            "category_id": "42",
            "name": "ABS module",
            "manufacturer_code": "03c 906 027 bl",
            "visible_code": "",
            "other_code": "",
            "quality": "0",
            "notes": "",
            "price": "56",
            "currency": "EUR",
            "original_price": "56",
            "original_currency": "EUR",
            "date": "2022-02-17 15:36:14",
            "mechanic": "0",
            "status": "0",
            "reserved_user": "0",
            "reserved_date": "0000-00-00 00:00:00",
            "position": null,
            "rims": null,
            "tires": null,
            "rims_fixing_points": null,
            "rims_spacing": null,
            "rims_quantity": null,
            "rims_central_diameter": null,
            "tires_width": null,
            "tires_height": null,
            "tires_quantity": null,
            "photo": "https://images.ovoko.com/example.jpg",
            "internal_notes": "",
            "create_date": "2022-02-17 15:36:14",
            "shop_url": null,
            "show_url": null,
            "part_photo_gallery": [
                "https://images.ovoko.com/example.jpg",
                "https://images.ovoko.com/example1.jpg",
                "https://images.ovoko.com/example2.jpg"
            ],
            "external_id": null
        },
        {
            "id": "24",
            "id_bridge": "0",
            "car_id": "40",
            "category_id": "42",
            "name": "ABS module",
            "manufacturer_code": "03L906027N",
            "visible_code": "",
            "other_code": "",
            "quality": "0",
            "notes": "",
            "price": "57",
            "currency": "EUR",
            "original_price": "57",
            "original_currency": "EUR",
            "date": "2022-02-17 15:42:05",
            "mechanic": "0",
            "status": "0",
            "reserved_user": "0",
            "reserved_date": "0000-00-00 00:00:00",
            "position": null,
            "rims": null,
            "tires": null,
            "rims_fixing_points": null,
            "rims_spacing": null,
            "rims_quantity": null,
            "rims_central_diameter": null,
            "tires_width": null,
            "tires_height": null,
            "tires_quantity": null,
            "photo": "https://images.ovoko.com/example.jpg",
            "internal_notes": "",
            "create_date": "2022-02-17 15:42:05",
            "shop_url": null,
            "show_url": null,
            "part_photo_gallery": [
                "https://images.ovoko.com/example.jpg",
                "https://images.ovoko.com/example1.jpg",
                "https://images.ovoko.com/example2.jpg"
            ],
            "external_id": null
        },
        {
            "id": "25",
            "id_bridge": "0",
            "car_id": "41",
            "category_id": "42",
            "name": "ABS module",
            "manufacturer_code": "03L906027N",
            "visible_code": "",
            "other_code": "",
            "quality": "0",
            "notes": "",
            "price": "5",
            "currency": "EUR",
            "original_price": "5",
            "original_currency": "EUR",
            "date": "2022-02-17 15:43:24",
            "mechanic": "0",
            "status": "0",
            "reserved_user": "0",
            "reserved_date": "0000-00-00 00:00:00",
            "position": null,
            "rims": null,
            "tires": null,
            "rims_fixing_points": null,
            "rims_spacing": null,
            "rims_quantity": null,
            "rims_central_diameter": null,
            "tires_width": null,
            "tires_height": null,
            "tires_quantity": null,
            "photo": "https://images.ovoko.com/example.jpg",
            "internal_notes": "",
            "create_date": "2022-02-17 15:43:24",
            "shop_url": null,
            "show_url": null,
            "part_photo_gallery": [
                "https://images.ovoko.com/example.jpg",
                "https://images.ovoko.com/example1.jpg",
                "https://images.ovoko.com/example2.jpg"
            ],
            "external_id": null
        }
    ],
    "pagination": {
        "page": 3,
        "total_count": 18,
        "limit": 5
    },
    "msg": "OK",
    "status_code": "R200"
}