Retrieve Bundle Components from a Specific Bundle


When to Use

  • To retrieve the Component information of a specific Bundle.
  • Requires the Product ID (these values are not the Sku value for their respective products - they are the ChannelAdvisor unique ID representing the product).
    • Place a GET Products request and $filter=Sku eq 'BUNDLE SKU VALUE'&$select=ID to return the ID of the bundle SKU to be used in the "ProductID" property.

Resource URL / Endpoint

GET https://api.channeladvisor.com/v1/Products(ProductID)/BundleComponents

Important and/or Required Parameters

PropertyType (Max Length)RequiredNote
ProductIDinteger (32 bit)RequiredInclude in URL. The ChannelAdvisor defined unique ID (not the Sku value).
See note above under "When to Use" about retrieving the Product ID.
Example Request
GET https://api.channeladvisor.com/v1/Products(25399103)/BundleComponents?access_token=xxxxxxxxxx
Example Response (Success)
200 OK
{
  "@odata.context": "https://api.channeladvisor.com/v1/$metadata#ProductBundleComponents",
  "value": [
    {
      "ProductID": 25399103,
      "ComponentID": 25030239,
      "ProfileID": 12345678,
      "ComponentSku": "TestSKU0000004",
      "Quantity": 1
    },
    {
      "ProductID": 25399103,
      "ComponentID": 25030240,
      "ProfileID": 12345678,
      "ComponentSku": "TestSKU0000005",
      "Quantity": 1
    },
    {
      "ProductID": 25399103,
      "ComponentID": 25030555,
      "ProfileID": 12345678,
      "ComponentSku": "TestSKU0000006",
      "Quantity": 1
    },
    {
      "ProductID": 25399103,
      "ComponentID": 25030556,
      "ProfileID": 12345678,
      "ComponentSku": "TestSKU0000007",
      "Quantity": 1
    },
    {
      "ProductID": 25399103,
      "ComponentID": 25030557,
      "ProfileID": 12345678,
      "ComponentSku": "TestSKU0000008",
      "Quantity": 1
    },
    {
      "ProductID": 25399103,
      "ComponentID": 25030558,
      "ProfileID": 12345678,
      "ComponentSku": "TestSKU0000009",
      "Quantity": 1
    },
    {
      "ProductID": 25399103,
      "ComponentID": 25030559,
      "ProfileID": 12345678,
      "ComponentSku": "TestSKU0000010",
      "Quantity": 1
    }
  ]
}