Skip to content

Update images for listing

POST
/api/v1/listing/images

Update images for listing by providing vehicle indentification and array of image URLs

Vehicle stock number and branch, and array of image URLs

Request body for updating listing images. Includes listing identification details and array of image URLs

object
stockNumber
required

Unique stock number. Used to identify vehicle listing for update.

string
Example
C2026
branch

Branch identifier. If omitted the primary dealership is used.

string
Example
Porirua
imageUrls
required

Array of image URLs to replace on listing

Array<string>
Example
[
"https://example.com/car/1.jpg",
"https://example.com/car/2.jpg",
"https://example.com/car/3.jpg"
]
Example
{
"stockNumber": "C2026",
"branch": "Porirua",
"imageUrls": [
"https://example.com/car/1.jpg",
"https://example.com/car/2.jpg",
"https://example.com/car/3.jpg"
]
}

Vehicle images request successful