Trading Networks 10.7 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Profile Folder | Summary of Elements in this Folder | wm.tn.profile:changeStatus
 
wm.tn.profile:changeStatus
Changes the status of a partner in the trading network. Use this service to activate and deactivate trading partners. When activating a partner, the partner's profile is validated. If errors are found, the service does not activate the partner and returns the errors.
Input Parameters
partnerID
String The internal identifier for the trading partner for which to change the status.
status
String The new status for the partner. Valid values are:
*Active Activates the partner.
*Inactive Deactivates the partner.
Output Parameters
errors
String List (optional) A string array that contains the errors that occurred when activating a partner, if any.