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
| Action | What it does |
|---|---|
| Add label to contact | Put a label on a contact in your site's CRM, such as 'VIP' or 'Newsletter'. |
| Cancel order | Cancel a store order. |
| Create contact | Add a contact to your site's CRM. |
| Create coupon | Make a coupon code for your Wix store that takes a percentage or an amount off every product. |
| Delete contact | Delete a contact from your site's CRM for good. |
| Delete coupon | Delete a coupon from your Wix store for good, so its code stops working. |
| Get contact | Retrieve a single contact from your site's CRM by its id. |
| Get order | Get one store order: its number, total, payment and delivery status, who bought it and what they bought. |
| List coupons | List your Wix store's coupons, with how often each has been used. |
| 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. |
| List recent form submissions | List what people sent through your site's Wix Forms in the last few days, newest first. |
| Mark order as fulfilled | Mark everything still waiting on a store order as shipped or delivered, with a tracking number if you have one. |
| Query contacts | Search your site's contacts, optionally filtering by email address. |
| Query products | List products from your site's Wix Stores catalog. |
| Remove label from contact | Take a label off a contact in your site's CRM, by the label's name. |
| Search orders | List recent eCommerce orders for your site, newest first. |
| Update contact | Change 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 ID
contact_idtextRequired - The contact to label, from Create contact, Query contacts or the New contact trigger.
- Label
labeltextRequired - 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 ID
order_idtextRequired - The order, from Search orders or the New order trigger.
- Email the buyer
notify_buyertrue/false - Send the buyer Wix's order canceled email.Default:
false. - Message
messagetext - Optional note added to the cancellation email, up to 1,000 characters. Needs Email the buyer.
- Put items back in stock
restocktrue/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 name
first_nametext - The contact's first name.
- Last name
last_nametext - The contact's last name.
- Email
emailtext - The contact's email address.
- Phone
phonetext - The contact's phone number, e.g. +14155550123.
- Company
companytext - The contact's company name.
- Job title
job_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
- Name
nametextRequired - The coupon's name in your dashboard, such as 'Spring sale'.
- Code
codetextRequired - The code shoppers type at checkout, up to 20 characters, such as SPRING10.
- Discount type
discount_typetextRequired - Whether the discount is a percentage or an amount of money.One of:
percent(Percentage off),amount(Amount off). - Discount
discountnumberRequired - How much off: a percentage such as 10, or an amount in your store's currency such as 5.At least 0.01.
- Starts
startsdate and time - When the code starts working. Leave blank for now.
- Expires
expiresdate and time - When the code stops working. Leave blank for never.
- Usage limit
usage_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 ID
contact_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 ID
coupon_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 ID
contact_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 ID
order_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
- Limit
limitnumber - 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
- Days
daysnumber - Only bookings made in this many days up to now, from 1 to 90.From 1 to 90. Default:
7. - Limit
limitnumber - 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
- Days
daysnumber - Only forms sent in this many days up to now, from 1 to 90.From 1 to 90. Default:
7. - Limit
limitnumber - 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 ID
order_idtextRequired - The order, from Search orders or the New order trigger.
- Tracking number
tracking_numbertext - Optional tracking number. Give the carrier with it.
- Carrier
shipping_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 link
tracking_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
- Email
emailtext - Only return contacts whose primary email matches this address.
- Limit
limitnumber - 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
- Limit
limitnumber - 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 ID
contact_idtextRequired - The contact to take the label off.
- Label
labeltextRequired - 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
- Limit
limitnumber - 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 ID
contact_idtextRequired - The contact to change, from Create contact, Query contacts or the New contact trigger.
- First name
first_nametext - A new first name for the contact.
- Last name
last_nametext - A new last name for the contact.
- Email
emailtext - A new email address. It becomes the contact's main one; their other addresses are kept.
- Phone
phonetext - A new phone number, e.g. +14155550123. It becomes the contact's main one; their other numbers are kept.
- Company
companytext - A new company name for the contact.
- Job title
job_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"
}