> This page is for Agent Handler.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.merge.dev/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.merge.dev/_mcp/server.

# Wix

**Authentication:** API key. See [Magic Link](/merge-agent-handler/features/magic-link) for the runtime auth flow.

## Sample use cases

* List products in the store with inventory below 10 units.
* Find blog posts published in the last 30 days and rank by views.
* Pull total revenue from store orders for Q1.

## Available Tools

#### list_blog_posts

List published blog posts with pagination. Optionally filter by featured or category.

#### get_blog_post

Get a blog post by ID. Use list_blog_posts to find valid IDs.

#### list_blog_categories

List blog categories with pagination.

#### create_draft_post

Create a draft blog post. Publish separately after review.

#### list_services

List booking services with pagination. Services define what can be booked.

#### get_service

Get a booking service by ID. Use list_services to find valid IDs.

#### list_bookings

List bookings with pagination.

#### get_booking

Get a booking by ID. Use list_bookings to find valid IDs.

#### cancel_booking

Cancel a booking. Requires revision from get_booking.

#### list_contacts

List contacts with pagination. Use offset+limit to page through results.

#### get_contact

Get a contact by ID.

#### create_contact

Create a new contact. At least one of email, phone, or name is required.

#### update_contact

Update a contact. Requires revision from get_contact to prevent conflicts.

#### delete_contact

Delete a contact. Cannot delete contacts who are site members.

#### query_contacts

Query contacts with filters. Supports $eq, $in, \$startsWith operators.

#### query_inventory

Query inventory items with cursor pagination. Optionally filter by product ID.

#### get_inventory

Get an inventory item by ID. Use query_inventory to find IDs.

#### update_inventory

Update inventory item. Requires revision from get_inventory.

#### increment_inventory

Add stock to an inventory item. Item must have quantity tracking enabled.

#### decrement_inventory

Remove stock from an inventory item. Item must have quantity tracking enabled.

#### list_orders

List eCommerce orders with offset pagination. Returns orders sorted by creation date.

#### get_order

Get an order by ID. Use list_orders to find valid order IDs.

#### cancel_order

Cancel an order. Only approved orders can be canceled.

#### create_fulfillment

Create a fulfillment for an order. Specify line items and optional tracking info.

#### list_products

List products with offset pagination. Requires Wix Stores app on site.

#### get_product

Get a product by ID.

#### create_product

Create a new product in the Wix store.

#### update_product

Update a product. Requires revision from get_product.

#### delete_product

Delete a product from the store.

#### search_products

Search products by text with cursor pagination. Use cursor for next page.