---
title: "Assign insurance bundle to booking (assign, replace or delete)."
method: POST
path: "/bookings/{booking_id}/bundles"
tags: ["bookingBundles"]
---

# Assign insurance bundle to booking (assign, replace or delete).

`POST /bookings/{booking_id}/bundles`

## Request

- Base URL: `https://api.outdoorsy.com/v0`
- URL: `https://api.outdoorsy.com/v0/bookings/{booking_id}/bundles`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `API-Key`
- TypeScript: <https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/docs/bookings/:booking_id/bundles/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `booking_id` integer, required

## Request body

- ChangeBundleRequest
  - `bundle_id` string

## Response `200`

- BookingBundle
  - `base_price_per_day` integer
  - `bundle_features` BundleFeatureTransfer[]
    - `category` string
    - `items` BundleFeatureItem[]
      - `details` string
      - `name` string
      - `position` integer
      - `service_id` integer
      - `type` string
  - `dealer_owned_renter` boolean
  - `deductible` integer
  - `default_selection` boolean
  - `delivery` boolean
  - `description` string
  - `featured_description` string
  - `featured_title` string
  - `id` string
  - `insurance_protection` string
  - `is_rental_shield` boolean
  - `meta` unknown
  - `name` string
  - `note` string
  - `offer_individual_service_types` string[]
  - `owner_id` integer
  - `per_mile_price` integer
  - `per_mile_price_fsd` integer
  - `percent_uptake` number, double
  - `premium` integer
  - `premium_base_rate` integer
  - `price_per_day` integer
  - `property_damage` string
  - `qualifies_per_mile_pricing` boolean
  - `recommended` boolean
  - `subtext` string
  - `supported_types` string[]
  - `tier` integer
  - `total_price` integer
  - `use_day_pricing` boolean

## Other responses

- `400`: Invalid input or state means you're bad
- `401`: Unauthorized error
- `404`: Not found error

---

[API](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation.md) - [All operations](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/outdoorsy/apis/outdoorsy-api-documentation/revisions/f0cf8f605ea0?raw)
