Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Commerce forum / How to add an item to ...
Commerce forum
Answered

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

Posted on by 392

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
    Pankaj_93 392 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
    Juliet Zhu 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
    André Arnaud de Cal... 287,696 Super User 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

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans