Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Cannot expand 'customerid' field on quote with Web API - V9

Posted on by Microsoft Employee

*This post is locked for comments

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Cannot expand 'customerid' field on quote with Web API - V9

    You can refer this thread as well for more details-

    community.dynamics.com/.../304254

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Cannot expand 'customerid' field on quote with Web API - V9

    Hi,

    CustomerId is a customer entity which can hold either account or contact. So, Instead of customerid you need to use the schema name which is customerid_account if you want to reteieve the customer which is account-

    Refer this-

    myonlineorg.crm6.dynamics.com/.../quotes(0F89DCAF-2D9D-E811-A968-000D3AE0562F)$select=quoteid,quotenumber,name,revisionnumber,description,paymenttermscode,billto_line1,billto_line2,billto_line3,billto_city,billto_postalcode,billto_stateorprovince,billto_country,pricelevelid&$expand=customerid_account($select=name)

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans