Documentation

Update

int
CSaleOrderPropsGroup::Update(
  int ID,
  array arFields
);

The method Update replaces values of the specified property group with the new ones.

Parameters

ParameterDescription
ID The property group ID whose values are to be modified..
arFields Associated array of an order property group parameters whose keys are the order parameter names, and values are the parameter values.

The following values are possible:
  • PERSON_TYPE_ID - the payer type ID;
  • NAME - group name (the payer type is dependent on a site while the latter depends on the language used. This implies that the name should be specified in the corresponding language);
  • SORT - sort weight.

Returned values

Returns the ID of an updated group or false otherwise.

© «Bitrix24», 2001-2024
Up