Wix (Legacy)

This is documentation of the legacy Wix (legacy) app.

The Wix modules enable you to monitor, create, update, search, and delete the contacts, cart, collections, products, orders, fulfillment, messages, and form submissions in your Wix account.

Getting Started with Wix

Prerequisites

Note

The module dialog fields that are displayed in bold (in the Make scenario, not in this documentation article) are mandatory!

Connecting Wix to Make

To connect your Wix account to Make you need to create an app in the Wix Developers Center to obtain the App ID and App Secret.

  1. Log in to the Wix Developer Center at dev.wix.com using your Wix credentials.

  2. Click the Create Your First App button.

    61d6ba8fadd6e.png
  3. Navigate to Permissions and click + Add Permissions (61d6ba91076d4.png).

  4. Add the following scopes:

    61d6ba9227e0c.gif

    Wix Developers

    Manage Your App

    Wix CRM

    Read Form Submissions, Read Contacts

    Wix Coupons

    Manage Coupons

    Wix Chat

    Manage Chats

    Wix Stores

    Manage Products, Manage Orders

    Payments

    Read Payments

  5. Go to OAuth in the left menu. Here you can find the App ID and App Secret.

    61d6ba957c6d7.gif
  6. Enter https://www.integromat.com/oauth/cb/wix to the Redirect URL field and click Save.

  7. Click the Test Your App button in the top-right corner and then Test App.

    61d6ba984b18f.gif
  8. Switch back to the OAuth settings page and click the Save button again.

    61d6ba9cd0c40.png
  9. Go to Make and open the Wix module's Create a connection dialog.

  10. Enter the App ID and App Secret from step 5 (above) to the respective fields and click the Continue button.

    After you click the Continue button, Make will redirect you to the Wix website where you will be prompted to grant Make access to your account.

  11. Click the Allow and Add button to establish a connection.

    61d6ba9e564a2.png

The connection has been established. You can proceed with setting up the module.

CRM: Contact

Triggers when a contact is created, updated, or deleted.

The webhook URL needs to be generated in Make and then added to Wix's Webhooks settings.

  1. Add the Watch Contacts module to your Make scenario.

  2. Generate and copy the webhook URL.

    61d6ba9fb59a7.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

    wixlegacy1.gif
  5. Select the Wix CRM option from the API Category drop-down menu.

  6. Select the event that will trigger the Watch Contacts module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6baa2477bc.gif

Now, every time the specified event in the site's contact list occurs, the Watch Contacts module in your Make scenario is triggered.

Contacts

Returns all contacts on your site.

Connection

Establish a connection to your Wix account.

Sort by

Select the name of the field to sort returned contacts by.

Order

Select whether to sort results in ascending or descending order.

Limit

Set the maximum number of contacts Make will return during one execution cycle.

Retrieves contact details.

Connection

Establish a connection to your Wix account.

Contact ID

Enter (map) the ID or select the contact you want to retrieve details for.

Stores: Cart

Triggers when a cart is created, completed, or abandoned.

The webhook URL needs to be generated in Make and then added to Wix's Webhooks settings.

  1. Add the Watch Carts module to your Make scenario.

  2. Generate and copy the webhook URL.

    61d6baa6d890b.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

    wixlegacy2.gif
  5. Select the Wix Stores option from the API Category drop-down menu.

  6. Select the events that will trigger the Watch Carts module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6baa92fc5e.gif

Now, every time the specified event in the store's cart occurs, the Watch Carts module in your Make scenario is triggered.

Retrieves cart details.

Connection

Establish a connection to your Wix account.

Contact ID

Enter (map) the ID or select the cart you want to retrieve details for.

Stores: Collection

Triggers when a collection is created, updated, or deleted.

The webhook URL needs to be generated in Make and then added to Wix's Webhook settings.

  1. Add the Watch Collections module to your Make scenario.

  2. Generate and copy the webhook URL.

    61d6baae8b6d7.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

    wixlegacy3.gif
  5. Select the Wix Stores option from the API Category drop-down menu.

  6. Select the events that will trigger the Watch Collections module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6bab0c22bf.gif

Now, every time the specified collection event occurs, the Watch Collections module in your Make scenario is triggered.

Retrieves collections by name or collection ID filter.

Connection

Establish a connection to your Wix account.

Filter

Specify the filter settings to filter returned collections by.

Limit

Set the maximum number of collections Make will return during one execution cycle.

Retrieves collection details.

Connection

Establish a connection to your Wix account.

Collection ID

Enter (map) the ID or select the collection you want to retrieve details for.

Creates a new collection.

Connection

Establish a connection to your Wix account.

Collection Name

Enter the name of the collection you want to create.

Updates a collection name.

Connection

Establish a connection to your Wix account.

Collection ID

Enter (map) or select the collection you want to update.

Collection Name

Enter the new name of the collection.

Deletes an existing collection.

Connection

Establish a connection to your Wix account.

Collection ID

Enter (map) the ID or select the collection you want to delete.

Adds products to a specified collection.

Connection

Establish a connection to your Wix account.

Collection ID

Enter (map) the ID or select the collection where you want to add products to.

Product IDs

Deletes products from a specified collection.

Connection

Establish a connection to your Wix account.

Collection ID

Enter (map) the ID or select the collection where you want to add products to.

Stores: Product

Triggers when a product is created, updated, or deleted.

The webhook URL needs to be generated in Make and then added to Wix's Webhooks settings.

  1. 1. Add the Watch Products module to your Make scenario.

  2. 2. Generate and copy the webhook URL.

    61d6bab55985e.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

    wixlegacy4.gif
  5. Select the Wix Stores option from the API Category drop-down menu.

  6. Select the events that will trigger the Watch Products module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6bab797aa5.gif

