Skip to main content

removeAllInventoryRulesFromInventoryGroup

You can use the RemoveAllInventoryRulesFromInventoryGroup web method to remove all the inventory rules from an inventory group. An inventory group with no rules will have a usage of 0, unless the inventory usage is specifically added.

Parameters

The RemoveAllInventoryRulesFromInventoryGroup web method includes the following parameters:

#ParametersData TypeDescription
GroupNameStringThe name of the group to remove inventory rules from.

Return Value

Returns one of the following values:

  • Returns a 1 for success
  • Returns a -1 for error