> 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

# Resource: Form Submissions

# Type: Submission Object

# Link: https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/submission-object.md

## Description: Form submission that was created or retrieved.

## Schema:

```json
 Type: Submission Object | type: FormSubmission
 Description: Form submission that was created or retrieved.
       - name: id  | type: string | description: Submission ID.
           - name: value  | type: string | description: 
       - name: formId  | type: string | description: ID of the form which the submission belongs to.
       - name: namespace  | type: string | description: The app which the form submissions belong to. A submission inherits the namespace from its form schema, so you can't set it directly.  For example, a submission of a form visible in the Wix Forms app has the namespace `wix.form_app.form`, the namespace of the Wix Forms app, whose app ID is `225dd912-7dea-4738-8688-4b8c6955ffc2`.  See a list of namespaces for [apps made by Wix](https://dev.wix.com/docs/api-reference/crm/forms/form-schemas/introduction.md#namespaces-of-apps-made-by-wix) section. To retrieve the ID for a Wix app, see [Apps Created By Wix](https://dev.wix.com/docs/rest/articles/get-started/apps-created-by-wix.md).
       - name: status  | type: string | description: Status of the submission.  The status a submission is created with depends on the form's namespace and on whether the form collects payment, so read it from the response rather than assuming.  A submission for a form that collects payment starts as `PAYMENT_WAITING`. Otherwise, most namespaces record the submission immediately as `CONFIRMED`. Namespaces that need to complete another step first, such as taking payment for a pricing plan, create the submission as `PENDING` and confirm it later with Confirm Submission.  A `PENDING` submission isn't recorded yet, and is deleted automatically if it isn't confirmed in time.
           enum: PENDING, CONFIRMED, PAYMENT_WAITING, PAYMENT_CANCELED
       - name: submissions  | type: object | description: Values the visitor submitted.  Each key is the `target` of a field in the form schema, which is the field's stable storage key rather than its ID or label. Only keys matching a field target are accepted.  Each value's shape follows that field's `inputType`: `STRING` fields submit a string, `NUMBER` a number, `BOOLEAN` a boolean, and `ARRAY` an array of the selected option values. Date and time fields are strings. A choice field submits an option's `value`, not its ID or its label.  3 input types submit structured values: `ADDRESS` submits an address object, `PAYMENT` an array holding 1 product object per item bought, and `SCHEDULING` an appointment object.  For the full mapping, see [About Submission Values](https://dev.wix.com/docs/api-reference/crm/forms/form-submissions/about-submission-values.md).
       - name: createdDate  | type: string | description: Date and time the form submission was created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the form submission was updated.
       - name: revision  | type: string | description: Revision number, which increments by 1 each time the form submission is updated. To prevent conflicting changes, the existing revision must be used when updating a form submission.
           - name: value  | type: string | description: 
       - name: submitter  | type: Submitter | description: ID of the visitor that submitted the form.
           - ONE-OF:
               - name: memberId  | type: string | description: Member ID.
               - name: visitorId  | type: string | description: Visitor ID.
               - name: applicationId  | type: string | description: Application ID.
               - name: userId  | type: string | description: User ID.
       - name: seen  | type: boolean | description: Whether a site owner marked a submission as "seen".
       - name: extendedFields  | type: ExtendedFields | description: Data extension object that holds users' and apps' fields.
           - 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: orderDetails  | type: OrderDetails | description: Order details. <br> <b>Note</b>: This object is only applicable when submitting a form in the Wix Payments app.
           - name: orderId  | type: string | description: ID of the order related to submission (only applicable if a form has payments).
           - name: number  | type: string | description: Order number.
           - name: currency  | type: string | description: Currency.
           - name: itemSubtotal  | type: string | description: Item subtotal.
           - name: checkoutId  | type: string | description: ID of the checkout related to submission (only applicable if a form has payments).
       - name: contactId  | type: string | description: Contact ID of a site visitor who created the submission.
       - name: accessRestriction  | type: string | description: Authorized viewer ID.
       - name: tags  | type: PublicTags | description: Tag IDs collections associated with the current entity.
           - name: tags  | type: TagList | description: Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors.
               - name: tagIds  | type: Array<string> | description: List of tag IDs
       - name: appointmentDetails  | type: AppointmentDetails | description: Appointment details. This object is only applicable when submitting a form that creates a booking appointment.
           - name: staffMemberId  | type: string | description: ID of the staff member assigned to the appointment.
           - name: staffMemberName  | type: string | description: Name of the staff member assigned to the appointment.
       - name: childMetaSiteId  | type: string | description: ID of the child site the submission was made on.  Only present when the form was submitted on a site that shares its data with a parent site. In that case submissions from every child site are stored on the parent site, and this field identifies which child site the submission came from.

```