web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to patch product attributes via API

(1) ShareShare
ReportReport
Posted on by 131
Hi,
 
I'm using D365 F & O and would like to update Product Attributes values via an API - I'm currently testing in Postman.
 
I only need to update the TextValue and BooleanValue of the actual Product Attributes - the AttributeTypeName and AttributeName already exist.
 
PATCH: /data/ProductAttributeValuesV3(ProductNumber='001234')
 
In the body I specify:
 
        {
            /AttributeTypeName/: /Brand/,
            /AttributeName/: /Brand/,
            /BooleanValue/: /No/,
            /TextValue/: /Test/
        }
 
But I keep receiving a 401 // not found:
 
{
    /Message/: /No HTTP resource was found that matches the request URI 'https://xxxxxxxxx/data/ProductAttributeValueV3(ProductNumber='001234')'. No route data was found for this request./
}
 
How do I update the text value // boolean value?  
 
 
  • Martin Dráb Profile Picture
    241,417 Most Valuable Professional on at
    The problem seems to be in /data/ProductAttributeValueV3(ProductNumber='001234'). The product number alone is not sufficient for finding an individual product attribute value. Use all fields of the entity key.
  • Michael Hutcheson Profile Picture
    131 on at
    I still get the 404 not found:
     
    PATCH: 
     
    "Message": "No HTTP resource was found that matches the request URI 'https:XXXXXXXXXX/data/ProductAttributeValuesV3(ProductNumber='001234',AttributeTypeName = 'Brand',AttributeName = 'Brand',BooleanValue = 'No',TextValue = 'tEST123' )'. No route data was found for this request."
  • Verified answer
    Michael Hutcheson Profile Picture
    131 on at
    Its working - the keys are Product Number \ AttributeTypeName \ AttributeName
     
    If we pass those in the URL:
     
    patch:
    /data/ProductAttributeValuesV3(ProductNumber='001213',AttributeTypeName = 'Brand',AttributeName = 'Brand')
     
    Then the values we want to update in the Body:
     
            {
                "BooleanValue": "No",
                "TextValue": "Test"
            }
     
    This will update D365 F&O.
     
    Not sure if this will help anyone wanting to update the Product Attributes via REST
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 582 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 410 Super User 2026 Season 2

#3
CU-1234529-002 Profile Picture

CU-1234529-002 185

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans