> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> 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`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Package: operations

# Namespace: dataMovementJobs

# Webhook link: https://dev.wix.com/docs/api-reference/business-solutions/cms/operations/data-movement-jobs/job-updated.md

# Webhook Permissions Scopes IDs:
Data Mover Manage Jobs: SCOPE.DC-DATA.MANAGE_MOVEMENT_JOBS

## Introduction

Triggered when a job's `status` updates.

---

## REST API

### Schema

```
Webhook: Job Updated
Description: Triggered when a job's `status` updates.
Event body:
 - name: id | type: string | description: Unique event ID. Allows clients to ignore duplicate events.
 - name: entityFqdn | type: string | description: Fully qualified domain name of the entity associated with the event.
 - name: slug | type: string | description: Event name.
 - name: entityId | type: string | description: ID of the entity associated with the event.
 - name: eventTime | type: string (date-time) | description: Event timestamp.
 - name: triggeredByAnonymizeRequest | type: boolean | description: Whether the event was triggered as a result of a privacy regulation application such as GDPR.
 - name: originatedFrom | type: string | description: If present, indicates the action that triggered the event.
 - name: updatedEvent | type: object | description: Updated event details.
    - name: currentEntity | type: DataMovementJob | description: The entity after the update.
        - ONE-OF:
           - name: partiallySuccessfulOptions | type: PartiallySuccessfulStatusOptions | description: When the job's `status` is `PARTIALLY_SUCCESSFUL`, the additional details.
              - name: cause | type: string | description: Reason the job was partially successful.
        - name: id | type: string | description: Job GUID.
        - name: startedAt | type: string | description: When the job was submitted.
        - name: status | type: JobStatus | description: Current job status.
           - enum:
           -     UNINITIALIZED: Job was submitted but has not yet started.
           -     INITIALIZING: Job is initializing.
           -     IN_PROGRESS: Job is in progress.
           -     COMPLETED: Job has successfully completed.
           -     FAILED: Job has failed.
           -     PARTIALLY_SUCCESSFUL: Job has completed but was partially successful due to a destination limitation. See `PartiallySuccessfulOptions` for additional details.
        - name: source | type: Source | description: Source to move data from.
           - ONE-OF:
              - name: wixDataCollection | type: WixDataSource | description: Wix data collection.  You can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code.md), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site.md).
                 - ONE-OF:
                    - name: filterQuery | type: FilterQuery | description: Filter and field selection to apply to the collection items.
                       - name: filter | type: object | description: Filter to apply to the items. Only items that pass the filter are moved.  Learn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language.md#filters).
                       - name: fields | type: array<string> | description: Item fields to move. If not set, the method moves the full items.
                    - name: aggregationQuery | type: AggregationQuery | description: Aggregation pipeline to run on the collection.
                       - name: aggregationPipeline | type: AggregationPipeline | description: Aggregation pipeline to run on the collection.
                          - ONE-OF:
                             - name: paging | type: Paging | description: Paging options to limit and skip the number of results.  Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging.md).
                                - name: limit | type: integer | description: Number of items to load.
                                - name: offset | type: integer | description: Number of items to skip in the current sort order.
                             - name: cursorPaging | type: CursorPaging | description: Cursor token referring to a page of results.  Not used in the first request. Subsequent requests use the cursor token and not `filter` or `sort`.
                                - name: limit | type: integer | description: Number of items to load.
                                - name: cursor | type: string | description: Pointer to the next or previous page in the list of results.  You can get the relevant cursor token from the `pagingMetadata` object in the previous call's response. Not relevant for the first request.
                          - name: stages | type: array<Stage> | description: Sequence of aggregation operations to apply to the data.  Stages are processed in order, with each stage operating on the output of the previous stage.
                             - ONE-OF:
                                - name: group | type: Group | description: Groups aggregated items to new result items.
                                   - name: groupIds | type: array<GroupId> | description: Grouping criteria by which to organize items.  Each `groupId` specifies a field by which to group items, and serves as the result item's unique `_id` property.  Items with identical values for the specified `expression` are placed in the same group based on the specified `key`. If empty, all items are treated as a single group.
                                      - name: key | type: string | description: Name of the field to group items by.  This becomes the field name in the result's `_id` property.
                                      - name: expression | type: Expression | description: Expression to determine the grouping value. Items whose expression resolves to the same value are grouped together in the result item's `_id` property.
                                         - ONE-OF:
                                            - name: fieldPath | type: string | description: Path to the field containing the value to resolve.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`.
                                            - name: text | type: string | description: Text value.
                                            - name: numeric | type: number | description: Number value.
                                            - name: add | type: AddOperation | description: Adds the specified expressions together.
                                               - name: expressions | type: array<Expression> | description: Expressions to add together.  All expressions must resolve to numbers.
                                            - name: sum | type: SumOperation | description: Calculates the total sum of multiple expressions.
                                               - name: expressions | type: array<Expression> | description: Expressions to calculate the total sum of.  All expressions must resolve to numbers.
                                            - name: subtract | type: SubtractOperation | description: Subtracts 1 expression from another.
                                               - name: firstExpression | type: Expression | description: Expression to subtract `secondExpression` from.  Expression must resolve to a number.
                                               - name: secondExpression | type: Expression | description: Expression to subtract from `firstExpression`.  Expression must resolve to a number.
                                            - name: multiply | type: MultiplyOperation | description: Multiplies multiple expressions together.
                                               - name: expressions | type: array<Expression> | description: Expressions to multiply.  All expressions must resolve to numbers.
                                            - name: divide | type: DivideOperation | description: Divides 1 expression by another.
                                               - name: firstExpression | type: Expression | description: Expression to divide by `secondExpression`.  Expression must resolve to a number.
                                               - name: secondExpression | type: Expression | description: Expression to divide `firstExpression` by.  Expression must resolve to a non-zero number.
                                            - name: abs | type: AbsOperation | description: Finds the absolute value of an expression.
                                               - name: expression | type: Expression | description: Expression to find the absolute value of.  Expression must resolve to a number.
                                            - name: mod | type: ModOperation | description: Finds the remainder when dividing 1 expression by another.
                                               - name: firstExpression | type: Expression | description: Expression to divide by `secondExpression` to find the remainder.  Expression must resolve to a number.
                                               - name: secondExpression | type: Expression | description: Expression to divide `firstExpression` by.  Expression must resolve to a non-zero number.
                                            - name: floor | type: FloorOperation | description: Rounds an expression down to the nearest whole number.
                                               - name: expression | type: Expression | description: Expression to round down to the nearest whole number.  Expression must resolve to a number.
                                            - name: ceil | type: CeilOperation | description: Rounds an expression up to the nearest whole number.
                                               - name: expression | type: Expression | description: Expression to round up to the nearest whole number.  Expression must resolve to a number.
                                            - name: concat | type: ConcatOperation | description: Joins multiple expressions together to create a string.
                                               - name: expressions | type: array<Expression> | description: Expressions to join together.  All expressions must resolve to strings.
                                            - name: stringify | type: StringifyOperation | description: Converts an expression to a string.
                                               - name: expression | type: Expression | description: Expression to convert to a string.
                                            - name: toLower | type: ToLowerOperation | description: Converts an expression to lowercase.
                                               - name: expression | type: Expression | description: Expression to convert to lowercase.  Expression must resolve to a string.
                                            - name: toUpper | type: ToUpperOperation | description: Converts an expression to uppercase.
                                               - name: expression | type: Expression | description: Expression to convert to uppercase.  Expression must resolve to a string.
                                            - name: substring | type: SubstringOperation | description: Extracts a portion of a string expression.
                                               - name: expression | type: Expression | description: Expression to extract a substring from.  Expression must resolve to a string.
                                               - name: startExpression | type: Expression | description: Starting position of the substring to extract, specified in zero-based indexing.  Expression must resolve to a number.
                                               - name: lengthExpression | type: Expression | description: Number of characters to extract from the starting position.  Expression must resolve to a number.
                                            - name: length | type: LengthOperation | description: Finds the length of a string expression.
                                               - name: expression | type: Expression | description: Expression to count the total number of characters of.  Expression must resolve to a string.
                                            - name: boolean | type: boolean | description: Boolean value.
                                            - name: condition | type: ConditionOperation | description: Returns one of two expressions based on a condition.
                                               - name: ifExpression | type: Expression | description: Expression to evaluate as a condition.
                                               - name: whenTrue | type: Expression | description: Expression to return when `ifExpression` resolves to `true`.
                                               - name: whenFalse | type: Expression | description: Expression to return when `ifExpression` resolves to `false`.
                                            - name: gt | type: GreaterThanOperation | description: Checks whether the first expression is greater than the second expression.
                                               - name: firstExpression | type: Expression | description: Expression on the left side of the comparison.
                                               - name: secondExpression | type: Expression | description: Expression on the right side of the comparison.
                                            - name: size | type: SizeOperation | description: Returns the number of elements in an array expression.
                                               - name: expression | type: Expression | description: Expression containing the array whose size to return.
                                   - name: accumulators | type: array<Accumulator> | description: Accumulation operations to run on each group.  Accumulators aggregate data across all items in the group and return the result in a new field.  > **Note:** When using accumulators, the type of expression must be compatible with the operation type. For example, when using the `sum` accumulator, the specified expression must resolve to a number.
                                      - ONE-OF:
                                         - name: avg | type: Avg | description: Calculates the average value across all items in the group based on the specified expression.
                                            - name: expression | type: Expression | description: Expression to calculate the group's average value.  Expression must resolve to a number.
                                         - name: min | type: Min | description: Finds the minimum value across all items in the group.
                                            - name: expression | type: Expression | description: Expression to find the group's minimum value.  Expression must resolve to a comparable value, such as a number or string.
                                         - name: max | type: Max | description: Finds the maximum value across all items in the group.
                                            - name: expression | type: Expression | description: Expression to find the group's maximum value.  Expression must resolve to a comparable value, such as a number or string.
                                         - name: sum | type: Sum | description: Calculates the sum of the specified expression across all items in the group.
                                            - name: expression | type: Expression | description: Expression to calculate the group's total sum.  Expression must resolve to a number.
                                         - name: first | type: First | description: Finds the first item in the group.
                                            - name: expression | type: Expression | description: Expression to find the first item in the group.
                                         - name: last | type: Last | description: Finds the last item in the group.
                                            - name: expression | type: Expression | description: Expression to find the last item in the group.
                                         - name: push | type: Push | description: Collects values from all items in the group into an array.
                                            - name: expression | type: Expression | description: Expression to collect items into an array.
                                      - name: resultFieldName | type: string | description: Field key in the output item to store the result in.
                                - name: filter | type: object | description: Aggregation filter. Only items that match the filter are processed.  Learn more about [filters in API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language.md#filters).  > **Note:** The values you provide for each filter field must adhere to that field's data type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data.md).
                                - name: sort | type: Sorting | description: Sorting preferences.  Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging.md).
                                   - name: values | type: array<Sorting> | description: Fields to sort the results by.
                                      - name: fieldName | type: string | description: Name of the field to sort by.
                                      - name: order | type: SortOrder | description: Sort order.
                                                   - enum: ASC, DESC
                                - name: projection | type: Projection | description: Transforms items by including, excluding, or reshaping fields.
                                   - name: fields | type: array<Field> | description: Fields to include, exclude, or reshape.
                                      - ONE-OF:
                                         - name: include | type: Include | description: When specified, includes only the specified field in the result. All other fields are excluded.
                                            - name: fieldName | type: string | description: Key of the field to include in the result.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                         - name: exclude | type: Exclude | description: When specified, excludes the specified field from the result. All other fields are included.
                                            - name: fieldName | type: string | description: Key of the field to exclude from the result.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                         - name: reshape | type: Reshape | description: Reshapes a new field based on the specified expression. The field used by the expression is not included in the result.
                                            - name: resultFieldName | type: string | description: Key of the field to create in the result item.  Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                            - name: expression | type: Expression | description: Expression to resolve. The result of the expression becomes the value of the new field.
                                         - name: projectNested | type: ProjectNested | description: Creates nested fields by including, excluding, or reshaping fields.
                                            - name: resultFieldName | type: string | description: Key of the parent field for the nested fields.  Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                            - name: fields | type: array<Field> | description: Nested fields to include, exclude, or reshape.
                                - name: objectToArray | type: ObjectToArray | description: Transforms an object into an array where each object property becomes a new array element containing the property's key and value, as well as all other properties from the original object.
                                   - name: objectFieldName | type: string | description: Key of the object field to convert to an array.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                   - name: destinationFieldName | type: string | description: Key of the new array to create in the result item.  Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                - name: unwindArray | type: UnwindArray | description: Creates a result item for each array element. Each result contains the full original item, with the array field replaced by an element whose key is the array name and whose value is the array element.
                                   - name: arrayFieldName | type: string | description: Key of the array field to unwind.  Use dot notation to specify a nested array. For example, `user.products` or `product.colors`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                - name: skip | type: integer | description: Number of results to skip from the beginning of the result set.
                                - name: limit | type: integer | description: Maximum number of results to return.
                                - name: addFields | type: AddFields | description: Adds or replaces fields in each result item.
                                   - name: fields | type: array<AddField> | description: Fields to add or replace in the result items.
                                      - name: fieldName | type: string | description: Key of the field to add or replace in the result item.
                                      - name: expression | type: Expression | description: Expression to resolve. The result of the expression becomes the value of the field.
                                - name: lookup | type: Lookup | description: Joins items from another collection into an array field by matching a local field against a foreign field.
                                   - name: dataCollectionId | type: string | description: GUID of the collection to join with.
                                   - name: localField | type: string | description: Key of the local field whose value is used for matching items in the joined collection.
                                   - name: foreignField | type: string | description: Key of the field in the joined collection to match against the local field value.
                                   - name: asField | type: string | description: Key of the array field where matching joined items are stored.
                                - name: unionWith | type: UnionWith | description: Appends results from another collection pipeline to the current results.
                                   - name: dataCollectionId | type: string | description: GUID of the collection whose results are appended to the current pipeline results.
                                   - name: pipeline | type: AggregationPipeline | description: Pipeline to run on the union collection before appending its results.
                       - name: fields | type: array<Field> | description: Fields, will be used to map aggregation pipeline result to export result. Fields in the aggregation pipeline results that are not in the provided list will be ignored. If no fields provided, data will be exported as is, without transformation or field name mapping.
                          - name: key | type: string | description: Field GUID.  If the field type is `Array`, specify the item index. If the field type is `Object`, specify the field path. Use dot notation to specify nested fields, for example: `data.address.city`.
                          - name: displayName | type: string | description: Field display name.  When moving items to CSV files, use this to set the header of the target column.
                          - name: fieldType | type: FieldType | description: Field data type. Default: `ANY`.  Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data.md).
                                   - enum:
                                   -     ANY: Any data type.
                                   -     STRING: String.
                                   -     NUMBER: Number.
                                   -     BOOLEAN: Boolean.
                                   -     DATE: Date string in ISO 8601 date format: `YYYY-MM-DD`.
                                   -     DATETIME: [Date object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) (SDK) or an object in the following format: `"someFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`.
                                   -     BINARY: Binary file.
                                   -     OBJECT: object.
                                   -     ARRAY: Array.
                                   -     URL: Web URL.
                                   -     WIX_MEDIA_URL: 
                                   -     WIX_MEDIA_IMAGE_URL: 
                                   -     WIX_MEDIA_VIDEO_URL: 
                                   -     WIX_MEDIA_DOCUMENT_URL: 
                                   -     IMAGE_URL: 
                                   -     VIDEO_URL: 
                 - name: collectionId | type: string | description: GUID of the data collection.
              - name: localization | type: LocalizationSource | description: Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.  Learn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).
                 - name: languages | type: array<string> | description: Translated CMS content in the specified languages. Content in these languages is exported to the destination, with the first specified language treated as the main one.  Use two-letter language codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format. You can also specify a two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.  Learn more about [available languages in Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-languages-available).
              - name: file | type: FileSource | description: Source file.  You can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.  To upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url.md) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url.md)) and use the `uploadUrl` from the response. For example:  `curl --request PUT --upload-file "${path_to_file}" "${uploadUrl}"`
                 - name: format | type: FileFormat | description: File format. If not specified, automatically determined by Wix.
                       - enum:
                       -     UNKNOWN: Unknown format.
                       -     CSV: CSV format.
                       -     JSONL: JSONL format.
                 - name: fileId | type: string | description: File GUID as returned in the `fileId` property of the Create File Upload URL method's response.
                 - name: url | type: string | description: URL where the source file is uploaded. Automatically generated by Wix.
        - name: destination | type: Destination | description: Destination to move data to.
           - ONE-OF:
              - name: wixDataCollection | type: WixDataDestination | description: Wix data collection.  You can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code.md), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site.md).
                 - name: collectionId | type: string | description: GUID of the destination collection.
                 - name: writePolicy | type: WritePolicy | description: When items already exist in the destination collection, the data writing policy.  Default: `OVERWRITE`.
                       - enum:
                       -     OVERWRITE: When an item with the same ID exists in the collection, overwrite it.
                       -     SKIP_EXISTING: When an item with the same ID exists in the collection, skip it.
                       -     TRUNCATE_BEFORE: Clear the destination collection before moving data. When the job completes, the collection contains only the moved data.
              - name: localization | type: LocalizationDestination | description: Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.  Learn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).
                 - name: languages | type: array<string> | description: Translated CMS content in the specified languages. Content in these languages is imported from the source, with the first specified language treated as the main one.  Use two-letter language codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format. You can also specify a two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.  Learn more about [available languages in Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-languages-available).
              - name: file | type: FileDestination | description: Downloadable file with the moved items.
                 - name: format | type: FileFormat | description: File format.
                       - enum:
                       -     UNKNOWN: Unknown format.
                       -     CSV: CSV format.
                       -     JSONL: JSONL format.
                 - name: fileName | type: string | description: File name.
                 - name: url | type: string | description: File download URL.
        - name: name | type: string | description: Job name.
        - name: progress | type: Progress | description: When the job `status` is `IN_PROGRESS`, the progress details.
           - name: current | type: integer | description: Number of units already processed.
           - name: total | type: integer | description: Total number of units to move.
           - name: itemsRejected | type: integer | description: Number of items that failed to move to the destination.
           - name: itemsSuccessful | type: integer | description: Number of items successfully moved to the destination.
        - name: finishedAt | type: string | description: Job finish time.  A job is considered finished when its `status` updates to `COMPLETED`, `FAILED`, or `PARTIALLY_SUCCESSFUL`.
        - name: error | type: ApplicationError | description: Error information.
           - name: code | type: string | description: Error code.
           - name: description | type: string | description: Description of the error.
           - name: data | type: object | description: Data related to the error.
        - name: sourceSiteId | type: string | description: When moving data from a Wix data collection, the source site GUID.  By default, the source site is the current site. To move data from [any site in the same Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account), specify the site GUID, which you can retrieve by calling [Get App Instance](https://dev.wix.com/docs/rest/app-management/app-instance/get-app-instance.md).  > **Note**: You can specify the GUID of a source site or destination site, but not both.
        - name: destinationSiteId | type: string | description: When moving data to a Wix data collection, the destination site GUID.  By default, the destination site is the current site. To move data to [any site in the same Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account), specify the site GUID, which you can retrieve by calling [Get App Instance](https://dev.wix.com/docs/rest/app-management/app-instance/get-app-instance.md).  > **Note**: You can specify the GUID of a source site or destination site, but not both.
        - name: logsRecorded | type: integer | description: Number of recorded logs.
        - name: scheduleId | type: string | description: Sync Schedule GUID, if the job was triggered by a sync schedule.
        - name: extendedFields | type: ExtendedFields | description: Extended fields for custom metadata added by applications.
           - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).
        - name: workflowId | type: string | description: Workflow GUID, if the job was created as a child step of a workflow.

```

---

## JavaScript SDK

### Schema

```
Webhook: onJobUpdated
Description: Triggered when a job's `status` updates.
Payload: JobUpdatedEnvelope
  - name: entity | type: DataMovementJob | description: none
     - ONE-OF:
        - name: partiallySuccessfulOptions | type: PartiallySuccessfulStatusOptions | description: When the job's `status` is `PARTIALLY_SUCCESSFUL`, the additional details.
           - name: cause | type: string | description: Reason the job was partially successful.
     - name: _id | type: string | description: Job GUID.
     - name: startedAt | type: Date | description: When the job was submitted.
     - name: status | type: JobStatus | description: Current job status.
         - enum:
         -     UNINITIALIZED: Job was submitted but has not yet started.
         -     INITIALIZING: Job is initializing.
         -     IN_PROGRESS: Job is in progress.
         -     COMPLETED: Job has successfully completed.
         -     FAILED: Job has failed.
         -     PARTIALLY_SUCCESSFUL: Job has completed but was partially successful due to a destination limitation. See `PartiallySuccessfulOptions` for additional details.
     - name: source | type: Source | description: Source to move data from.
        - ONE-OF:
           - name: wixDataCollection | type: WixDataSource | description: Wix data collection.  You can move items from native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code.md), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site.md).
              - ONE-OF:
                 - name: filterQuery | type: FilterQuery | description: Filter and field selection to apply to the collection items.
                    - name: filter | type: object | description: Filter to apply to the items. Only items that pass the filter are moved.  Learn more about building a query filter using [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language.md#filters).
                    - name: fields | type: array<string> | description: Item fields to move. If not set, the method moves the full items.
                 - name: aggregationQuery | type: AggregationQuery | description: Aggregation pipeline to run on the collection.
                    - name: aggregationPipeline | type: AggregationPipeline | description: Aggregation pipeline to run on the collection.
                       - ONE-OF:
                          - name: paging | type: Paging | description: Paging options to limit and skip the number of results.  Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging.md).
                             - name: limit | type: integer | description: Number of items to load.
                             - name: offset | type: integer | description: Number of items to skip in the current sort order.
                          - name: cursorPaging | type: CursorPaging | description: Cursor token referring to a page of results.  Not used in the first request. Subsequent requests use the cursor token and not `filter` or `sort`.
                             - name: limit | type: integer | description: Number of items to load.
                             - name: cursor | type: string | description: Pointer to the next or previous page in the list of results.  You can get the relevant cursor token from the `pagingMetadata` object in the previous call's response. Not relevant for the first request.
                       - name: stages | type: array<Stage> | description: Sequence of aggregation operations to apply to the data.  Stages are processed in order, with each stage operating on the output of the previous stage.
                          - ONE-OF:
                             - name: group | type: Group | description: Groups aggregated items to new result items.
                                - name: groupIds | type: array<GroupId> | description: Grouping criteria by which to organize items.  Each `groupId` specifies a field by which to group items, and serves as the result item's unique `_id` property.  Items with identical values for the specified `expression` are placed in the same group based on the specified `key`. If empty, all items are treated as a single group.
                                   - name: key | type: string | description: Name of the field to group items by.  This becomes the field name in the result's `_id` property.
                                   - name: expression | type: Expression | description: Expression to determine the grouping value. Items whose expression resolves to the same value are grouped together in the result item's `_id` property.
                                      - ONE-OF:
                                         - name: fieldPath | type: string | description: Path to the field containing the value to resolve.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`.
                                         - name: text | type: string | description: Text value.
                                         - name: numeric | type: number | description: Number value.
                                         - name: add | type: AddOperation | description: Adds the specified expressions together.
                                            - name: expressions | type: array<Expression> | description: Expressions to add together.  All expressions must resolve to numbers.
                                         - name: sum | type: SumOperation | description: Calculates the total sum of multiple expressions.
                                            - name: expressions | type: array<Expression> | description: Expressions to calculate the total sum of.  All expressions must resolve to numbers.
                                         - name: subtract | type: SubtractOperation | description: Subtracts 1 expression from another.
                                            - name: firstExpression | type: Expression | description: Expression to subtract `secondExpression` from.  Expression must resolve to a number.
                                            - name: secondExpression | type: Expression | description: Expression to subtract from `firstExpression`.  Expression must resolve to a number.
                                         - name: multiply | type: MultiplyOperation | description: Multiplies multiple expressions together.
                                            - name: expressions | type: array<Expression> | description: Expressions to multiply.  All expressions must resolve to numbers.
                                         - name: divide | type: DivideOperation | description: Divides 1 expression by another.
                                            - name: firstExpression | type: Expression | description: Expression to divide by `secondExpression`.  Expression must resolve to a number.
                                            - name: secondExpression | type: Expression | description: Expression to divide `firstExpression` by.  Expression must resolve to a non-zero number.
                                         - name: abs | type: AbsOperation | description: Finds the absolute value of an expression.
                                            - name: expression | type: Expression | description: Expression to find the absolute value of.  Expression must resolve to a number.
                                         - name: mod | type: ModOperation | description: Finds the remainder when dividing 1 expression by another.
                                            - name: firstExpression | type: Expression | description: Expression to divide by `secondExpression` to find the remainder.  Expression must resolve to a number.
                                            - name: secondExpression | type: Expression | description: Expression to divide `firstExpression` by.  Expression must resolve to a non-zero number.
                                         - name: floor | type: FloorOperation | description: Rounds an expression down to the nearest whole number.
                                            - name: expression | type: Expression | description: Expression to round down to the nearest whole number.  Expression must resolve to a number.
                                         - name: ceil | type: CeilOperation | description: Rounds an expression up to the nearest whole number.
                                            - name: expression | type: Expression | description: Expression to round up to the nearest whole number.  Expression must resolve to a number.
                                         - name: concat | type: ConcatOperation | description: Joins multiple expressions together to create a string.
                                            - name: expressions | type: array<Expression> | description: Expressions to join together.  All expressions must resolve to strings.
                                         - name: stringify | type: StringifyOperation | description: Converts an expression to a string.
                                            - name: expression | type: Expression | description: Expression to convert to a string.
                                         - name: toLower | type: ToLowerOperation | description: Converts an expression to lowercase.
                                            - name: expression | type: Expression | description: Expression to convert to lowercase.  Expression must resolve to a string.
                                         - name: toUpper | type: ToUpperOperation | description: Converts an expression to uppercase.
                                            - name: expression | type: Expression | description: Expression to convert to uppercase.  Expression must resolve to a string.
                                         - name: substring | type: SubstringOperation | description: Extracts a portion of a string expression.
                                            - name: expression | type: Expression | description: Expression to extract a substring from.  Expression must resolve to a string.
                                            - name: startExpression | type: Expression | description: Starting position of the substring to extract, specified in zero-based indexing.  Expression must resolve to a number.
                                            - name: lengthExpression | type: Expression | description: Number of characters to extract from the starting position.  Expression must resolve to a number.
                                         - name: length | type: LengthOperation | description: Finds the length of a string expression.
                                            - name: expression | type: Expression | description: Expression to count the total number of characters of.  Expression must resolve to a string.
                                         - name: boolean | type: boolean | description: Boolean value.
                                         - name: condition | type: ConditionOperation | description: Returns one of two expressions based on a condition.
                                            - name: ifExpression | type: Expression | description: Expression to evaluate as a condition.
                                            - name: whenTrue | type: Expression | description: Expression to return when `ifExpression` resolves to `true`.
                                            - name: whenFalse | type: Expression | description: Expression to return when `ifExpression` resolves to `false`.
                                         - name: gt | type: GreaterThanOperation | description: Checks whether the first expression is greater than the second expression.
                                            - name: firstExpression | type: Expression | description: Expression on the left side of the comparison.
                                            - name: secondExpression | type: Expression | description: Expression on the right side of the comparison.
                                         - name: size | type: SizeOperation | description: Returns the number of elements in an array expression.
                                            - name: expression | type: Expression | description: Expression containing the array whose size to return.
                                - name: accumulators | type: array<Accumulator> | description: Accumulation operations to run on each group.  Accumulators aggregate data across all items in the group and return the result in a new field.  > **Note:** When using accumulators, the type of expression must be compatible with the operation type. For example, when using the `sum` accumulator, the specified expression must resolve to a number.
                                   - ONE-OF:
                                      - name: avg | type: Avg | description: Calculates the average value across all items in the group based on the specified expression.
                                         - name: expression | type: Expression | description: Expression to calculate the group's average value.  Expression must resolve to a number.
                                      - name: min | type: Min | description: Finds the minimum value across all items in the group.
                                         - name: expression | type: Expression | description: Expression to find the group's minimum value.  Expression must resolve to a comparable value, such as a number or string.
                                      - name: max | type: Max | description: Finds the maximum value across all items in the group.
                                         - name: expression | type: Expression | description: Expression to find the group's maximum value.  Expression must resolve to a comparable value, such as a number or string.
                                      - name: sum | type: Sum | description: Calculates the sum of the specified expression across all items in the group.
                                         - name: expression | type: Expression | description: Expression to calculate the group's total sum.  Expression must resolve to a number.
                                      - name: first | type: First | description: Finds the first item in the group.
                                         - name: expression | type: Expression | description: Expression to find the first item in the group.
                                      - name: last | type: Last | description: Finds the last item in the group.
                                         - name: expression | type: Expression | description: Expression to find the last item in the group.
                                      - name: push | type: Push | description: Collects values from all items in the group into an array.
                                         - name: expression | type: Expression | description: Expression to collect items into an array.
                                   - name: resultFieldName | type: string | description: Field key in the output item to store the result in.
                             - name: filter | type: object | description: Aggregation filter. Only items that match the filter are processed.  Learn more about [filters in API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language.md#filters).  > **Note:** The values you provide for each filter field must adhere to that field's data type. For example, when filtering by a field whose type is Date and Time, use an object in the following format: `"someDateAndTimeFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`. Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/data-types-in-wix-data.md).
                             - name: sort | type: Sorting | description: Sorting preferences.  Learn more about [sorting and paging](https://dev.wix.com/docs/rest/articles/get-started/sorting-and-paging.md).
                                - name: values | type: array<Sorting> | description: Fields to sort the results by.
                                   - name: fieldName | type: string | description: Name of the field to sort by.
                                   - name: order | type: SortOrder | description: Sort order.
                                                 - enum: ASC, DESC
                             - name: projection | type: Projection | description: Transforms items by including, excluding, or reshaping fields.
                                - name: fields | type: array<Field> | description: Fields to include, exclude, or reshape.
                                   - ONE-OF:
                                      - name: include | type: Include | description: When specified, includes only the specified field in the result. All other fields are excluded.
                                         - name: fieldName | type: string | description: Key of the field to include in the result.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                      - name: exclude | type: Exclude | description: When specified, excludes the specified field from the result. All other fields are included.
                                         - name: fieldName | type: string | description: Key of the field to exclude from the result.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                      - name: reshape | type: Reshape | description: Reshapes a new field based on the specified expression. The field used by the expression is not included in the result.
                                         - name: resultFieldName | type: string | description: Key of the field to create in the result item.  Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                         - name: expression | type: Expression | description: Expression to resolve. The result of the expression becomes the value of the new field.
                                      - name: projectNested | type: ProjectNested | description: Creates nested fields by including, excluding, or reshaping fields.
                                         - name: resultFieldName | type: string | description: Key of the parent field for the nested fields.  Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                         - name: fields | type: array<Field> | description: Nested fields to include, exclude, or reshape.
                             - name: objectToArray | type: ObjectToArray | description: Transforms an object into an array where each object property becomes a new array element containing the property's key and value, as well as all other properties from the original object.
                                - name: objectFieldName | type: string | description: Key of the object field to convert to an array.  Use dot notation to specify nested fields. For example, `user.name` or `product.price`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                                - name: destinationFieldName | type: string | description: Key of the new array to create in the result item.  Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                             - name: unwindArray | type: UnwindArray | description: Creates a result item for each array element. Each result contains the full original item, with the array field replaced by an element whose key is the array name and whose value is the array element.
                                - name: arrayFieldName | type: string | description: Key of the array field to unwind.  Use dot notation to specify a nested array. For example, `user.products` or `product.colors`. Learn more about [field keys](https://support.wix.com/en/article/cms-formerly-content-manager-about-your-collection-fields#field-id-velo-by-wix-only).
                             - name: skip | type: integer | description: Number of results to skip from the beginning of the result set.
                             - name: limit | type: integer | description: Maximum number of results to return.
                             - name: addFields | type: AddFields | description: Adds or replaces fields in each result item.
                                - name: fields | type: array<AddField> | description: Fields to add or replace in the result items.
                                   - name: fieldName | type: string | description: Key of the field to add or replace in the result item.
                                   - name: expression | type: Expression | description: Expression to resolve. The result of the expression becomes the value of the field.
                             - name: lookup | type: Lookup | description: Joins items from another collection into an array field by matching a local field against a foreign field.
                                - name: dataCollectionId | type: string | description: GUID of the collection to join with.
                                - name: localField | type: string | description: Key of the local field whose value is used for matching items in the joined collection.
                                - name: foreignField | type: string | description: Key of the field in the joined collection to match against the local field value.
                                - name: asField | type: string | description: Key of the array field where matching joined items are stored.
                             - name: unionWith | type: UnionWith | description: Appends results from another collection pipeline to the current results.
                                - name: dataCollectionId | type: string | description: GUID of the collection whose results are appended to the current pipeline results.
                                - name: pipeline | type: AggregationPipeline | description: Pipeline to run on the union collection before appending its results.
                    - name: fields | type: array<Field> | description: Fields, will be used to map aggregation pipeline result to export result. Fields in the aggregation pipeline results that are not in the provided list will be ignored. If no fields provided, data will be exported as is, without transformation or field name mapping.
                       - name: key | type: string | description: Field GUID.  If the field type is `Array`, specify the item index. If the field type is `Object`, specify the field path. Use dot notation to specify nested fields, for example: `data.address.city`.
                       - name: displayName | type: string | description: Field display name.  When moving items to CSV files, use this to set the header of the target column.
                       - name: fieldType | type: FieldType | description: Field data type. Default: `ANY`.  Learn more about [data types in Wix Data](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data.md).
                                 - enum:
                                 -     ANY: Any data type.
                                 -     STRING: String.
                                 -     NUMBER: Number.
                                 -     BOOLEAN: Boolean.
                                 -     DATE: Date string in ISO 8601 date format: `YYYY-MM-DD`.
                                 -     DATETIME: [Date object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) (SDK) or an object in the following format: `"someFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}`.
                                 -     BINARY: Binary file.
                                 -     OBJECT: object.
                                 -     ARRAY: Array.
                                 -     URL: Web URL.
                                 -     WIX_MEDIA_URL: 
                                 -     WIX_MEDIA_IMAGE_URL: 
                                 -     WIX_MEDIA_VIDEO_URL: 
                                 -     WIX_MEDIA_DOCUMENT_URL: 
                                 -     IMAGE_URL: 
                                 -     VIDEO_URL: 
              - name: collectionId | type: string | description: GUID of the data collection.
           - name: localization | type: LocalizationSource | description: Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.  Learn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).
              - name: languages | type: array<string> | description: Translated CMS content in the specified languages. Content in these languages is exported to the destination, with the first specified language treated as the main one.  Use two-letter language codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format. You can also specify a two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.  Learn more about [available languages in Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-languages-available).
           - name: file | type: FileSource | description: Source file.  You can import data from files in CSV or JSONL formats. Uploading a file with an invalid format causes the movement job to fail.  To upload a file, call Create File Upload Url ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/movement-jobs/create-file-upload-url.md) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-movement-jobs/create-file-upload-url.md)) and use the `uploadUrl` from the response. For example:  `curl --request PUT --upload-file "${path_to_file}" "${uploadUrl}"`
              - name: format | type: FileFormat | description: File format. If not specified, automatically determined by Wix.
                     - enum:
                     -     UNKNOWN: Unknown format.
                     -     CSV: CSV format.
                     -     JSONL: JSONL format.
              - name: fileId | type: string | description: File GUID as returned in the `fileId` property of the Create File Upload URL method's response.
              - name: url | type: string | description: URL where the source file is uploaded. Automatically generated by Wix.
     - name: destination | type: Destination | description: Destination to move data to.
        - ONE-OF:
           - name: wixDataCollection | type: WixDataDestination | description: Wix data collection.  You can move items to native Wix collections, [Wix app collections](https://dev.wix.com/docs/develop-websites/articles/databases/wix-data/collections/working-with-wix-app-collections-and-code.md), and [external database collections](https://dev.wix.com/docs/develop-websites/articles/databases/external-databases/overview/integrating-external-databases-with-your-wix-site.md).
              - name: collectionId | type: string | description: GUID of the destination collection.
              - name: writePolicy | type: WritePolicy | description: When items already exist in the destination collection, the data writing policy.  Default: `OVERWRITE`.
                     - enum:
                     -     OVERWRITE: When an item with the same ID exists in the collection, overwrite it.
                     -     SKIP_EXISTING: When an item with the same ID exists in the collection, skip it.
                     -     TRUNCATE_BEFORE: Clear the destination collection before moving data. When the job completes, the collection contains only the moved data.
           - name: localization | type: LocalizationDestination | description: Localized CMS content. Available when the site has [Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) installed.  Learn more about working with [translated CMS content](https://support.wix.com/en/article/wix-multilingual-translating-cms-collection-content).
              - name: languages | type: array<string> | description: Translated CMS content in the specified languages. Content in these languages is imported from the source, with the first specified language treated as the main one.  Use two-letter language codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format. You can also specify a two-letter country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format.  Learn more about [available languages in Wix Multilingual](https://support.wix.com/en/article/wix-multilingual-languages-available).
           - name: file | type: FileDestination | description: Downloadable file with the moved items.
              - name: format | type: FileFormat | description: File format.
                     - enum:
                     -     UNKNOWN: Unknown format.
                     -     CSV: CSV format.
                     -     JSONL: JSONL format.
              - name: fileName | type: string | description: File name.
              - name: url | type: string | description: File download URL.
     - name: name | type: string | description: Job name.
     - name: progress | type: Progress | description: When the job `status` is `IN_PROGRESS`, the progress details.
        - name: current | type: integer | description: Number of units already processed.
        - name: total | type: integer | description: Total number of units to move.
        - name: itemsRejected | type: integer | description: Number of items that failed to move to the destination.
        - name: itemsSuccessful | type: integer | description: Number of items successfully moved to the destination.
     - name: finishedAt | type: Date | description: Job finish time.  A job is considered finished when its `status` updates to `COMPLETED`, `FAILED`, or `PARTIALLY_SUCCESSFUL`.
     - name: error | type: ApplicationError | description: Error information.
        - name: code | type: string | description: Error code.
        - name: description | type: string | description: Description of the error.
        - name: data | type: object | description: Data related to the error.
     - name: sourceSiteId | type: string | description: When moving data from a Wix data collection, the source site GUID.  By default, the source site is the current site. To move data from [any site in the same Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account), specify the site GUID, which you can retrieve by calling [Get App Instance](https://dev.wix.com/docs/rest/app-management/app-instance/get-app-instance.md).  > **Note**: You can specify the GUID of a source site or destination site, but not both.
     - name: destinationSiteId | type: string | description: When moving data to a Wix data collection, the destination site GUID.  By default, the destination site is the current site. To move data to [any site in the same Wix Account](https://support.wix.com/en/article/managing-multiple-sites-under-one-account), specify the site GUID, which you can retrieve by calling [Get App Instance](https://dev.wix.com/docs/rest/app-management/app-instance/get-app-instance.md).  > **Note**: You can specify the GUID of a source site or destination site, but not both.
     - name: logsRecorded | type: integer | description: Number of recorded logs.
     - name: scheduleId | type: string | description: Sync Schedule GUID, if the job was triggered by a sync schedule.
     - name: extendedFields | type: ExtendedFields | description: Extended fields for custom metadata added by applications.
        - name: namespaces | type: object | description: Extended field data. Each key corresponds to the namespace of the app that created the extended fields. The value of each key is structured according to the schema defined when the extended fields were configured.  You can only access fields for which you have the appropriate permissions.  Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields.md).
     - name: workflowId | type: string | description: Workflow GUID, if the job was created as a child step of a workflow.
  - name: metadata | type: EventMetadata | description: none
     - name: instanceId | type: string | description: App instance GUID.
     - name: eventType | type: string | description: Event type.
     - name: identity | type: IdentificationData | description: The identification type and identity data.
        - ONE-OF:
           - name: anonymousVisitorId | type: string | description: GUID of a site visitor that has not logged in to the site.
           - name: memberId | type: string | description: GUID of a site visitor that has logged in to the site.
           - name: wixUserId | type: string | description: GUID of a Wix user (site owner, contributor, etc.).
           - name: appId | type: string | description: GUID of an app.
        - name: identityType | type: WebhookIdentityType | description: 
             - enum: UNKNOWN, ANONYMOUS_VISITOR, MEMBER, WIX_USER, APP
     - name: accountInfo | type: AccountInfo | description: Details related to the account
        - name: accountId | type: string | description: GUID of the Wix account associated with the event.
        - name: parentAccountId | type: string | description: GUID of the parent Wix account. Only included when accountId belongs to a child account.
        - name: siteId | type: string | description: GUID of the Wix site associated with the event. Only included when the event is tied to a specific site.
     - name: _id | type: string | description: Event GUID. With this GUID you can easily spot duplicated events and ignore them.
     - name: entityFqdn | type: string | description: Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities. For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
     - name: slug | type: string | description: Event action name, placed at the top level to make it easier for users to dispatch messages. For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
     - name: entityId | type: string | description: GUID of the entity associated with the event.
     - name: eventTime | type: Date | description: Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`.
     - name: triggeredByAnonymizeRequest | type: boolean | description: Whether the event was triggered as a result of a privacy regulation application (for example, GDPR).
     - name: originatedFrom | type: string | description: If present, indicates the action that triggered the event.
     - name: entityEventSequence | type: string | description: A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at `16:00` and then again at `16:01`, the second update will always have a higher sequence number. You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.

```

### Examples


```javascript
import { movementJobs } from '@wix/data';

movementJobs.onJobUpdated((event) => {
    // handle your event here
});
```


```javascript
import { createClient, AppStrategy } from '@wix/sdk';
import { movementJobs } from '@wix/data';

const wixClient = createClient({
  auth: AppStrategy({
    appId: 'MY-APP-ID',
    publicKey: 'YOUR_APP_PUBLIC_KEY',
  }),
  modules: {
      movementJobs,
    },
});

wixClient.movementJobs.onJobUpdated((event) => {
    // handle your event here
});
```

---