Skip to content
Discussion options

You must be logged in to vote

Microsoft support guided us to using the PriceLookupContext and with this we were able to resolve the issue:

you can use the priceLookupContext in GetActivePrices API to specify the unit of measure (UoM) and other relevant details. This allows for more precise and flexible price lookups. The details is in https://learn.microsoft.com/en-us/dynamics365/commerce/pricing-apis#getactiveprices

so using the following request we're able to get what we wanted!

{
    "projectDomain": 
    {
        "channelId": 5637173076
    },
    "priceLookupContext": {
        "LineContexts": [
            {
                "UnitOfMeasureSymbol": "DOOS",
                "ProductRecordId": 5637324503
         …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ThibaultBr1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant