Changes policy order in an event dashboard and agreement checkbox on the checkout form. By default, the policies are arranged by the created date in descending order.
Note: It is possible to use both beforePolicyId
and afterPolicyId
at the same time but only the last one defined will be executed.
You can only call this method when authenticated as a Wix app or Wix user identity.