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/user
endpoint from v1. Use the/token/authorized_by
endpoint instead. - Authorization Info
Replaces the/info
endpoint from v1. Use the/token/introspect
endpoint 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}/accessgroups
endpoint.-
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_domains
endpoint. -
Fulfill Order |
POST
/sites/{site_id}/orders/{order_id}/fulfill
Replaces the/sites/{site_id}/orders/{order_id}/fulfill
endpoint. -
Unfulfill Order |
POST
/sites/{site_id}/orders/{order_id}/unfulfill
Replaces the/sites/{site_id}/orders/{order_id}/unfulfill
endpoint. -
Refund Order |
POST
/sites/{site_id}/orders/{order_id}/refund
Replaces the/sites/{site_id}/orders/{order_id}/refund
endpoint.
Inventory
-
Get Inventory |
GET
/collections/{collection_id}/items/{item_id}/inventory
Replaces the/collections/{collection_id}/items/{item_id}/inventory
endpoint.New properties for the response:
-
Update Inventory |
PATCH
/collections/{collection_id}/items/{item_id}/inventory
Replaces the/collections/{collection_id}/items/{item_id}/inventory
endpoint. -
Update Inventory
PATCH
/collections/{collection_id}/items/{item_id}/inventory
New 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/settings
endpoint.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}/webhooks
endpoint.New properties for the response:
-
Create Webhook |
POST
/sites/{site_id}/webhooks
Replaces the/sites/{site_id}/webhooks
endpoint.-
New properties for the request:
List of
triggerType
values 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_added
memberships_user_account_updated
→user_account_updated
memberships_user_account_deleted
→user_account_deleted
-
New properties for the response:
-
-
Delete Webhook |
DELETE
/webhooks/{webhook_id}
Replaces the/webhooks/{webhook_id}
endpoint.