Skip to main content

Create a vehicle

POST 

/vehicles

Adds a vehicle to stock. Scope: vehicles:write. Secret keys only.

make and model are required. The vehicle starts PENDING_STOCK unless status says otherwise, on branch_id or the key's default branch. On the Free plan a vehicle that would count as stock beyond the plan's cap is refused with 403 plan_stock_cap_reached, and in the sandbox one beyond its cap with 403 sandbox_stock_cap_reached.

Request​

Responses​

The vehicle. A publishable key gets the public shape.

Response Headers
    X-Request-Id

    This request's id. Quote it to support.

    X-RateLimit-Limit

    Requests allowed per minute for this key.

    X-RateLimit-Remaining

    Requests left in the current minute.

    Idempotent-Replayed

    true when this is the stored response to an earlier request with the same Idempotency-Key.