Bitrix Site Manager


 string ID,
 array arFields

The method Update replaces parameters of the specified status with the new ones.


ID The ID of the order status to be updated .
arFields Associated array containing new parameters of the status whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • ID - the status ID (required);
  • SORT - sort weight;
  • LANG - array containing arrays of language-dependent status parameters:
    • LID - language;
    • NAME - name of the status in the language LID;
    • DESCRIPTION - status description.

Return Values

Returns the ID of updated status or false otherwise.