# API call to edit bundle inclusions

**URL:** <https://developer-forum.veeqo.com/t/api-call-to-edit-bundle-inclusions/880>\
**Category:** API Queries (How To)\
**Created:** [January 15, 2024, 5:54pm UTC](https://developer-forum.veeqo.com/t/api-call-to-edit-bundle-inclusions/880 "2024-01-15T17:54:11Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fullsam](https://avatars.discourse-cdn.com/v4/letter/f/232F3E/32.png) [@fullsam](https://developer-forum.veeqo.com/u/fullsam)\
**Post date:** [January 16, 2024, 4:34pm UTC](https://developer-forum.veeqo.com/t/api-call-to-edit-bundle-inclusions/880/2 "2024-01-16T16:34:23Z")

</div>

Hey @Zoe, you can target the `/kits/:id` endpoint to get details about a bundle. The response will contain a `contents` field which is an array containing the contents of the bundle.

Each entry in the `contents` array will contain an `id` field which you can use to target the `/kits/:id/kit_contents/:id` endpoint. You can update the quantity, or product variant, by making a PUT request to the endpoint, with details about the quantity and/or new product variant in the body of the request, like so:

```auto
{
    "kit_content": {
        "product_variant_id": 139784571,
        "quantity": 10
     }
}

```

Similarly, you can add a new product to a bundle by making a `POST` request to `/kits/:id/kit_contents/`, following the same format as above.

You can also remove a product variant from a bundle by making a DELETE request to `/kits/:id/kit_contents/:id`.

---

_[View the full topic](https://developer-forum.veeqo.com/t/api-call-to-edit-bundle-inclusions/880)._
