Wix

App · Website Builders · 17 actions

Manage your Wix site: add, update, label and delete CRM contacts, list products, fulfill or cancel orders, make coupons, see recent bookings and form submissions, and start workflows on new contacts and orders.

Actions

ActionWhat it does
Add label to contactPut a label on a contact in your site's CRM, such as 'VIP' or 'Newsletter'.
Cancel orderCancel a store order.
Create contactAdd a contact to your site's CRM.
Create couponMake a coupon code for your Wix store that takes a percentage or an amount off every product.
Delete contactDelete a contact from your site's CRM for good.
Delete couponDelete a coupon from your Wix store for good, so its code stops working.
Get contactRetrieve a single contact from your site's CRM by its id.
Get orderGet one store order: its number, total, payment and delivery status, who bought it and what they bought.
List couponsList your Wix store's coupons, with how often each has been used.
List recent bookingsList the confirmed and pending bookings made on your site in the last few days, newest first, with who booked what and when.
List recent form submissionsList what people sent through your site's Wix Forms in the last few days, newest first.
Mark order as fulfilledMark everything still waiting on a store order as shipped or delivered, with a tracking number if you have one.
Query contactsSearch your site's contacts, optionally filtering by email address.
Query productsList products from your site's Wix Stores catalog.
Remove label from contactTake a label off a contact in your site's CRM, by the label's name.
Search ordersList recent eCommerce orders for your site, newest first.
Update contactChange a contact's name, email, phone, company or job title.

Add label to contact

Put a label on a contact in your site's CRM, such as 'VIP' or 'Newsletter'. A label that doesn't exist yet is created.

Inputs

Contact IDcontact_idtextRequired
The contact to label, from Create contact, Query contacts or the New contact trigger.
LabellabeltextRequired
The label's name as it shows in your Wix contacts, such as VIP.

Outputs

created_datetext
When the contact was created.
first_nametext
First name.
idtext
The contact's id.
label_keytext
Wix's key for the label, such as custom.vip.
label_nametext
The label's name as Wix shows it.
last_nametext
Last name.
primary_emailtext
Primary email address.
primary_phonetext
Primary phone number.
revisionnumber
Revision number, incremented on each update.
updated_datetext
When the contact was last updated.
Example output
{
  "created_date": "2024-01-15T10:30:00.000Z",
  "first_name": "Jordan",
  "id": "f2c1a0d4-1111-2222-3333-444455556666",
  "label_key": "custom.vip",
  "label_name": "VIP",
  "last_name": "Rivera",
  "primary_email": "jordan.rivera@example.com",
  "primary_phone": "+14155550123",
  "revision": 2,
  "updated_date": "2024-01-15T10:30:00.000Z"
}

Cancel order

Cancel a store order. It doesn't refund the buyer; do that in your Wix dashboard. Wix emails the buyer only if you choose to.

Inputs

Order IDorder_idtextRequired
The order, from Search orders or the New order trigger.
Email the buyernotify_buyertrue/false
Send the buyer Wix's order canceled email.Default: false.
Messagemessagetext
Optional note added to the cancellation email, up to 1,000 characters. Needs Email the buyer.
Put items back in stockrestocktrue/false
Return the order's Wix Stores items to your inventory.Default: false.

Outputs

buyer_emailtext
Buyer's email address.
created_datetext
When the order was created.
currencytext
Currency code.
fulfillment_statustext
Fulfillment status.
idtext
Order id.
numbertext
Human-readable order number.
payment_statustext
Payment status.
statustext
Order status.
totaltext
Formatted order total.
Example output
{
  "buyer_email": "jordan.rivera@example.com",
  "created_date": "2024-01-15T10:30:00.000Z",
  "currency": "USD",
  "fulfillment_status": "NOT_FULFILLED",
  "id": "c0ffee00-0000-0000-0000-000000000001",
  "number": "10001",
  "payment_status": "PAID",
  "status": "CANCELED",
  "total": "$42.00"
}

Create contact

Add a contact to your site's CRM. Provide at least one of a name, email, or phone number.

Inputs

First namefirst_nametext
The contact's first name.
Last namelast_nametext
The contact's last name.
Emailemailtext
The contact's email address.
Phonephonetext
The contact's phone number, e.g. +14155550123.
Companycompanytext
The contact's company name.
Job titlejob_titletext
The contact's job title.

Outputs

created_datetext
When the contact was created.
first_nametext
First name.
idtext
The contact's id.
last_nametext
Last name.
primary_emailtext
Primary email address.
primary_phonetext
Primary phone number.
revisionnumber
Revision number, incremented on each update.
updated_datetext
When the contact was last updated.
Example output
{
  "created_date": "2024-01-15T10:30:00.000Z",
  "first_name": "Jordan",
  "id": "f2c1a0d4-1111-2222-3333-444455556666",
  "last_name": "Rivera",
  "primary_email": "jordan.rivera@example.com",
  "primary_phone": "+14155550123",
  "revision": 1,
  "updated_date": "2024-01-15T10:30:00.000Z"
}

Create coupon

Make a coupon code for your Wix store that takes a percentage or an amount off every product.

Inputs

NamenametextRequired
The coupon's name in your dashboard, such as 'Spring sale'.
CodecodetextRequired
The code shoppers type at checkout, up to 20 characters, such as SPRING10.
Discount typediscount_typetextRequired
Whether the discount is a percentage or an amount of money.One of: percent (Percentage off), amount (Amount off).
DiscountdiscountnumberRequired
How much off: a percentage such as 10, or an amount in your store's currency such as 5.At least 0.01.
Startsstartsdate and time
When the code starts working. Leave blank for now.
Expiresexpiresdate and time
When the code stops working. Leave blank for never.
Usage limitusage_limitnumber
Optional most times the code can be used, by anyone.At least 1.

Outputs

activetrue/false
Whether the code works now.
amount_offnumber
The amount off, empty for a percentage coupon.
codetext
The code shoppers type.
expiredtrue/false
Whether it has expired.
idtext
The coupon's id.
nametext
The coupon's name.
percent_offnumber
The percentage off, empty for an amount-off coupon.
times_usednumber
How many times it has been used.
usage_limitnumber
The most times it can be used, empty for no limit.
Example output
{
  "active": true,
  "amount_off": null,
  "code": "SPRING10",
  "expired": false,
  "id": "7b1f3a2e-0000-0000-0000-00000000c0de",
  "name": "Spring sale",
  "percent_off": 10,
  "times_used": 0,
  "usage_limit": 100
}

Delete contact

Delete a contact from your site's CRM for good. Wix won't delete a contact who is a site member or has a subscription.

Inputs

Contact IDcontact_idtextRequired
The contact to delete.

Outputs

deletedtrue/false
True once Wix has deleted it.
idtext
The deleted contact.
Example output
{
  "deleted": true,
  "id": "f2c1a0d4-1111-2222-3333-444455556666"
}

Delete coupon

Delete a coupon from your Wix store for good, so its code stops working.

Inputs

Coupon IDcoupon_idtextRequired
The coupon to delete, from Create coupon or List coupons.

Outputs

deletedtrue/false
True once Wix has deleted it.
idtext
The deleted coupon.
Example output
{
  "deleted": true,
  "id": "7b1f3a2e-0000-0000-0000-00000000c0de"
}

Get contact

Retrieve a single contact from your site's CRM by its id.

Inputs

Contact IDcontact_idtextRequired
The id of the contact to retrieve.

Outputs

created_datetext
When the contact was created.
first_nametext
First name.
idtext
The contact's id.
last_nametext
Last name.
primary_emailtext
Primary email address.
primary_phonetext
Primary phone number.
revisionnumber
Revision number, incremented on each update.
updated_datetext
When the contact was last updated.
Example output
{
  "created_date": "2024-01-15T10:30:00.000Z",
  "first_name": "Jordan",
  "id": "f2c1a0d4-1111-2222-3333-444455556666",
  "last_name": "Rivera",
  "primary_email": "jordan.rivera@example.com",
  "primary_phone": "+14155550123",
  "revision": 1,
  "updated_date": "2024-01-15T10:30:00.000Z"
}

Get order

Get one store order: its number, total, payment and delivery status, who bought it and what they bought.

Inputs

Order IDorder_idtextRequired
The order to get, from Search orders or the New order trigger.

Outputs

buyer_emailtext
Buyer's email address.
buyer_first_nametext
Buyer's first name.
buyer_last_nametext
Buyer's last name.
created_datetext
When the order was created.
currencytext
Currency code.
fulfillment_statustext
Fulfillment status.
idtext
Order id.
line_itemslist
What was bought.
numbertext
Human-readable order number.
payment_statustext
Payment status.
statustext
Order status.
totaltext
Formatted order total.
Example output
{
  "buyer_email": "jordan.rivera@example.com",
  "buyer_first_name": "Jordan",
  "buyer_last_name": "Rivera",
  "created_date": "2024-01-15T10:30:00.000Z",
  "currency": "USD",
  "fulfillment_status": "NOT_FULFILLED",
  "id": "c0ffee00-0000-0000-0000-000000000001",
  "line_items": [
    {
      "name": "Classic T-Shirt",
      "quantity": 2
    }
  ],
  "number": "10001",
  "payment_status": "PAID",
  "status": "APPROVED",
  "total": "$42.00"
}

List coupons

List your Wix store's coupons, with how often each has been used.

Inputs

Limitlimitnumber
The most coupons to return, up to 100.From 1 to 100. Default: 50.

Outputs

countnumber
How many were listed.
couponslist
The store's coupons.
Example output
{
  "count": 1,
  "coupons": [
    {
      "active": true,
      "amount_off": null,
      "code": "SPRING10",
      "expired": false,
      "id": "7b1f3a2e-0000-0000-0000-00000000c0de",
      "name": "Spring sale",
      "percent_off": 10,
      "times_used": 0,
      "usage_limit": 100
    }
  ]
}

List recent bookings

List the confirmed and pending bookings made on your site in the last few days, newest first, with who booked what and when.

Inputs

Daysdaysnumber
Only bookings made in this many days up to now, from 1 to 90.From 1 to 90. Default: 7.
Limitlimitnumber
The most bookings to return, up to 100.From 1 to 100. Default: 50.

Outputs

bookingslist
The bookings, newest first.
countnumber
How many were listed.
Example output
{
  "bookings": [
    {
      "contact_id": "f2c1a0d4-1111-2222-3333-444455556666",
      "created_date": "2026-11-29T10:00:00.000Z",
      "email": "jordan.rivera@example.com",
      "end_date": "2026-12-03T15:45:00.000Z",
      "first_name": "Jordan",
      "id": "b00c1d2e-0000-0000-0000-000000000042",
      "last_name": "Rivera",
      "participants": 1,
      "payment_status": "NOT_PAID",
      "phone": "+14155550123",
      "service": "Haircut",
      "start_date": "2026-12-03T15:00:00.000Z",
      "status": "CONFIRMED",
      "timezone": "America/New_York"
    }
  ],
  "count": 1
}

List recent form submissions

List what people sent through your site's Wix Forms in the last few days, newest first.

Inputs

Daysdaysnumber
Only forms sent in this many days up to now, from 1 to 90.From 1 to 90. Default: 7.
Limitlimitnumber
The most submissions to return, up to 100.From 1 to 100. Default: 50.

Outputs

countnumber
How many were listed.
submissionslist
The submissions, newest first.
Example output
{
  "count": 1,
  "submissions": [
    {
      "contact_id": "f2c1a0d4-1111-2222-3333-444455556666",
      "created_date": "2026-11-29T10:00:00.000Z",
      "fields": {
        "email": "jordan.rivera@example.com",
        "first_name": "Jordan"
      },
      "form_id": "f0f0f0f0-0000-0000-0000-000000000001",
      "id": "5ab0f00d-0000-0000-0000-000000000007",
      "status": "CONFIRMED"
    }
  ]
}

Mark order as fulfilled

Mark everything still waiting on a store order as shipped or delivered, with a tracking number if you have one. Wix may email the buyer a shipping notice, depending on your site's email settings.

Inputs

Order IDorder_idtextRequired
The order, from Search orders or the New order trigger.
Tracking numbertracking_numbertext
Optional tracking number. Give the carrier with it.
Carriershipping_providertext
Who is delivering it: fedex, ups, usps, dhl, canadaPost or hermes get a tracking link made for them, or type another carrier's name. Needed with a tracking number.
Tracking linktracking_linktext
Optional web address where the buyer can track it, for a carrier Wix doesn't make links for.

Outputs

