API v2: Changed endpoints
As part of the Webflow Developer Platform updates launched on August 29th, 2023, Webflow released version 2 of the Data API with significant improvements and standardizations. This document provides a comprehensive reference of all endpoint changes between API v1 and v2.
This document is for developers who are migrating from API v1 to v2. For new API v2 implementations, please refer to the API reference.
Token endpoints
- Authorization User Info
Replaces the/userendpoint from v1. Use the/token/authorized_byendpoint instead. - Authorization Info
Replaces the/infoendpoint from v1. Use the/token/introspectendpoint instead.
Sites endpoints
-
List Sites |
GET/sites-
New properties for the response:
-
-
Get Site |
GET/sites/{site_id}-
New properties for the response:
-
-
Publish Site |
POST/sites/{site_id}/publish-
New properties for the request:
-
CMS endpoints
-
List Collections |
GET/sites/{site_id}/collections-
New properties for the response:
-
-
Get Collection |
GET/collections/{collection_id}-
New properties for the response:
-
-
List CMS Items |
GET/collections/{collection_id}/items-
New properties for the response:
-
-
Create CMS Item |
POST/collections/{collection_id}/items-
Deleted query parameters for the request:
-
New properties for the request:
-
New properties for the response:
-
-
Get CMS Item |
GET/collections/{collection_id}/items/{item_id}-
New properties for the response:
-
-
Delete CMS Item |
DELETE/collections/{collection_id}/items/{item_id}-
Deleted query parameter for the request:
-
-
Update CMS Item
PATCH/collections/{collection_id}/items/{item_id}-
Deleted query parameter for the request:
-
New properties for the request:
-
New properties for the response:
-
User accounts endpoints
-
List Users |
GET/sites/{site_id}/users
This endpoint replaces the/sites/{site_id}/accessgroupsendpoint.-
New properties for the response:
-
-
Get User |
GET/sites/{site_id}/users/{user_id}-
New properties for the response:
-
-
Update User |
PATCH/sites/{site_id}/users/{user_id}-
New properties for the request:
-
New properties for the response:
-
-
Invite User |
POST/sites/{site_id}/users/invite-
New properties for the response:
-
-
List Products |
GET/sites/{site_id}/products-
New properties for the response:
-
Ecommerce endpoints
Products
-
Create Product |
POST/sites/{site_id}/products-
New properties for the request:
-
New properties for the response:
-
-
Get Product |
GET/sites/{site_id}/products/{product_id}-
New properties for the response:
-
-
Update Product |
PATCH/sites/{site_id}/products/{product_id}-
New properties for the request:
-
New properties for the response:
-
Orders
-
List Orders |
GET/sites/{site_id}/orders
New properties for the response: -
Get Order |
GET/sites/{site_id}/orders/{order_id}
Replaces the/sites/{site_id}/orders/{order_id}endpoint. -
Update Order |
PATCH/sites/{site_id}/orders/{order_id}
Replaces the/sites/{site_id}/orders/{order_id}endpoint. -
Get Custom Domains |
GET/sites/{site_id}/custom_domains
Replaces the/sites/{site_id}/custom_domainsendpoint. -
Fulfill Order |
POST/sites/{site_id}/orders/{order_id}/fulfill
Replaces the/sites/{site_id}/orders/{order_id}/fulfillendpoint. -
Unfulfill Order |
POST/sites/{site_id}/orders/{order_id}/unfulfill
Replaces the/sites/{site_id}/orders/{order_id}/unfulfillendpoint. -
Refund Order |
POST/sites/{site_id}/orders/{order_id}/refund
Replaces the/sites/{site_id}/orders/{order_id}/refundendpoint.
Inventory
-
Get Inventory |
GET/collections/{collection_id}/items/{item_id}/inventory
Replaces the/collections/{collection_id}/items/{item_id}/inventoryendpoint.New properties for the response:
-
Update Inventory |
PATCH/collections/{collection_id}/items/{item_id}/inventory
Replaces the/collections/{collection_id}/items/{item_id}/inventoryendpoint. -
Update Inventory
PATCH/collections/{collection_id}/items/{item_id}/inventoryNew properties for the request:
New properties for the response:
Ecommerce Settings
-
Get Ecommerce Settings |
GET/sites/{site_id}/ecommerce/settings
Replaces the/sites/{site_id}/ecommerce/settingsendpoint.New properties for the response:
Webhooks
-
Get Webhook |
GET/webhooks/{webhook_id}
Replaces the/webhooks/{webhook_id}endpoint.New properties for the response:
-
List Webhooks |
GET/sites/{site_id}/webhooks
Replaces the/sites/{site_id}/webhooksendpoint.New properties for the response:
-
Create Webhook |
POST/sites/{site_id}/webhooks
Replaces the/sites/{site_id}/webhooksendpoint.-
New properties for the request:
List of
triggerTypevalues for Webhook events:form_submission- Form submission eventssite_publish- Site publish eventspage_created- Page creation eventspage_metadata_updated- Page metadata update eventspage_deleted- Page deletion eventsecomm_new_order- New order eventsecomm_order_changed- Order changed eventsecomm_inventory_changed- Inventory changed eventsuser_account_added- User account added eventsuser_account_updated- User account updated eventsuser_account_deleted- User account deleted events
New trigger types:
collection_item_created- CMS item creation eventscollection_item_changed- CMS item update eventscollection_item_deleted- CMS item deletion eventscollection_item_unpublished- CMS item unpublish events
Changed trigger types:
memberships_user_account_added→user_account_addedmemberships_user_account_updated→user_account_updatedmemberships_user_account_deleted→user_account_deleted
-
New properties for the response:
-
-
Delete Webhook |
DELETE/webhooks/{webhook_id}
Replaces the/webhooks/{webhook_id}endpoint.