Skip to main content

Switch a vehicle's feeds

PATCH 

/vehicles/:id/feeds

Turns the named feeds on or off for one vehicle, as the switches on the DMS vehicle page do. Feeds not named are left alone. A feed the dealer cannot publish to is refused with 422 and nothing changes. Switching AutoTrader on sends the advert to AutoTrader. Answers with the vehicle's feeds after the change. A dealer whose plan has no stock feeds gets 403 stock_feeds_not_enabled. Scope vehicles:write. Secret keys only.

Request​

Responses​

The vehicle on each of the dealer's feeds.

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.