> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # ReorderEventPolicies # Package: eventManagement # Namespace: PolicyManagement # Method link: https://dev.wix.com/docs/api-reference/business-solutions/events/event-management/policies-v2/reorder-event-policies.md ## Permission Scopes: Manage Policies: SCOPE.DC-EVENTS.MANAGE-POLICIES ## Introduction Changes policy order in an event dashboard and agreement checkbox on the checkout form. By default, 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. --- ## REST API ### Schema ``` Method: reorderEventPolicies Description: Changes policy order in an event dashboard and agreement checkbox on the checkout form. By default, 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. URL: https://www.wixapis.com/events/v2/policies/reorder Method: POST # Note: If the parameter `a.b` is listed under required parameters, `b` is only required if `a` is also present. Required parameters: policyId, eventId Method parameters: param name: eventId | type: eventId | description: Event GUID to which the policy belongs. | required: true param name: policyId | type: policyId | description: GUID of the policy to reorder. | required: true - ONE-OF: - name: beforePolicyId | type: string | description: Move the given policy before this specified policy. - name: afterPolicyId | type: string | description: Move the given policy after this specified policy. Return type: ReorderEventPoliciesResponse - name: policies | type: array | description: Policies in the new order. - name: id | type: string | description: Policy GUID. - name: revision | type: string | description: Revision number, which increments by 1 each time the policy is updated. To prevent conflicting changes, the current revision must be used when updating a policy. - name: createdDate | type: string | description: Date and time the policy was created in `yyyy-mm-ddThh:mm:sssZ` format. - name: updatedDate | type: string | description: Date and time the policy was updated in `yyyy-mm-ddThh:mm:sssZ` format. - name: name | type: string | description: Policy name that is visible in the dashboard and checkout form. Min: 1 character
Max: 40 characters - name: body | type: string | description: Policy body. Usually contains various terms and conditions. Min: 1 character Max: 50,000 characters Note: You can format text using various HTML tags such as `

`, ``, `