Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

How to add an item to the cart retail pos using a custom button operation?

(0) ShareShare
ReportReport
Posted on by 396

Hi Everyone,

Hope everyone is doing well in this pandemic situation.

Basically, we have a requirement to create a custom operation which will function like issuegiftcard operation but not exactly. I have created a button which is showing dialog pages as per issue gift card operation but we want to add those details to cart and at the time of payment it only save in the retail transactions tables not in the gift card details tables.

How can we add a fresh item to cart on the button click. I used savecartrequest and savecartresponse but it did not added the item in the card?

Please help me to solve this...

Thanks in advance....

Be Safe and Be Healthy ….. 

  • Pankaj_93 Profile Picture
    396 on at
    RE: How to add an item to the cart retail pos using a custom button operation?

    Hi Juliet Zhu,

    Thank you for your response...

    It helps me to resolve my problem....

  • Verified answer
    Juliet Zhu Profile Picture
    on at
    RE: How to add an item to the cart retail pos using a custom button operation?

    Hi Pankaj Sahu,

    You may try AddItemToCartOperationRequest.

    For all APIs please refer to : docs.microsoft.com/.../pos-apis

    Thanks,

    Juliet Zhu

    SR SUPPORT ENG

    Microsoft Dynamics AX/Dynamics 365 for Operations

    Customer Services and Support

  • André Arnaud de Calavon Profile Picture
    295,487 Super User 2025 Season 1 on at
    RE: How to add an item to the cart retail pos using a custom button operation?

    Moved to the Dynamics 365 Commerce (retail) forum

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 462 Moderator

#2
Danny Bilodeau Profile Picture

Danny Bilodeau 156 Moderator

#3
Laurens vd Tang Profile Picture

Laurens vd Tang 120 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans