webflow-api 2.4.2 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (457) hide show
  1. package/.mock/definition/__package__.yml +2495 -0
  2. package/.mock/definition/accessGroups.yml +80 -0
  3. package/.mock/definition/api.yml +13 -0
  4. package/.mock/definition/assets.yml +414 -0
  5. package/.mock/definition/collections/fields.yml +187 -0
  6. package/.mock/definition/collections/items.yml +1511 -0
  7. package/.mock/definition/collections.yml +185 -0
  8. package/.mock/definition/ecommerce.yml +42 -0
  9. package/.mock/definition/forms.yml +301 -0
  10. package/.mock/definition/inventory.yml +120 -0
  11. package/.mock/definition/orders.yml +1569 -0
  12. package/.mock/definition/pages/scripts.yml +169 -0
  13. package/.mock/definition/pages.yml +443 -0
  14. package/.mock/definition/products.yml +500 -0
  15. package/.mock/definition/scripts.yml +257 -0
  16. package/.mock/definition/sites/activityLogs.yml +65 -0
  17. package/.mock/definition/sites/scripts.yml +228 -0
  18. package/.mock/definition/sites.yml +299 -0
  19. package/.mock/definition/token.yml +71 -0
  20. package/.mock/definition/users.yml +392 -0
  21. package/.mock/definition/webhooks.yml +189 -0
  22. package/.mock/fern.config.json +4 -0
  23. package/Client.d.ts +2 -0
  24. package/README.md +23 -30
  25. package/api/errors/InternalServerError.d.ts +2 -1
  26. package/api/errors/NotFoundError.d.ts +2 -1
  27. package/api/errors/TooManyRequestsError.d.ts +1 -1
  28. package/api/errors/UnauthorizedError.d.ts +2 -1
  29. package/api/resources/accessGroups/client/Client.d.ts +5 -1
  30. package/api/resources/accessGroups/client/Client.js +27 -15
  31. package/api/resources/assets/client/Client.d.ts +31 -11
  32. package/api/resources/assets/client/Client.js +236 -126
  33. package/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
  34. package/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +5 -5
  35. package/api/resources/collections/client/Client.d.ts +15 -22
  36. package/api/resources/collections/client/Client.js +109 -137
  37. package/api/resources/collections/resources/fields/client/Client.d.ts +34 -2
  38. package/api/resources/collections/resources/fields/client/Client.js +163 -32
  39. package/api/resources/collections/resources/items/client/Client.d.ts +302 -30
  40. package/api/resources/collections/resources/items/client/Client.js +959 -221
  41. package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +61 -0
  42. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +11 -0
  43. package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +11 -0
  44. package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +128 -0
  45. package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +128 -0
  46. package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +5 -0
  47. package/api/resources/collections/resources/items/client/requests/index.d.ts +5 -0
  48. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +5 -0
  49. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +5 -0
  50. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +14 -0
  51. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +5 -0
  52. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.d.ts +14 -0
  53. package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js +5 -0
  54. package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +5 -0
  55. package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +5 -0
  56. package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +8 -0
  57. package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js +5 -0
  58. package/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +5 -0
  59. package/api/resources/collections/resources/items/types/ItemsCreateItemRequest.js +5 -0
  60. package/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.d.ts +8 -0
  61. package/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js +5 -0
  62. package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +9 -0
  63. package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +5 -0
  64. package/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +9 -0
  65. package/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +5 -0
  66. package/api/resources/collections/resources/items/types/index.d.ts +9 -0
  67. package/api/resources/collections/resources/items/types/index.js +9 -0
  68. package/api/resources/ecommerce/client/Client.d.ts +2 -0
  69. package/api/resources/ecommerce/client/Client.js +24 -14
  70. package/api/resources/forms/client/Client.d.ts +17 -5
  71. package/api/resources/forms/client/Client.js +140 -76
  72. package/api/resources/inventory/client/Client.d.ts +8 -1
  73. package/api/resources/inventory/client/Client.js +59 -30
  74. package/api/resources/orders/client/Client.d.ts +7 -2
  75. package/api/resources/orders/client/Client.js +164 -89
  76. package/api/resources/pages/client/Client.d.ts +25 -14
  77. package/api/resources/pages/client/Client.js +169 -100
  78. package/api/resources/pages/client/requests/DomWrite.d.ts +6 -6
  79. package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  80. package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +2 -2
  81. package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  82. package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +3 -4
  83. package/api/resources/pages/resources/scripts/client/Client.d.ts +29 -3
  84. package/api/resources/pages/resources/scripts/client/Client.js +104 -46
  85. package/api/resources/products/client/Client.d.ts +26 -10
  86. package/api/resources/products/client/Client.js +188 -98
  87. package/api/resources/scripts/client/Client.d.ts +31 -3
  88. package/api/resources/scripts/client/Client.js +111 -47
  89. package/api/resources/sites/client/Client.d.ts +16 -4
  90. package/api/resources/sites/client/Client.js +101 -59
  91. package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -1
  92. package/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -0
  93. package/api/resources/sites/resources/activityLogs/client/Client.js +17 -13
  94. package/api/resources/sites/resources/scripts/client/Client.d.ts +26 -4
  95. package/api/resources/sites/resources/scripts/client/Client.js +125 -61
  96. package/api/resources/token/client/Client.d.ts +7 -2
  97. package/api/resources/token/client/Client.js +23 -24
  98. package/api/resources/users/client/Client.d.ts +21 -6
  99. package/api/resources/users/client/Client.js +149 -78
  100. package/api/resources/webhooks/client/Client.d.ts +15 -2
  101. package/api/resources/webhooks/client/Client.js +114 -59
  102. package/api/types/AssetFolder.d.ts +1 -1
  103. package/api/types/AuthorizationAuthorization.d.ts +1 -1
  104. package/api/types/AuthorizedUser.d.ts +1 -1
  105. package/api/types/BulkCollectionItemFieldData.d.ts +1 -1
  106. package/api/types/CollectionItem.d.ts +1 -1
  107. package/api/types/CollectionItemFieldData.d.ts +1 -1
  108. package/api/types/CollectionItemListNoPagination.d.ts +11 -0
  109. package/api/types/CollectionItemListNoPagination.js +5 -0
  110. package/api/types/CollectionItemWithIdInput.d.ts +24 -0
  111. package/api/types/CollectionItemWithIdInput.js +5 -0
  112. package/api/types/CollectionItemWithIdInputFieldData.d.ts +11 -0
  113. package/api/types/CollectionItemWithIdInputFieldData.js +5 -0
  114. package/api/types/ConflictErrorBody.d.ts +1 -10
  115. package/api/types/CustomCodeBlock.d.ts +2 -2
  116. package/api/types/DuplicateUserEmail.d.ts +1 -11
  117. package/api/types/ErrorCode.d.ts +38 -0
  118. package/api/types/ErrorCode.js +37 -0
  119. package/api/types/Error_.d.ts +1 -1
  120. package/api/types/ForbiddenErrorBody.d.ts +2 -7
  121. package/api/types/Form.d.ts +8 -8
  122. package/api/types/FormSubmission.d.ts +3 -3
  123. package/api/types/InvalidScopes.d.ts +4 -0
  124. package/api/types/InvalidScopes.js +5 -0
  125. package/api/types/NotEnterprisePlanSite.d.ts +1 -11
  126. package/api/types/Order.d.ts +5 -1
  127. package/api/types/Page.d.ts +2 -0
  128. package/api/types/Site.d.ts +4 -0
  129. package/api/types/SiteActivityLogItem.d.ts +1 -1
  130. package/api/types/SiteActivityLogItemEvent.d.ts +48 -0
  131. package/api/types/SiteActivityLogItemEvent.js +50 -0
  132. package/api/types/SiteActivityLogItemResourceOperation.d.ts +5 -1
  133. package/api/types/SiteActivityLogItemResourceOperation.js +4 -0
  134. package/api/types/SiteDataCollectionType.d.ts +12 -0
  135. package/api/types/SiteDataCollectionType.js +11 -0
  136. package/api/types/UserLimitReached.d.ts +1 -11
  137. package/api/types/UsersNotEnabled.d.ts +1 -11
  138. package/api/types/index.d.ts +10 -6
  139. package/api/types/index.js +10 -6
  140. package/core/fetcher/Fetcher.d.ts +1 -1
  141. package/core/fetcher/getResponseBody.js +3 -0
  142. package/core/fetcher/requestWithRetries.js +13 -4
  143. package/core/schemas/builders/object/object.js +28 -0
  144. package/core/schemas/builders/object/types.d.ts +5 -0
  145. package/dist/Client.d.ts +2 -0
  146. package/dist/api/errors/InternalServerError.d.ts +2 -1
  147. package/dist/api/errors/NotFoundError.d.ts +2 -1
  148. package/dist/api/errors/TooManyRequestsError.d.ts +1 -1
  149. package/dist/api/errors/UnauthorizedError.d.ts +2 -1
  150. package/dist/api/resources/accessGroups/client/Client.d.ts +5 -1
  151. package/dist/api/resources/accessGroups/client/Client.js +27 -15
  152. package/dist/api/resources/assets/client/Client.d.ts +31 -11
  153. package/dist/api/resources/assets/client/Client.js +236 -126
  154. package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
  155. package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +5 -5
  156. package/dist/api/resources/collections/client/Client.d.ts +15 -22
  157. package/dist/api/resources/collections/client/Client.js +109 -137
  158. package/dist/api/resources/collections/resources/fields/client/Client.d.ts +34 -2
  159. package/dist/api/resources/collections/resources/fields/client/Client.js +163 -32
  160. package/dist/api/resources/collections/resources/items/client/Client.d.ts +302 -30
  161. package/dist/api/resources/collections/resources/items/client/Client.js +959 -221
  162. package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +61 -0
  163. package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +5 -0
  164. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +11 -0
  165. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +5 -0
  166. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +11 -0
  167. package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +5 -0
  168. package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +128 -0
  169. package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js +5 -0
  170. package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +128 -0
  171. package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +5 -0
  172. package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +5 -0
  173. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +5 -0
  174. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +5 -0
  175. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +14 -0
  176. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +5 -0
  177. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.d.ts +14 -0
  178. package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js +5 -0
  179. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +5 -0
  180. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +5 -0
  181. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +8 -0
  182. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js +5 -0
  183. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +5 -0
  184. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequest.js +5 -0
  185. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.d.ts +8 -0
  186. package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js +5 -0
  187. package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +9 -0
  188. package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +5 -0
  189. package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +9 -0
  190. package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +5 -0
  191. package/dist/api/resources/collections/resources/items/types/index.d.ts +9 -0
  192. package/dist/api/resources/collections/resources/items/types/index.js +9 -0
  193. package/dist/api/resources/ecommerce/client/Client.d.ts +2 -0
  194. package/dist/api/resources/ecommerce/client/Client.js +24 -14
  195. package/dist/api/resources/forms/client/Client.d.ts +17 -5
  196. package/dist/api/resources/forms/client/Client.js +140 -76
  197. package/dist/api/resources/inventory/client/Client.d.ts +8 -1
  198. package/dist/api/resources/inventory/client/Client.js +59 -30
  199. package/dist/api/resources/orders/client/Client.d.ts +7 -2
  200. package/dist/api/resources/orders/client/Client.js +164 -89
  201. package/dist/api/resources/pages/client/Client.d.ts +25 -14
  202. package/dist/api/resources/pages/client/Client.js +169 -100
  203. package/dist/api/resources/pages/client/requests/DomWrite.d.ts +6 -6
  204. package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
  205. package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +2 -2
  206. package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
  207. package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +3 -4
  208. package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +29 -3
  209. package/dist/api/resources/pages/resources/scripts/client/Client.js +104 -46
  210. package/dist/api/resources/products/client/Client.d.ts +26 -10
  211. package/dist/api/resources/products/client/Client.js +188 -98
  212. package/dist/api/resources/scripts/client/Client.d.ts +31 -3
  213. package/dist/api/resources/scripts/client/Client.js +111 -47
  214. package/dist/api/resources/sites/client/Client.d.ts +16 -4
  215. package/dist/api/resources/sites/client/Client.js +101 -59
  216. package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -1
  217. package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +2 -0
  218. package/dist/api/resources/sites/resources/activityLogs/client/Client.js +17 -13
  219. package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +26 -4
  220. package/dist/api/resources/sites/resources/scripts/client/Client.js +125 -61
  221. package/dist/api/resources/token/client/Client.d.ts +7 -2
  222. package/dist/api/resources/token/client/Client.js +23 -24
  223. package/dist/api/resources/users/client/Client.d.ts +21 -6
  224. package/dist/api/resources/users/client/Client.js +149 -78
  225. package/dist/api/resources/webhooks/client/Client.d.ts +15 -2
  226. package/dist/api/resources/webhooks/client/Client.js +114 -59
  227. package/dist/api/types/AssetFolder.d.ts +1 -1
  228. package/dist/api/types/AuthorizationAuthorization.d.ts +1 -1
  229. package/dist/api/types/AuthorizedUser.d.ts +1 -1
  230. package/dist/api/types/BulkCollectionItemFieldData.d.ts +1 -1
  231. package/dist/api/types/CollectionItem.d.ts +1 -1
  232. package/dist/api/types/CollectionItemFieldData.d.ts +1 -1
  233. package/dist/api/types/CollectionItemListNoPagination.d.ts +11 -0
  234. package/dist/api/types/CollectionItemListNoPagination.js +5 -0
  235. package/dist/api/types/CollectionItemWithIdInput.d.ts +24 -0
  236. package/dist/api/types/CollectionItemWithIdInput.js +5 -0
  237. package/dist/api/types/CollectionItemWithIdInputFieldData.d.ts +11 -0
  238. package/dist/api/types/CollectionItemWithIdInputFieldData.js +5 -0
  239. package/dist/api/types/ConflictErrorBody.d.ts +1 -10
  240. package/dist/api/types/CustomCodeBlock.d.ts +2 -2
  241. package/dist/api/types/DuplicateUserEmail.d.ts +1 -11
  242. package/dist/api/types/ErrorCode.d.ts +38 -0
  243. package/dist/api/types/ErrorCode.js +37 -0
  244. package/dist/api/types/Error_.d.ts +1 -1
  245. package/dist/api/types/ForbiddenErrorBody.d.ts +2 -7
  246. package/dist/api/types/Form.d.ts +8 -8
  247. package/dist/api/types/FormSubmission.d.ts +3 -3
  248. package/dist/api/types/InvalidScopes.d.ts +4 -0
  249. package/dist/api/types/InvalidScopes.js +5 -0
  250. package/dist/api/types/NotEnterprisePlanSite.d.ts +1 -11
  251. package/dist/api/types/Order.d.ts +5 -1
  252. package/dist/api/types/Page.d.ts +2 -0
  253. package/dist/api/types/Site.d.ts +4 -0
  254. package/dist/api/types/SiteActivityLogItem.d.ts +1 -1
  255. package/dist/api/types/SiteActivityLogItemEvent.d.ts +48 -0
  256. package/dist/api/types/SiteActivityLogItemEvent.js +50 -0
  257. package/dist/api/types/SiteActivityLogItemResourceOperation.d.ts +5 -1
  258. package/dist/api/types/SiteActivityLogItemResourceOperation.js +4 -0
  259. package/dist/api/types/SiteDataCollectionType.d.ts +12 -0
  260. package/dist/api/types/SiteDataCollectionType.js +11 -0
  261. package/dist/api/types/UserLimitReached.d.ts +1 -11
  262. package/dist/api/types/UsersNotEnabled.d.ts +1 -11
  263. package/dist/api/types/index.d.ts +10 -6
  264. package/dist/api/types/index.js +10 -6
  265. package/dist/core/fetcher/Fetcher.d.ts +1 -1
  266. package/dist/core/fetcher/getResponseBody.js +3 -0
  267. package/dist/core/fetcher/requestWithRetries.js +13 -4
  268. package/dist/core/schemas/builders/object/object.js +28 -0
  269. package/dist/core/schemas/builders/object/types.d.ts +5 -0
  270. package/dist/errors/WebflowTimeoutError.d.ts +1 -1
  271. package/dist/errors/WebflowTimeoutError.js +2 -2
  272. package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -1
  273. package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +2 -1
  274. package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +16 -0
  275. package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +37 -0
  276. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +13 -0
  277. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +34 -0
  278. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +13 -0
  279. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +34 -0
  280. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +13 -0
  281. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js +34 -0
  282. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +13 -0
  283. package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +34 -0
  284. package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +5 -0
  285. package/dist/serialization/resources/collections/resources/items/client/requests/index.js +11 -1
  286. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +12 -0
  287. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +36 -0
  288. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +14 -0
  289. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +36 -0
  290. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.d.ts +14 -0
  291. package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js +36 -0
  292. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +12 -0
  293. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +33 -0
  294. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +13 -0
  295. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js +34 -0
  296. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +12 -0
  297. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +33 -0
  298. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestItems.d.ts +13 -0
  299. package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js +34 -0
  300. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +13 -0
  301. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +34 -0
  302. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +13 -0
  303. package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +34 -0
  304. package/dist/serialization/resources/collections/resources/items/types/index.d.ts +9 -0
  305. package/dist/serialization/resources/collections/resources/items/types/index.js +9 -0
  306. package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +1 -1
  307. package/dist/serialization/types/BulkCollectionItemFieldData.js +4 -2
  308. package/dist/serialization/types/CollectionItem.d.ts +1 -1
  309. package/dist/serialization/types/CollectionItem.js +1 -1
  310. package/dist/serialization/types/CollectionItemFieldData.js +4 -2
  311. package/dist/serialization/types/CollectionItemListNoPagination.d.ts +13 -0
  312. package/dist/serialization/types/{TooManyRequestsErrorBody.js → CollectionItemListNoPagination.js} +4 -6
  313. package/dist/serialization/types/CollectionItemWithIdInput.d.ts +20 -0
  314. package/dist/serialization/types/CollectionItemWithIdInput.js +41 -0
  315. package/dist/serialization/types/CollectionItemWithIdInputFieldData.d.ts +14 -0
  316. package/dist/serialization/types/{MissingScopes.js → CollectionItemWithIdInputFieldData.js} +7 -8
  317. package/dist/serialization/types/ConflictErrorBody.d.ts +4 -8
  318. package/dist/serialization/types/ConflictErrorBody.js +3 -7
  319. package/dist/serialization/types/DuplicateUserEmail.d.ts +2 -8
  320. package/dist/serialization/types/DuplicateUserEmail.js +1 -7
  321. package/dist/serialization/types/ErrorCode.d.ts +10 -0
  322. package/dist/serialization/types/ErrorCode.js +61 -0
  323. package/dist/serialization/types/Error_.d.ts +2 -1
  324. package/dist/serialization/types/Error_.js +2 -1
  325. package/dist/serialization/types/ForbiddenErrorBody.d.ts +4 -8
  326. package/dist/serialization/types/ForbiddenErrorBody.js +3 -7
  327. package/dist/serialization/types/Form.d.ts +1 -1
  328. package/dist/serialization/types/Form.js +1 -1
  329. package/dist/serialization/types/InvalidScopes.d.ts +10 -0
  330. package/{serialization/types/MissingScopes.js → dist/serialization/types/InvalidScopes.js} +2 -8
  331. package/dist/serialization/types/NotEnterprisePlanSite.d.ts +2 -8
  332. package/dist/serialization/types/NotEnterprisePlanSite.js +1 -7
  333. package/dist/serialization/types/Page.d.ts +1 -0
  334. package/dist/serialization/types/Page.js +1 -0
  335. package/dist/serialization/types/Site.d.ts +3 -0
  336. package/dist/serialization/types/Site.js +3 -0
  337. package/dist/serialization/types/SiteActivityLogItem.d.ts +2 -1
  338. package/dist/serialization/types/SiteActivityLogItem.js +2 -1
  339. package/dist/serialization/types/SiteActivityLogItemEvent.d.ts +10 -0
  340. package/dist/serialization/types/SiteActivityLogItemEvent.js +74 -0
  341. package/dist/serialization/types/SiteActivityLogItemResourceOperation.d.ts +1 -1
  342. package/dist/serialization/types/SiteActivityLogItemResourceOperation.js +11 -1
  343. package/dist/serialization/types/SiteDataCollectionType.d.ts +10 -0
  344. package/dist/serialization/types/SiteDataCollectionType.js +31 -0
  345. package/dist/serialization/types/UserLimitReached.d.ts +2 -8
  346. package/dist/serialization/types/UserLimitReached.js +1 -7
  347. package/dist/serialization/types/UsersNotEnabled.d.ts +2 -8
  348. package/dist/serialization/types/UsersNotEnabled.js +1 -7
  349. package/dist/serialization/types/index.d.ts +10 -5
  350. package/dist/serialization/types/index.js +10 -5
  351. package/dist/version.d.ts +1 -1
  352. package/dist/version.js +1 -1
  353. package/dist/wrapper/ItemsClient.d.ts +23 -49
  354. package/dist/wrapper/ItemsClient.js +50 -216
  355. package/dist/wrapper/WebflowClient.d.ts +1 -1
  356. package/dist/wrapper/WebflowClient.js +4 -3
  357. package/errors/WebflowTimeoutError.d.ts +1 -1
  358. package/errors/WebflowTimeoutError.js +2 -2
  359. package/package.json +1 -2
  360. package/reference.md +821 -230
  361. package/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -1
  362. package/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +2 -1
  363. package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +16 -0
  364. package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +37 -0
  365. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +13 -0
  366. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +34 -0
  367. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +13 -0
  368. package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +34 -0
  369. package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +13 -0
  370. package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js +34 -0
  371. package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +13 -0
  372. package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +34 -0
  373. package/serialization/resources/collections/resources/items/client/requests/index.d.ts +5 -0
  374. package/serialization/resources/collections/resources/items/client/requests/index.js +11 -1
  375. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +12 -0
  376. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +36 -0
  377. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +14 -0
  378. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +36 -0
  379. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.d.ts +14 -0
  380. package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js +36 -0
  381. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +12 -0
  382. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +33 -0
  383. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +13 -0
  384. package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js +34 -0
  385. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +12 -0
  386. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +33 -0
  387. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestItems.d.ts +13 -0
  388. package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js +34 -0
  389. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +13 -0
  390. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +34 -0
  391. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +13 -0
  392. package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +34 -0
  393. package/serialization/resources/collections/resources/items/types/index.d.ts +9 -0
  394. package/serialization/resources/collections/resources/items/types/index.js +9 -0
  395. package/serialization/resources/pages/client/requests/DomWrite.d.ts +1 -1
  396. package/serialization/types/BulkCollectionItemFieldData.js +4 -2
  397. package/serialization/types/CollectionItem.d.ts +1 -1
  398. package/serialization/types/CollectionItem.js +1 -1
  399. package/serialization/types/CollectionItemFieldData.js +4 -2
  400. package/serialization/types/CollectionItemListNoPagination.d.ts +13 -0
  401. package/serialization/types/{TooManyRequestsErrorBody.js → CollectionItemListNoPagination.js} +4 -6
  402. package/serialization/types/CollectionItemWithIdInput.d.ts +20 -0
  403. package/serialization/types/CollectionItemWithIdInput.js +41 -0
  404. package/serialization/types/CollectionItemWithIdInputFieldData.d.ts +14 -0
  405. package/serialization/types/CollectionItemWithIdInputFieldData.js +36 -0
  406. package/serialization/types/ConflictErrorBody.d.ts +4 -8
  407. package/serialization/types/ConflictErrorBody.js +3 -7
  408. package/serialization/types/DuplicateUserEmail.d.ts +2 -8
  409. package/serialization/types/DuplicateUserEmail.js +1 -7
  410. package/serialization/types/ErrorCode.d.ts +10 -0
  411. package/serialization/types/ErrorCode.js +61 -0
  412. package/serialization/types/Error_.d.ts +2 -1
  413. package/serialization/types/Error_.js +2 -1
  414. package/serialization/types/ForbiddenErrorBody.d.ts +4 -8
  415. package/serialization/types/ForbiddenErrorBody.js +3 -7
  416. package/serialization/types/Form.d.ts +1 -1
  417. package/serialization/types/Form.js +1 -1
  418. package/serialization/types/InvalidScopes.d.ts +10 -0
  419. package/serialization/types/InvalidScopes.js +31 -0
  420. package/serialization/types/NotEnterprisePlanSite.d.ts +2 -8
  421. package/serialization/types/NotEnterprisePlanSite.js +1 -7
  422. package/serialization/types/Page.d.ts +1 -0
  423. package/serialization/types/Page.js +1 -0
  424. package/serialization/types/Site.d.ts +3 -0
  425. package/serialization/types/Site.js +3 -0
  426. package/serialization/types/SiteActivityLogItem.d.ts +2 -1
  427. package/serialization/types/SiteActivityLogItem.js +2 -1
  428. package/serialization/types/SiteActivityLogItemEvent.d.ts +10 -0
  429. package/serialization/types/SiteActivityLogItemEvent.js +74 -0
  430. package/serialization/types/SiteActivityLogItemResourceOperation.d.ts +1 -1
  431. package/serialization/types/SiteActivityLogItemResourceOperation.js +11 -1
  432. package/serialization/types/SiteDataCollectionType.d.ts +10 -0
  433. package/serialization/types/SiteDataCollectionType.js +31 -0
  434. package/serialization/types/UserLimitReached.d.ts +2 -8
  435. package/serialization/types/UserLimitReached.js +1 -7
  436. package/serialization/types/UsersNotEnabled.d.ts +2 -8
  437. package/serialization/types/UsersNotEnabled.js +1 -7
  438. package/serialization/types/index.d.ts +10 -5
  439. package/serialization/types/index.js +10 -5
  440. package/version.d.ts +1 -1
  441. package/version.js +1 -1
  442. package/wrapper/ItemsClient.d.ts +23 -49
  443. package/wrapper/ItemsClient.js +50 -216
  444. package/wrapper/WebflowClient.d.ts +1 -1
  445. package/wrapper/WebflowClient.js +4 -3
  446. package/api/types/MissingScopes.d.ts +0 -14
  447. package/api/types/TooManyRequestsErrorBody.d.ts +0 -9
  448. package/dist/api/types/MissingScopes.d.ts +0 -14
  449. package/dist/api/types/TooManyRequestsErrorBody.d.ts +0 -9
  450. package/dist/serialization/types/MissingScopes.d.ts +0 -16
  451. package/dist/serialization/types/TooManyRequestsErrorBody.d.ts +0 -15
  452. package/serialization/types/MissingScopes.d.ts +0 -16
  453. package/serialization/types/TooManyRequestsErrorBody.d.ts +0 -15
  454. /package/api/{types/MissingScopes.js → resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js} +0 -0
  455. /package/api/{types/TooManyRequestsErrorBody.js → resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js} +0 -0
  456. /package/{dist/api/types/MissingScopes.js → api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js} +0 -0
  457. /package/{dist/api/types/TooManyRequestsErrorBody.js → api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js} +0 -0
@@ -0,0 +1,2495 @@
1
+ errors:
2
+ UnauthorizedError:
3
+ status-code: 401
4
+ type: Error
5
+ docs: >-
6
+ Provided access token is invalid or does not have access to requested
7
+ resource
8
+ examples:
9
+ - value:
10
+ code: not_authorized
11
+ message: Request not authorized
12
+ ForbiddenError:
13
+ status-code: 403
14
+ type: unknown
15
+ docs: Provided access token is valid, but is missing the required scopes.
16
+ examples:
17
+ - value:
18
+ code: missing_scopes
19
+ message: >-
20
+ OAuthForbidden: You are missing the following scopes -
21
+ components:write
22
+ - value:
23
+ code: forbidden
24
+ message: User is not authorized to perform this action
25
+ - value:
26
+ key: value
27
+ NotFoundError:
28
+ status-code: 404
29
+ type: Error
30
+ docs: Requested resource not found
31
+ examples:
32
+ - value:
33
+ code: resource_not_found
34
+ message: 'Requested resource not found: The site cannot be found'
35
+ TooManyRequestsError:
36
+ status-code: 429
37
+ type: Error
38
+ docs: >-
39
+ The rate limit of the provided access_token has been reached. Please have
40
+ your application respect the X-RateLimit-Remaining header we include on
41
+ API responses.
42
+ examples:
43
+ - value:
44
+ code: too_many_requests
45
+ message: Too many requests
46
+ BadRequestError:
47
+ status-code: 400
48
+ type: unknown
49
+ docs: Request body was incorrectly formatted.
50
+ examples:
51
+ - value:
52
+ code: bad_request
53
+ message: 'Bad Request: Request is malformed'
54
+ - value:
55
+ key: value
56
+ - value:
57
+ code: validation_error
58
+ message: 'Validation Error: Provided ID is invalid'
59
+ InternalServerError:
60
+ status-code: 500
61
+ type: Error
62
+ docs: We had a problem with our server. Try again later.
63
+ examples:
64
+ - value:
65
+ code: internal_error
66
+ message: An Internal Error occurred
67
+ ConflictError:
68
+ status-code: 409
69
+ type: unknown
70
+ docs: Site is published to multiple domains at different times
71
+ examples:
72
+ - value:
73
+ message: '''Site is published to multiple domains at different times'
74
+ - value:
75
+ code: forms_require_republish
76
+ message: To access this feature, the site needs to be republished.
77
+ - value:
78
+ key: value
79
+ - value:
80
+ code: ecommerce_not_enabled
81
+ message: Ecommerce is not yet initialized
82
+ types:
83
+ BadRequestErrorBody:
84
+ discriminated: false
85
+ union:
86
+ - InvalidDomain
87
+ - NoDomains
88
+ source:
89
+ openapi: ../../../referenced-specs/v2.yml
90
+ ForbiddenErrorBody:
91
+ discriminated: false
92
+ union:
93
+ - InvalidScopes
94
+ - UsersNotEnabled
95
+ source:
96
+ openapi: ../../../referenced-specs/v2.yml
97
+ ConflictErrorBody:
98
+ discriminated: false
99
+ union:
100
+ - DuplicateUserEmail
101
+ - UserLimitReached
102
+ source:
103
+ openapi: ../../../referenced-specs/v2.yml
104
+ AuthorizedUser:
105
+ properties:
106
+ id:
107
+ type: optional<string>
108
+ docs: The unique ID of the user
109
+ email:
110
+ type: optional<string>
111
+ docs: The user's email address
112
+ validation:
113
+ format: email
114
+ firstName:
115
+ type: optional<string>
116
+ docs: The user's first name
117
+ lastName:
118
+ type: optional<string>
119
+ docs: The user's last name
120
+ source:
121
+ openapi: ../../../referenced-specs/v2.yml
122
+ ErrorCode:
123
+ enum:
124
+ - bad_request
125
+ - collection_not_found
126
+ - conflict
127
+ - duplicate_collection
128
+ - duplicate_user_email
129
+ - ecommerce_not_enabled
130
+ - forbidden
131
+ - forms_require_republish
132
+ - incompatible_webhook_filter
133
+ - internal_error
134
+ - invalid_auth_version
135
+ - invalid_credentials
136
+ - invalid_domain
137
+ - invalid_user_email
138
+ - item_not_found
139
+ - missing_scopes
140
+ - no_domains
141
+ - not_authorized
142
+ - not_enterprise_plan_site
143
+ - not_enterprise_plan_workspace
144
+ - order_not_found
145
+ - resource_not_found
146
+ - too_many_requests
147
+ - unsupported_version
148
+ - unsupported_webhook_trigger_type
149
+ - user_limit_reached
150
+ - user_not_found
151
+ - users_not_enabled
152
+ - validation_error
153
+ docs: Error code
154
+ source:
155
+ openapi: ../../../referenced-specs/v2.yml
156
+ ErrorDetailsItem:
157
+ discriminated: false
158
+ union:
159
+ - string
160
+ - map<string, unknown>
161
+ source:
162
+ openapi: ../../../referenced-specs/v2.yml
163
+ inline: true
164
+ Error:
165
+ properties:
166
+ code:
167
+ type: optional<ErrorCode>
168
+ docs: Error code
169
+ message:
170
+ type: optional<string>
171
+ docs: Error message
172
+ externalReference:
173
+ type: optional<string>
174
+ docs: Link to more information
175
+ details:
176
+ type: optional<list<ErrorDetailsItem>>
177
+ docs: Array of errors
178
+ source:
179
+ openapi: ../../../referenced-specs/v2.yml
180
+ Application: unknown
181
+ AuthorizationAuthorizationAuthorizedTo:
182
+ properties:
183
+ siteIds:
184
+ type: optional<list<unknown>>
185
+ docs: Array of Sites this app is authorized to
186
+ workspaceIds:
187
+ type: optional<list<unknown>>
188
+ docs: Array of Workspaces this app is authorized to
189
+ userIds:
190
+ type: optional<list<unknown>>
191
+ docs: Array of Users this app is authorized to
192
+ source:
193
+ openapi: ../../../referenced-specs/v2.yml
194
+ inline: true
195
+ AuthorizationAuthorization:
196
+ docs: The Authorization object
197
+ properties:
198
+ id:
199
+ type: optional<string>
200
+ docs: The unique ID of the Authorization instance
201
+ createdOn:
202
+ type: optional<datetime>
203
+ docs: The date the Authorization was created
204
+ lastUsed:
205
+ type: optional<datetime>
206
+ docs: The date the Authorization was last used
207
+ grantType:
208
+ type: optional<string>
209
+ docs: The grant type of the Authorization
210
+ rateLimit:
211
+ type: optional<integer>
212
+ docs: The default rate limit for the Authorization (requests/min)
213
+ scope:
214
+ type: optional<string>
215
+ docs: Comma separted list of OAuth scopes corresponding to the Authorization
216
+ authorizedTo: optional<AuthorizationAuthorizationAuthorizedTo>
217
+ source:
218
+ openapi: ../../../referenced-specs/v2.yml
219
+ inline: true
220
+ Authorization:
221
+ properties:
222
+ authorization:
223
+ type: optional<AuthorizationAuthorization>
224
+ docs: The Authorization object
225
+ application: optional<Application>
226
+ source:
227
+ openapi: ../../../referenced-specs/v2.yml
228
+ Domain:
229
+ properties:
230
+ id:
231
+ type: string
232
+ docs: Unique identifier for the Domain
233
+ url:
234
+ type: optional<string>
235
+ docs: The registered Domain name
236
+ source:
237
+ openapi: ../../../referenced-specs/v2.yml
238
+ Locale:
239
+ properties:
240
+ id:
241
+ type: optional<string>
242
+ docs: The unique identifier for the locale.
243
+ cmsLocaleId:
244
+ type: optional<string>
245
+ docs: A CMS-specific identifier for the locale.
246
+ enabled:
247
+ type: optional<boolean>
248
+ docs: Indicates if the locale is enabled.
249
+ displayName:
250
+ type: optional<string>
251
+ docs: The display name of the locale, typically in English.
252
+ displayImageId:
253
+ type: optional<string>
254
+ docs: An optional ID for an image associated with the locale, nullable.
255
+ redirect:
256
+ type: optional<boolean>
257
+ docs: Determines if requests should redirect to the locale's subdirectory.
258
+ subdirectory:
259
+ type: optional<string>
260
+ docs: The subdirectory path for the locale, used in URLs.
261
+ tag:
262
+ type: optional<string>
263
+ docs: >-
264
+ A tag or code representing the locale, often following a standard
265
+ format like 'en-US'.
266
+ source:
267
+ openapi: ../../../referenced-specs/v2.yml
268
+ Locales:
269
+ properties:
270
+ primary:
271
+ type: optional<Locale>
272
+ docs: The primary locale for the site or application.
273
+ secondary:
274
+ type: optional<list<Locale>>
275
+ docs: A list of secondary locales available for the site or application.
276
+ source:
277
+ openapi: ../../../referenced-specs/v2.yml
278
+ SiteDataCollectionType:
279
+ enum:
280
+ - always
281
+ - optOut
282
+ - disabled
283
+ docs: The type of data collection enabled for the site.
284
+ source:
285
+ openapi: ../../../referenced-specs/v2.yml
286
+ Site:
287
+ properties:
288
+ id:
289
+ type: string
290
+ docs: Unique identifier for the Site
291
+ workspaceId:
292
+ type: optional<string>
293
+ docs: Unique identifier for the Workspace
294
+ createdOn:
295
+ type: optional<datetime>
296
+ docs: Date the Site was created
297
+ displayName:
298
+ type: optional<string>
299
+ docs: Name given to Site
300
+ shortName:
301
+ type: optional<string>
302
+ docs: Slugified version of name
303
+ lastPublished:
304
+ type: optional<datetime>
305
+ docs: Date the Site was last published
306
+ lastUpdated:
307
+ type: optional<datetime>
308
+ docs: Date the Site was last updated
309
+ previewUrl:
310
+ type: optional<string>
311
+ docs: URL of a generated image for the given Site
312
+ validation:
313
+ format: uri
314
+ timeZone:
315
+ type: optional<string>
316
+ docs: Site timezone set under Site Settings
317
+ parentFolderId:
318
+ type: optional<string>
319
+ docs: The ID of the parent folder the Site exists in
320
+ customDomains: optional<list<Domain>>
321
+ locales: optional<Locales>
322
+ dataCollectionEnabled:
323
+ type: optional<boolean>
324
+ docs: Indicates if data collection is enabled for the site.
325
+ dataCollectionType:
326
+ type: optional<SiteDataCollectionType>
327
+ docs: The type of data collection enabled for the site.
328
+ source:
329
+ openapi: ../../../referenced-specs/v2.yml
330
+ Sites:
331
+ properties:
332
+ sites: optional<list<Site>>
333
+ source:
334
+ openapi: ../../../referenced-specs/v2.yml
335
+ Domains:
336
+ properties:
337
+ customDomains: optional<list<Domain>>
338
+ source:
339
+ openapi: ../../../referenced-specs/v2.yml
340
+ InvalidDomain: unknown
341
+ NoDomains: unknown
342
+ SiteActivityLogItemEvent:
343
+ enum:
344
+ - styles_modified
345
+ - site_published
346
+ - ix2_modified_on_page
347
+ - page_dom_modified
348
+ - cms_item
349
+ - backup_created
350
+ - page_custom_code_modified
351
+ - symbols_modified
352
+ - variable_modified
353
+ - variables_modified
354
+ - cms_collection
355
+ - page_settings_modified
356
+ - page_settings_custom_code_modified
357
+ - ix2_modified_on_component
358
+ - ix2_modified_on_class
359
+ - site_custom_code_modified
360
+ - page_duplicated
361
+ - secondary_locale_page_content_modified
362
+ - page_renamed
363
+ - page_created
364
+ - page_deleted
365
+ - site_unpublished
366
+ - backup_restored
367
+ - locale_added
368
+ - branch_created
369
+ - locale_display_name_updated
370
+ - locale_subdirectory_updated
371
+ - branch_merged
372
+ - locale_tag_updated
373
+ - branch_deleted
374
+ - locale_enabled
375
+ - locale_removed
376
+ - locale_disabled
377
+ - library_shared
378
+ - library_unshared
379
+ - library_installed
380
+ - library_uninstalled
381
+ - library_update_shared
382
+ - library_update_accepted
383
+ - branch_review_created
384
+ - branch_review_approved
385
+ - branch_review_canceled
386
+ source:
387
+ openapi: ../../../referenced-specs/v2.yml
388
+ SiteActivityLogItemResourceOperation:
389
+ enum:
390
+ - CREATED
391
+ - MODIFIED
392
+ - PUBLISHED
393
+ - UNPUBLISHED
394
+ - DELETED
395
+ - GROUP_REORDERED
396
+ - GROUP_CREATED
397
+ - GROUP_DELETED
398
+ - REORDERED
399
+ source:
400
+ openapi: ../../../referenced-specs/v2.yml
401
+ SiteActivityLogItemUser:
402
+ properties:
403
+ id: optional<string>
404
+ displayName: optional<string>
405
+ source:
406
+ openapi: ../../../referenced-specs/v2.yml
407
+ inline: true
408
+ SiteActivityLogItem:
409
+ properties:
410
+ id: optional<string>
411
+ createdOn: optional<datetime>
412
+ lastUpdated: optional<datetime>
413
+ event: optional<SiteActivityLogItemEvent>
414
+ resourceOperation: optional<SiteActivityLogItemResourceOperation>
415
+ user: optional<SiteActivityLogItemUser>
416
+ resourceId: optional<string>
417
+ resourceName: optional<string>
418
+ newValue: optional<string>
419
+ previousValue: optional<string>
420
+ payload: optional<map<string, unknown>>
421
+ source:
422
+ openapi: ../../../referenced-specs/v2.yml
423
+ Pagination:
424
+ docs: Pagination object
425
+ properties:
426
+ limit:
427
+ type: optional<double>
428
+ docs: The limit used for pagination
429
+ offset:
430
+ type: optional<double>
431
+ docs: The offset used for pagination
432
+ total:
433
+ type: optional<double>
434
+ docs: The total number of records
435
+ source:
436
+ openapi: ../../../referenced-specs/v2.yml
437
+ SiteActivityLogResponse:
438
+ properties:
439
+ items: optional<list<SiteActivityLogItem>>
440
+ pagination: optional<Pagination>
441
+ source:
442
+ openapi: ../../../referenced-specs/v2.yml
443
+ InvalidScopes: unknown
444
+ NotEnterprisePlanSite: unknown
445
+ CollectionListArrayItem:
446
+ docs: A collection object
447
+ properties:
448
+ id:
449
+ type: string
450
+ docs: Unique identifier for a Collection
451
+ displayName:
452
+ type: optional<string>
453
+ docs: Name given to the Collection
454
+ singularName:
455
+ type: optional<string>
456
+ docs: >-
457
+ The name of one Item in Collection (e.g. ”Blog Post” if the Collection
458
+ is called “Blog Posts”)
459
+ slug:
460
+ type: optional<string>
461
+ docs: Slug of Collection in Site URL structure
462
+ createdOn:
463
+ type: optional<datetime>
464
+ docs: The date the collection was created
465
+ lastUpdated:
466
+ type: optional<datetime>
467
+ docs: The date the collection was last updated
468
+ source:
469
+ openapi: ../../../referenced-specs/v2.yml
470
+ CollectionList:
471
+ properties:
472
+ collections:
473
+ type: optional<list<CollectionListArrayItem>>
474
+ docs: An array of Collections
475
+ source:
476
+ openapi: ../../../referenced-specs/v2.yml
477
+ FieldType:
478
+ enum:
479
+ - PlainText
480
+ - RichText
481
+ - Image
482
+ - MultiImage
483
+ - Video
484
+ - Link
485
+ - Email
486
+ - Phone
487
+ - Number
488
+ - DateTime
489
+ - Switch
490
+ - Color
491
+ - ExtFileRef
492
+ docs: Choose these appropriate field type for your collection data
493
+ source:
494
+ openapi: ../../../referenced-specs/v2.yml
495
+ Field:
496
+ docs: The details of a field in a collection
497
+ properties:
498
+ id:
499
+ type: string
500
+ docs: Unique identifier for a Field
501
+ isRequired:
502
+ type: boolean
503
+ docs: define whether a field is required in a collection
504
+ isEditable:
505
+ type: optional<boolean>
506
+ docs: Define whether the field is editable
507
+ type:
508
+ type: FieldType
509
+ docs: Choose these appropriate field type for your collection data
510
+ slug:
511
+ type: optional<string>
512
+ docs: >-
513
+ Slug of Field in Site URL structure. Slugs should be all lowercase
514
+ with no spaces. Any spaces will be converted to "-."
515
+ displayName:
516
+ type: string
517
+ docs: The name of a field
518
+ helpText:
519
+ type: optional<string>
520
+ docs: Additional text to help anyone filling out this field
521
+ source:
522
+ openapi: ../../../referenced-specs/v2.yml
523
+ Collection:
524
+ docs: A collection object
525
+ properties:
526
+ id:
527
+ type: string
528
+ docs: Unique identifier for a Collection
529
+ displayName:
530
+ type: optional<string>
531
+ docs: Name given to the Collection
532
+ singularName:
533
+ type: optional<string>
534
+ docs: >-
535
+ The name of one Item in Collection (e.g. ”Blog Post” if the Collection
536
+ is called “Blog Posts”)
537
+ slug:
538
+ type: optional<string>
539
+ docs: Slug of Collection in Site URL structure
540
+ createdOn:
541
+ type: optional<datetime>
542
+ docs: The date the collection was created
543
+ lastUpdated:
544
+ type: optional<datetime>
545
+ docs: The date the collection was last updated
546
+ fields:
547
+ docs: The list of fields in the Collection
548
+ type: list<Field>
549
+ source:
550
+ openapi: ../../../referenced-specs/v2.yml
551
+ CollectionItemFieldData:
552
+ properties:
553
+ name:
554
+ type: optional<string>
555
+ docs: Name of the Item
556
+ slug:
557
+ type: optional<string>
558
+ docs: >-
559
+ URL structure of the Item in your site. Note: Updates to an item slug
560
+ will break all links referencing the old slug.
561
+ extra-properties: true
562
+ source:
563
+ openapi: ../../../referenced-specs/v2.yml
564
+ inline: true
565
+ CollectionItem:
566
+ docs: >
567
+ The fields that define the schema for a given Item are based on the
568
+ Collection that Item belongs to. Beyond the user defined fields, there are
569
+ a handful of additional fields that are automatically created for all
570
+ items
571
+ properties:
572
+ id:
573
+ type: optional<string>
574
+ docs: Unique identifier for the Item
575
+ cmsLocaleId:
576
+ type: optional<string>
577
+ docs: Identifier for the locale of the CMS item
578
+ lastPublished:
579
+ type: optional<string>
580
+ docs: The date the item was last published
581
+ lastUpdated:
582
+ type: optional<string>
583
+ docs: The date the item was last updated
584
+ createdOn:
585
+ type: optional<string>
586
+ docs: The date the item was created
587
+ isArchived:
588
+ type: optional<boolean>
589
+ docs: Boolean determining if the Item is set to archived
590
+ default: false
591
+ isDraft:
592
+ type: optional<boolean>
593
+ docs: Boolean determining if the Item is set to draft
594
+ default: false
595
+ fieldData: optional<CollectionItemFieldData>
596
+ source:
597
+ openapi: ../../../referenced-specs/v2.yml
598
+ CollectionItemListPagination:
599
+ properties:
600
+ limit:
601
+ type: optional<double>
602
+ docs: The limit specified in the request
603
+ default: 100
604
+ offset:
605
+ type: optional<double>
606
+ docs: The offset specified for pagination
607
+ default: 0
608
+ total:
609
+ type: optional<double>
610
+ docs: Total number of items in the collection
611
+ source:
612
+ openapi: ../../../referenced-specs/v2.yml
613
+ inline: true
614
+ CollectionItemList:
615
+ docs: Results from collection items list
616
+ properties:
617
+ items:
618
+ type: optional<list<CollectionItem>>
619
+ docs: List of Items within the collection
620
+ pagination: optional<CollectionItemListPagination>
621
+ source:
622
+ openapi: ../../../referenced-specs/v2.yml
623
+ CollectionItemWithIdInputFieldData:
624
+ properties:
625
+ name:
626
+ type: optional<string>
627
+ docs: Name of the Item
628
+ slug:
629
+ type: optional<string>
630
+ docs: >-
631
+ URL structure of the Item in your site. Note: Updates to an item slug
632
+ will break all links referencing the old slug.
633
+ extra-properties: true
634
+ source:
635
+ openapi: ../../../referenced-specs/v2.yml
636
+ inline: true
637
+ CollectionItemWithIdInput:
638
+ docs: >
639
+ The fields that define the schema for a given Item are based on the
640
+ Collection that Item belongs to. Beyond the user defined fields, there are
641
+ a handful of additional fields that are automatically created for all
642
+ items
643
+ properties:
644
+ id:
645
+ type: string
646
+ docs: Unique identifier for the Item
647
+ cmsLocaleId:
648
+ type: optional<string>
649
+ docs: Identifier for the locale of the CMS item
650
+ lastPublished:
651
+ type: optional<string>
652
+ docs: The date the item was last published
653
+ lastUpdated:
654
+ type: optional<string>
655
+ docs: The date the item was last updated
656
+ createdOn:
657
+ type: optional<string>
658
+ docs: The date the item was created
659
+ isArchived:
660
+ type: optional<boolean>
661
+ docs: Boolean determining if the Item is set to archived
662
+ default: false
663
+ isDraft:
664
+ type: optional<boolean>
665
+ docs: Boolean determining if the Item is set to draft
666
+ default: false
667
+ fieldData: optional<CollectionItemWithIdInputFieldData>
668
+ source:
669
+ openapi: ../../../referenced-specs/v2.yml
670
+ CollectionItemListNoPagination:
671
+ docs: Results from collection items list
672
+ properties:
673
+ items:
674
+ type: optional<list<CollectionItem>>
675
+ docs: List of Items within the collection
676
+ source:
677
+ openapi: ../../../referenced-specs/v2.yml
678
+ BulkCollectionItemFieldData:
679
+ properties:
680
+ name:
681
+ type: optional<string>
682
+ docs: Name of the Item
683
+ slug:
684
+ type: optional<string>
685
+ docs: >-
686
+ URL structure of the Item in your site. Note: Updates to an item slug
687
+ will break all links referencing the old slug.
688
+ extra-properties: true
689
+ source:
690
+ openapi: ../../../referenced-specs/v2.yml
691
+ inline: true
692
+ BulkCollectionItem:
693
+ docs: >
694
+ The fields that define the schema for a given Item are based on the
695
+ Collection that Item belongs to. Beyond the user defined fields, there are
696
+ a handful of additional fields that are automatically created for all
697
+ items
698
+ properties:
699
+ id:
700
+ type: string
701
+ docs: Unique identifier for the Item
702
+ cmsLocaleIds:
703
+ type: optional<list<string>>
704
+ docs: Array of identifiers for the locales where the item will be created
705
+ lastPublished:
706
+ type: optional<string>
707
+ docs: The date the item was last published
708
+ lastUpdated:
709
+ type: optional<string>
710
+ docs: The date the item was last updated
711
+ createdOn:
712
+ type: optional<string>
713
+ docs: The date the item was created
714
+ isArchived:
715
+ type: optional<boolean>
716
+ docs: Boolean determining if the Item is set to archived
717
+ default: false
718
+ isDraft:
719
+ type: optional<boolean>
720
+ docs: Boolean determining if the Item is set to draft
721
+ default: false
722
+ fieldData: optional<BulkCollectionItemFieldData>
723
+ source:
724
+ openapi: ../../../referenced-specs/v2.yml
725
+ PageSeo:
726
+ docs: SEO-related fields for the Page
727
+ properties:
728
+ title:
729
+ type: optional<string>
730
+ docs: The Page title shown in search engine results
731
+ description:
732
+ type: optional<string>
733
+ docs: The Page description shown in search engine results
734
+ source:
735
+ openapi: ../../../referenced-specs/v2.yml
736
+ inline: true
737
+ PageOpenGraph:
738
+ docs: Open Graph fields for the Page
739
+ properties:
740
+ title:
741
+ type: optional<string>
742
+ docs: The title supplied to Open Graph annotations
743
+ titleCopied:
744
+ type: optional<boolean>
745
+ docs: Indicates the Open Graph title was copied from the SEO title
746
+ default: true
747
+ description:
748
+ type: optional<string>
749
+ docs: The description supplied to Open Graph annotations
750
+ descriptionCopied:
751
+ type: optional<boolean>
752
+ docs: >-
753
+ Indicates the Open Graph description was copied from the SEO
754
+ description
755
+ default: true
756
+ source:
757
+ openapi: ../../../referenced-specs/v2.yml
758
+ inline: true
759
+ Page:
760
+ docs: The Page object
761
+ properties:
762
+ id:
763
+ type: string
764
+ docs: Unique identifier for the Page
765
+ siteId:
766
+ type: optional<string>
767
+ docs: Unique identifier for the Site
768
+ title:
769
+ type: optional<string>
770
+ docs: Title of the Page
771
+ slug:
772
+ type: optional<string>
773
+ docs: slug of the Page (derived from title)
774
+ parentId:
775
+ type: optional<string>
776
+ docs: Identifier of the parent folder
777
+ collectionId:
778
+ type: optional<string>
779
+ docs: >-
780
+ Unique identifier for a linked Collection, value will be null if the
781
+ Page is not part of a Collection.
782
+ createdOn:
783
+ type: optional<datetime>
784
+ docs: The date the Page was created
785
+ lastUpdated:
786
+ type: optional<datetime>
787
+ docs: The date the Page was most recently updated
788
+ archived:
789
+ type: optional<boolean>
790
+ docs: Whether the Page has been archived
791
+ default: false
792
+ draft:
793
+ type: optional<boolean>
794
+ docs: Whether the Page is a draft
795
+ default: false
796
+ canBranch:
797
+ type: optional<boolean>
798
+ docs: >-
799
+ Indicates whether the Page supports [Page
800
+ Branching](https://university.webflow.com/lesson/page-branching)
801
+ default: false
802
+ isBranch:
803
+ type: optional<boolean>
804
+ docs: >-
805
+ Indicates whether the Page is a Branch of another Page [Page
806
+ Branching](https://university.webflow.com/lesson/page-branching)
807
+ default: false
808
+ isMembersOnly:
809
+ type: optional<boolean>
810
+ docs: >-
811
+ Indicates whether the Page is restricted by [Memberships
812
+ Controls](https://university.webflow.com/lesson/webflow-memberships-overview#how-to-manage-page-restrictions)
813
+ default: false
814
+ seo:
815
+ type: optional<PageSeo>
816
+ docs: SEO-related fields for the Page
817
+ openGraph:
818
+ type: optional<PageOpenGraph>
819
+ docs: Open Graph fields for the Page
820
+ localeId:
821
+ type: optional<string>
822
+ docs: Unique ID of the page locale
823
+ publishedPath:
824
+ type: optional<string>
825
+ docs: Relative path of the published page URL
826
+ source:
827
+ openapi: ../../../referenced-specs/v2.yml
828
+ PageList:
829
+ docs: The Page object
830
+ properties:
831
+ pages: optional<list<Page>>
832
+ pagination: optional<Pagination>
833
+ source:
834
+ openapi: ../../../referenced-specs/v2.yml
835
+ TextNode:
836
+ docs: >
837
+ Represents textual content within the DOM. It contains both the raw text
838
+ and its HTML representation, allowing for flexibility in rendering and
839
+ processing. Additional attributes can be associated with the text for
840
+ styling or other purposes.
841
+ properties:
842
+ html: optional<string>
843
+ text: optional<string>
844
+ source:
845
+ openapi: ../../../referenced-specs/v2.yml
846
+ ImageNode:
847
+ docs: >
848
+ Represents an image within the DOM. It contains details about the image,
849
+ such as its alternative text (alt) for accessibility and an asset
850
+ identifier for fetching the actual image resource. Additional attributes
851
+ can be associated with the image for styling or other purposes.
852
+ properties:
853
+ alt: optional<string>
854
+ assetId: optional<string>
855
+ source:
856
+ openapi: ../../../referenced-specs/v2.yml
857
+ NodeType:
858
+ enum:
859
+ - text
860
+ - image
861
+ source:
862
+ openapi: ../../../referenced-specs/v2.yml
863
+ Node:
864
+ docs: >
865
+ A generic representation of a content element within the Document Object
866
+ Model (DOM). Each node has a unique identifier and a specific type that
867
+ determines its content structure and attributes.
868
+ properties:
869
+ id:
870
+ type: optional<string>
871
+ docs: Node UUID
872
+ type: optional<NodeType>
873
+ text: optional<TextNode>
874
+ image: optional<ImageNode>
875
+ attributes:
876
+ type: optional<map<string, string>>
877
+ docs: The custom attributes of the node
878
+ source:
879
+ openapi: ../../../referenced-specs/v2.yml
880
+ Dom:
881
+ docs: >
882
+ The DOM (Document Object Model) schema represents the content structure of
883
+ a web page. It captures various content nodes, such as text and images,
884
+ along with their associated attributes. Each node has a unique identifier
885
+ and can be of different types like text or image. The schema also provides
886
+ pagination details for scenarios where the content nodes are too many to
887
+ be fetched in a single request.
888
+ properties:
889
+ pageId:
890
+ type: optional<string>
891
+ docs: Page ID
892
+ nodes: optional<list<Node>>
893
+ pagination: optional<Pagination>
894
+ source:
895
+ openapi: ../../../referenced-specs/v2.yml
896
+ ScriptApplyLocation:
897
+ enum:
898
+ - header
899
+ - footer
900
+ docs: >-
901
+ Location of the script, either in the header or footer of the published
902
+ site
903
+ default: header
904
+ source:
905
+ openapi: ../../../referenced-specs/v2.yml
906
+ ScriptApply:
907
+ properties:
908
+ id:
909
+ type: string
910
+ docs: ID of the registered custom code script
911
+ location:
912
+ type: ScriptApplyLocation
913
+ docs: >-
914
+ Location of the script, either in the header or footer of the
915
+ published site
916
+ default: header
917
+ version:
918
+ type: string
919
+ docs: Semantic Version String for the registered script *e.g. 0.0.1*
920
+ attributes:
921
+ type: optional<map<string, unknown>>
922
+ docs: >-
923
+ Developer-specified key/value pairs to be applied as attributes to the
924
+ script
925
+ source:
926
+ openapi: ../../../referenced-specs/v2.yml
927
+ ScriptApplyList:
928
+ properties:
929
+ scripts:
930
+ type: optional<list<ScriptApply>>
931
+ docs: A list of scripts applied to a Site or a Page
932
+ lastUpdated:
933
+ type: optional<string>
934
+ docs: Date when the Site's scripts were last updated
935
+ createdOn:
936
+ type: optional<string>
937
+ docs: Date when the Site's scripts were created
938
+ source:
939
+ openapi: ../../../referenced-specs/v2.yml
940
+ CustomCodeHostedResponse:
941
+ docs: Registered custom code for application
942
+ properties:
943
+ id:
944
+ type: optional<string>
945
+ docs: Human readable id, derived from the user-specified display name
946
+ canCopy:
947
+ type: optional<boolean>
948
+ docs: >-
949
+ Define whether the script can be copied on site duplication and
950
+ transfer
951
+ default: false
952
+ displayName:
953
+ type: optional<string>
954
+ docs: >-
955
+ User-facing name for the script. Must be between 1 and 50 alphanumeric
956
+ characters
957
+ hostedLocation:
958
+ type: optional<string>
959
+ docs: URI for an externally hosted script location
960
+ integrityHash:
961
+ type: optional<string>
962
+ docs: >-
963
+ Sub-Resource Integrity Hash. Only required for externally hosted
964
+ scripts (passed via hostedLocation)
965
+ createdOn:
966
+ type: optional<string>
967
+ docs: Timestamp when the script version was created
968
+ lastUpdated:
969
+ type: optional<string>
970
+ docs: Timestamp when the script version was last updated
971
+ version:
972
+ type: optional<string>
973
+ docs: A Semantic Version (SemVer) string, denoting the version of the script
974
+ source:
975
+ openapi: ../../../referenced-specs/v2.yml
976
+ RegisteredScriptList:
977
+ docs: A list of scripts registered to the site
978
+ properties:
979
+ registeredScripts: optional<list<CustomCodeHostedResponse>>
980
+ source:
981
+ openapi: ../../../referenced-specs/v2.yml
982
+ CustomCodeInlineResponse:
983
+ docs: Registered custom code for application
984
+ properties:
985
+ id:
986
+ type: optional<string>
987
+ docs: Human readable id, derived from the user-specified display name
988
+ canCopy:
989
+ type: optional<boolean>
990
+ docs: >-
991
+ Define whether the script can be copied on site duplication and
992
+ transfer
993
+ default: false
994
+ displayName:
995
+ type: optional<string>
996
+ docs: >-
997
+ User-facing name for the script. Must be between 1 and 50 alphanumeric
998
+ characters
999
+ hostedLocation:
1000
+ type: optional<string>
1001
+ docs: URI for an externally hosted script location
1002
+ integrityHash:
1003
+ type: optional<string>
1004
+ docs: >-
1005
+ Sub-Resource Integrity Hash. Only required for externally hosted
1006
+ scripts (passed via hostedLocation)
1007
+ createdOn:
1008
+ type: optional<string>
1009
+ docs: Timestamp when the script version was created
1010
+ lastUpdated:
1011
+ type: optional<string>
1012
+ docs: Timestamp when the script version was last updated
1013
+ version:
1014
+ type: optional<string>
1015
+ docs: A Semantic Version (SemVer) string, denoting the version of the script
1016
+ source:
1017
+ openapi: ../../../referenced-specs/v2.yml
1018
+ Scripts:
1019
+ docs: A list of scripts applied to a Site or a Page
1020
+ type: list<ScriptApply>
1021
+ CustomCodeBlockType:
1022
+ enum:
1023
+ - page
1024
+ - site
1025
+ docs: Whether the Custom Code script is applied at the Site-level or Page-level
1026
+ source:
1027
+ openapi: ../../../referenced-specs/v2.yml
1028
+ CustomCodeBlock:
1029
+ docs: A specific instance of Custom Code applied to a Site or Page
1030
+ properties:
1031
+ siteId:
1032
+ type: optional<string>
1033
+ docs: The Site ID where the custom code was applied
1034
+ pageId:
1035
+ type: optional<string>
1036
+ docs: The Page ID (if applied at Page-level)
1037
+ type:
1038
+ type: optional<CustomCodeBlockType>
1039
+ docs: >-
1040
+ Whether the Custom Code script is applied at the Site-level or
1041
+ Page-level
1042
+ scripts: optional<Scripts>
1043
+ createdOn:
1044
+ type: optional<datetime>
1045
+ docs: The date the Block was created
1046
+ lastUpdated:
1047
+ type: optional<datetime>
1048
+ docs: The date the Block was most recently updated
1049
+ source:
1050
+ openapi: ../../../referenced-specs/v2.yml
1051
+ ListCustomCodeBlocks:
1052
+ docs: Custom Code Blocks corresponding to where scripts were applied
1053
+ properties:
1054
+ blocks: optional<list<CustomCodeBlock>>
1055
+ pagination: optional<Pagination>
1056
+ source:
1057
+ openapi: ../../../referenced-specs/v2.yml
1058
+ AssetVariant:
1059
+ properties:
1060
+ hostedUrl:
1061
+ type: optional<string>
1062
+ docs: URL of where the asset variant is hosted
1063
+ validation:
1064
+ format: uri
1065
+ originalFileName:
1066
+ type: optional<string>
1067
+ docs: Original file name of the variant
1068
+ displayName:
1069
+ type: optional<string>
1070
+ docs: Display name of the variant
1071
+ format:
1072
+ type: optional<string>
1073
+ docs: format of the variant
1074
+ width:
1075
+ type: optional<integer>
1076
+ docs: Width in pixels
1077
+ height:
1078
+ type: optional<integer>
1079
+ docs: Height in pixels
1080
+ quality:
1081
+ type: optional<integer>
1082
+ docs: Value between 0 and 100 representing the image quality
1083
+ error:
1084
+ type: optional<string>
1085
+ docs: Any associated validation errors
1086
+ source:
1087
+ openapi: ../../../referenced-specs/v2.yml
1088
+ Asset:
1089
+ properties:
1090
+ id:
1091
+ type: optional<string>
1092
+ docs: Unique identifier for this asset
1093
+ contentType:
1094
+ type: optional<string>
1095
+ docs: File format type
1096
+ size:
1097
+ type: optional<integer>
1098
+ docs: size in bytes
1099
+ siteId:
1100
+ type: optional<string>
1101
+ docs: Unique identifier for the site that hosts this asset
1102
+ hostedUrl:
1103
+ type: optional<string>
1104
+ docs: Link to the asset
1105
+ validation:
1106
+ format: uri
1107
+ originalFileName:
1108
+ type: optional<string>
1109
+ docs: Original file name at the time of upload
1110
+ displayName:
1111
+ type: optional<string>
1112
+ docs: Display name of the asset
1113
+ lastUpdated:
1114
+ type: optional<datetime>
1115
+ docs: Date the asset metadata was last updated
1116
+ createdOn:
1117
+ type: optional<datetime>
1118
+ docs: Date the asset metadata was created
1119
+ variants: optional<list<AssetVariant>>
1120
+ altText:
1121
+ type: optional<string>
1122
+ docs: The visual description of the asset
1123
+ source:
1124
+ openapi: ../../../referenced-specs/v2.yml
1125
+ Assets:
1126
+ docs: A list of assets
1127
+ properties:
1128
+ assets: optional<list<Asset>>
1129
+ source:
1130
+ openapi: ../../../referenced-specs/v2.yml
1131
+ AssetUploadUploadDetails:
1132
+ docs: Metadata for uploading the asset binary
1133
+ properties:
1134
+ acl: optional<string>
1135
+ bucket: optional<string>
1136
+ X-Amz-Algorithm: optional<string>
1137
+ X-Amz-Credential: optional<string>
1138
+ X-Amz-Date: optional<string>
1139
+ key: optional<string>
1140
+ Policy: optional<string>
1141
+ X-Amz-Signature: optional<string>
1142
+ success_action_status: optional<string>
1143
+ content-type: optional<string>
1144
+ Cache-Control: optional<string>
1145
+ source:
1146
+ openapi: ../../../referenced-specs/v2.yml
1147
+ inline: true
1148
+ AssetUpload:
1149
+ properties:
1150
+ uploadDetails:
1151
+ type: optional<AssetUploadUploadDetails>
1152
+ docs: Metadata for uploading the asset binary
1153
+ contentType: optional<string>
1154
+ id: optional<string>
1155
+ parentFolder:
1156
+ type: optional<string>
1157
+ docs: Parent folder for the asset
1158
+ uploadUrl:
1159
+ type: optional<string>
1160
+ validation:
1161
+ format: uri
1162
+ assetUrl:
1163
+ type: optional<string>
1164
+ docs: S3 link to the asset
1165
+ validation:
1166
+ format: uri
1167
+ hostedUrl:
1168
+ type: optional<string>
1169
+ docs: Represents the link to the asset
1170
+ validation:
1171
+ format: uri
1172
+ originalFileName:
1173
+ type: optional<string>
1174
+ docs: >-
1175
+ Original file name when uploaded. If not specified at time of upload,
1176
+ it may be extracted from the raw file name
1177
+ createdOn:
1178
+ type: optional<datetime>
1179
+ docs: Date the asset metadata was created
1180
+ lastUpdated:
1181
+ type: optional<datetime>
1182
+ docs: Date the asset metadata was last updated
1183
+ source:
1184
+ openapi: ../../../referenced-specs/v2.yml
1185
+ AssetFolder:
1186
+ docs: Asset Folder details
1187
+ properties:
1188
+ id:
1189
+ type: optional<string>
1190
+ docs: Unique identifier for the Asset Folder
1191
+ displayName:
1192
+ type: optional<string>
1193
+ docs: User visible name for the Asset Folder
1194
+ parentFolder:
1195
+ type: optional<string>
1196
+ docs: Pointer to parent Asset Folder (or null if root)
1197
+ assets:
1198
+ type: optional<list<string>>
1199
+ docs: Array of Asset instances in the folder
1200
+ siteId:
1201
+ type: optional<string>
1202
+ docs: The unique ID of the site the Asset Folder belongs to
1203
+ createdOn:
1204
+ type: optional<datetime>
1205
+ docs: Date that the Asset Folder was created on
1206
+ lastUpdated:
1207
+ type: optional<datetime>
1208
+ docs: Date that the Asset Folder was last updated on
1209
+ source:
1210
+ openapi: ../../../referenced-specs/v2.yml
1211
+ AssetFolderList:
1212
+ docs: The Asset Folders object
1213
+ properties:
1214
+ assetFolders:
1215
+ type: optional<list<AssetFolder>>
1216
+ docs: A list of Asset folders
1217
+ pagination: optional<Pagination>
1218
+ source:
1219
+ openapi: ../../../referenced-specs/v2.yml
1220
+ TriggerType:
1221
+ enum:
1222
+ - form_submission
1223
+ - site_publish
1224
+ - page_created
1225
+ - page_metadata_updated
1226
+ - page_deleted
1227
+ - ecomm_new_order
1228
+ - ecomm_order_changed
1229
+ - ecomm_inventory_changed
1230
+ - user_account_added
1231
+ - user_account_updated
1232
+ - user_account_deleted
1233
+ - collection_item_created
1234
+ - collection_item_changed
1235
+ - collection_item_deleted
1236
+ - collection_item_unpublished
1237
+ docs: >
1238
+ * `form_submission` - Sends the [form_submission](#form_submission) event
1239
+
1240
+ * `site_publish` - Sends a [site_publish](#site_publish) event
1241
+
1242
+ * `page_created` - Send the [page_created](#page_created) event
1243
+
1244
+ * `page_metadata_updated` - Sends the
1245
+ [page_metadata_updated](#page_metadata_updated) event
1246
+
1247
+ * `page_deleted` - Sends the [page_deleted](#page_deleted) event
1248
+
1249
+ * `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order)
1250
+ event
1251
+
1252
+ * `ecomm_order_changed` - Sends the
1253
+ [ecomm_order_changed](#ecomm_order_changed) event
1254
+
1255
+ * `ecomm_inventory_changed` - Sends the
1256
+ [ecomm_inventory_changed](#ecomm_inventory_changed) event
1257
+
1258
+ * `user_account_added` - Sends the
1259
+ [user_account_added](#user_account_added) event
1260
+
1261
+ * `user_account_updated` - Sends the
1262
+ [user_account_updated](#user_account_updated) event
1263
+
1264
+ * `user_account_deleted` - Sends the
1265
+ [user_account_deleted](#user_account_deleted) event
1266
+
1267
+ * `collection_item_created` - Sends the
1268
+ [collection_item_created](#collection_item_created) event
1269
+
1270
+ * `collection_item_changed` - Sends the
1271
+ [collection_item_changed](#collection_item_changed) event
1272
+
1273
+ * `collection_item_deleted` - Sends the
1274
+ [collection_item_deleted](#collection_item_deleted) event
1275
+
1276
+ * `collection_item_unpublished` - Sends the
1277
+ [collection_item_unpublished](#collection_item_unpublished) event
1278
+ source:
1279
+ openapi: ../../../referenced-specs/v2.yml
1280
+ WebhookFilter:
1281
+ docs: >-
1282
+ Only supported for the `form_submission` trigger type. Filter for the form
1283
+ you want Webhooks to be sent for.
1284
+ properties:
1285
+ name:
1286
+ type: optional<string>
1287
+ docs: The name of the form you'd like to recieve notifications for.
1288
+ source:
1289
+ openapi: ../../../referenced-specs/v2.yml
1290
+ inline: true
1291
+ Webhook:
1292
+ properties:
1293
+ id:
1294
+ type: optional<string>
1295
+ docs: Unique identifier for the Webhook registration
1296
+ triggerType: optional<TriggerType>
1297
+ url:
1298
+ type: optional<string>
1299
+ docs: URL to send the Webhook payload to
1300
+ workspaceId:
1301
+ type: optional<string>
1302
+ docs: Unique identifier for the Workspace the Webhook is registered in
1303
+ siteId:
1304
+ type: optional<string>
1305
+ docs: Unique identifier for the Site the Webhook is registered in
1306
+ filter:
1307
+ type: optional<WebhookFilter>
1308
+ docs: >-
1309
+ Only supported for the `form_submission` trigger type. Filter for the
1310
+ form you want Webhooks to be sent for.
1311
+ lastTriggered:
1312
+ type: optional<datetime>
1313
+ docs: Date the Webhook instance was last triggered
1314
+ createdOn:
1315
+ type: optional<datetime>
1316
+ docs: Date the Webhook registration was created
1317
+ source:
1318
+ openapi: ../../../referenced-specs/v2.yml
1319
+ WebhookList:
1320
+ properties:
1321
+ pagination: optional<Pagination>
1322
+ webhooks: optional<list<Webhook>>
1323
+ source:
1324
+ openapi: ../../../referenced-specs/v2.yml
1325
+ FormFieldValueType:
1326
+ enum:
1327
+ - Plain
1328
+ - Email
1329
+ - Password
1330
+ - Phone
1331
+ - Number
1332
+ docs: The field type
1333
+ source:
1334
+ openapi: ../../../referenced-specs/v2.yml
1335
+ FormFieldValue:
1336
+ docs: An object containing field info for a specific fieldID.
1337
+ properties:
1338
+ displayName:
1339
+ type: optional<string>
1340
+ docs: The field name displayed on the site
1341
+ type:
1342
+ type: optional<FormFieldValueType>
1343
+ docs: The field type
1344
+ placeholder:
1345
+ type: optional<string>
1346
+ docs: The placeholder text for the field
1347
+ userVisible:
1348
+ type: optional<boolean>
1349
+ docs: Whether the field is visible to the user
1350
+ source:
1351
+ openapi: ../../../referenced-specs/v2.yml
1352
+ FormField:
1353
+ type: map<string, FormFieldValue>
1354
+ docs: A collection of form fields with additional properties.
1355
+ FormResponseSettings:
1356
+ docs: Settings for form responses
1357
+ properties:
1358
+ redirectUrl:
1359
+ type: optional<string>
1360
+ docs: The url or path to redirect the user to after form submission
1361
+ redirectMethod:
1362
+ type: optional<string>
1363
+ docs: The HTTP request method to use for the redirectUrl (eg. POST or GET)
1364
+ redirectAction:
1365
+ type: optional<string>
1366
+ docs: The action to take after form submission
1367
+ sendEmailConfirmation:
1368
+ type: optional<boolean>
1369
+ docs: Whether to send an email confirmation to the user
1370
+ source:
1371
+ openapi: ../../../referenced-specs/v2.yml
1372
+ inline: true
1373
+ Form:
1374
+ docs: A Webflow form
1375
+ properties:
1376
+ displayName:
1377
+ type: optional<string>
1378
+ docs: The Form name displayed on the site
1379
+ createdOn:
1380
+ type: optional<datetime>
1381
+ docs: Date that the Form was created on
1382
+ lastUpdated:
1383
+ type: optional<datetime>
1384
+ docs: Date that the Form was last updated on
1385
+ fields:
1386
+ type: optional<FormField>
1387
+ docs: A collection of form field objects
1388
+ responseSettings:
1389
+ type: optional<FormResponseSettings>
1390
+ docs: Settings for form responses
1391
+ id:
1392
+ type: optional<string>
1393
+ docs: The unique ID for the Form
1394
+ siteId:
1395
+ type: optional<string>
1396
+ docs: The unique ID of the Site the Form belongs to
1397
+ siteDomainId:
1398
+ type: optional<string>
1399
+ docs: The unique ID corresponding to the site's Domain name
1400
+ pageId:
1401
+ type: optional<string>
1402
+ docs: The unique ID for the Page on which the Form is placed
1403
+ pageName:
1404
+ type: optional<string>
1405
+ docs: The user-visible name of the Page where the Form is placed
1406
+ formElementId:
1407
+ type: optional<string>
1408
+ docs: The unique ID of the Form element
1409
+ workspaceId:
1410
+ type: optional<string>
1411
+ docs: The unique ID of the Workspace the Site belongs to
1412
+ source:
1413
+ openapi: ../../../referenced-specs/v2.yml
1414
+ FormList:
1415
+ properties:
1416
+ forms: optional<list<Form>>
1417
+ pagination: optional<Pagination>
1418
+ source:
1419
+ openapi: ../../../referenced-specs/v2.yml
1420
+ FormSubmission:
1421
+ properties:
1422
+ id:
1423
+ type: optional<string>
1424
+ docs: The unique ID of the Form submission
1425
+ displayName:
1426
+ type: optional<string>
1427
+ docs: The Form name displayed on the site
1428
+ siteId:
1429
+ type: optional<string>
1430
+ docs: The unique ID of the Site the Form belongs to
1431
+ workspaceId:
1432
+ type: optional<string>
1433
+ docs: The unique ID of the Workspace the Site belongs to
1434
+ dateSubmitted:
1435
+ type: optional<datetime>
1436
+ docs: Date that the Form was submitted on
1437
+ formResponse:
1438
+ type: optional<map<string, unknown>>
1439
+ docs: The data submitted in the Form
1440
+ source:
1441
+ openapi: ../../../referenced-specs/v2.yml
1442
+ FormSubmissionList:
1443
+ properties:
1444
+ formSubmissions: optional<list<FormSubmission>>
1445
+ pagination: optional<Pagination>
1446
+ source:
1447
+ openapi: ../../../referenced-specs/v2.yml
1448
+ UserDataData:
1449
+ properties:
1450
+ name:
1451
+ type: optional<string>
1452
+ docs: |
1453
+ The name of the user
1454
+ email:
1455
+ type: optional<string>
1456
+ docs: |
1457
+ The email address of the user
1458
+ accept-privacy:
1459
+ type: optional<boolean>
1460
+ docs: |
1461
+ Boolean indicating if the user has accepted the privacy policy
1462
+ accept-communications:
1463
+ type: optional<boolean>
1464
+ docs: |
1465
+ Boolean indicating if the user has accepted to receive communications
1466
+ additionalProperties:
1467
+ type: optional<string>
1468
+ docs: Custom user attributes
1469
+ source:
1470
+ openapi: ../../../referenced-specs/v2.yml
1471
+ inline: true
1472
+ UserData:
1473
+ docs: An object containing the User's basic info and custom fields
1474
+ properties:
1475
+ data: optional<UserDataData>
1476
+ source:
1477
+ openapi: ../../../referenced-specs/v2.yml
1478
+ UserStatus:
1479
+ enum:
1480
+ - invited
1481
+ - verified
1482
+ - unverified
1483
+ docs: The status of the user
1484
+ source:
1485
+ openapi: ../../../referenced-specs/v2.yml
1486
+ UserAccessGroupsItemType:
1487
+ enum:
1488
+ - admin
1489
+ - ecommerce
1490
+ docs: |
1491
+ The type of access group based on how it was assigned to the user.
1492
+ * `admin` - Assigned to the user via API or in the designer
1493
+ * `ecommerce` - Assigned to the user via an ecommerce purchase
1494
+ source:
1495
+ openapi: ../../../referenced-specs/v2.yml
1496
+ UserAccessGroupsItem:
1497
+ docs: Access group slugs and types
1498
+ properties:
1499
+ slug:
1500
+ type: optional<string>
1501
+ docs: Access group identifier for APIs
1502
+ type:
1503
+ type: optional<UserAccessGroupsItemType>
1504
+ docs: |
1505
+ The type of access group based on how it was assigned to the user.
1506
+ * `admin` - Assigned to the user via API or in the designer
1507
+ * `ecommerce` - Assigned to the user via an ecommerce purchase
1508
+ source:
1509
+ openapi: ../../../referenced-specs/v2.yml
1510
+ inline: true
1511
+ User:
1512
+ docs: >
1513
+ The fields that define the schema for a given Item are based on the
1514
+ Collection that Item belongs to. Beyond the user defined fields, there are
1515
+ a handful of additional fields that are automatically created for all
1516
+ items
1517
+ properties:
1518
+ id:
1519
+ type: optional<string>
1520
+ docs: Unique identifier for the User
1521
+ isEmailVerified:
1522
+ type: optional<boolean>
1523
+ docs: Shows whether the user has verified their email address
1524
+ lastUpdated:
1525
+ type: optional<datetime>
1526
+ docs: The timestamp the user was updated
1527
+ invitedOn:
1528
+ type: optional<datetime>
1529
+ docs: The timestamp the user was invited
1530
+ createdOn:
1531
+ type: optional<datetime>
1532
+ docs: The timestamp the user was created
1533
+ lastLogin:
1534
+ type: optional<datetime>
1535
+ docs: The timestamp the user was logged in
1536
+ status:
1537
+ type: optional<UserStatus>
1538
+ docs: The status of the user
1539
+ accessGroups:
1540
+ type: optional<list<UserAccessGroupsItem>>
1541
+ docs: Access groups the user belongs to
1542
+ data: optional<UserData>
1543
+ source:
1544
+ openapi: ../../../referenced-specs/v2.yml
1545
+ UserList:
1546
+ docs: The list users results
1547
+ properties:
1548
+ count:
1549
+ type: optional<double>
1550
+ docs: Number of users returned
1551
+ limit:
1552
+ type: optional<double>
1553
+ docs: The limit specified in the request
1554
+ default: 10
1555
+ offset:
1556
+ type: optional<double>
1557
+ docs: The offset specified for pagination
1558
+ default: 0
1559
+ total:
1560
+ type: optional<double>
1561
+ docs: Total number of users in the collection
1562
+ users:
1563
+ type: optional<list<User>>
1564
+ docs: List of Users for a Site
1565
+ source:
1566
+ openapi: ../../../referenced-specs/v2.yml
1567
+ UsersNotEnabled: unknown
1568
+ DuplicateUserEmail: unknown
1569
+ UserLimitReached: unknown
1570
+ AccessGroup:
1571
+ properties:
1572
+ id:
1573
+ type: optional<string>
1574
+ docs: Unique identifier for the Access Group
1575
+ name:
1576
+ type: optional<string>
1577
+ docs: Name of the the Access Group
1578
+ shortId:
1579
+ type: optional<string>
1580
+ docs: >-
1581
+ Shortened unique identifier based on name, optimized for its use in
1582
+ the user’s JWT
1583
+ slug:
1584
+ type: optional<string>
1585
+ docs: >-
1586
+ Shortened unique identifier based on name, optimized for human
1587
+ readability and public API use
1588
+ createdOn:
1589
+ type: optional<datetime>
1590
+ docs: The date the Access Group was created
1591
+ source:
1592
+ openapi: ../../../referenced-specs/v2.yml
1593
+ AccessGroupList:
1594
+ docs: The list access groups results
1595
+ properties:
1596
+ count:
1597
+ type: optional<double>
1598
+ docs: Number of access groups returned
1599
+ limit:
1600
+ type: optional<double>
1601
+ docs: The limit specified in the request
1602
+ default: 10
1603
+ offset:
1604
+ type: optional<double>
1605
+ docs: The offset specified for pagination
1606
+ default: 0
1607
+ total:
1608
+ type: optional<double>
1609
+ docs: Total number of access groups in the collection
1610
+ accessGroups:
1611
+ type: optional<list<AccessGroup>>
1612
+ docs: List of Site Access Groups
1613
+ source:
1614
+ openapi: ../../../referenced-specs/v2.yml
1615
+ SkuPropertyListEnumItem:
1616
+ docs: Enumerated Product variants/Options for the SKU
1617
+ properties:
1618
+ id:
1619
+ type: string
1620
+ docs: Unique identifier for a Product variant/Option
1621
+ name:
1622
+ type: string
1623
+ docs: Name of the Product variant/Option
1624
+ slug:
1625
+ type: string
1626
+ docs: Slug for the Product variant/Option in the Site URL structure
1627
+ source:
1628
+ openapi: ../../../referenced-specs/v2.yml
1629
+ inline: true
1630
+ SkuPropertyList:
1631
+ docs: A variant/option type for a SKU
1632
+ properties:
1633
+ id:
1634
+ type: string
1635
+ docs: Unique identifier for a collection of Product Variants
1636
+ name:
1637
+ type: string
1638
+ docs: Name of the collection of Product Variants
1639
+ enum:
1640
+ docs: >-
1641
+ The individual Product variants that are contained within the
1642
+ collection
1643
+ type: list<SkuPropertyListEnumItem>
1644
+ source:
1645
+ openapi: ../../../referenced-specs/v2.yml
1646
+ ProductFieldDataTaxCategory:
1647
+ enum:
1648
+ - value: standard-taxable
1649
+ name: StandardTaxable
1650
+ - value: standard-exempt
1651
+ name: StandardExempt
1652
+ - value: books-religious
1653
+ name: BooksReligious
1654
+ - value: books-textbook
1655
+ name: BooksTextbook
1656
+ - clothing
1657
+ - value: clothing-swimwear
1658
+ name: ClothingSwimwear
1659
+ - value: digital-goods
1660
+ name: DigitalGoods
1661
+ - value: digital-service
1662
+ name: DigitalService
1663
+ - value: drugs-non-prescription
1664
+ name: DrugsNonPrescription
1665
+ - value: drugs-prescription
1666
+ name: DrugsPrescription
1667
+ - value: food-bottled-water
1668
+ name: FoodBottledWater
1669
+ - value: food-candy
1670
+ name: FoodCandy
1671
+ - value: food-groceries
1672
+ name: FoodGroceries
1673
+ - value: food-prepared
1674
+ name: FoodPrepared
1675
+ - value: food-soda
1676
+ name: FoodSoda
1677
+ - value: food-supplements
1678
+ name: FoodSupplements
1679
+ - value: magazine-individual
1680
+ name: MagazineIndividual
1681
+ - value: magazine-subscription
1682
+ name: MagazineSubscription
1683
+ - value: service-admission
1684
+ name: ServiceAdmission
1685
+ - value: service-advertising
1686
+ name: ServiceAdvertising
1687
+ - value: service-dry-cleaning
1688
+ name: ServiceDryCleaning
1689
+ - value: service-hairdressing
1690
+ name: ServiceHairdressing
1691
+ - value: service-installation
1692
+ name: ServiceInstallation
1693
+ - value: service-miscellaneous
1694
+ name: ServiceMiscellaneous
1695
+ - value: service-parking
1696
+ name: ServiceParking
1697
+ - value: service-printing
1698
+ name: ServicePrinting
1699
+ - value: service-professional
1700
+ name: ServiceProfessional
1701
+ - value: service-repair
1702
+ name: ServiceRepair
1703
+ - value: service-training
1704
+ name: ServiceTraining
1705
+ docs: Product tax class
1706
+ source:
1707
+ openapi: ../../../referenced-specs/v2.yml
1708
+ ProductFieldDataEcProductType:
1709
+ enum:
1710
+ - ff42fee0113744f693a764e3431a9cc2
1711
+ - f22027db68002190aef89a4a2b7ac8a1
1712
+ - c599e43b1a1c34d5a323aedf75d3adf6
1713
+ - b6ccc1830db4b1babeb06a9ac5f6dd76
1714
+ docs: >-
1715
+ <a
1716
+ href="https://university.webflow.com/lesson/add-and-manage-products-and-categories?topics=ecommerce#how-to-understand-product-types">Product
1717
+ types.</a> Enums reflect the following values in order: Physical, Digital,
1718
+ Service, Advanced"
1719
+ source:
1720
+ openapi: ../../../referenced-specs/v2.yml
1721
+ ProductFieldData:
1722
+ docs: >-
1723
+ Contains content-specific details for a product, covering both standard
1724
+ (e.g., title, description) and custom fields tailored to the product
1725
+ setup.
1726
+ properties:
1727
+ name:
1728
+ type: optional<string>
1729
+ docs: Name of the Product
1730
+ slug:
1731
+ type: optional<string>
1732
+ docs: URL structure of the Product in your site.
1733
+ description:
1734
+ type: optional<string>
1735
+ docs: A description of your product
1736
+ shippable:
1737
+ type: optional<boolean>
1738
+ docs: Boolean determining if the Product is shippable
1739
+ sku-properties:
1740
+ type: optional<list<SkuPropertyList>>
1741
+ docs: Variant types to include in SKUs
1742
+ categories:
1743
+ type: optional<list<string>>
1744
+ docs: The categories your product belongs to.
1745
+ tax-category:
1746
+ type: optional<ProductFieldDataTaxCategory>
1747
+ docs: Product tax class
1748
+ default-sku:
1749
+ type: optional<string>
1750
+ docs: The default SKU associated with this product.
1751
+ ec-product-type:
1752
+ type: optional<ProductFieldDataEcProductType>
1753
+ docs: >-
1754
+ <a
1755
+ href="https://university.webflow.com/lesson/add-and-manage-products-and-categories?topics=ecommerce#how-to-understand-product-types">Product
1756
+ types.</a> Enums reflect the following values in order: Physical,
1757
+ Digital, Service, Advanced"
1758
+ source:
1759
+ openapi: ../../../referenced-specs/v2.yml
1760
+ Product:
1761
+ docs: The Product object
1762
+ properties:
1763
+ id:
1764
+ type: optional<string>
1765
+ docs: Unique identifier for the Product
1766
+ cmsLocaleId:
1767
+ type: optional<string>
1768
+ docs: Identifier for the locale of the CMS item
1769
+ lastPublished:
1770
+ type: optional<datetime>
1771
+ docs: The date the Product was last published
1772
+ lastUpdated:
1773
+ type: optional<datetime>
1774
+ docs: The date the Product was last updated
1775
+ createdOn:
1776
+ type: optional<datetime>
1777
+ docs: The date the Product was created
1778
+ isArchived:
1779
+ type: optional<boolean>
1780
+ docs: Boolean determining if the Product is set to archived
1781
+ default: false
1782
+ isDraft:
1783
+ type: optional<boolean>
1784
+ docs: Boolean determining if the Product is set to draft
1785
+ default: false
1786
+ fieldData: optional<ProductFieldData>
1787
+ source:
1788
+ openapi: ../../../referenced-specs/v2.yml
1789
+ SkuValueList:
1790
+ type: map<string, string>
1791
+ docs: >
1792
+ A dictionary that maps a SKU property to a SKU value. The key of the
1793
+ dictionary is the SKU property ID, and the value is the SKU value ID.
1794
+ SkuFieldDataPrice:
1795
+ docs: price of SKU
1796
+ properties:
1797
+ value:
1798
+ type: optional<double>
1799
+ docs: Price of SKU
1800
+ unit:
1801
+ type: optional<string>
1802
+ docs: Currency of Item
1803
+ source:
1804
+ openapi: ../../../referenced-specs/v2.yml
1805
+ inline: true
1806
+ SkuFieldDataCompareAtPrice:
1807
+ docs: comparison price of SKU
1808
+ properties:
1809
+ value:
1810
+ type: optional<double>
1811
+ docs: Price of SKU
1812
+ unit:
1813
+ type: optional<string>
1814
+ docs: Currency of Item
1815
+ source:
1816
+ openapi: ../../../referenced-specs/v2.yml
1817
+ inline: true
1818
+ SkuFieldDataEcSkuBillingMethod:
1819
+ enum:
1820
+ - value: one-time
1821
+ name: OneTime
1822
+ - subscription
1823
+ source:
1824
+ openapi: ../../../referenced-specs/v2.yml
1825
+ SkuFieldDataEcSkuSubscriptionPlanInterval:
1826
+ enum:
1827
+ - day
1828
+ - week
1829
+ - month
1830
+ - year
1831
+ docs: Interval of subscription renewal
1832
+ source:
1833
+ openapi: ../../../referenced-specs/v2.yml
1834
+ SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus:
1835
+ enum:
1836
+ - active
1837
+ - inactive
1838
+ - canceled
1839
+ docs: The status of the plan
1840
+ source:
1841
+ openapi: ../../../referenced-specs/v2.yml
1842
+ SkuFieldDataEcSkuSubscriptionPlanPlansItem:
1843
+ properties:
1844
+ platform:
1845
+ type: optional<literal<"stripe">>
1846
+ docs: The platform of the subscription plan
1847
+ id:
1848
+ type: optional<string>
1849
+ docs: The unique identifier of the plan
1850
+ status:
1851
+ type: optional<SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus>
1852
+ docs: The status of the plan
1853
+ source:
1854
+ openapi: ../../../referenced-specs/v2.yml
1855
+ inline: true
1856
+ SkuFieldDataEcSkuSubscriptionPlan:
1857
+ properties:
1858
+ interval:
1859
+ type: optional<SkuFieldDataEcSkuSubscriptionPlanInterval>
1860
+ docs: Interval of subscription renewal
1861
+ frequency:
1862
+ type: optional<double>
1863
+ docs: Frequncy of billing within interval
1864
+ trial:
1865
+ type: optional<double>
1866
+ docs: Number of days of a trial
1867
+ plans: optional<list<SkuFieldDataEcSkuSubscriptionPlanPlansItem>>
1868
+ source:
1869
+ openapi: ../../../referenced-specs/v2.yml
1870
+ inline: true
1871
+ SkuFieldData:
1872
+ docs: Standard and Custom fields for a SKU
1873
+ properties:
1874
+ sku-values: optional<SkuValueList>
1875
+ name:
1876
+ type: string
1877
+ docs: Name of the Product
1878
+ slug:
1879
+ type: string
1880
+ docs: URL structure of the Product in your site.
1881
+ price:
1882
+ type: SkuFieldDataPrice
1883
+ docs: price of SKU
1884
+ compare-at-price:
1885
+ type: optional<SkuFieldDataCompareAtPrice>
1886
+ docs: comparison price of SKU
1887
+ ec-sku-billing-method: optional<SkuFieldDataEcSkuBillingMethod>
1888
+ ec-sku-subscription-plan: optional<SkuFieldDataEcSkuSubscriptionPlan>
1889
+ track-inventory:
1890
+ type: optional<boolean>
1891
+ docs: >-
1892
+ A boolean indicating whether inventory for this product should be
1893
+ tracked.
1894
+ default: false
1895
+ quantity:
1896
+ type: optional<double>
1897
+ docs: Quantity of SKU that will be tracked as items are ordered.
1898
+ source:
1899
+ openapi: ../../../referenced-specs/v2.yml
1900
+ Sku:
1901
+ docs: The SKU object
1902
+ properties:
1903
+ id:
1904
+ type: optional<string>
1905
+ docs: Unique identifier for the Product
1906
+ cmsLocaleId:
1907
+ type: optional<string>
1908
+ docs: Identifier for the locale of the CMS item
1909
+ lastPublished:
1910
+ type: optional<datetime>
1911
+ docs: The date the Product was last published
1912
+ lastUpdated:
1913
+ type: optional<datetime>
1914
+ docs: The date the Product was last updated
1915
+ createdOn:
1916
+ type: optional<datetime>
1917
+ docs: The date the Product was created
1918
+ fieldData: optional<SkuFieldData>
1919
+ source:
1920
+ openapi: ../../../referenced-specs/v2.yml
1921
+ ProductAndSkUs:
1922
+ docs: A product and its SKUs.
1923
+ properties:
1924
+ product: optional<Product>
1925
+ skus:
1926
+ type: optional<list<Sku>>
1927
+ docs: A list of SKU Objects
1928
+ source:
1929
+ openapi: ../../../referenced-specs/v2.yml
1930
+ ProductAndSkUsList:
1931
+ docs: Results from product list
1932
+ properties:
1933
+ items:
1934
+ type: optional<list<ProductAndSkUs>>
1935
+ docs: >-
1936
+ List of Item objects within the Collection. Contains product and skus
1937
+ keys for each Item
1938
+ pagination: optional<Pagination>
1939
+ source:
1940
+ openapi: ../../../referenced-specs/v2.yml
1941
+ PublishStatus:
1942
+ enum:
1943
+ - staging
1944
+ - live
1945
+ docs: Indicate whether your Product should be set as "staging" or "live"
1946
+ default: staging
1947
+ source:
1948
+ openapi: ../../../referenced-specs/v2.yml
1949
+ OrderPrice:
1950
+ properties:
1951
+ unit:
1952
+ type: optional<string>
1953
+ docs: The three-letter ISO currency code
1954
+ value:
1955
+ type: optional<string>
1956
+ docs: The numeric value in the base unit of the currency
1957
+ string:
1958
+ type: optional<string>
1959
+ docs: The user-facing string representation of the amount
1960
+ source:
1961
+ openapi: ../../../referenced-specs/v2.yml
1962
+ OrderAddressType:
1963
+ enum:
1964
+ - shipping
1965
+ - billing
1966
+ docs: The type of the order address (billing or shipping)
1967
+ source:
1968
+ openapi: ../../../referenced-specs/v2.yml
1969
+ OrderAddressJapanType:
1970
+ enum:
1971
+ - kana
1972
+ - kanji
1973
+ docs: >-
1974
+ Represents a Japan-only address format. This field will only appear on
1975
+ orders placed from Japan.
1976
+ source:
1977
+ openapi: ../../../referenced-specs/v2.yml
1978
+ OrderAddress:
1979
+ docs: A customer address
1980
+ properties:
1981
+ type:
1982
+ type: optional<OrderAddressType>
1983
+ docs: The type of the order address (billing or shipping)
1984
+ japanType:
1985
+ type: optional<OrderAddressJapanType>
1986
+ docs: >-
1987
+ Represents a Japan-only address format. This field will only appear on
1988
+ orders placed from Japan.
1989
+ addressee:
1990
+ type: optional<string>
1991
+ docs: Display name on the address
1992
+ line1:
1993
+ type: optional<string>
1994
+ docs: The first line of the address
1995
+ line2:
1996
+ type: optional<string>
1997
+ docs: The second line of the address
1998
+ city:
1999
+ type: optional<string>
2000
+ docs: The city of the address.
2001
+ state:
2002
+ type: optional<string>
2003
+ docs: The state or province of the address
2004
+ country:
2005
+ type: optional<string>
2006
+ docs: The country of the address
2007
+ postalCode:
2008
+ type: optional<string>
2009
+ docs: The postal code of the address
2010
+ source:
2011
+ openapi: ../../../referenced-specs/v2.yml
2012
+ OrderPurchasedItemVariantImageFileVariantsItem:
2013
+ properties:
2014
+ url:
2015
+ type: optional<string>
2016
+ docs: The hosted location for the Variant's image
2017
+ validation:
2018
+ format: uri
2019
+ originalFileName: optional<string>
2020
+ size:
2021
+ type: optional<double>
2022
+ docs: The image size in bytes
2023
+ width:
2024
+ type: optional<integer>
2025
+ docs: The image width in pixels
2026
+ height:
2027
+ type: optional<integer>
2028
+ docs: The image height in pixels
2029
+ source:
2030
+ openapi: ../../../referenced-specs/v2.yml
2031
+ inline: true
2032
+ OrderPurchasedItemVariantImageFile:
2033
+ properties:
2034
+ size:
2035
+ type: optional<double>
2036
+ docs: The image size in bytes
2037
+ originalFileName:
2038
+ type: optional<string>
2039
+ docs: the original name of the image
2040
+ createdOn:
2041
+ type: optional<datetime>
2042
+ docs: The creation timestamp of the image
2043
+ contentType:
2044
+ type: optional<string>
2045
+ docs: The MIME type of the image
2046
+ width:
2047
+ type: optional<integer>
2048
+ docs: The image width in pixels
2049
+ height:
2050
+ type: optional<integer>
2051
+ docs: The image height in pixels
2052
+ variants:
2053
+ type: optional<list<OrderPurchasedItemVariantImageFileVariantsItem>>
2054
+ docs: Variants of the supplied image
2055
+ source:
2056
+ openapi: ../../../referenced-specs/v2.yml
2057
+ inline: true
2058
+ OrderPurchasedItemVariantImage:
2059
+ properties:
2060
+ url:
2061
+ type: optional<string>
2062
+ docs: The hosted location for the Variant's image
2063
+ validation:
2064
+ format: uri
2065
+ file: optional<OrderPurchasedItemVariantImageFile>
2066
+ source:
2067
+ openapi: ../../../referenced-specs/v2.yml
2068
+ inline: true
2069
+ OrderPurchasedItem:
2070
+ docs: An Item that was purchased
2071
+ properties:
2072
+ count:
2073
+ type: optional<double>
2074
+ docs: Number of Item purchased.
2075
+ rowTotal:
2076
+ type: optional<OrderPrice>
2077
+ docs: The total for the row
2078
+ productId:
2079
+ type: optional<string>
2080
+ docs: The unique identifier for the Product
2081
+ productName:
2082
+ type: optional<string>
2083
+ docs: User-facing name of the Product
2084
+ productSlug:
2085
+ type: optional<string>
2086
+ docs: Slug for the Product
2087
+ variantId:
2088
+ type: optional<string>
2089
+ docs: Identifier for the Product Variant (SKU)
2090
+ variantName:
2091
+ type: optional<string>
2092
+ docs: User-facing name of the Product Variant (SKU)
2093
+ variantSlug:
2094
+ type: optional<string>
2095
+ docs: Slug for the Product Variant (SKU)
2096
+ variantSKU:
2097
+ type: optional<string>
2098
+ docs: The user-defined custom SKU of the Product Variant (SKU)
2099
+ variantImage: optional<OrderPurchasedItemVariantImage>
2100
+ variantPrice:
2101
+ type: optional<OrderPrice>
2102
+ docs: The price corresponding to the variant
2103
+ weight:
2104
+ type: optional<double>
2105
+ docs: The physical weight of the variant if provided, or null
2106
+ width:
2107
+ type: optional<double>
2108
+ docs: The physical width of the variant if provided, or null
2109
+ height:
2110
+ type: optional<double>
2111
+ docs: The physical height of the variant if provided, or null
2112
+ length:
2113
+ type: optional<double>
2114
+ docs: The physical length of the variant if provided, or null
2115
+ source:
2116
+ openapi: ../../../referenced-specs/v2.yml
2117
+ StripeDetails:
2118
+ docs: >-
2119
+ An object with various Stripe IDs, useful for linking into the stripe
2120
+ dashboard.
2121
+ properties:
2122
+ subscriptionId:
2123
+ type: optional<string>
2124
+ docs: Stripe-generated identifier for the Subscription
2125
+ paymentMethod:
2126
+ type: optional<string>
2127
+ docs: Stripe-generated identifier for the PaymentMethod used
2128
+ paymentIntentId:
2129
+ type: optional<string>
2130
+ docs: Stripe-generated identifier for the PaymentIntent, or null
2131
+ customerId:
2132
+ type: optional<string>
2133
+ docs: Stripe-generated customer identifier, or null
2134
+ chargeId:
2135
+ type: optional<string>
2136
+ docs: Stripe-generated charge identifier, or null
2137
+ disputeId:
2138
+ type: optional<string>
2139
+ docs: Stripe-generated dispute identifier, or null
2140
+ refundId:
2141
+ type: optional<string>
2142
+ docs: Stripe-generated refund identifier, or null
2143
+ refundReason:
2144
+ type: optional<string>
2145
+ docs: Stripe-generated refund reason, or null
2146
+ source:
2147
+ openapi: ../../../referenced-specs/v2.yml
2148
+ StripeCardBrand:
2149
+ enum:
2150
+ - Visa
2151
+ - value: American Express
2152
+ name: AmericanExpress
2153
+ - MasterCard
2154
+ - Discover
2155
+ - JCB
2156
+ - value: Diners Club
2157
+ name: DinersClub
2158
+ - Unknown
2159
+ docs: The card's brand (ie. credit card network)
2160
+ source:
2161
+ openapi: ../../../referenced-specs/v2.yml
2162
+ StripeCardExpires:
2163
+ docs: The card's expiration date.
2164
+ properties:
2165
+ year:
2166
+ type: optional<double>
2167
+ docs: Year that the card expires
2168
+ month:
2169
+ type: optional<double>
2170
+ docs: Month that the card expires
2171
+ source:
2172
+ openapi: ../../../referenced-specs/v2.yml
2173
+ inline: true
2174
+ StripeCard:
2175
+ docs: >
2176
+ Details on the card used to fulfill this order, if this order was
2177
+ finalized with Stripe.
2178
+ properties:
2179
+ last4:
2180
+ type: optional<string>
2181
+ docs: The last 4 digits on the card as a string
2182
+ brand:
2183
+ type: optional<StripeCardBrand>
2184
+ docs: The card's brand (ie. credit card network)
2185
+ ownerName:
2186
+ type: optional<string>
2187
+ docs: The name on the card.
2188
+ expires:
2189
+ type: optional<StripeCardExpires>
2190
+ docs: The card's expiration date.
2191
+ source:
2192
+ openapi: ../../../referenced-specs/v2.yml
2193
+ PaypalDetails:
2194
+ properties:
2195
+ orderId:
2196
+ type: optional<string>
2197
+ docs: PayPal order identifier
2198
+ payerId:
2199
+ type: optional<string>
2200
+ docs: PayPal payer identifier
2201
+ captureId:
2202
+ type: optional<string>
2203
+ docs: PayPal capture identifier
2204
+ refundId:
2205
+ type: optional<string>
2206
+ docs: PayPal refund identifier
2207
+ refundReason:
2208
+ type: optional<string>
2209
+ docs: PayPal-issued reason for the refund
2210
+ disputeId:
2211
+ type: optional<string>
2212
+ docs: PayPal dispute identifier
2213
+ source:
2214
+ openapi: ../../../referenced-specs/v2.yml
2215
+ OrderStatus:
2216
+ enum:
2217
+ - pending
2218
+ - unfulfilled
2219
+ - fulfilled
2220
+ - disputed
2221
+ - value: dispute-lost
2222
+ name: DisputeLost
2223
+ - refunded
2224
+ docs: |
2225
+ The status of the Order
2226
+ source:
2227
+ openapi: ../../../referenced-specs/v2.yml
2228
+ OrderDisputeLastStatus:
2229
+ enum:
2230
+ - warning_needs_response
2231
+ - warning_under_review
2232
+ - warning_closed
2233
+ - needs_response
2234
+ - under_review
2235
+ - charge_refunded
2236
+ - won
2237
+ - lost
2238
+ docs: >
2239
+ If an order was disputed by the customer, then this key will be set with
2240
+ the [dispute's status](https://stripe.com/docs/api#dispute_object-status).
2241
+ source:
2242
+ openapi: ../../../referenced-specs/v2.yml
2243
+ OrderCustomerInfo:
2244
+ docs: An object with the keys `fullName` and `email`.
2245
+ properties:
2246
+ fullName:
2247
+ type: optional<string>
2248
+ docs: The full name of the Customer
2249
+ email:
2250
+ type: optional<string>
2251
+ docs: The Customer's email address
2252
+ validation:
2253
+ format: email
2254
+ source:
2255
+ openapi: ../../../referenced-specs/v2.yml
2256
+ inline: true
2257
+ OrderMetadata:
2258
+ properties:
2259
+ isBuyNow: optional<boolean>
2260
+ source:
2261
+ openapi: ../../../referenced-specs/v2.yml
2262
+ inline: true
2263
+ OrderTotalsExtrasItemType:
2264
+ enum:
2265
+ - discount
2266
+ - value: discount-shipping
2267
+ name: DiscountShipping
2268
+ - shipping
2269
+ - tax
2270
+ docs: The type of extra item this is.
2271
+ source:
2272
+ openapi: ../../../referenced-specs/v2.yml
2273
+ OrderTotalsExtrasItem:
2274
+ docs: Extra order items, includes discounts, shipping, and taxes.
2275
+ properties:
2276
+ type:
2277
+ type: optional<OrderTotalsExtrasItemType>
2278
+ docs: The type of extra item this is.
2279
+ name:
2280
+ type: optional<string>
2281
+ docs: A human-readable (but English) name for this extra charge.
2282
+ description:
2283
+ type: optional<string>
2284
+ docs: A human-readable (but English) description of this extra charge.
2285
+ price:
2286
+ type: optional<OrderPrice>
2287
+ docs: The price for the item
2288
+ source:
2289
+ openapi: ../../../referenced-specs/v2.yml
2290
+ inline: true
2291
+ OrderTotals:
2292
+ docs: An object describing various pricing totals
2293
+ properties:
2294
+ subtotal:
2295
+ type: optional<OrderPrice>
2296
+ docs: The subtotal price
2297
+ extras:
2298
+ type: optional<list<OrderTotalsExtrasItem>>
2299
+ docs: An array of extra items, includes discounts, shipping, and taxes.
2300
+ total:
2301
+ type: optional<OrderPrice>
2302
+ docs: The total price
2303
+ source:
2304
+ openapi: ../../../referenced-specs/v2.yml
2305
+ inline: true
2306
+ OrderDownloadFilesItem:
2307
+ properties:
2308
+ id:
2309
+ type: optional<string>
2310
+ docs: The unique identifier for the downloadable file
2311
+ name:
2312
+ type: optional<string>
2313
+ docs: The user-facing name for the downloadable file
2314
+ url:
2315
+ type: optional<string>
2316
+ docs: The hosted location for the downloadable file
2317
+ validation:
2318
+ format: uri
2319
+ source:
2320
+ openapi: ../../../referenced-specs/v2.yml
2321
+ inline: true
2322
+ Order:
2323
+ properties:
2324
+ orderId:
2325
+ type: optional<string>
2326
+ docs: |
2327
+ The order ID. Will usually be 6 hex characters, but can also be 9
2328
+ hex characters if the site has a very large number of Orders.
2329
+ Randomly assigned.
2330
+ status:
2331
+ type: optional<OrderStatus>
2332
+ docs: |
2333
+ The status of the Order
2334
+ comment:
2335
+ type: optional<string>
2336
+ docs: >-
2337
+ A comment string for this Order, which is editable by API user (not
2338
+ used by Webflow).
2339
+ orderComment:
2340
+ type: optional<string>
2341
+ docs: A comment that the customer left when making their Order
2342
+ acceptedOn:
2343
+ type: optional<datetime>
2344
+ docs: The ISO8601 timestamp that an Order was placed.
2345
+ fulfilledOn:
2346
+ type: optional<datetime>
2347
+ docs: >
2348
+ When an Order is marked as 'fulfilled', this field represents the
2349
+ timestamp of the fulfillment in ISO8601 format. Otherwise, it is null.
2350
+ refundedOn:
2351
+ type: optional<datetime>
2352
+ docs: >-
2353
+ When an Order is marked as 'refunded', this field represents the
2354
+ timestamp of the fulfillment in ISO8601 format. Otherwise, it is null.
2355
+ disputedOn:
2356
+ type: optional<datetime>
2357
+ docs: >
2358
+ When an Order is marked as 'disputed', this field represents the
2359
+ timestamp of the fulfillment in ISO8601 format. Otherwise, it is null.
2360
+ disputeUpdatedOn:
2361
+ type: optional<datetime>
2362
+ docs: >
2363
+ If an Order has been disputed by the customer, this key will be set to
2364
+ the ISO8601 timestamp of the last update received. If the Order is not
2365
+ disputed, the key will be null.
2366
+ disputeLastStatus:
2367
+ type: optional<OrderDisputeLastStatus>
2368
+ docs: >
2369
+ If an order was disputed by the customer, then this key will be set
2370
+ with the [dispute's
2371
+ status](https://stripe.com/docs/api#dispute_object-status).
2372
+ customerPaid:
2373
+ type: optional<OrderPrice>
2374
+ docs: The total paid by the customer
2375
+ netAmount:
2376
+ type: optional<OrderPrice>
2377
+ docs: The net amount after application fees
2378
+ applicationFee:
2379
+ type: optional<OrderPrice>
2380
+ docs: The application fee assessed by the platform
2381
+ allAddresses:
2382
+ type: optional<list<OrderAddress>>
2383
+ docs: All addresses provided by the customer during the ordering flow.
2384
+ shippingAddress:
2385
+ type: optional<OrderAddress>
2386
+ docs: The shipping address
2387
+ billingAddress:
2388
+ type: optional<OrderAddress>
2389
+ docs: The billing address
2390
+ shippingProvider:
2391
+ type: optional<string>
2392
+ docs: >
2393
+ A string editable by the API user to note the shipping provider used
2394
+ (not used by Webflow).
2395
+ shippingTracking:
2396
+ type: optional<string>
2397
+ docs: >
2398
+ A string editable by the API user to note the shipping tracking number
2399
+ for the order (not used by Webflow).
2400
+ shippingTrackingURL:
2401
+ type: optional<string>
2402
+ validation:
2403
+ format: uri
2404
+ customerInfo:
2405
+ type: optional<OrderCustomerInfo>
2406
+ docs: An object with the keys `fullName` and `email`.
2407
+ purchasedItems:
2408
+ type: optional<list<OrderPurchasedItem>>
2409
+ docs: An array of all things that the Customer purchased.
2410
+ purchasedItemsCount:
2411
+ type: optional<double>
2412
+ docs: The sum of all 'count' fields in 'purchasedItems'.
2413
+ stripeDetails: optional<StripeDetails>
2414
+ stripeCard: optional<StripeCard>
2415
+ paypalDetails: optional<PaypalDetails>
2416
+ customData:
2417
+ type: optional<list<map<string, unknown>>>
2418
+ docs: >
2419
+ An array of additional inputs for custom order data gathering. Each
2420
+ object in the array represents an input with a name, and a textInput,
2421
+ textArea, or checkbox value.
2422
+ metadata: optional<OrderMetadata>
2423
+ isCustomerDeleted:
2424
+ type: optional<boolean>
2425
+ docs: >
2426
+ A boolean indicating whether the customer has been deleted from the
2427
+ site.
2428
+ isShippingRequired:
2429
+ type: optional<boolean>
2430
+ docs: >
2431
+ A boolean indicating whether the order contains one or more purchased
2432
+ items that require shipping.
2433
+ hasDownloads:
2434
+ type: optional<boolean>
2435
+ docs: >
2436
+ A boolean indicating whether the order contains one or more purchased
2437
+ items that are downloadable.
2438
+ paymentProcessor:
2439
+ type: optional<string>
2440
+ docs: |
2441
+ A string indicating the payment processor used for this order.
2442
+ totals:
2443
+ type: optional<OrderTotals>
2444
+ docs: An object describing various pricing totals
2445
+ downloadFiles:
2446
+ type: optional<list<OrderDownloadFilesItem>>
2447
+ docs: An array of downloadable file objects.
2448
+ source:
2449
+ openapi: ../../../referenced-specs/v2.yml
2450
+ OrderList:
2451
+ docs: Results from order list
2452
+ properties:
2453
+ orders:
2454
+ type: optional<list<Order>>
2455
+ docs: List of orders
2456
+ pagination: optional<Pagination>
2457
+ source:
2458
+ openapi: ../../../referenced-specs/v2.yml
2459
+ InventoryItemInventoryType:
2460
+ enum:
2461
+ - infinite
2462
+ - finite
2463
+ docs: infinite or finite
2464
+ source:
2465
+ openapi: ../../../referenced-specs/v2.yml
2466
+ InventoryItem:
2467
+ docs: The availabile inventory for an item
2468
+ properties:
2469
+ id:
2470
+ type: optional<string>
2471
+ docs: Unique identifier for a SKU item
2472
+ quantity:
2473
+ type: optional<double>
2474
+ docs: >-
2475
+ Total quantity of items remaining in inventory (if inventoryType is
2476
+ finite)
2477
+ inventoryType:
2478
+ type: optional<InventoryItemInventoryType>
2479
+ docs: infinite or finite
2480
+ source:
2481
+ openapi: ../../../referenced-specs/v2.yml
2482
+ EcommerceSettings:
2483
+ docs: Ecommerce settings for a Webflow Site
2484
+ properties:
2485
+ siteId:
2486
+ type: optional<string>
2487
+ docs: The identifier of the Site
2488
+ createdOn:
2489
+ type: optional<datetime>
2490
+ docs: Date that the Site was created on
2491
+ defaultCurrency:
2492
+ type: optional<string>
2493
+ docs: The three-letter ISO currency code for the Site
2494
+ source:
2495
+ openapi: ../../../referenced-specs/v2.yml