Wix
App · Website Builders · 5 actions
Manage your Wix site: add and look up CRM contacts, list your Wix Stores products, and review recent eCommerce orders.
Actions
| Action | What it does |
|---|---|
| Create contact | Add a contact to your site's CRM. |
| Get contact | Retrieve a single contact from your site's CRM by its id. |
| Query contacts | Search your site's contacts, optionally filtering by email address. |
| Query products | List products from your site's Wix Stores catalog. |
| Search orders | List recent eCommerce orders for your site, newest first. |
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"
}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"
}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
}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"
}
]
}