Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Create Sales Order with SuiteTalk with single use coupon code.
I briefly tried to use the search feature to find my answers but I did not find much. So I am using the SOAP API, version 2014.1. I am able to create an order with multi-use promotion codes after searching for the promotion. However, I run into issues with single-use coupon codes. Using the single use coupon for search is not a problem. I can find the proper coupon code internal id and promotion internal id but the Order Creation API will not accept.
If I set the promoCode field with the promo internalId then it asks me for a coupon code. However, there is no field for me to place the coupon code or the coupon internalId. If I use the coupon code internalId as the promoCode internalId then it states invalid key or ref for promoCode #### with couponCode ####.