Developer forum

Forum » PIM » Getting two currencies from PIM

Getting two currencies from PIM

Anouk van der Veer
Reply

Hi all,

I've been struggling with this, hoping one of you can give me clarity or has an idea on how to solve this.

A customer of our uses PIM for enrichtment. These products are then fetched from a different CMS using the API. They have products in a few languages, and always only had euro's as a currency. 

Now they wish to add a new language and set GBP as a currency. Thet then wish to fetch the products in that language with GBP as currency. Now in PIM, there is a default currency which also shows on product edit (euro's in our case). If the implementer of their CMS fetches the products, will they also be alble to fetch all currencies? Or will two currencies only work using the price matrix?

Kind regards,
Anouk


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Anouk

You can query the API in the currency in Dynamicweb your need.

If you are using PIM feeds you can use the currency setting: https://doc.dynamicweb.com/documentation-9/pim/publication/feeds#sideNavTitle1-2

If you are using the webapi, you can use the currencyCode parameter: 

If you are using a regular page with a template that generates the output, you can also use the currencyCode parameter:

/pim-feedpage/products?currencyCode=gpb

BR Nicolai

 

You must be logged in to post in the forum