Add Promotional Code
Version:
Developer tasks for using service method AddPromoCode.
AddPromoCode is used to add promotional codes to a cart.
At your visual studio solution setup:
-
Reference the Sitecore.Commerce.Connect.CommerceServer and Sitecore.Commerce.dll.
-
Pick the class in your solution where want to use this service method.
-
To use the service method, paste the following code: