cURL
curl --request POST \ --url https://live.copilot.fabric.inc/api-product/v1/product/bundle/update \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-site-context: <x-site-context>' \ --data '{ "action": "UPDATE", "bundles": [ { "action": "SET", "bundleSku": "iPhoneBundle", "itemSku": "iPhone12", "quantity": 1 } ] }'
[ { "id": "625367673ab7402268d8cccf", "itemId": "624d94fb27c894222534b260", "bundleId": "624d939227c894222534b247", "quantity": 1, "createdOn": "2022-04-08T23:25:27.753Z", "modifiedOn": "2022-04-08T23:25:27.753Z" } ]
Updates bundle by adding or removing items and adjusting quantities.
UPDATE
Show child attributes
Was this page helpful?