Developer forum

Forum » Development » Extending DAP to also export assets of BOM (Parts List)

Extending DAP to also export assets of BOM (Parts List)

Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

The DAP uses the /dwapi/ecommerce/products/export

For the export as zip function, as far as I can see there is no possibility there to extend this to include assets of SubProducts in case of a parts list.

In this case would I need to create my own API endpoint, and if yes, any guidelines on that?

Thanks,

Justin

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

In the frontend, you can expand the bom and finde the items (products) that is part of the BOM and send the data to the endpoint. In that way, you do not have to change or customize the endpoint

Votes for this answer: 1
 
Justin Sjouw Dynamicweb Employee
Justin Sjouw
Reply

Ah right, got it, thanks!

 

You must be logged in to post in the forum