# Bundles API - Create a Bundle

**URL:** <https://community.servicem8.com/t/bundles-api-create-a-bundle/546>\
**Category:** API & SDK\
**Created:** [February 15, 2023, 12:28pm UTC](https://community.servicem8.com/t/bundles-api-create-a-bundle/546 "2023-02-15T12:28:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer](https://avatars.discourse-cdn.com/v4/letter/d/bcef8e/32.png) [@developer](https://community.servicem8.com/u/developer)\
**Post date:** [February 15, 2023, 12:28pm UTC](https://community.servicem8.com/t/bundles-api-create-a-bundle/546/1 "2023-02-15T12:28:47Z")

</div>

**Originally posted by Lance Solomon**

Hi there,  
Any idea on how to create a bundle via the API  
This reference [https://developer.servicem8.com/reference/post-materialbundle-create](https://developer.servicem8.com/reference/post-materialbundle-create) doesn’t clearly tell you what material\_list should look like.  
If you give it a string it throws an error: [https://developer.servicem8.com/reference/post-materialbundle-create?shareId=Sw6s9HaVRgKcXpCJrQMv](https://developer.servicem8.com/reference/post-materialbundle-create?shareId=Sw6s9HaVRgKcXpCJrQMv)  
that it was expecting an array.

So I ran it in Postman with an array, and I am closer, now I need to also set the quantity, but not having any luck with various alterations I make

> **[20230215\_222516\_9rwfg6G4.png](https://share.getlucid.solutions/SRq7fTh4rNVkThp7nQMvQ39QicXVKQwTmZleKqDNbHKpsjjosWgZA0BpRIJe69TiBthVO7uXaUJERQ4MHeRVpRSj8RpcgeFoWxES)**

Any assistance would be greatly appreciated.
