Pass the product id you wish to make the master of a product bundle, and then pass the product “code” parameter of bundle member via the POST array. The quantity of the bundle member will be set to 1, however you can make another API call to change this quantity.
URL Query Parameters
code - The product code of the item you wish to add to the bundle
product_id - The product id that will be the master of this bundle and displayed in product listings