Sunday, January 20, 2019

Set Customer Type when Registering Customer in SSP Application through RESTlet

Alternate solution for Enhancement: 224561 > Web Store> SSP > Commerce API > Expose a parameter to set Lead/Customer record as Individual or Company when using ShoppingSession 'registerCustomer' method

Using SSP we can use nlapiRequestUrl api to call out a RestLet that updates the type of a customer record.

Below is a sample script to update a customer record's type.


Here's a sample RestLet script that updates or change a customer record's type and returns a string "success" upon save of customer record.


No comments:

Post a Comment