---
title: "Updates a batch of items on the booking."
method: POST
path: "/bookings/{booking_id}/items/batch-items"
tags: ["bookingItems"]
---

# Updates a batch of items on the booking.

`POST /bookings/{booking_id}/items/batch-items`

## Path parameters

- `booking_id` integer, required

## Request body

- BatchOptions
  - `items` BookingItem[]
    - `_deleted` boolean — special flag for handling batch update/delete
    - `booking_id` integer
    - `coachnet_item` boolean
    - `consigned_pay_amount` integer
    - `count` integer
    - `created` NullTime — NullTime represents a time.Time that may be null. NullTime implements the sql.Scanner interface so it can be used as a scan destination, similar to sql.NullString.
      - `Time` string, date-time
      - `Valid` boolean
    - `daily` boolean
    - `deferred` boolean
    - `deferred_total` integer, nullable
    - `deleted_at` NullTime — NullTime represents a time.Time that may be null. NullTime implements the sql.Scanner interface so it can be used as a scan destination, similar to sql.NullString.
      - `Time` string, date-time
      - `Valid` boolean
    - `delivery` boolean
    - `description` string
    - `discount_amount` integer
    - `generator` boolean
    - `id` integer
    - `image_url` string
    - `maximum_price` integer, nullable
    - `mileage` boolean
    - `minimum_price` integer, nullable
    - `name` string
    - `original_consigned_pay_pct` number, double — consigned owner support
    - `original_tax_rate_id` integer
    - `other_claim` boolean
    - `outdoorsy_item` boolean
    - `parent_item_id` integer
    - `parent_item_type` string
    - `percent` number, double
    - `percent_type` string
    - `position` integer
    - `premium_amount` integer
    - `premium_total` integer
    - `price` integer
    - `rental_amount` boolean — mutation modifiers
    - `required` boolean
    - `tax_amount` integer
    - `tax_description` string
    - `tax_name` string
    - `tax_rate` number, double
    - `tax_rates` BookingTaxRate[]
      - `booking_id` integer
      - `created` string
      - `deleted` boolean
      - `id` integer
      - `object_id` integer
      - `object_type` string
      - `payable_to` string
      - `source` string
      - `state` string
      - `tax_amount` integer
      - `tax_description` string
      - `tax_name` string
      - `tax_rate` number, double
      - `tax_rate_id` integer
      - `updated` string
      - `zip_code` string
    - `total` integer
    - `updated` NullTime — NullTime represents a time.Time that may be null. NullTime implements the sql.Scanner interface so it can be used as a scan destination, similar to sql.NullString.
      - `Time` string, date-time
      - `Valid` boolean

## Response `200`

HTTP status code 200 and array of booking items

- BookingItem[]
  - `_deleted` boolean — special flag for handling batch update/delete
  - `booking_id` integer
  - `coachnet_item` boolean
  - `consigned_pay_amount` integer
  - `count` integer
  - `created` NullTime — NullTime represents a time.Time that may be null. NullTime implements the sql.Scanner interface so it can be used as a scan destination, similar to sql.NullString.
    - `Time` string, date-time
    - `Valid` boolean
  - `daily` boolean
  - `deferred` boolean
  - `deferred_total` integer, nullable
  - `deleted_at` NullTime — NullTime represents a time.Time that may be null. NullTime implements the sql.Scanner interface so it can be used as a scan destination, similar to sql.NullString.
    - `Time` string, date-time
    - `Valid` boolean
  - `delivery` boolean
  - `description` string
  - `discount_amount` integer
  - `generator` boolean
  - `id` integer
  - `image_url` string
  - `maximum_price` integer, nullable
  - `mileage` boolean
  - `minimum_price` integer, nullable
  - `name` string
  - `original_consigned_pay_pct` number, double — consigned owner support
  - `original_tax_rate_id` integer
  - `other_claim` boolean
  - `outdoorsy_item` boolean
  - `parent_item_id` integer
  - `parent_item_type` string
  - `percent` number, double
  - `percent_type` string
  - `position` integer
  - `premium_amount` integer
  - `premium_total` integer
  - `price` integer
  - `rental_amount` boolean — mutation modifiers
  - `required` boolean
  - `tax_amount` integer
  - `tax_description` string
  - `tax_name` string
  - `tax_rate` number, double
  - `tax_rates` BookingTaxRate[]
    - `booking_id` integer
    - `created` string
    - `deleted` boolean
    - `id` integer
    - `object_id` integer
    - `object_type` string
    - `payable_to` string
    - `source` string
    - `state` string
    - `tax_amount` integer
    - `tax_description` string
    - `tax_name` string
    - `tax_rate` number, double
    - `tax_rate_id` integer
    - `updated` string
    - `zip_code` string
  - `total` integer
  - `updated` NullTime — NullTime represents a time.Time that may be null. NullTime implements the sql.Scanner interface so it can be used as a scan destination, similar to sql.NullString.
    - `Time` string, date-time
    - `Valid` boolean

## Other responses

- `400` — Invalid input or state means you're bad
- `401` — Unauthorized error
- `404` — Not found error
- `default` — An unknown, unexpected error.

---

[API](https://skmtc.net/outdoorsy/apis/outdoorsy-api-documentation.md) · [All operations](https://skmtc.net/outdoorsy/apis/outdoorsy-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/outdoorsy/outdoorsy-api-documentation/versions/f0cf8f605ea0/schema)