fulfillment_idtext
Wix's id for this fulfillment.
items_fulfillednumber
How many of the order's lines were fulfilled.
order_idtext
The order's id.
tracking_numbertext
The tracking number given, blank when none.
Example output
{
  "fulfillment_id": "a1b2c3d4-0000-0000-0000-000000000009",
  "items_fulfilled": 1,
  "order_id": "c0ffee00-0000-0000-0000-000000000001",
  "tracking_number": "1Z999AA10123456784"
}

Query contacts

Search your site's contacts, optionally filtering by email address.

Inputs

Emailemailtext
Only return contacts whose primary email matches this address.
Limitlimitnumber
Maximum number of contacts to return.From 1 to 1000. Default: 50.

Outputs

contactslist
The matching contacts.
totalnumber
Total number of matching contacts.
Example output
{
  "contacts": [
    {
      "created_date": "2024-01-15T10:30:00.000Z",
      "first_name": "Jordan",
      "id": "f2c1a0d4-1111-2222-3333-444455556666",
      "last_name": "Rivera",
      "primary_email": "jordan.rivera@example.com",
      "primary_phone": "+14155550123",
      "revision": 1,
      "updated_date": "2024-01-15T10:30:00.000Z"
    }
  ],
  "total": 1
}

Query products

List products from your site's Wix Stores catalog.

Inputs

Limitlimitnumber
Maximum number of products to return.From 1 to 100. Default: 100.

Outputs

productslist
The catalog products.
totalnumber
Total number of products in the catalog.
Example output
{
  "products": [
    {
      "currency": "USD",
      "id": "b1a2c3d4-5678-90ab-cdef-1234567890ab",
      "in_stock": true,
      "name": "Classic T-Shirt",
      "price": "$25.00",
      "sku": "TSHIRT-001"
    }
  ],
  "total": 1
}

Remove label from contact

Take a label off a contact in your site's CRM, by the label's name.

Inputs

Contact IDcontact_idtextRequired
The contact to take the label off.
LabellabeltextRequired
The label's name as it shows in your Wix contacts, such as VIP.

Outputs

idtext
The contact's id.
label_keytext
Wix's key for the label.
removedtrue/false
True once the label is off the contact; false when the site had no such label, so there was nothing to remove.
Example output
{
  "id": "f2c1a0d4-1111-2222-3333-444455556666",
  "label_key": "custom.vip",
  "removed": true
}

Search orders

List recent eCommerce orders for your site, newest first.

Inputs

Limitlimitnumber
Maximum number of orders to return.From 1 to 100. Default: 50.

Outputs

orderslist
The site's orders.
Example output
{
  "orders": [
    {
      "buyer_email": "jordan.rivera@example.com",
      "created_date": "2024-01-15T10:30:00.000Z",
      "currency": "USD",
      "fulfillment_status": "NOT_FULFILLED",
      "id": "c0ffee00-0000-0000-0000-000000000001",
      "number": "10001",
      "payment_status": "PAID",
      "status": "APPROVED",
      "total": "$42.00"
    }
  ]
}

Update contact

Change a contact's name, email, phone, company or job title. Fill in only what you want to change; everything left empty stays as it is.

Inputs

Contact IDcontact_idtextRequired
The contact to change, from Create contact, Query contacts or the New contact trigger.
First namefirst_nametext
A new first name for the contact.
Last namelast_nametext
A new last name for the contact.
Emailemailtext
A new email address. It becomes the contact's main one; their other addresses are kept.
Phonephonetext
A new phone number, e.g. +14155550123. It becomes the contact's main one; their other numbers are kept.
Companycompanytext
A new company name for the contact.
Job titlejob_titletext
A new job title for the contact.

Outputs

created_datetext
When the contact was created.
first_nametext
First name.
idtext
The contact's id.
last_nametext
Last name.
primary_emailtext
Primary email address.
primary_phonetext
Primary phone number.
revisionnumber
Revision number, incremented on each update.
updated_datetext
When the contact was last updated.
Example output
{
  "created_date": "2024-01-15T10:30:00.000Z",
  "first_name": "Jordan",
  "id": "f2c1a0d4-1111-2222-3333-444455556666",
  "last_name": "Rivera",
  "primary_email": "jordan.rivera@example.com",
  "primary_phone": "+14155550123",
  "revision": 2,
  "updated_date": "2024-01-15T10:30:00.000Z"
}

On this page