# Create Kits from the API

**URL:** <https://community.shiphero.com/t/create-kits-from-the-api/2130>\
**Category:** GraphQL API\
**Created:** [August 11, 2022, 9:53pm UTC](https://community.shiphero.com/t/create-kits-from-the-api/2130 "2022-08-11T21:53:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![marioreinike](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@marioreinike](https://community.shiphero.com/u/marioreinike)\
**Post date:** [August 11, 2022, 9:53pm UTC](https://community.shiphero.com/t/create-kits-from-the-api/2130/1 "2022-08-11T21:53:54Z")

</div>

Hi everyone!

We need to create all of our products using the API, and that incudes creating kits. So I have two questions:

1. I found a way to create kits from Shiphero App, but couldn’t make it using the API. How can I do that? which would be the necessary mutations and request bodies?

2. I found something that is called “build kits”. Whats the difference between them and the “kits”? Is it possible to use them to create kits, instead of the actual kits?

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [August 12, 2022, 11:13am UTC](https://community.shiphero.com/t/create-kits-from-the-api/2130/2 "2022-08-12T11:13:12Z")

</div>

Hey @marioreinike,

Thanks for reaching out!  
I’ll look into this and get back to you shortly.

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![sh-agent](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@sh-agent](https://community.shiphero.com/u/sh-agent)\
**Post date:** [August 12, 2022, 4:52pm UTC](https://community.shiphero.com/t/create-kits-from-the-api/2130/3 "2022-08-12T16:52:11Z")

</div>

Hey @marioreinike,

Thanks for hanging in there.  
You can use the `kit_build` mutation to create kits via the API. An example request would look something like this:

```auto
mutation {
  kit_build(
    data: {
      sku: "string"
      kit_build:true
      components: [
        { sku: "string", quantity: 0 }
        { sku: "string", quantity: 0 }
      ]
    }
  ) {
    request_id
    complexity
    product {
      id
      legacy_id
      account_id
      name
      sku
    }
  }
}

```

A build kit is a kit where the components can be broken apart and shipped separately; while a regular kit cannot be broken apart and all components must be shipped together. The “Kit Terms” section in this [article](https://software-help.shiphero.com/hc/en-us/articles/4419344505229-Glossary-of-Inventory-Terms) provides a little more context.

Please let me know if you have any questions or concerns!

Best,  
RayanP

---

<div class="post-metadata">

**Author:** ![marioreinike](https://avatars.discourse-cdn.com/v4/letter/m/db5fbb/32.png) [@marioreinike](https://community.shiphero.com/u/marioreinike)\
**Post date:** [August 17, 2022, 7:56pm UTC](https://community.shiphero.com/t/create-kits-from-the-api/2130/4 "2022-08-17T19:56:37Z")

</div>

Thanks @sh-agent !! That’s exactly what I needed.
