Skip to main content
POST
Runs Create/Update Listing for up to 100 cars in one request. Every item follows exactly the same rules as the single PUT (full replacement, required fields, images, errors), and every item succeeds or fails on its own.
Requires the write:listings scope. The whole request counts as one request for the rate limit.

Request body

Either a JSON array of items, or an object with the array in items. Between 1 and 100 items.
object[]
required
The listings. Each item is the body of Create/Update Listing plus its reference.
Items are processed one after the other, in the order sent. Photos are downloaded during the request, so a request with many new photos can take long: send fewer items per request when they carry photos, and use a client timeout of at least a few minutes.

Response

When the request itself is valid the response is always HTTP 200, also when some or all items failed. Check errorCount and errors. The response carries the rate limit headers.
integer
Number of items saved.
integer
Number of items refused.
object[]
One entry per saved item.
object[]
One entry per refused item.

Errors for the whole request

These refuse the request before any item is processed.

Errors per item

Besides every error code of Create/Update Listing, an item can fail with INVALID_REFERENCE (status 400) when it has no externalReference.