PUT, PATCH or migrate that sends mileage 0 saves the rest of the update without the mileage. It also leaves out number_of_owners: 0 (V4 and V5), and is_new_vehicle: true when no is_new_vehicle is stored. If the ad stores is_new_vehicle: true, mileage 0 is only ignored when the payload sends is_new_vehicle: true as well. The request's update log entry also lists what was ignored, for example "Updating. Ignored condition.mileage, condition.is_new_vehicle: this car/van (transport) has no stored mileage and is published as used.". Unless the ad stores is_new_vehicle: true, is_new_vehicle: false together with mileage 0 gets 400 with "Used vehicles cannot have zero mileage". is_new_vehicle: true together with mileage 0 on an ad that stores is_new_vehicle: false gets 400 with "Cannot change is_new_vehicle on cars/vans (transports) - this value is permanently locked at creation and determined by mileage.".is_new_vehicle: true on a car or transport vehicle with no stored mileage gets 400, unless it comes with mileage 0. The message is "Cannot change is_new_vehicle on cars/vans (transports) - this value is permanently locked at creation and determined by mileage.". It used to be accepted when no is_new_vehicle was stored either, but the ad stayed used on the marketplaces. Sending true to an ad that already stores true is still accepted, except together with a mileage above 0, which gets "New vehicles cannot have mileage greater than zero".400 for mileage 0 on a car or transport vehicle with no stored mileage has a new message. It now reads "Cannot change mileage to zero - this car/van (transport) has no stored mileage and is locked as a used vehicle.". It only occurs when the ad stores is_new_vehicle: true and no mileage, and the payload sends mileage 0 and no is_new_vehicle. With is_new_vehicle: false, the lock answers first with "Cannot change is_new_vehicle on cars/vans (transports) - this value is permanently locked at creation and determined by mileage.".400 with "Cannot change mileage to under 1 mil (9.95 km or less) - the marketplaces get whole mil, so it counts as zero, and cars/vans (transports) created with mileage > 0 are permanently locked as a used vehicle.", where it used to get 200. An ad whose stored mileage is itself under 1 mil can still be sent one. On an ad with no stored mileage, a mileage above 0 km and under 1 mil is ignored like mileage 0 in the first item above. The request's update log entry says why, for example "Updating. Ignored condition.mileage: a mileage under 1 mil (9.95 km or less) counts as zero, and this car/van (transport) has no stored mileage and is published as used.". is_new_vehicle is left as it is sent or stored, so is_new_vehicle: false sent with it is saved unless the ad stores true, and a stored is_new_vehicle: true is no longer set to false. A V5 migrate replaces category_fields, so there a stored is_new_vehicle that the payload leaves out is not kept. number_of_owners: 0 sent with is_new_vehicle: false and such a mileage gets 400 with "Number of owners must be at least 1 for used vehicles.", as it does with a mileage of 1 mil or more. is_new_vehicle: true sent with such a mileage gets 400: "Cannot change is_new_vehicle on cars/vans (transports) - this value is permanently locked at creation and determined by mileage." when no is_new_vehicle is stored, and "New vehicles cannot have mileage greater than zero" when the ad stores true. On an ad with zero stored mileage, any mileage above 0 km still gets 400, as before.null got 500. On V3 for car, transport vehicle, motorcycle, ATV and snowmobile, and on V4 and V5 also for moped and camper, a PUT, PATCH or migrate that sent condition on such an ad failed with 500. It is now validated as usual. For car and transport vehicle, see the first item under "Action may be required" above. On the other vehicle types, mileage 0 is saved and the ad is published as new, and a mileage above 0 km and under 1 mil is saved and the ad is published as used, with 0 mil on the marketplaces.visible: false had no blocket_ad_id. For registered vehicles, when a create matches a listing the dealer already has, the ad takes it over. If the ad was not visible, blocket_ad_id stayed null until the ad was made visible. It is now set as soon as the takeover finishes.offer_id) with another ad. The publish entry (or unpublish, bump, boost) stayed in processing and blocket_ad_id stayed null. Every ad that shares the offer_id now gets an entry with state error for that action, with "Blocket.se's answer for this ad could not be saved because more than one ad uses offer_id …". This happens again for each later answer about the listing, renewals included. Contact Blocket support for these ads.PUT or PATCH. On V3 for car, transport vehicle, motorcycle, ATV and snowmobile, on V4 and V5 also for moped, camper and caravan, and on V4 for trailer, a PUT or PATCH on a deleted ad returns 400 with Ad has been deleted, cannot update. Previously it could create the ad again if it had never been published. A source_id cannot be reused, so create a new ad with a new source_id. The V5.1 advice to send the PUT or PATCH again only applies to the other categories, as the client documentation says under PUT /v4/{vehicle_type}/{source_id}.DELETE sent right after a create could be lost. If the DELETE was handled before the ad had reached the marketplaces, the delete entry ended with error and the ad was published anyway. A DELETE now always takes effect. An ad that has not reached a marketplace ends delete | done with "Ad deleted." and is not published. An ad that reaches Blocket after the DELETE is removed again, and its publish entry ends with done and "Not published: the ad had been deleted when … confirmed it.". Ads whose create never reached a marketplace can now be deleted; previously their DELETE always ended with error.DELETE could put the ad back on Blocket. For boats, trucks, buses, machinery and the other categories in the first V5.1 item above, the ad is now removed again as soon as Blocket confirms the update, and the publish entry says "Not published: …".PUT, PATCH or renewal could undo a DELETE. If a DELETE finished while one of them was being handled, the ad could end up as created again. Now the DELETE stays in effect.500 for a source_id that two of its dealers use. It now gets 400 with error: ambiguous_source_id and the dealers in details.dealer_codes. Add ?dealer_code=<dealer_code> to choose one; a write from a group token uses the dealer_code in its body. GET /v{3,4,5}/ad/{source_id}/log now takes ?dealer_code= too.GET /v3/ad, GET /v4/ad and GET /v5/ad take offer_id, offer_id__isnull and blocket_ad_id__isnull. GET /v4/ad?state=created&offer_id__isnull=true&blocket_ad_id__isnull=true lists the ads that are on no marketplace; use both filters, since one alone also matches published ads in other categories.external_message or waits for particular log entries:create or update entry ends with done once the API has taken the ad on, with "Ad created." or "Ad updated." (on an ad with visible: false, "…, but not published because of visible=False."). The publish entry shows whether the ad reached Blocket, as before. Previously create and update stayed in processing when the ad was published, and ended with error when it was not.publish entry with error. Wait for publish | done before treating the ad as live, see The workflow.publish entry saying why, or "Failed to publish ad, the ad was rejected.". Previously the create or update entry carried the raw answer from the publishing service.visible: false, the publish confirmation now ends with ", but not visible because of visible=False.". Previously it said the ad was "created and published".retry could publish a deleted ad again. GET /v3/ad/{source_id}/retry, GET /v4/ad/{source_id}/retry and GET /v5/ad/{source_id}/retry on a deleted ad returned 200 and sent the ad to the marketplaces while it stayed deleted in the API. They now return 400 with Ad has been deleted - Can't retry ad. To bring back a deleted ad, send a PUT or PATCH.PUT or PATCH and a DELETE were sent close together and the update was handled last, the ad was sent to the marketplaces while it stayed deleted in the API. The update entry now ends with error and "Ad has been deleted, nothing was sent to the marketplaces". To bring the ad back, send the PUT or PATCH again.processing. A DELETE on an ad that is already deleted ends its delete entry with done and "Ad deleted". Previously it stayed in processing.model_type blocket.se shows. On car and transport ads, blocket.se shows at most 55 characters of model_type, on a line of its own below brand and model. Up to 64 characters are still accepted. Keep it to 55 there: drop the last words that do not fit, and do not add ... to mark the cut. See Category reference.id, the API's internal id for the ad. Ads are addressed by source_id, the id you set when creating the ad; id is only accepted as the ?id= filter on lists. The OpenAPI schema now says so on id, on the ?id= filter and on every {source_id} path parameter. With a dealer-group token, keep source_id unique across the group. See Ad fields.V5 is a new API version for the eight registered vehicle types: Car, Transport, Motorcycle, Moped, Snowmobile, ATV, Camper and Caravan. This release also changes a few things for V3 and V4 clients, so read the first two sections even if you stay where you are. Moving to V5? Start with Migrating V3/V4 ads to V5.
registration_number must be a Swedish plate: three letters, two digits, then a digit or letter (ABC123, ABC12A), matched case-insensitively and stored in upper case. Checked when an ad is created and on any update that sends registration_number; other values return 400, unless the ad takes over an existing listing of yours. Previously only the length and the forbidden letters were checked.{"unit": …, "value": …} have an upper limit, for example 3 000 kW for power, 100 t for weights and 200 000 hours for engine runtime. A larger value returns 400, and the error states the limit in the unit you sent.category_fields is required when creating a registered vehicle ad: On V3 for car, transport vehicle, motorcycle, ATV and snowmobile, and on V4 also for moped, camper and caravan. Without it the request returns 400; previously the ad was stored with no brand or model.POST /v4/{moped,camper,caravan,trailer}/{source_id}/migrate requires category_fields (V4): Without it the request returns 400 with error: category_fields_required and the ad is left as it was.image_refs is [], not null, on an ad without images, as the schema always said.CategoryFields, CarCondition, TransportCondition, ATV, ATVCondition, Motorcycle, MotorcycleCondition, Snowmobile and SnowmobileCondition are gone. V4 responses now refer to the V4 components (CategoryFieldsV4, CarConditionSerializerV4, TransportConditionSerializerV4, ATVSerializerV4, MotorcycleSerializerV4, SnowmobileSerializerV4), which the request bodies already used. Regenerate your client. See Fixed below.external_message or waits for particular log entries:update entry and ends it with done or error. Previously it was logged under a separate create entry and update stayed in processing.publish or unpublish entry with error and "Publishing could not be confirmed. Check the ad later or send it again." (or "Unpublishing …"). Previously it stayed in processing.publish entry with error and a message saying why. Previously it stayed in processing.POST /v4/{vehicle_type}/{source_id}/migrate writes its update entry, "Migrated from V3 to V4 schema", as processing, and it ends with done or error once the ad is updated, as after PUT and PATCH. Previously it was done at once.These only affect you once some of your ads are on V5.
/v3/ad, /v4/ad and /v4/{vehicle_type} list a V5 ad with the fields the V3 and V4 schemas require but no category_fields, plus error: incompatible_api_version, a message and the V5 endpoint in migration_options. DELETE, bump and pole_position work and answer with the same short form. A single GET returns 400 with that error.PUT and PATCH, and POST /v4/{vehicle_type}/{source_id}/migrate, on a V5 ad of the eight types return 400 with error: incompatible_api_version. An ad never moves back from V5.See V5 Backward Compatibility.
/v5/{vehicle_type} for the eight registered vehicle types. V5 also serves boats, agriculture, bus, truck and construction, with exactly the same fields and values as V4. Trailer has no V5 endpoint: through /v5/ad/{source_id} an existing trailer ad can be read and deleted, while PUT, PATCH, bump, pole_position and retry return 400 with error: trailer_patch_not_supported.powertrain.fuel, a single string, replaces the powertrain.fuels list; Motorcycle, Moped, Snowmobile and ATV no longer take powertrain.transmission; Moped gains powertrain.displacement.body_type on all eight types, powertrain.drive_type (front-wheel-drive for fwd and so on), the fuel values, and a few brands. Values are slugs and are matched exactly. List them with GET /v5/vehicles/{vehicle_type}/{attribute}; the V4-to-V5 tables are in What blocks a migration.model is checked for Car and Transport: against the model list of the brand, on the slug ("xc90", not "XC90"); look them up with GET /v5/vehicles/car/models?brand={brand}. The list names variants where V4 named series (118d and 118i rather than 118), so a model V4 accepted may be refused. An unknown model returns 400 on create, update and migrate alike. If a model is missing from the list, tell us. See What usually blocks a migration: model.POST /v5/{vehicle_type}/{source_id}/migrate: Moves an existing V3 or V4 ad to V5 in place, keeping its id, source_id and history. Send the complete V5 ad: category_fields is replaced, not merged. It is validated as an update: a reduced price is accepted, neither registration_number nor vin is required, and a registration_number you leave out is kept.PUT and PATCH return 400 with error: migration_required; migrate the ad first. Other vehicle types can be written through V5 directly.400 with error: migrate_on_v4_first, and lists show them in a short form. See V3 caravans, campers and mopeds.GET /v5/migration-preview: A dry run over your own ads that says, per ad, whether migrate would accept it as it stands and which fields stand in the way, with the value to send where there is one. Nothing is written. The summary counts ready, blocked, unavailable, nothing_to_migrate and migrate_on_v4_first, which add up to total. See Step 1.GET and DELETE on /v5/{vehicle_type} return an ad not yet migrated in the V4 shape; check api_version before reading category_fields. The schema describes this as a oneOf on api_version. Typed responses carry no contact or title. See Reading V3/V4 ads through V5.GET /v5/vehicles/{vehicle_type}/attributes and GET /v5/vehicles/{vehicle_type}/{attribute} for every vehicle type V5 serves. For boat, bus, truck, construction and the three agriculture types they return the same lists as V4./validate accepted payloads that POST refuses. It now applies the trailer and recommerce creation blocks, as POST does.dont_publish_on_failed_images. For boats, A-tractors, trucks, buses, construction machinery, material handling, and agricultural, forestry and ground care machinery (on V3 also caravans, motorhomes, mopeds and trailers), the ad is now published with the images that worked. Set dont_publish_on_failed_images: true to keep the old behaviour.500. A price that is not a list of price objects, a nested object sent as something else, or a category_id that is not a number now gets an ordinary 400."KM" and "kwh/100km" are now accepted and stored as "km" and "kWh/100km".offer_id, GET /v4/ad/{source_id}/bump and GET /v3/ad/{source_id}/bump returned 200 and the failure showed up later as an error in /log. The API now returns 400 right away, with the reason in the error message.GET /v4/ad/{source_id}/bump and GET /v3/ad/{source_id}/bump returned 200 and the bump then failed in /log. The API now returns 400 with Ad is not published - Can't renew ad.category_id 1045) is no longer supported on either V3 or V4. POST /v4/trailer, POST /v4/ad, and POST /v3/ad with category_id 1045 return 400 with error: trailer_create_disabled. Existing trailer ads can still be updated (PUT/PATCH) and deleted (DELETE) on both versions. See Category Reference.physics.gross_weight, physics.curb_weight, and leasing_details (mileage_remaining in Swedish mil, remaining_months, initial_payment). All optional. See Category Reference.physics.curb_weight: Now available for Moped, Snowmobile, and ATV on V4 endpoints.condition.has_warranty.condition.number_of_owners validation: 0 (or null) is now only accepted for new vehicles. Used vehicles (mileage > 0, or is_new_vehicle false for caravan/trailer) must have at least 1 owner — sending 0 returns a validation error instead of failing later in sync.condition.number_of_owners. V3 endpoints reject these fields with a validation error. See Category Reference.bed_type, chassis_type, powertrain.drive_type, powertrain.displacement, physics.number_of_seats, physics.width, and condition.number_of_owners. See Category Reference.condition.has_warranty, physics.interior_length, physics.width, and condition.number_of_owners. See Category Reference.condition.number_of_owners: Available on V4 endpoints for all registered vehicle categories (Car, Transport, Motorcycle, Moped, Snowmobile, ATV, Camper, Caravan, Trailer). V3 endpoints reject this field.vin field (added in V4.1) has been removed. Any length is now accepted again.physics have been renamed across categories to use a consistent naming convention: weight_cargo → cargo_weight and weight_main → gross_weight for Bus and Truck; weight → gross_weight for Agriculture and Construction.New category_fields support for additional categories:
| Category | category_id | Fields |
|---|---|---|
| Boat | 1060 |
brand, model, powertrain, physics, equipment |
| Agriculture Tractor | 1228 |
brand, model, powertrain, condition, physics, tyres, equipment |
| Agriculture Thresher | 1227 |
brand, model, powertrain, condition, physics, equipment |
| Agriculture Tools | 1229 |
brand, model, weight, tools_category |
| Bus | 1321 |
brand, body_type, model, model_year, registration_number, vin, condition, powertrain, physics, equipments |
| Truck | 1322 |
brand, body_type, model, model_year, registration_number, vin, condition, powertrain, physics, equipments |
| Construction | 1323 |
brand, body_type, model_year, vin, service_contract, condition, powertrain, physics |
See the Category Reference for full field specifications and examples.
Typed ad endpoints:
/v4/car, /v4/boat, /v4/bus) that automatically infers the category_id. The category_id field is no longer required when using typed endpoints./v4/ad endpoint continues to work with explicit category_id but is now discouraged in favor of typed endpoints.Breaking changes:
POST /v4/ad/{source_id}/migrate no longer exists. Use the typed migrate endpoints instead (e.g. POST /v4/boat/{source_id}/migrate, POST /v4/truck/{source_id}/migrate). The typed endpoints infer the target category from the URL — do not include category_id in the request body.Other changes:
created and updated fields now include a UTC timezone suffix (Z) and always include microsecond precision, as required by RFC 3339. Example: 2026-05-08T12:00:00.000000Z (previously 2026-05-08T12:00:00). Standard datetime parsers handle both formats — clients using string comparison against timestamps may need to update.source_id now only accepts letters, digits, hyphens, underscores, and dots. Characters like /, ?, and # are rejected with a 400 error.Full registered vehicle support for four categories previously limited to simple ads:
| Category | category_id |
|---|---|
| Moped | 1121 |
| Camper / Motorhome | 1102 |
| Caravan | 1101 |
| Trailer | 1045 |
These categories now support detailed vehicle data (brand, model, mileage, powertrain, physics, equipment, etc.) — the same level of detail as Cars and Motorcycles.
POST /v4/{type}/{source_id}/migrate — converts V3 ads to V4 in-place (the generic /v4/ad/{source_id}/migrate variant was removed in V4.1 — use typed endpoints)warranty, return_policy, service_history, product_declaration, home_delivery