How to know if a product is part of a kit

Hello,

I see that products have a property is_kit_parent. If true, the components are listed under kit_components.

However, I can’t see a simple way of knowing if a product is part of a kit and what the kit is. Is there a way?

Regards,

Sergio

Hello. Any update?

Thanks

Hi,

You can use the product sku inventory graph endpoint to see the siblings and parents of any given sku.

Each node on the graph has a node_type distinction.

Hope this helps!

Thank you, Sophie.

I got it: “node_type”: “child”,

How do I know to what kit it belongs?

Regards,

Sergio Nader

You’ll have to follow the graph to the parent node.

Thanks Sophie.

For the query below, I understand this product is part of a kit but I can’t see any reference for the parent SKU,

If you can, please provide us an example.

Thanks!!

api.ordoro.com/product/MS-PRD-100067-purple-S/inventory_graph/

{

“nodes”: [

{

“id”: “MS-PRD-100067-purple-S”,

“name”: “Men’s District Made Perfect Weight Crew-purple-S”,

“product_id”: 64910880,

“image_url”: null,

“upc”: “”,

“total_available”: 0,

“total_directly_committed”: 0,

“total_indirectly_committed”: 0,

“total_committed”: 0,

“warehouses”: [

{

“warehouse_id”: 53502,

“available”: 0,

“committed”: 0,

“directly_committed”: 0,

“indirectly_committed”: 0,

“physical_on_hand”: 0,

“po_committed”: 0,

“po_directly_committed”: 0,

“po_indirectly_committed”: 0,

“location_in_warehouse”: “”,

“name”: “Brandit WH”

},

{

“warehouse_id”: 53687,

“available”: 0,

“committed”: 0,

“directly_committed”: 0,

“indirectly_committed”: 0,

“physical_on_hand”: 0,

“po_committed”: 0,

“po_directly_committed”: 0,

“po_indirectly_committed”: 0,

“location_in_warehouse”: “”,

“name”: “MetroPak - 3PL”

},

{

“warehouse_id”: 53688,

“available”: 0,

“committed”: 0,

“directly_committed”: 0,

“indirectly_committed”: 0,

“physical_on_hand”: 0,

“po_committed”: 0,

“po_directly_committed”: 0,

“po_indirectly_committed”: 0,

“location_in_warehouse”: “”,

“name”: “Ameramark - 3PL”

},

{

“warehouse_id”: 53689,

“available”: 0,

“committed”: 0,

“directly_committed”: 0,

“indirectly_committed”: 0,

“physical_on_hand”: 0,

“po_committed”: 0,

“po_directly_committed”: 0,

“po_indirectly_committed”: 0,

“location_in_warehouse”: “”,

“name”: “Greko - 3PL”

},

{

“warehouse_id”: 53692,

“available”: 0,

“committed”: 0,

“directly_committed”: 0,

“indirectly_committed”: 0,

“physical_on_hand”: 0,

“po_committed”: 0,

“po_directly_committed”: 0,

“po_indirectly_committed”: 0,

“location_in_warehouse”: “”,

“name”: “Look Our Way - 3PL”

},

{

“warehouse_id”: 54822,

“available”: 0,

“committed”: 0,

“directly_committed”: 0,

“indirectly_committed”: 0,

“physical_on_hand”: 0,

“po_committed”: 0,

“po_directly_committed”: 0,

“po_indirectly_committed”: 0,

“location_in_warehouse”: “”,

“name”: “Dropship WH”

},

{

“warehouse_id”: 55031,

“available”: 0,

“committed”: 0,

“directly_committed”: 0,

“indirectly_committed”: 0,

“physical_on_hand”: 0,

“po_committed”: 0,

“po_directly_committed”: 0,

“po_indirectly_committed”: 0,

“location_in_warehouse”: “”,

“name”: “T-Mobile North East WH”

}

],

“total_on_hand”: 0,

“node_type”: “child”,

“po_total_directly_committed”: 0,

“po_total_indirectly_committed”: 0,

“po_total_committed”: 0,

“needs_sync”: false

}

],

“edges”: []

}

You’ll have to follow the graph to the parent node.

Yes, but I don’t know how to do it. From where should I start?

Thanks.

If an item is part of a kit, it will have edges on the graph, the source should be the parent, and the dest will be a component.

for instance MP-PRD-100067 has several nodes and edges, if you look at the edges, you’ll see one with source=MP-BDL-100023 and dest=MP-PRD-100067 where the source is the kit parent and dest is the component.

Thank you, Sophie!!!

I will carefully follow your directions and let you know if I need anything else.