no-translate

XML-RPC API - Blocking and Unblocking Customers

Blocking and Unblocking Customers
S
Автор Sergiiy
Обновлено 1 год назад

Implementation details

These applications support trusted mode in which case i_wholesaler (Integer) parameter should be passed.

Available since 5.2.

Top level Customer could also issue this API call for any Customer in his hierarchy, including subcustomers of his subcustomers.

blockCustomer()

This application is used to block a customer.

Parameters:

  • i_customer - ID of customer to block. Integer. Required.

Returns:

  • result - OK means that the customer has been blocked. String.
  • XMLRPC fault in case of any error.

unblockCustomer()

This application is used to unblock a customer.

Parameters:

  • i_customer - ID of customer to unblock. Integer. Required.

Returns:

  • result - OK means that the customer has been unblocked. String.
  • XMLRPC fault in case of any error.
Оцените эту статью