Now, every time the specified product event occurs, the Watch Products module in your Make scenario is triggered.

Retrieves products by filter settings.

Connection

Establish a connection to your Wix account.

Filter

Specify the filter settings to filter returned products by.

Limit

Set the maximum number of products Make will return during one execution cycle.

Retrieves product details.

Connection

Establish a connection to your Wix account.

Product ID

Enter (map) the ID or select the product you want to retrieve details for.

Creates a new product.

Connection

Establish a connection to your Wix account.#connecting-wordpress-to-make-968743

Name

Enter the name of the new product.

Price

Enter the product price.

SKU

Enter the Stock Keeping Unit (if variant management is enabled, SKUs will be set per variant, and this field will be empty).

Description

Enter the product description. Accepts rich text.

Weight

Enter the product weight (if variant management is enabled, the weight will be set per variant, and this field will be empty).

Discount

Type

Select whether you want to specify the discount in percentage or as an amount.

Value

Enter the value of the discount.

Manage Variants

Enable this option to manage variants for this product - enables unique SKU, price, and weight per variant. Also affects inventory data.

Product Options

Add the product variants.

Name

Enter the name of the variant, e.g.color,size.

Choices

Specify the choices.

  • Value - Color hex value or choice name

  • Description - Choice name

Add Medias

Enable this option to add images or videos to the product.

Visible

Enable to make the product visible to site visitors.

Updates an existing product.

Connection

Establish a connection to your Wix account.

Product ID

Enter (map) the product ID or select the product you want to update.

Please find the descriptions of the fields in the Create a Product section above.

Deletes a product.

Connection

Establish a connection to your Wix account.

Product ID

Enter (map) the product ID or select the product you want to delete.

Store: Order

Triggers when an order is created.

The webhook URL needs to be generated in Make and then added to Wix's Webhooks settings.

  1. Add the Watch Orders module to your Make scenario.

  2. Generate and copy the webhook URL.

    61d6babb67d1a.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

    wixlegacy5.gif
  5. Select the Wix Stores option from the API Category drop-down menu.

  6. Select the events that will trigger the Watch Products module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6babd9850b.gif

Now, every time the specified order event occurs, the Watch Orders module in your Make scenario is triggered.

Retrieves orders by filter settings.

Connection

Establish a connection to your Wix account.

Filter

Specify the filter settings to filter returned orders by.

Limit

Set the maximum number of orders Make will return during one execution cycle.

Retrieves order details.

Connection

Establish a connection to your Wix account.

Order ID

Enter (map) the ID or select the order you want to retrieve details for.

Stores: Fulfillment

Triggers when a fulfillment is created.

The webhook URL needs to be generated in Make and then added to Wix's Webhooks settings.

  1. Add the Watch Fulfillments module to your Make scenario.

  2. Generate and copy the webhook URL.

    61d6bac0e7b91.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

    wixlegacy6.gif
  5. Select the Wix Stores option from the API Category drop-down menu.

  6. Select the events that will trigger the Watch Fulfillments module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6bac33b477.gif

Now, every time the specified fulfillment events occurs, the Watch Fulfillments module in your Make scenario is triggered.

Form

Triggers when a form is submitted.

The webhook URL needs to be generated in Make and then added to Wix's Webhooks settings.

  1. Add the Watch Form Submissions module to your Make scenario.

  2. Generate and copy the webhook URL.

    61d6bac76c40a.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

    wixlegacy7.gif
  5. Select the Wix CRM option from the API Category drop-down menu.

  6. Select the event that will trigger the Watch Form Submissions module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6bac9e1834.gif

Now, every time the form is submitted on your site, the Watch Form Submissions module in your Make scenario is triggered.

Chat

Sends a text message to a specific chat (channel) on behalf of the site owner.

Connection

Establish a connection to your Wix account.

Channel ID

Enter (map) the ID of the channel you want to send the message to.

Text

Enter the message text content.

Triggers when a chat message is received.

The webhook URL needs to be generated in Make and then added to Wix's Webhooks settings.

  1. Add the Watch Messages module to your Make scenario.

  2. Generate and copy the webhook URL.

    61d6baccca38a.gif
  3. Log in to Wix Developer Center.

  4. Navigate to Webhooks > click +Add Webhook.

  5. Select the Wix CRM option from the API Category drop-down menu.

  6. Select the event that will trigger the Watch Messages module and enter the webhook URL you generated in step 2 above to the Callback URL field.

  7. Click Save and confirm the dialog.

    61d6bacf0fb65.gif

Now, every time the message is received, the Watch Messages module in your Make scenario is triggered.

Other

Allows you to perform a custom API call.

Connection

Establish a connection to your Wix account.

URL

Enter a path relative to https://www.wixapis.com. For example:

/crm/v1/contacts.

Note

For the list of available endpoints, refer to the Wix API Reference.

Method

Select the HTTP method you want to use:

GET

to retrieve information for an entry.

POST

to create a new entry.

PUT

to update/replace an existing entry.

PATCH

to make a partial entry update.

DELETE

to delete an entry.

Headers

Enter the desired request headers. You don't have to add authorization headers; we already did that for you.

Query String

Enter the request query string.

Body

Enter the body content for your API call.

The following API call returns all contacts in your Wix account:

URL:

/crm/v1/contacts/

Method:

GET

61d6bad1b1bd5.png

The result can be found in the module's Output under Bundle > Body > contacts.

In our example, 2 contacts were returned:

61d6bad2e75b7.png