fluentcart-developer 2.3.3 → 3.0.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 (655) hide show
  1. package/dist/cards/fluentcart/tools.d.ts.map +1 -1
  2. package/dist/cards/fluentcart/tools.js +2368 -2323
  3. package/dist/cards/fluentcart/tools.js.map +1 -1
  4. package/dist/paths.d.ts +1 -1
  5. package/dist/paths.d.ts.map +1 -1
  6. package/dist/paths.js +1 -1
  7. package/dist/paths.js.map +1 -1
  8. package/dist/reference-reader.d.ts +32 -1
  9. package/dist/reference-reader.d.ts.map +1 -1
  10. package/dist/reference-reader.js +111 -22
  11. package/dist/reference-reader.js.map +1 -1
  12. package/dist/server.d.ts.map +1 -1
  13. package/dist/server.js +8 -1
  14. package/dist/server.js.map +1 -1
  15. package/dist/skills/fluentcart-developer/SKILL.md +66 -538
  16. package/dist/skills/fluentcart-developer/references/api/authentication.md +452 -0
  17. package/dist/skills/fluentcart-developer/references/api/coupons.md +786 -0
  18. package/dist/skills/fluentcart-developer/references/api/customers.md +889 -0
  19. package/dist/skills/fluentcart-developer/references/api/files.md +609 -0
  20. package/dist/skills/fluentcart-developer/references/api/index.md +432 -0
  21. package/dist/skills/fluentcart-developer/references/api/licensing.md +633 -0
  22. package/dist/skills/fluentcart-developer/references/api/order-bump.md +384 -0
  23. package/dist/skills/fluentcart-developer/references/api/orders.md +814 -0
  24. package/dist/skills/fluentcart-developer/references/api/products.md +866 -0
  25. package/dist/skills/fluentcart-developer/references/api/roles-permissions.md +536 -0
  26. package/dist/skills/fluentcart-developer/references/api/subscriptions.md +827 -0
  27. package/dist/skills/fluentcart-developer/references/database/index.md +44 -0
  28. package/dist/skills/fluentcart-developer/references/database/models/activity.md +178 -0
  29. package/dist/skills/fluentcart-developer/references/database/models/applied-coupon.md +291 -0
  30. package/dist/skills/fluentcart-developer/references/database/models/attribute-group.md +239 -0
  31. package/dist/skills/fluentcart-developer/references/database/models/attribute-relation.md +181 -0
  32. package/dist/skills/fluentcart-developer/references/database/models/attribute-term.md +219 -0
  33. package/dist/skills/fluentcart-developer/references/database/models/cart.md +645 -0
  34. package/dist/skills/fluentcart-developer/references/database/models/coupon.md +427 -0
  35. package/dist/skills/fluentcart-developer/references/database/models/customer-addresses.md +348 -0
  36. package/dist/skills/fluentcart-developer/references/database/models/customer-meta.md +156 -0
  37. package/dist/skills/fluentcart-developer/references/database/models/customer.md +584 -0
  38. package/dist/skills/fluentcart-developer/references/database/models/dynamic-model.md +163 -0
  39. package/dist/skills/fluentcart-developer/references/database/models/label-relationship.md +155 -0
  40. package/dist/skills/fluentcart-developer/references/database/models/label.md +153 -0
  41. package/dist/skills/fluentcart-developer/references/database/models/license-activation.md +182 -0
  42. package/dist/skills/fluentcart-developer/references/database/models/license-meta.md +163 -0
  43. package/dist/skills/fluentcart-developer/references/database/models/license-site.md +208 -0
  44. package/dist/skills/fluentcart-developer/references/database/models/license.md +640 -0
  45. package/dist/skills/fluentcart-developer/references/database/models/meta.md +233 -0
  46. package/dist/skills/fluentcart-developer/references/database/models/order-address.md +391 -0
  47. package/dist/skills/fluentcart-developer/references/database/models/order-download-permission.md +144 -0
  48. package/dist/skills/fluentcart-developer/references/database/models/order-item.md +383 -0
  49. package/dist/skills/fluentcart-developer/references/database/models/order-meta.md +303 -0
  50. package/dist/skills/fluentcart-developer/references/database/models/order-operation.md +158 -0
  51. package/dist/skills/fluentcart-developer/references/database/models/order-promotion-stat.md +175 -0
  52. package/dist/skills/fluentcart-developer/references/database/models/order-promotion.md +250 -0
  53. package/dist/skills/fluentcart-developer/references/database/models/order-tax-rate.md +172 -0
  54. package/dist/skills/fluentcart-developer/references/database/models/order-transaction.md +440 -0
  55. package/dist/skills/fluentcart-developer/references/database/models/order.md +727 -0
  56. package/dist/skills/fluentcart-developer/references/database/models/product-detail.md +397 -0
  57. package/dist/skills/fluentcart-developer/references/database/models/product-download.md +258 -0
  58. package/dist/skills/fluentcart-developer/references/database/models/product-meta.md +153 -0
  59. package/dist/skills/fluentcart-developer/references/database/models/product-variation.md +556 -0
  60. package/dist/skills/fluentcart-developer/references/database/models/product.md +580 -0
  61. package/dist/skills/fluentcart-developer/references/database/models/relationships.md +427 -0
  62. package/dist/skills/fluentcart-developer/references/database/models/scheduled-action.md +175 -0
  63. package/dist/skills/fluentcart-developer/references/database/models/shipping-class.md +148 -0
  64. package/dist/skills/fluentcart-developer/references/database/models/shipping-method.md +280 -0
  65. package/dist/skills/fluentcart-developer/references/database/models/shipping-zone.md +205 -0
  66. package/dist/skills/fluentcart-developer/references/database/models/subscription-meta.md +173 -0
  67. package/dist/skills/fluentcart-developer/references/database/models/subscription.md +528 -0
  68. package/dist/skills/fluentcart-developer/references/database/models/tax-class.md +195 -0
  69. package/dist/skills/fluentcart-developer/references/database/models/tax-rate.md +225 -0
  70. package/dist/skills/fluentcart-developer/references/database/models/user-meta.md +166 -0
  71. package/dist/skills/fluentcart-developer/references/database/models/user.md +220 -0
  72. package/dist/skills/fluentcart-developer/references/database/models.md +404 -0
  73. package/dist/skills/fluentcart-developer/references/database/query-builder.md +860 -0
  74. package/dist/skills/fluentcart-developer/references/database/readme.md +276 -0
  75. package/dist/skills/fluentcart-developer/references/database/schema.md +1002 -0
  76. package/dist/skills/fluentcart-developer/references/engineering/adding-custom-pages-to-the-customer-dashboard.md +395 -0
  77. package/dist/skills/fluentcart-developer/references/engineering/index.md +4 -0
  78. package/dist/skills/fluentcart-developer/references/engineering.md +4 -0
  79. package/dist/skills/fluentcart-developer/references/getting-started.md +249 -0
  80. package/dist/skills/fluentcart-developer/references/guides/frontend.md +519 -0
  81. package/dist/skills/fluentcart-developer/references/guides/index.md +107 -0
  82. package/dist/skills/fluentcart-developer/references/guides/integrations.md +600 -0
  83. package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/index.md +237 -0
  84. package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/labels-and-tracking.md +481 -0
  85. package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/live-rates.md +269 -0
  86. package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/reference.md +223 -0
  87. package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/settings.md +370 -0
  88. package/dist/skills/fluentcart-developer/references/guides/shipping-carrier.md +237 -0
  89. package/dist/skills/fluentcart-developer/references/{subscription-customization.md → guides/subscriptions.md} +57 -37
  90. package/dist/skills/fluentcart-developer/references/hooks/actions/admin-and-templates.md +1079 -0
  91. package/dist/skills/fluentcart-developer/references/hooks/actions/cart-and-checkout.md +1795 -0
  92. package/dist/skills/fluentcart-developer/references/hooks/actions/customers-and-users.md +327 -0
  93. package/dist/skills/fluentcart-developer/references/hooks/actions/licenses.md +829 -0
  94. package/dist/skills/fluentcart-developer/references/hooks/actions/modules.md +81 -0
  95. package/dist/skills/fluentcart-developer/references/hooks/actions/orders.md +757 -0
  96. package/dist/skills/fluentcart-developer/references/hooks/actions/payments-and-integrations.md +1163 -0
  97. package/dist/skills/fluentcart-developer/references/hooks/actions/pro-modules.md +219 -0
  98. package/dist/skills/fluentcart-developer/references/hooks/actions/products-and-coupons.md +1019 -0
  99. package/dist/skills/fluentcart-developer/references/hooks/actions/subscriptions.md +1290 -0
  100. package/dist/skills/fluentcart-developer/references/hooks/actions.md +16 -0
  101. package/dist/skills/fluentcart-developer/references/hooks/deprecated.md +60 -0
  102. package/dist/skills/fluentcart-developer/references/hooks/filters/cart-and-checkout.md +2032 -0
  103. package/dist/skills/fluentcart-developer/references/hooks/filters/customers-and-subscriptions.md +1746 -0
  104. package/dist/skills/fluentcart-developer/references/hooks/filters/integrations-and-advanced.md +2439 -0
  105. package/dist/skills/fluentcart-developer/references/hooks/filters/modules.md +464 -0
  106. package/dist/skills/fluentcart-developer/references/hooks/filters/orders-and-payments.md +2658 -0
  107. package/dist/skills/fluentcart-developer/references/hooks/filters/pro-modules.md +502 -0
  108. package/dist/skills/fluentcart-developer/references/hooks/filters/products-and-pricing.md +1785 -0
  109. package/dist/skills/fluentcart-developer/references/hooks/filters/settings-and-configuration.md +2966 -0
  110. package/dist/skills/fluentcart-developer/references/hooks/filters.md +14 -0
  111. package/dist/skills/fluentcart-developer/references/hooks/index.md +35 -0
  112. package/dist/skills/fluentcart-developer/references/index.md +625 -0
  113. package/dist/skills/fluentcart-developer/references/{fee-system-guide.md → modules/fee-system.md} +38 -60
  114. package/dist/skills/fluentcart-developer/references/{ghost-product-selling.md → modules/ghost-product-selling.md} +71 -89
  115. package/dist/skills/fluentcart-developer/references/modules/index.md +484 -0
  116. package/dist/skills/fluentcart-developer/references/modules/licensing.md +342 -0
  117. package/dist/skills/fluentcart-developer/references/modules/order-bump.md +433 -0
  118. package/dist/skills/fluentcart-developer/references/modules/payment-methods.md +129 -0
  119. package/dist/skills/fluentcart-developer/references/modules/refunds.md +170 -0
  120. package/dist/skills/fluentcart-developer/references/modules/shipping.md +846 -0
  121. package/dist/skills/fluentcart-developer/references/modules/storage.md +986 -0
  122. package/dist/skills/fluentcart-developer/references/modules/subscription-vendor-ids.md +186 -0
  123. package/dist/skills/fluentcart-developer/references/modules/subscriptions.md +678 -0
  124. package/dist/skills/fluentcart-developer/references/payment-methods-integration/index.md +164 -0
  125. package/dist/skills/fluentcart-developer/references/payment-methods-integration/paddle-example.md +1648 -0
  126. package/dist/skills/fluentcart-developer/references/payment-methods-integration/payment/setting/fields.md +353 -0
  127. package/dist/skills/fluentcart-developer/references/payment-methods-integration/quick-implementation.md +1079 -0
  128. package/dist/skills/fluentcart-developer/references/payment-methods-integration.md +164 -0
  129. package/dist/skills/fluentcart-developer/references/restapi/checkout.md +573 -0
  130. package/dist/skills/fluentcart-developer/references/restapi/coupons.md +958 -0
  131. package/dist/skills/fluentcart-developer/references/restapi/customer-profile.md +1423 -0
  132. package/dist/skills/fluentcart-developer/references/{rest-api-customers.md → restapi/customers.md} +406 -424
  133. package/dist/skills/fluentcart-developer/references/restapi/dashboard.md +1083 -0
  134. package/dist/skills/fluentcart-developer/references/restapi/data-export.md +132 -0
  135. package/dist/skills/fluentcart-developer/references/restapi/email-notifications.md +846 -0
  136. package/dist/skills/fluentcart-developer/references/restapi/files.md +313 -0
  137. package/dist/skills/fluentcart-developer/references/restapi/index.md +127 -0
  138. package/dist/skills/fluentcart-developer/references/restapi/integrations.md +1000 -0
  139. package/dist/skills/fluentcart-developer/references/restapi/inventory.md +192 -0
  140. package/dist/skills/fluentcart-developer/references/restapi/labels-and-attributes.md +797 -0
  141. package/dist/skills/fluentcart-developer/references/restapi/licensing.md +1733 -0
  142. package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-available-shipping-methods.md +30 -0
  143. package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-checkout-summary.md +28 -0
  144. package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-country-info.md +29 -0
  145. package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-order-info.md +28 -0
  146. package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-shipping-methods-list-view.md +30 -0
  147. package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/login.md +66 -0
  148. package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/place-order.md +179 -0
  149. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/apply-coupon.md +83 -0
  150. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/cancel-coupon.md +87 -0
  151. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/check-product-eligibility.md +59 -0
  152. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/create-coupon.md +230 -0
  153. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/delete-coupon.md +29 -0
  154. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/get-coupon-settings.md +20 -0
  155. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/get-coupon.md +27 -0
  156. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/list-coupon-codes.md +20 -0
  157. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/list-coupons.md +37 -0
  158. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/re-apply-coupons.md +75 -0
  159. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/store-coupon-settings.md +40 -0
  160. package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/update-coupon.md +133 -0
  161. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/create-address-checkout.md +138 -0
  162. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/create-profile-address.md +119 -0
  163. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/dashboard-overview.md +22 -0
  164. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/delete-profile-address.md +46 -0
  165. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-order-details.md +30 -0
  166. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-portal-sections.md +29 -0
  167. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-profile-details.md +22 -0
  168. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-transaction-billing-address.md +30 -0
  169. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-upgrade-paths.md +31 -0
  170. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/list-downloads.md +29 -0
  171. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/list-orders.md +28 -0
  172. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/make-profile-address-primary.md +55 -0
  173. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/pause-subscription.md +29 -0
  174. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/resume-subscription.md +29 -0
  175. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/save-transaction-billing-address.md +92 -0
  176. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/select-address-for-checkout.md +32 -0
  177. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/update-profile-address.md +115 -0
  178. package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/update-profile-details.md +69 -0
  179. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/attach-user.md +50 -0
  180. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/bulk-actions.md +65 -0
  181. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/create-address.md +135 -0
  182. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/create-customer.md +108 -0
  183. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/delete-address.md +62 -0
  184. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/detach-user.md +28 -0
  185. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/find-customer-order.md +27 -0
  186. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-attachable-users.md +20 -0
  187. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer-addresses.md +28 -0
  188. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer-orders.md +37 -0
  189. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer-stats.md +27 -0
  190. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer.md +32 -0
  191. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/list-customers.md +37 -0
  192. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/recalculate-ltv.md +28 -0
  193. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/set-primary-address.md +72 -0
  194. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/update-additional-info.md +55 -0
  195. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/update-address.md +144 -0
  196. package/dist/skills/fluentcart-developer/references/restapi/operations/customers/update-customer.md +123 -0
  197. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/attach-note-to-order.md +49 -0
  198. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/create-all-pages.md +21 -0
  199. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/create-single-page.md +55 -0
  200. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/delete-activity.md +28 -0
  201. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-country-info.md +29 -0
  202. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-dashboard-stats.md +22 -0
  203. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-filter-options.md +31 -0
  204. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-onboarding-data.md +20 -0
  205. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-onboarding-settings.md +20 -0
  206. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-print-templates.md +20 -0
  207. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-search-options.md +27 -0
  208. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-widgets.md +28 -0
  209. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/initialize-app.md +20 -0
  210. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/list-activities.md +33 -0
  211. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/list-attachments.md +21 -0
  212. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/list-countries.md +20 -0
  213. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/mark-activity-read.md +53 -0
  214. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/run-data-backfills.md +21 -0
  215. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/save-onboarding-settings.md +54 -0
  216. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/save-onboarding-tax-settings.md +73 -0
  217. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/save-print-templates.md +64 -0
  218. package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/upload-attachment.md +42 -0
  219. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-customers-batch.md +129 -0
  220. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-licenses-batch.md +133 -0
  221. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-orders-batch.md +129 -0
  222. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-subscriptions-batch.md +129 -0
  223. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-customers-export-schema.md +21 -0
  224. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-licenses-export-schema.md +26 -0
  225. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-orders-export-schema.md +21 -0
  226. package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-subscriptions-export-schema.md +21 -0
  227. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/enable-notification.md +57 -0
  228. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-digest-settings.md +22 -0
  229. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-notification.md +30 -0
  230. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-reminders.md +22 -0
  231. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-settings.md +22 -0
  232. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-shortcodes.md +22 -0
  233. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/list-notifications.md +20 -0
  234. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/preview-default-template.md +66 -0
  235. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/preview-notification.md +50 -0
  236. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/save-digest-settings.md +101 -0
  237. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/save-reminders.md +162 -0
  238. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/save-settings.md +99 -0
  239. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/send-digest-test.md +47 -0
  240. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/send-manual-reminder.md +51 -0
  241. package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/update-notification.md +93 -0
  242. package/dist/skills/fluentcart-developer/references/restapi/operations/files/delete-file.md +31 -0
  243. package/dist/skills/fluentcart-developer/references/restapi/operations/files/get-bucket-list.md +28 -0
  244. package/dist/skills/fluentcart-developer/references/restapi/operations/files/list-files.md +30 -0
  245. package/dist/skills/fluentcart-developer/references/restapi/operations/files/upload-editor-file.md +32 -0
  246. package/dist/skills/fluentcart-developer/references/restapi/operations/files/upload-file.md +34 -0
  247. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/chained-data-request.md +46 -0
  248. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/change-feed-status.md +51 -0
  249. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/delete-feed.md +27 -0
  250. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-dynamic-options.md +29 -0
  251. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-feed-lists.md +27 -0
  252. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-feed-settings.md +27 -0
  253. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-global-feeds.md +20 -0
  254. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-global-settings.md +26 -0
  255. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/install-addon-plugin.md +49 -0
  256. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/list-addons.md +20 -0
  257. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/save-feed-settings.md +52 -0
  258. package/dist/skills/fluentcart-developer/references/restapi/operations/integration/set-global-settings.md +50 -0
  259. package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/bulk-update-stock.md +94 -0
  260. package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/export-inventory.md +81 -0
  261. package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/get-adjustment-history.md +26 -0
  262. package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/get-inventory-stats.md +21 -0
  263. package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/list-inventory.md +33 -0
  264. package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/update-stock.md +75 -0
  265. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/create-attribute-group.md +31 -0
  266. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/create-label.md +31 -0
  267. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/create-terms.md +90 -0
  268. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/delete-attribute-group.md +28 -0
  269. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/delete-attribute-term.md +29 -0
  270. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/get-attribute-group.md +28 -0
  271. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/get-attribute-library.md +20 -0
  272. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/list-attribute-groups.md +32 -0
  273. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/list-attribute-terms.md +33 -0
  274. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/list-labels.md +20 -0
  275. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/reorder-groups.md +51 -0
  276. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/reorder-terms.md +56 -0
  277. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/update-attribute-group.md +37 -0
  278. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/update-attribute-term.md +39 -0
  279. package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/update-label-selections.md +32 -0
  280. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/activate-plugin-license.md +41 -0
  281. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/activate-site-admin.md +60 -0
  282. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/deactivate-plugin-license.md +18 -0
  283. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/deactivate-site-admin.md +67 -0
  284. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/deactivate-site-customer.md +47 -0
  285. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/delete-license.md +24 -0
  286. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/extend-license-validity.md +47 -0
  287. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-customer-license-details.md +25 -0
  288. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-customer-licenses-admin.md +26 -0
  289. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-license-activations.md +25 -0
  290. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-license-details.md +25 -0
  291. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-license-site.md +30 -0
  292. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-plugin-license-status.md +18 -0
  293. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-product-license-settings.md +24 -0
  294. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/list-customer-licenses.md +25 -0
  295. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/list-license-sites.md +33 -0
  296. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/list-licenses.md +38 -0
  297. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-activate-license.md +54 -0
  298. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-check-license.md +26 -0
  299. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-deactivate-license.md +46 -0
  300. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-download-license-package.md +23 -0
  301. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-get-license-version.md +26 -0
  302. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/regenerate-license-key.md +24 -0
  303. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/save-product-license-settings.md +193 -0
  304. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/update-license-activation-limit.md +53 -0
  305. package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/update-license-status.md +52 -0
  306. package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/create-order-bump.md +47 -0
  307. package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/delete-order-bump.md +25 -0
  308. package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/get-order-bump.md +25 -0
  309. package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/list-order-bumps.md +29 -0
  310. package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/update-order-bump.md +141 -0
  311. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/accept-dispute.md +47 -0
  312. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/bulk-actions.md +72 -0
  313. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/calculate-shipping.md +67 -0
  314. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/calculate-tax.md +98 -0
  315. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/change-customer.md +50 -0
  316. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/charge-now.md +29 -0
  317. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-and-change-customer.md +92 -0
  318. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-custom-order-item.md +68 -0
  319. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-order.md +351 -0
  320. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-renewal-now.md +29 -0
  321. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/delete-order.md +28 -0
  322. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/generate-missing-licenses.md +29 -0
  323. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-order-transactions.md +27 -0
  324. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-order.md +27 -0
  325. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-renewal.md +28 -0
  326. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-shipping-methods.md +28 -0
  327. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-single-transaction.md +28 -0
  328. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/list-order-currencies.md +22 -0
  329. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/list-orders.md +42 -0
  330. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/list-renewals.md +28 -0
  331. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/mark-as-paid.md +61 -0
  332. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/price-order.md +135 -0
  333. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/refund-order.md +72 -0
  334. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/resend-renewal-invoice.md +29 -0
  335. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/skip-renewal.md +48 -0
  336. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/sync-order-statuses.md +28 -0
  337. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/sync-pending-transaction.md +29 -0
  338. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-order-address-id.md +60 -0
  339. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-order-address.md +98 -0
  340. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-order.md +172 -0
  341. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-statuses.md +77 -0
  342. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-subscription-details.md +84 -0
  343. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-transaction-status.md +51 -0
  344. package/dist/skills/fluentcart-developer/references/restapi/operations/orders/void-renewal.md +30 -0
  345. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/create-pdf-template.md +42 -0
  346. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/delete-pdf-template.md +26 -0
  347. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/download-pdf-preview.md +44 -0
  348. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-factory-default-templates.md +19 -0
  349. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-pdf-status.md +21 -0
  350. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-pdf-template.md +26 -0
  351. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-saved-templates.md +21 -0
  352. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-seller-details.md +19 -0
  353. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/list-pdf-templates.md +19 -0
  354. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/save-pdf-template.md +53 -0
  355. package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/save-seller-details.md +97 -0
  356. package/dist/skills/fluentcart-developer/references/restapi/operations/products/add-product-terms.md +64 -0
  357. package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-edit-fetch.md +30 -0
  358. package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-insert-products.md +62 -0
  359. package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-update-products.md +59 -0
  360. package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-update-variants.md +83 -0
  361. package/dist/skills/fluentcart-developer/references/restapi/operations/products/change-integration-status.md +64 -0
  362. package/dist/skills/fluentcart-developer/references/restapi/operations/products/create-dummy-products.md +45 -0
  363. package/dist/skills/fluentcart-developer/references/restapi/operations/products/create-product.md +81 -0
  364. package/dist/skills/fluentcart-developer/references/restapi/operations/products/create-variation.md +181 -0
  365. package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-downloadable-file.md +27 -0
  366. package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-product-integration.md +30 -0
  367. package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-product.md +27 -0
  368. package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-taxonomy-term.md +55 -0
  369. package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-upgrade-path.md +27 -0
  370. package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-variation.md +27 -0
  371. package/dist/skills/fluentcart-developer/references/restapi/operations/products/do-bulk-action.md +56 -0
  372. package/dist/skills/fluentcart-developer/references/restapi/operations/products/duplicate-product.md +56 -0
  373. package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-products-by-ids.md +26 -0
  374. package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-taxonomy-terms.md +20 -0
  375. package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-terms-by-parent.md +60 -0
  376. package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-variations-by-ids.md +26 -0
  377. package/dist/skills/fluentcart-developer/references/restapi/operations/products/find-subscription-variants.md +26 -0
  378. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-bundle-info.md +27 -0
  379. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-downloadable-url.md +27 -0
  380. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-max-excerpt-word-count.md +20 -0
  381. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-pricing-widgets.md +27 -0
  382. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product-integration-feeds.md +29 -0
  383. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product-integration-settings.md +31 -0
  384. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product-pricing.md +28 -0
  385. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product.md +28 -0
  386. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-related-products.md +31 -0
  387. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-upgrade-settings.md +27 -0
  388. package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-variation-upgrade-paths.md +28 -0
  389. package/dist/skills/fluentcart-developer/references/restapi/operations/products/group-bulk-update-variants.md +103 -0
  390. package/dist/skills/fluentcart-developer/references/restapi/operations/products/list-all-variants.md +26 -0
  391. package/dist/skills/fluentcart-developer/references/restapi/operations/products/list-product-variations.md +26 -0
  392. package/dist/skills/fluentcart-developer/references/restapi/operations/products/list-products.md +34 -0
  393. package/dist/skills/fluentcart-developer/references/restapi/operations/products/remove-shipping-class.md +27 -0
  394. package/dist/skills/fluentcart-developer/references/restapi/operations/products/remove-tax-class.md +27 -0
  395. package/dist/skills/fluentcart-developer/references/restapi/operations/products/save-bundle-info.md +56 -0
  396. package/dist/skills/fluentcart-developer/references/restapi/operations/products/save-product-integration.md +62 -0
  397. package/dist/skills/fluentcart-developer/references/restapi/operations/products/save-upgrade-path.md +78 -0
  398. package/dist/skills/fluentcart-developer/references/restapi/operations/products/search-product-variant-options.md +29 -0
  399. package/dist/skills/fluentcart-developer/references/restapi/operations/products/search-products-by-name.md +28 -0
  400. package/dist/skills/fluentcart-developer/references/restapi/operations/products/search-variants-by-name.md +28 -0
  401. package/dist/skills/fluentcart-developer/references/restapi/operations/products/set-variation-media.md +74 -0
  402. package/dist/skills/fluentcart-developer/references/restapi/operations/products/suggest-sku.md +28 -0
  403. package/dist/skills/fluentcart-developer/references/restapi/operations/products/sync-downloadable-files.md +134 -0
  404. package/dist/skills/fluentcart-developer/references/restapi/operations/products/sync-taxonomy-terms.md +61 -0
  405. package/dist/skills/fluentcart-developer/references/restapi/operations/products/toggle-product-tax-exemption.md +56 -0
  406. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-downloadable-file.md +98 -0
  407. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-inventory.md +56 -0
  408. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-long-desc-editor-mode.md +49 -0
  409. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-manage-stock.md +53 -0
  410. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-product-detail.md +58 -0
  411. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-product-pricing.md +225 -0
  412. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-shipping-class.md +49 -0
  413. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-tax-class.md +49 -0
  414. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-upgrade-path.md +78 -0
  415. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variant-option.md +79 -0
  416. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variant-tax-exemption.md +56 -0
  417. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variation-pricing-table.md +49 -0
  418. package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variation.md +105 -0
  419. package/dist/skills/fluentcart-developer/references/restapi/operations/public-shop/get-product-views.md +34 -0
  420. package/dist/skills/fluentcart-developer/references/restapi/operations/public-shop/list-products.md +42 -0
  421. package/dist/skills/fluentcart-developer/references/restapi/operations/public-shop/search-products.md +30 -0
  422. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/channel-rules.md +24 -0
  423. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/country-heat-map.md +22 -0
  424. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/coupon-overview.md +37 -0
  425. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/coupons.md +36 -0
  426. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-insights.md +31 -0
  427. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-overview.md +36 -0
  428. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-repeat.md +35 -0
  429. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-segment-customers.md +36 -0
  430. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-segments.md +30 -0
  431. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-value.md +34 -0
  432. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/dashboard-stats.md +30 -0
  433. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/failed-orders.md +34 -0
  434. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-new-vs-returning-customer.md +34 -0
  435. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-report-by-day-and-hour.md +34 -0
  436. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-report-meta.md +29 -0
  437. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-top-sold-products.md +34 -0
  438. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/future-renewals.md +31 -0
  439. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/generate-retention-snapshots.md +24 -0
  440. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-overview.md +30 -0
  441. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-recent-activities.md +26 -0
  442. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-recent-orders.md +20 -0
  443. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-revenue.md +37 -0
  444. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/installments-at-risk.md +35 -0
  445. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/installments-variations.md +33 -0
  446. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/installments.md +33 -0
  447. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/item-count-distribution.md +34 -0
  448. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/license-chart.md +30 -0
  449. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/license-pie-chart.md +22 -0
  450. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/license-summary.md +22 -0
  451. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/locations.md +43 -0
  452. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-chart.md +37 -0
  453. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-completion-time.md +34 -0
  454. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-mix.md +34 -0
  455. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-value-distribution.md +34 -0
  456. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/payment-methods-disputes.md +38 -0
  457. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/payment-methods-methods.md +36 -0
  458. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/payment-methods.md +37 -0
  459. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-comparison-launch.md +33 -0
  460. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-comparison.md +40 -0
  461. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-detail.md +37 -0
  462. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-sales.md +37 -0
  463. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/refunds-overview.md +37 -0
  464. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/retention-snapshots-step.md +45 -0
  465. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/sales-growth-chart.md +35 -0
  466. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/save-channel-rules.md +73 -0
  467. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/source-channels.md +37 -0
  468. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/sources.md +49 -0
  469. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-cohorts.md +33 -0
  470. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-health.md +30 -0
  471. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-rebuys.md +37 -0
  472. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-retention.md +34 -0
  473. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-variations.md +22 -0
  474. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscriptions-overview.md +37 -0
  475. package/dist/skills/fluentcart-developer/references/restapi/operations/reports/weeks-between-refund.md +34 -0
  476. package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/assign-role.md +48 -0
  477. package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/delete-role-assignment.md +47 -0
  478. package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/get-role.md +25 -0
  479. package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/list-managers.md +18 -0
  480. package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/list-roles.md +18 -0
  481. package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/search-users.md +25 -0
  482. package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/update-role.md +43 -0
  483. package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/create-saved-view.md +106 -0
  484. package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/delete-saved-view.md +26 -0
  485. package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/list-saved-views.md +25 -0
  486. package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/update-saved-view.md +83 -0
  487. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/activate-payment-addon.md +44 -0
  488. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/activate-plugin-addon.md +44 -0
  489. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/change-storage-driver-status.md +56 -0
  490. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/check-paypal-webhook.md +26 -0
  491. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/create-storage-bucket.md +63 -0
  492. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/disconnect-payment-method.md +55 -0
  493. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/exchange-paypal-seller-auth-token.md +62 -0
  494. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-active-storage-drivers.md +20 -0
  495. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-checkout-fields.md +22 -0
  496. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-email-shortcodes.md +20 -0
  497. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-mcp-config-snippets.md +26 -0
  498. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-mcp-status.md +20 -0
  499. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-module-settings.md +20 -0
  500. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-payment-method-connection-info.md +26 -0
  501. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-payment-method-settings.md +26 -0
  502. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-permissions.md +22 -0
  503. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-plugin-addons.md +20 -0
  504. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-storage-driver-settings.md +27 -0
  505. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-store-settings.md +26 -0
  506. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/install-mcp-adapter.md +21 -0
  507. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/install-payment-addon.md +60 -0
  508. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/install-plugin-addon.md +64 -0
  509. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/list-all-payment-methods.md +20 -0
  510. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/list-all-storage-drivers.md +20 -0
  511. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/list-storage-buckets.md +67 -0
  512. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/reorder-payment-methods.md +55 -0
  513. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/reset-storage-driver-settings.md +45 -0
  514. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-checkout-fields.md +133 -0
  515. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-confirmation-settings.md +68 -0
  516. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-module-settings.md +68 -0
  517. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-payment-method-design.md +67 -0
  518. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-payment-method-settings.md +58 -0
  519. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-permissions.md +68 -0
  520. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-storage-driver-settings.md +62 -0
  521. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-store-settings.md +239 -0
  522. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/setup-paypal-webhook.md +48 -0
  523. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/toggle-mcp.md +40 -0
  524. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/verify-storage-driver-connection.md +62 -0
  525. package/dist/skills/fluentcart-developer/references/restapi/operations/settings/verify-turnstile-keys.md +55 -0
  526. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/create-shipping-class.md +73 -0
  527. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/create-shipping-method.md +110 -0
  528. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/create-shipping-zone.md +56 -0
  529. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/delete-shipping-class.md +29 -0
  530. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/delete-shipping-method.md +29 -0
  531. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/delete-shipping-zone.md +29 -0
  532. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-class-profile.md +30 -0
  533. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-class.md +29 -0
  534. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-packages.md +22 -0
  535. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-zone.md +27 -0
  536. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-zone-countries.md +22 -0
  537. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-zone-states.md +28 -0
  538. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/list-shipping-classes.md +31 -0
  539. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/list-shipping-zones.md +31 -0
  540. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/save-shipping-packages.md +112 -0
  541. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-shipping-class.md +79 -0
  542. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-shipping-method.md +113 -0
  543. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-shipping-zone.md +62 -0
  544. package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-zone-order.md +52 -0
  545. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/cancel-auto-renew.md +30 -0
  546. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/cancel-subscription.md +52 -0
  547. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/confirm-subscription-switch.md +70 -0
  548. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/fetch-subscription-remote.md +28 -0
  549. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/generate-early-payment-link.md +29 -0
  550. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-customer-subscription.md +27 -0
  551. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-or-create-plan.md +69 -0
  552. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-setup-intent-attempts.md +30 -0
  553. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-subscription.md +28 -0
  554. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/initiate-early-payment.md +31 -0
  555. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/list-customer-subscriptions.md +27 -0
  556. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/list-subscriptions.md +39 -0
  557. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/pause-subscription.md +28 -0
  558. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/reactivate-subscription.md +28 -0
  559. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/resume-subscription.md +28 -0
  560. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/switch-payment-method.md +70 -0
  561. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/update-payment-method.md +69 -0
  562. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/update-vendor-ids.md +56 -0
  563. package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/verify-vendor-ids.md +56 -0
  564. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/create-tax-class.md +51 -0
  565. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/create-tax-rate.md +117 -0
  566. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-product-override.md +27 -0
  567. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-shipping-tax-override.md +27 -0
  568. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-tax-class.md +28 -0
  569. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-tax-rate.md +27 -0
  570. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-country-tax-id.md +27 -0
  571. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-country-tax-rates.md +28 -0
  572. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-eu-vat-product-overrides.md +20 -0
  573. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-oss-country-rates.md +20 -0
  574. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-preconfigured-tax-rates.md +20 -0
  575. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-product-overrides.md +27 -0
  576. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-tax-settings.md +20 -0
  577. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/list-all-tax-rates.md +20 -0
  578. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/list-tax-classes.md +20 -0
  579. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/list-tax-records.md +37 -0
  580. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/mark-taxes-as-filed.md +58 -0
  581. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/reset-eu-vat-rates.md +21 -0
  582. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-configured-countries.md +57 -0
  583. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-country-tax-id.md +50 -0
  584. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-eu-vat-cross-border-settings.md +127 -0
  585. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-oss-country-rates.md +100 -0
  586. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-product-override.md +110 -0
  587. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-shipping-tax-override.md +52 -0
  588. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-tax-settings.md +166 -0
  589. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/update-country-status.md +54 -0
  590. package/dist/skills/fluentcart-developer/references/restapi/operations/tax/update-tax-rate.md +116 -0
  591. package/dist/skills/fluentcart-developer/references/restapi/order-bumps.md +433 -0
  592. package/dist/skills/fluentcart-developer/references/{rest-api-orders.md → restapi/orders.md} +146 -396
  593. package/dist/skills/fluentcart-developer/references/restapi/pdf-templates.md +212 -0
  594. package/dist/skills/fluentcart-developer/references/{rest-api-products.md → restapi/products.md} +354 -566
  595. package/dist/skills/fluentcart-developer/references/restapi/public-shop.md +191 -0
  596. package/dist/skills/fluentcart-developer/references/restapi/reports.md +3773 -0
  597. package/dist/skills/fluentcart-developer/references/restapi/roles.md +403 -0
  598. package/dist/skills/fluentcart-developer/references/restapi/saved-views.md +136 -0
  599. package/dist/skills/fluentcart-developer/references/restapi/settings.md +1423 -0
  600. package/dist/skills/fluentcart-developer/references/{rest-api-shipping.md → restapi/shipping.md} +243 -138
  601. package/dist/skills/fluentcart-developer/references/restapi/subscriptions.md +1169 -0
  602. package/dist/skills/fluentcart-developer/references/restapi/tax.md +1551 -0
  603. package/dist/skills/fluentcart-developer/references/restapi.md +127 -0
  604. package/dist/version.d.ts +1 -1
  605. package/dist/version.js +1 -1
  606. package/package.json +1 -1
  607. package/dist/skills/fluentcart-developer/.claude-plugin/plugin.json +0 -12
  608. package/dist/skills/fluentcart-developer/.mcp.json +0 -11
  609. package/dist/skills/fluentcart-developer/references/action-hooks-admin-templates.md +0 -787
  610. package/dist/skills/fluentcart-developer/references/action-hooks-cart-checkout.md +0 -1355
  611. package/dist/skills/fluentcart-developer/references/action-hooks-customers-users.md +0 -266
  612. package/dist/skills/fluentcart-developer/references/action-hooks-licenses.md +0 -855
  613. package/dist/skills/fluentcart-developer/references/action-hooks-orders.md +0 -631
  614. package/dist/skills/fluentcart-developer/references/action-hooks-payments-integrations.md +0 -963
  615. package/dist/skills/fluentcart-developer/references/action-hooks-products-coupons.md +0 -585
  616. package/dist/skills/fluentcart-developer/references/action-hooks-subscriptions.md +0 -661
  617. package/dist/skills/fluentcart-developer/references/customer-dashboard-endpoints.md +0 -169
  618. package/dist/skills/fluentcart-developer/references/database-models-query-builder.md +0 -194
  619. package/dist/skills/fluentcart-developer/references/database-models-reference.md +0 -604
  620. package/dist/skills/fluentcart-developer/references/database-schema-reference.md +0 -947
  621. package/dist/skills/fluentcart-developer/references/engineering-notes.md +0 -154
  622. package/dist/skills/fluentcart-developer/references/filter-hooks-cart-checkout.md +0 -1202
  623. package/dist/skills/fluentcart-developer/references/filter-hooks-customers-subscriptions.md +0 -902
  624. package/dist/skills/fluentcart-developer/references/filter-hooks-integrations-advanced.md +0 -1598
  625. package/dist/skills/fluentcart-developer/references/filter-hooks-orders-payments.md +0 -1319
  626. package/dist/skills/fluentcart-developer/references/filter-hooks-products-pricing.md +0 -628
  627. package/dist/skills/fluentcart-developer/references/filter-hooks-settings-configuration.md +0 -1177
  628. package/dist/skills/fluentcart-developer/references/fluentcart-developer-guide.md +0 -154
  629. package/dist/skills/fluentcart-developer/references/hooks-complete-index.md +0 -834
  630. package/dist/skills/fluentcart-developer/references/models-complete-index.md +0 -912
  631. package/dist/skills/fluentcart-developer/references/modules-and-extensions-reference.md +0 -224
  632. package/dist/skills/fluentcart-developer/references/order-bump-module.md +0 -163
  633. package/dist/skills/fluentcart-developer/references/paddle-gateway-case-study.md +0 -1931
  634. package/dist/skills/fluentcart-developer/references/payment-gateway-integration.md +0 -761
  635. package/dist/skills/fluentcart-developer/references/rest-api-checkout.md +0 -288
  636. package/dist/skills/fluentcart-developer/references/rest-api-coupons.md +0 -801
  637. package/dist/skills/fluentcart-developer/references/rest-api-customer-profile.md +0 -190
  638. package/dist/skills/fluentcart-developer/references/rest-api-dashboard-utilities.md +0 -219
  639. package/dist/skills/fluentcart-developer/references/rest-api-email-notifications.md +0 -619
  640. package/dist/skills/fluentcart-developer/references/rest-api-files.md +0 -290
  641. package/dist/skills/fluentcart-developer/references/rest-api-integrations.md +0 -324
  642. package/dist/skills/fluentcart-developer/references/rest-api-labels-attributes.md +0 -321
  643. package/dist/skills/fluentcart-developer/references/rest-api-licensing.md +0 -174
  644. package/dist/skills/fluentcart-developer/references/rest-api-order-bumps.md +0 -200
  645. package/dist/skills/fluentcart-developer/references/rest-api-overview.md +0 -131
  646. package/dist/skills/fluentcart-developer/references/rest-api-public-shop.md +0 -172
  647. package/dist/skills/fluentcart-developer/references/rest-api-reference.md +0 -552
  648. package/dist/skills/fluentcart-developer/references/rest-api-reports.md +0 -377
  649. package/dist/skills/fluentcart-developer/references/rest-api-roles-permissions.md +0 -147
  650. package/dist/skills/fluentcart-developer/references/rest-api-settings.md +0 -528
  651. package/dist/skills/fluentcart-developer/references/rest-api-subscriptions.md +0 -938
  652. package/dist/skills/fluentcart-developer/references/rest-api-tax.md +0 -356
  653. package/dist/skills/fluentcart-developer/references/shipping-module-guide.md +0 -126
  654. package/dist/skills/fluentcart-developer/references/software-licensing-sdk.md +0 -228
  655. package/dist/skills/fluentcart-developer/references/storage-drivers-module.md +0 -140
@@ -1,947 +0,0 @@
1
- # FluentCart Database Schema Reference
2
-
3
- > Source: https://dev.fluentcart.com/database/schema.html
4
-
5
- Complete reference for all `wp_fct_*` database tables used by FluentCart.
6
-
7
- > [!IMPORTANT]
8
- > **Monetary Values Rule:** All monetary fields (`total_amount`, `subtotal`, `tax_total`, `shipping_total`, `recurring_amount`, etc.) are stored as **BIGINT in cents** (smallest currency unit, e.g. `$10.00` = `1000`).
9
- >
10
- > Use `\FluentCart\App\Helpers\Helper::toDecimal($cents)` to convert cents to decimal string for display.
11
- > Use `\FluentCart\App\Helpers\Helper::toCent($decimal)` to convert decimal user input to integer cents.
12
-
13
- ---
14
-
15
- ## Key Design Principles
16
-
17
- 1. **Currency Precision**: All monetary values stored as BIGINT in cents to avoid floating-point precision issues
18
- 2. **Flexible Configuration**: JSON columns used for extensible configuration data
19
- 3. **Audit Trail**: Comprehensive activity logging for all important operations
20
- 4. **Referential Integrity**: Proper foreign key relationships maintained throughout
21
- 5. **Performance Optimization**: Strategic indexing on frequently queried columns
22
- 6. **Multi-tenancy Ready**: UUID-based public identifiers for external integrations
23
-
24
- ---
25
-
26
- ## Core Tables
27
-
28
- ### `fct_customers`
29
- Stores customer information and purchase history.
30
-
31
- | Column | Type | Comment |
32
- |--------|------|---------|
33
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
34
- | user_id | BIGINT UNSIGNED NULL | WordPress user ID |
35
- | contact_id | BIGINT UNSIGNED NOT NULL DEFAULT '0' | Contact ID |
36
- | email | VARCHAR(192) NOT NULL DEFAULT '' | Customer email |
37
- | first_name | VARCHAR(192) NOT NULL DEFAULT '' | First name |
38
- | last_name | VARCHAR(192) NOT NULL DEFAULT '' | Last name |
39
- | status | VARCHAR(45) NULL DEFAULT 'active' | active, inactive, archived |
40
- | purchase_value | JSON NULL | Purchase value data |
41
- | purchase_count | BIGINT UNSIGNED NOT NULL DEFAULT '0' | Total number of purchases |
42
- | ltv | BIGINT NOT NULL DEFAULT '0' | Lifetime value in cents |
43
- | first_purchase_date | DATETIME NULL | First purchase date |
44
- | last_purchase_date | DATETIME NULL | Last purchase date |
45
- | aov | DECIMAL(18,2) NULL | Average order value |
46
- | notes | LONGTEXT NOT NULL | Customer notes |
47
- | uuid | VARCHAR(100) NULL DEFAULT '' | Unique identifier |
48
- | country | VARCHAR(45) NULL | Country |
49
- | city | VARCHAR(45) NULL | City |
50
- | state | VARCHAR(45) NULL | State |
51
- | postcode | VARCHAR(45) NULL | Postal code |
52
- | created_at | DATETIME NULL | |
53
- | updated_at | DATETIME NULL | |
54
-
55
- **Indexes:** email, user_id
56
-
57
- ---
58
-
59
- ### `fct_customer_addresses`
60
- Stores customer billing and shipping addresses.
61
-
62
- | Column | Type | Comment |
63
- |--------|------|---------|
64
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
65
- | customer_id | BIGINT UNSIGNED NOT NULL | Reference to customer |
66
- | address_type | VARCHAR(20) NOT NULL DEFAULT 'billing' | billing, shipping |
67
- | is_primary | TINYINT(1) NOT NULL DEFAULT 0 | Primary address flag |
68
- | first_name | VARCHAR(192) NOT NULL DEFAULT '' | First name |
69
- | last_name | VARCHAR(192) NOT NULL DEFAULT '' | Last name |
70
- | email | VARCHAR(192) NOT NULL DEFAULT '' | Email |
71
- | phone | VARCHAR(50) NULL | Phone number |
72
- | company | VARCHAR(192) NULL | Company name |
73
- | address_1 | VARCHAR(255) NULL | Address line 1 |
74
- | address_2 | VARCHAR(255) NULL | Address line 2 |
75
- | city | VARCHAR(100) NULL | City |
76
- | state | VARCHAR(100) NULL | State/Province |
77
- | postcode | VARCHAR(20) NULL | Postal/ZIP code |
78
- | country | VARCHAR(10) NULL | Country code |
79
- | created_at | DATETIME NULL | |
80
- | updated_at | DATETIME NULL | |
81
-
82
- **Indexes:** customer_id
83
-
84
- ---
85
-
86
- ### `fct_customer_meta`
87
- Stores additional customer metadata as key-value pairs.
88
-
89
- | Column | Type | Comment |
90
- |--------|------|---------|
91
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
92
- | customer_id | BIGINT UNSIGNED NOT NULL | Reference to customer |
93
- | key | VARCHAR(192) NOT NULL | Meta key |
94
- | value | LONGTEXT NULL | Meta value |
95
- | created_at | DATETIME NULL | |
96
- | updated_at | DATETIME NULL | |
97
-
98
- **Indexes:** customer_id, key
99
-
100
- ---
101
-
102
- ### `fct_orders`
103
- Stores the basic information of an order.
104
-
105
- | Column | Type | Comment |
106
- |--------|------|---------|
107
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
108
- | status | VARCHAR(20) NOT NULL DEFAULT 'draft' | draft / pending / on-hold / processing / completed / failed / refunded / partial-refund |
109
- | parent_id | BIGINT UNSIGNED NULL | Parent order |
110
- | receipt_number | BIGINT UNSIGNED NULL | |
111
- | invoice_no | VARCHAR(192) NULL DEFAULT '' | |
112
- | fulfillment_type | VARCHAR(20) NULL DEFAULT 'physical' | physical, digital, service, mixed |
113
- | type | VARCHAR(20) NOT NULL DEFAULT 'payment' | payment, renewal, refund |
114
- | mode | ENUM('live', 'test') NOT NULL DEFAULT 'live' | live / test |
115
- | shipping_status | VARCHAR(20) NOT NULL DEFAULT '' | unshipped / shipped / delivered / unshippable |
116
- | customer_id | BIGINT UNSIGNED NULL | |
117
- | payment_method | VARCHAR(100) NOT NULL | |
118
- | payment_status | VARCHAR(20) NOT NULL DEFAULT '' | |
119
- | payment_method_title | VARCHAR(100) NOT NULL | |
120
- | currency | VARCHAR(10) NOT NULL | |
121
- | subtotal | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
122
- | discount_tax | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
123
- | manual_discount_total | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
124
- | coupon_discount_total | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
125
- | shipping_tax | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
126
- | shipping_total | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
127
- | tax_total | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
128
- | total_amount | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
129
- | total_paid | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
130
- | total_refund | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
131
- | rate | DECIMAL(12,4) NOT NULL DEFAULT '1.0000' | Exchange rate |
132
- | tax_behavior | TINYINT(1) NOT NULL DEFAULT 0 | 0 => no_tax, 1 => exclusive, 2 => inclusive |
133
- | note | TEXT NOT NULL DEFAULT '' | |
134
- | ip_address | TEXT NOT NULL DEFAULT '' | |
135
- | completed_at | DATETIME NULL DEFAULT NULL | |
136
- | refunded_at | DATETIME NULL DEFAULT NULL | |
137
- | uuid | VARCHAR(100) NOT NULL | |
138
- | config | JSON DEFAULT NULL | |
139
- | created_at | DATETIME NULL | |
140
- | updated_at | DATETIME NULL | |
141
-
142
- **Indexes:** invoice_no (191), type, customer_id, created_at + completed_at
143
-
144
- ---
145
-
146
- ### `fct_order_items`
147
- Stores individual items within orders.
148
-
149
- | Column | Type | Comment |
150
- |--------|------|---------|
151
- | id | BIGINT(20) UNSIGNED *Auto Increment* | Primary key |
152
- | order_id | BIGINT UNSIGNED NOT NULL DEFAULT '0' | Reference to order |
153
- | post_id | BIGINT UNSIGNED NOT NULL DEFAULT '0' | WordPress post ID (product) |
154
- | fulfillment_type | VARCHAR(20) NOT NULL DEFAULT 'physical' | physical, digital, service |
155
- | payment_type | VARCHAR(20) NOT NULL DEFAULT 'onetime' | onetime, subscription, signup_fee |
156
- | post_title | TEXT NOT NULL | Product title |
157
- | title | TEXT NOT NULL | Item title (variation) |
158
- | object_id | BIGINT UNSIGNED NULL DEFAULT NULL | Variation ID |
159
- | cart_index | BIGINT UNSIGNED NOT NULL DEFAULT '0' | Position in cart |
160
- | quantity | INT NOT NULL DEFAULT '1' | Item quantity |
161
- | unit_price | BIGINT NOT NULL DEFAULT '0' | Price per unit in cents |
162
- | cost | BIGINT NOT NULL DEFAULT '0' | Cost in cents |
163
- | subtotal | BIGINT NOT NULL DEFAULT '0' | Line subtotal |
164
- | tax_amount | BIGINT NOT NULL DEFAULT '0' | Tax amount for this line |
165
- | shipping_charge | BIGINT NOT NULL DEFAULT '0' | Shipping charge |
166
- | discount_total | BIGINT NOT NULL DEFAULT '0' | Discount amount |
167
- | line_total | BIGINT NOT NULL DEFAULT '0' | Total line amount |
168
- | refund_total | BIGINT NOT NULL DEFAULT '0' | Refunded amount |
169
- | rate | BIGINT NOT NULL DEFAULT '1' | Exchange rate |
170
- | other_info | JSON NULL | Additional item data |
171
- | line_meta | JSON NULL | Line-specific metadata |
172
- | fulfilled_quantity | INT NOT NULL DEFAULT '0' | Quantity fulfilled |
173
- | referrer | TEXT NULL | Referral information |
174
- | created_at | DATETIME NULL | |
175
- | updated_at | DATETIME NULL | |
176
-
177
- **Indexes:** order_id + object_id, post_id
178
-
179
- ---
180
-
181
- ### `fct_order_meta`
182
- Stores additional order metadata.
183
-
184
- | Column | Type | Comment |
185
- |--------|------|---------|
186
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
187
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
188
- | key | VARCHAR(192) NOT NULL | Meta key |
189
- | value | LONGTEXT NULL | Meta value |
190
- | created_at | DATETIME NULL | |
191
- | updated_at | DATETIME NULL | |
192
-
193
- **Indexes:** order_id, key
194
-
195
- ---
196
-
197
- ### `fct_order_transactions`
198
- Stores payment transactions for orders.
199
-
200
- | Column | Type | Comment |
201
- |--------|------|---------|
202
- | id | BIGINT(20) UNSIGNED *Auto Increment* | Primary key |
203
- | order_id | BIGINT UNSIGNED NOT NULL DEFAULT '0' | Reference to order |
204
- | order_type | VARCHAR(100) NOT NULL DEFAULT '' | |
205
- | transaction_type | VARCHAR(192) DEFAULT 'charge' | charge, refund, etc. |
206
- | subscription_id | INT(10) UNSIGNED NULL | Reference to subscription |
207
- | payment_method | VARCHAR(100) NOT NULL DEFAULT '' | Payment method used |
208
- | payment_method_title | VARCHAR(100) NOT NULL DEFAULT '' | Display title |
209
- | charge_id | VARCHAR(192) NULL | Gateway charge/transaction ID |
210
- | payment_note | LONGTEXT NULL | Payment notes |
211
- | card_brand | VARCHAR(50) NULL | Card brand (visa, mastercard) |
212
- | card_last_four | VARCHAR(4) NULL | Last 4 digits of card |
213
- | amount | BIGINT NOT NULL DEFAULT '0' | Amount in cents |
214
- | currency | VARCHAR(10) NOT NULL DEFAULT '' | Currency code |
215
- | status | VARCHAR(50) NOT NULL DEFAULT '' | Transaction status |
216
- | vendor_data | LONGTEXT NULL | Payment gateway response data |
217
- | created_at | DATETIME NULL | |
218
- | updated_at | DATETIME NULL | |
219
-
220
- **Indexes:** order_id, charge_id, subscription_id
221
-
222
- ---
223
-
224
- ### `fct_order_addresses`
225
- Stores billing and shipping addresses attached to orders.
226
-
227
- | Column | Type | Comment |
228
- |--------|------|---------|
229
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
230
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
231
- | address_type | VARCHAR(20) NOT NULL DEFAULT 'billing' | billing, shipping |
232
- | first_name | VARCHAR(192) NOT NULL DEFAULT '' | First name |
233
- | last_name | VARCHAR(192) NOT NULL DEFAULT '' | Last name |
234
- | email | VARCHAR(192) NOT NULL DEFAULT '' | Email |
235
- | phone | VARCHAR(50) NULL | Phone |
236
- | company | VARCHAR(192) NULL | Company |
237
- | address_1 | VARCHAR(255) NULL | Address line 1 |
238
- | address_2 | VARCHAR(255) NULL | Address line 2 |
239
- | city | VARCHAR(100) NULL | City |
240
- | state | VARCHAR(100) NULL | State/Province |
241
- | postcode | VARCHAR(20) NULL | Postal/ZIP code |
242
- | country | VARCHAR(10) NULL | Country code |
243
- | created_at | DATETIME NULL | |
244
- | updated_at | DATETIME NULL | |
245
-
246
- **Indexes:** order_id
247
-
248
- ---
249
-
250
- ### `fct_order_operations`
251
- Tracks order processing operations.
252
-
253
- | Column | Type | Comment |
254
- |--------|------|---------|
255
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
256
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
257
- | operation_type | VARCHAR(50) NOT NULL | Operation type |
258
- | object_type | VARCHAR(50) NULL | Related object type |
259
- | object_id | BIGINT UNSIGNED NULL | Related object ID |
260
- | value | LONGTEXT NULL | Operation value/data |
261
- | created_by | BIGINT UNSIGNED NULL | User who performed the operation |
262
- | created_at | DATETIME NULL | |
263
- | updated_at | DATETIME NULL | |
264
-
265
- **Indexes:** order_id
266
-
267
- ---
268
-
269
- ### `fct_order_tax_rates`
270
- Records tax rates applied to specific orders.
271
-
272
- | Column | Type | Comment |
273
- |--------|------|---------|
274
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
275
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
276
- | tax_class_id | BIGINT UNSIGNED NULL | Reference to tax class |
277
- | tax_rate_id | BIGINT UNSIGNED NULL | Reference to tax rate |
278
- | country | VARCHAR(10) NULL | Country code |
279
- | state | VARCHAR(100) NULL | State |
280
- | rate | DECIMAL(8,4) NOT NULL DEFAULT '0.0000' | Tax rate percentage |
281
- | name | VARCHAR(192) NULL | Tax name |
282
- | tax_total | BIGINT NOT NULL DEFAULT '0' | Tax total in cents |
283
- | shipping_tax | BIGINT NOT NULL DEFAULT '0' | Shipping tax in cents |
284
- | priority | INT NOT NULL DEFAULT 0 | Rate priority |
285
- | compound | TINYINT(1) NOT NULL DEFAULT 0 | Compound tax flag |
286
- | created_at | DATETIME NULL | |
287
- | updated_at | DATETIME NULL | |
288
-
289
- **Indexes:** order_id
290
-
291
- ---
292
-
293
- ### `fct_order_download_permissions`
294
- Manages download access for digital products.
295
-
296
- | Column | Type | Comment |
297
- |--------|------|---------|
298
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
299
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
300
- | customer_id | BIGINT UNSIGNED NOT NULL | Reference to customer |
301
- | product_id | BIGINT UNSIGNED NOT NULL | WordPress post ID |
302
- | variation_id | BIGINT UNSIGNED NULL | Variation ID |
303
- | download_id | BIGINT UNSIGNED NULL | Reference to product download |
304
- | download_count | INT NOT NULL DEFAULT 0 | Number of downloads |
305
- | download_limit | INT NULL | Max downloads allowed |
306
- | access_expires | DATETIME NULL | Access expiration date |
307
- | created_at | DATETIME NULL | |
308
- | updated_at | DATETIME NULL | |
309
-
310
- **Indexes:** order_id, customer_id
311
-
312
- ---
313
-
314
- ## Subscription Tables
315
-
316
- ### `fct_subscriptions`
317
- Stores subscription information and billing cycles.
318
-
319
- | Column | Type | Comment |
320
- |--------|------|---------|
321
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
322
- | uuid | VARCHAR(100) NOT NULL | Unique identifier |
323
- | customer_id | BIGINT(20) UNSIGNED NOT NULL | Reference to customer |
324
- | parent_order_id | BIGINT(20) UNSIGNED NOT NULL | Initial order ID |
325
- | product_id | BIGINT(20) UNSIGNED NOT NULL | WordPress post ID |
326
- | item_name | TEXT NOT NULL | Subscription item name |
327
- | quantity | INT NOT NULL DEFAULT '1' | Subscription quantity |
328
- | variation_id | BIGINT(20) UNSIGNED NOT NULL | Product variation ID |
329
- | billing_interval | VARCHAR(45) NULL | Billing interval (day, week, month, year) |
330
- | signup_fee | BIGINT UNSIGNED NOT NULL DEFAULT 0 | Signup fee in cents |
331
- | initial_tax_total | BIGINT UNSIGNED NOT NULL DEFAULT 0 | Initial tax in cents |
332
- | recurring_amount | BIGINT UNSIGNED NOT NULL DEFAULT 0 | Recurring amount in cents |
333
- | recurring_tax_total | BIGINT UNSIGNED NOT NULL DEFAULT 0 | Recurring tax in cents |
334
- | recurring_total | BIGINT UNSIGNED NOT NULL DEFAULT 0 | Total recurring in cents |
335
- | bill_times | BIGINT(20) UNSIGNED NOT NULL DEFAULT 0 | Total billing cycles |
336
- | bill_count | INT UNSIGNED NOT NULL DEFAULT 0 | Current billing count |
337
- | expire_at | DATETIME NULL | Expiration date |
338
- | trial_ends_at | DATETIME NULL | Trial end date |
339
- | canceled_at | DATETIME NULL | Cancellation date |
340
- | restored_at | DATETIME NULL | Restoration date |
341
- | collection_method | ENUM('automatic', 'manual', 'system') NOT NULL DEFAULT 'automatic' | Payment collection method |
342
- | next_billing_date | DATETIME NULL | Next billing date |
343
- | trial_days | INT(10) UNSIGNED NOT NULL DEFAULT 0 | Trial period in days |
344
- | vendor_customer_id | VARCHAR(45) NULL | Payment gateway customer ID |
345
- | vendor_plan_id | VARCHAR(45) NULL | Payment gateway plan ID |
346
- | vendor_subscription_id | VARCHAR(45) NULL | Payment gateway subscription ID |
347
- | status | VARCHAR(45) NULL | active, canceled, expired, pending, trialing |
348
- | original_plan | LONGTEXT NULL | Original plan data |
349
- | vendor_response | LONGTEXT NULL | Payment gateway response |
350
- | current_payment_method | VARCHAR(45) NULL | Current payment method |
351
- | config | JSON DEFAULT NULL | Subscription configuration |
352
- | created_at | DATETIME NULL | |
353
- | updated_at | DATETIME NULL | |
354
-
355
- **Indexes:** parent_order_id
356
-
357
- ---
358
-
359
- ### `fct_subscription_meta`
360
- Stores additional subscription metadata.
361
-
362
- | Column | Type | Comment |
363
- |--------|------|---------|
364
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
365
- | subscription_id | BIGINT UNSIGNED NOT NULL | Reference to subscription |
366
- | key | VARCHAR(192) NOT NULL | Meta key |
367
- | value | LONGTEXT NULL | Meta value |
368
- | created_at | DATETIME NULL | |
369
- | updated_at | DATETIME NULL | |
370
-
371
- **Indexes:** subscription_id, key
372
-
373
- ---
374
-
375
- ## Product Tables
376
-
377
- ### `fct_product_details`
378
- Stores extended product detail data.
379
-
380
- | Column | Type | Comment |
381
- |--------|------|---------|
382
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
383
- | post_id | BIGINT UNSIGNED NOT NULL | WordPress post ID |
384
- | sku | VARCHAR(100) NULL | Product SKU |
385
- | slug | VARCHAR(255) NULL | Product slug |
386
- | product_type | VARCHAR(20) NOT NULL DEFAULT 'simple' | simple, variable, grouped |
387
- | fulfillment_type | VARCHAR(20) NOT NULL DEFAULT 'physical' | physical, digital, service |
388
- | payment_type | VARCHAR(20) NOT NULL DEFAULT 'onetime' | onetime, subscription |
389
- | status | VARCHAR(20) NOT NULL DEFAULT 'draft' | draft, published, archived |
390
- | price | BIGINT NOT NULL DEFAULT '0' | Price in cents |
391
- | compare_price | BIGINT NULL | Compare-at price in cents |
392
- | cost | BIGINT NULL | Cost in cents |
393
- | manage_stock | TINYINT(1) NOT NULL DEFAULT 0 | Stock management enabled |
394
- | stock_quantity | INT NULL | Available stock |
395
- | stock_status | VARCHAR(20) NOT NULL DEFAULT 'in_stock' | in_stock, out_of_stock, on_backorder |
396
- | low_stock_threshold | INT NULL | Low stock alert threshold |
397
- | total_sales | INT NOT NULL DEFAULT 0 | Total units sold |
398
- | weight | DECIMAL(10,2) NULL | Product weight |
399
- | length | DECIMAL(10,2) NULL | Product length |
400
- | width | DECIMAL(10,2) NULL | Product width |
401
- | height | DECIMAL(10,2) NULL | Product height |
402
- | shipping_class_id | BIGINT UNSIGNED NULL | Shipping class |
403
- | tax_class_id | BIGINT UNSIGNED NULL | Tax class |
404
- | settings | JSON NULL | Product settings |
405
- | created_at | DATETIME NULL | |
406
- | updated_at | DATETIME NULL | |
407
-
408
- **Indexes:** post_id, sku, slug
409
-
410
- ---
411
-
412
- ### `fct_product_variations`
413
- Stores product variation data for variable products.
414
-
415
- | Column | Type | Comment |
416
- |--------|------|---------|
417
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
418
- | parent_id | BIGINT UNSIGNED NOT NULL | Parent product post ID |
419
- | title | VARCHAR(255) NOT NULL | Variation title |
420
- | sku | VARCHAR(100) NULL | Variation SKU |
421
- | price | BIGINT NOT NULL DEFAULT '0' | Price in cents |
422
- | compare_price | BIGINT NULL | Compare-at price in cents |
423
- | cost | BIGINT NULL | Cost in cents |
424
- | manage_stock | TINYINT(1) NOT NULL DEFAULT 0 | Stock management |
425
- | stock_quantity | INT NULL | Stock quantity |
426
- | stock_status | VARCHAR(20) NOT NULL DEFAULT 'in_stock' | Stock status |
427
- | weight | DECIMAL(10,2) NULL | Weight |
428
- | media | JSON NULL | Variation media |
429
- | option_values | JSON NULL | Attribute option values |
430
- | settings | JSON NULL | Variation settings |
431
- | status | VARCHAR(20) NOT NULL DEFAULT 'active' | active, inactive |
432
- | sort_order | INT NOT NULL DEFAULT 0 | Display order |
433
- | created_at | DATETIME NULL | |
434
- | updated_at | DATETIME NULL | |
435
-
436
- **Indexes:** parent_id
437
-
438
- ---
439
-
440
- ### `fct_product_meta`
441
- Stores product metadata as key-value pairs.
442
-
443
- | Column | Type | Comment |
444
- |--------|------|---------|
445
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
446
- | product_id | BIGINT UNSIGNED NOT NULL | Product post ID |
447
- | key | VARCHAR(192) NOT NULL | Meta key |
448
- | value | LONGTEXT NULL | Meta value |
449
- | created_at | DATETIME NULL | |
450
- | updated_at | DATETIME NULL | |
451
-
452
- **Indexes:** product_id, key
453
-
454
- ---
455
-
456
- ### `fct_product_downloads`
457
- Stores downloadable files associated with products.
458
-
459
- | Column | Type | Comment |
460
- |--------|------|---------|
461
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
462
- | product_id | BIGINT UNSIGNED NOT NULL | Product post ID |
463
- | variation_id | BIGINT UNSIGNED NULL | Variation ID (NULL = all variations) |
464
- | title | VARCHAR(255) NOT NULL | File title |
465
- | file_url | TEXT NOT NULL | File URL or path |
466
- | file_hash | VARCHAR(64) NULL | File hash for integrity |
467
- | storage_driver | VARCHAR(50) NOT NULL DEFAULT 'local' | Storage driver |
468
- | download_limit | INT NULL | Max downloads |
469
- | access_lifetime | INT NULL | Access lifetime in days |
470
- | sort_order | INT NOT NULL DEFAULT 0 | Display order |
471
- | settings | JSON NULL | File-level settings |
472
- | created_at | DATETIME NULL | |
473
- | updated_at | DATETIME NULL | |
474
-
475
- **Indexes:** product_id
476
-
477
- ---
478
-
479
- ## Coupon Tables
480
-
481
- ### `fct_coupons`
482
- Stores coupon definitions and rules.
483
-
484
- | Column | Type | Comment |
485
- |--------|------|---------|
486
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
487
- | title | VARCHAR(200) NOT NULL | Coupon title |
488
- | code | VARCHAR(50) NOT NULL UNIQUE | Coupon code (unique) |
489
- | priority | INT DEFAULT NULL | Coupon priority |
490
- | type | VARCHAR(20) NOT NULL | Coupon type |
491
- | conditions | JSON NULL | Coupon conditions |
492
- | amount | double NOT NULL | Discount amount |
493
- | use_count | INT DEFAULT 0 | Usage count |
494
- | status | VARCHAR(20) NOT NULL | Coupon status |
495
- | notes | LONGTEXT NOT NULL | Coupon notes |
496
- | stackable | VARCHAR(3) NOT NULL DEFAULT 'no' | Stackable flag (yes/no) |
497
- | show_on_checkout | VARCHAR(3) NOT NULL DEFAULT 'yes' | Show on checkout (yes/no) |
498
- | start_date | TIMESTAMP NULL | Start date |
499
- | end_date | TIMESTAMP NULL | End date |
500
- | created_at | DATETIME NULL | |
501
- | updated_at | DATETIME NULL | |
502
-
503
- **Indexes:** code, status
504
-
505
- ---
506
-
507
- ### `fct_applied_coupons`
508
- Records coupon usage on orders.
509
-
510
- | Column | Type | Comment |
511
- |--------|------|---------|
512
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
513
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
514
- | coupon_id | BIGINT UNSIGNED NOT NULL | Reference to coupon |
515
- | code | VARCHAR(50) NOT NULL | Coupon code used |
516
- | discount_type | VARCHAR(20) NOT NULL | Discount type |
517
- | discount_amount | BIGINT NOT NULL DEFAULT '0' | Discount amount in cents |
518
- | created_at | DATETIME NULL | |
519
- | updated_at | DATETIME NULL | |
520
-
521
- **Indexes:** order_id, coupon_id
522
-
523
- ---
524
-
525
- ## Cart & Checkout Tables
526
-
527
- ### `fct_carts`
528
- Stores active and abandoned shopping carts.
529
-
530
- | Column | Type | Comment |
531
- |--------|------|---------|
532
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
533
- | customer_id | BIGINT UNSIGNED NULL | Customer reference |
534
- | user_id | BIGINT UNSIGNED NULL | WordPress user ID |
535
- | email | VARCHAR(192) NULL | Customer email |
536
- | cart_hash | VARCHAR(64) NULL | Cart hash for identification |
537
- | stage | VARCHAR(20) NOT NULL DEFAULT 'checkout' | checkout, completed, abandoned |
538
- | payment_method | VARCHAR(100) NULL | Selected payment method |
539
- | currency | VARCHAR(10) NULL | Currency |
540
- | subtotal | BIGINT NOT NULL DEFAULT '0' | Subtotal in cents |
541
- | total_amount | BIGINT NOT NULL DEFAULT '0' | Total in cents |
542
- | cart_data | LONGTEXT NULL | JSON-encoded cart items |
543
- | checkout_data | LONGTEXT NULL | JSON-encoded checkout data |
544
- | config | JSON NULL | Cart configuration |
545
- | ip_address | VARCHAR(45) NULL | IP address |
546
- | completed_at | DATETIME NULL | Completion time |
547
- | created_at | DATETIME NULL | |
548
- | updated_at | DATETIME NULL | |
549
-
550
- **Indexes:** cart_hash, customer_id, stage
551
-
552
- ---
553
-
554
- ## Shipping Tables
555
-
556
- ### `fct_shipping_zones`
557
- Stores shipping zone configurations.
558
-
559
- | Column | Type | Comment |
560
- |--------|------|---------|
561
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
562
- | title | VARCHAR(200) NOT NULL | Zone name |
563
- | zone_type | VARCHAR(20) NOT NULL DEFAULT 'countries' | countries, states, postcodes |
564
- | regions | JSON NULL | Zone region definitions |
565
- | sort_order | INT NOT NULL DEFAULT 0 | Display order |
566
- | is_enabled | TINYINT(1) NOT NULL DEFAULT 1 | Enabled flag |
567
- | created_at | DATETIME NULL | |
568
- | updated_at | DATETIME NULL | |
569
-
570
- ---
571
-
572
- ### `fct_shipping_methods`
573
- Stores shipping methods within zones.
574
-
575
- | Column | Type | Comment |
576
- |--------|------|---------|
577
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
578
- | zone_id | BIGINT UNSIGNED NOT NULL | Reference to shipping zone |
579
- | title | VARCHAR(200) NOT NULL | Method name |
580
- | method_type | VARCHAR(50) NOT NULL | flat_rate, free_shipping, local_pickup, etc. |
581
- | cost | BIGINT NOT NULL DEFAULT '0' | Cost in cents |
582
- | settings | JSON NULL | Method-specific settings |
583
- | is_enabled | TINYINT(1) NOT NULL DEFAULT 1 | Enabled flag |
584
- | sort_order | INT NOT NULL DEFAULT 0 | Display order |
585
- | created_at | DATETIME NULL | |
586
- | updated_at | DATETIME NULL | |
587
-
588
- **Indexes:** zone_id
589
-
590
- ---
591
-
592
- ### `fct_shipping_classes`
593
- Stores product shipping classes.
594
-
595
- | Column | Type | Comment |
596
- |--------|------|---------|
597
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
598
- | title | VARCHAR(200) NOT NULL | Class name |
599
- | slug | VARCHAR(200) NOT NULL | URL slug |
600
- | description | TEXT NULL | Class description |
601
- | created_at | DATETIME NULL | |
602
- | updated_at | DATETIME NULL | |
603
-
604
- **Indexes:** slug
605
-
606
- ---
607
-
608
- ## Tax Tables
609
-
610
- ### `fct_tax_classes`
611
- Stores tax class definitions.
612
-
613
- | Column | Type | Comment |
614
- |--------|------|---------|
615
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
616
- | title | VARCHAR(200) NOT NULL | Tax class name |
617
- | slug | VARCHAR(200) NOT NULL | URL slug |
618
- | description | TEXT NULL | Description |
619
- | is_default | TINYINT(1) NOT NULL DEFAULT 0 | Default class flag |
620
- | created_at | DATETIME NULL | |
621
- | updated_at | DATETIME NULL | |
622
-
623
- ---
624
-
625
- ### `fct_tax_rates`
626
- Stores tax rate configurations.
627
-
628
- | Column | Type | Comment |
629
- |--------|------|---------|
630
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
631
- | tax_class_id | BIGINT UNSIGNED NOT NULL | Reference to tax class |
632
- | country | VARCHAR(10) NOT NULL | Country code |
633
- | state | VARCHAR(100) NULL DEFAULT '' | State/Province |
634
- | postcode | VARCHAR(20) NULL DEFAULT '' | Postcode |
635
- | city | VARCHAR(100) NULL DEFAULT '' | City |
636
- | rate | DECIMAL(8,4) NOT NULL | Tax rate percentage |
637
- | name | VARCHAR(192) NOT NULL | Rate name |
638
- | priority | INT NOT NULL DEFAULT 1 | Rate priority |
639
- | compound | TINYINT(1) NOT NULL DEFAULT 0 | Compound tax flag |
640
- | shipping | TINYINT(1) NOT NULL DEFAULT 1 | Apply to shipping |
641
- | created_at | DATETIME NULL | |
642
- | updated_at | DATETIME NULL | |
643
-
644
- **Indexes:** tax_class_id, country
645
-
646
- ---
647
-
648
- ## Activity & System Tables
649
-
650
- ### `fct_activities`
651
- Stores activity log entries for audit trail.
652
-
653
- | Column | Type | Comment |
654
- |--------|------|---------|
655
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
656
- | object_type | VARCHAR(50) NOT NULL | Related object type (order, customer, etc.) |
657
- | object_id | BIGINT UNSIGNED NOT NULL | Related object ID |
658
- | activity_type | VARCHAR(50) NOT NULL | Activity type (status_change, note, etc.) |
659
- | title | VARCHAR(255) NULL | Activity title |
660
- | content | LONGTEXT NULL | Activity content/details |
661
- | actor_type | VARCHAR(50) NULL | Actor type (user, system, customer) |
662
- | actor_id | BIGINT UNSIGNED NULL | Actor ID |
663
- | is_read | TINYINT(1) NOT NULL DEFAULT 0 | Read status |
664
- | settings | JSON NULL | Additional settings |
665
- | created_at | DATETIME NULL | |
666
- | updated_at | DATETIME NULL | |
667
-
668
- **Indexes:** object_type + object_id, activity_type
669
-
670
- ---
671
-
672
- ### `fct_scheduled_actions`
673
- Stores scheduled background tasks.
674
-
675
- | Column | Type | Comment |
676
- |--------|------|---------|
677
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
678
- | hook | VARCHAR(192) NOT NULL | Action hook name |
679
- | args | LONGTEXT NULL | JSON-encoded arguments |
680
- | status | VARCHAR(20) NOT NULL DEFAULT 'pending' | pending, running, completed, failed |
681
- | scheduled_at | DATETIME NOT NULL | Scheduled execution time |
682
- | started_at | DATETIME NULL | Actual start time |
683
- | completed_at | DATETIME NULL | Completion time |
684
- | attempts | INT NOT NULL DEFAULT 0 | Execution attempts |
685
- | group_slug | VARCHAR(100) NULL | Action group |
686
- | created_at | DATETIME NULL | |
687
- | updated_at | DATETIME NULL | |
688
-
689
- **Indexes:** hook, status, scheduled_at
690
-
691
- ---
692
-
693
- ### `fct_meta`
694
- General-purpose metadata table.
695
-
696
- | Column | Type | Comment |
697
- |--------|------|---------|
698
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
699
- | object_type | VARCHAR(50) NOT NULL | Object type |
700
- | object_id | BIGINT UNSIGNED NOT NULL | Object ID |
701
- | key | VARCHAR(192) NOT NULL | Meta key |
702
- | value | LONGTEXT NULL | Meta value |
703
- | created_at | DATETIME NULL | |
704
- | updated_at | DATETIME NULL | |
705
-
706
- **Indexes:** object_type + object_id, key
707
-
708
- ---
709
-
710
- ## Attribute & Label Tables
711
-
712
- ### `fct_attribute_groups`
713
- Stores product attribute group definitions.
714
-
715
- | Column | Type | Comment |
716
- |--------|------|---------|
717
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
718
- | title | VARCHAR(200) NOT NULL | Attribute group name |
719
- | slug | VARCHAR(200) NOT NULL | URL slug |
720
- | type | VARCHAR(50) NOT NULL DEFAULT 'select' | select, color, button, image |
721
- | sort_order | INT NOT NULL DEFAULT 0 | Display order |
722
- | settings | JSON NULL | Group settings |
723
- | created_at | DATETIME NULL | |
724
- | updated_at | DATETIME NULL | |
725
-
726
- ---
727
-
728
- ### `fct_attribute_terms`
729
- Stores individual attribute values/terms.
730
-
731
- | Column | Type | Comment |
732
- |--------|------|---------|
733
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
734
- | group_id | BIGINT UNSIGNED NOT NULL | Reference to attribute group |
735
- | title | VARCHAR(200) NOT NULL | Term name |
736
- | slug | VARCHAR(200) NOT NULL | URL slug |
737
- | value | VARCHAR(255) NULL | Display value (hex color, image URL) |
738
- | sort_order | INT NOT NULL DEFAULT 0 | Display order |
739
- | created_at | DATETIME NULL | |
740
- | updated_at | DATETIME NULL | |
741
-
742
- **Indexes:** group_id
743
-
744
- ---
745
-
746
- ### `fct_attribute_relations`
747
- Maps attribute terms to products/variations.
748
-
749
- | Column | Type | Comment |
750
- |--------|------|---------|
751
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
752
- | object_type | VARCHAR(50) NOT NULL | Object type (product, variation) |
753
- | object_id | BIGINT UNSIGNED NOT NULL | Object ID |
754
- | group_id | BIGINT UNSIGNED NOT NULL | Reference to attribute group |
755
- | term_id | BIGINT UNSIGNED NOT NULL | Reference to attribute term |
756
- | created_at | DATETIME NULL | |
757
-
758
- **Indexes:** object_type + object_id, group_id + term_id
759
-
760
- ---
761
-
762
- ### `fct_labels`
763
- Stores label/tag definitions for organizing objects.
764
-
765
- | Column | Type | Comment |
766
- |--------|------|---------|
767
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
768
- | title | VARCHAR(200) NOT NULL | Label name |
769
- | slug | VARCHAR(200) NOT NULL | URL slug |
770
- | color | VARCHAR(20) NULL | Label color |
771
- | type | VARCHAR(50) NOT NULL DEFAULT 'general' | Label type |
772
- | created_at | DATETIME NULL | |
773
- | updated_at | DATETIME NULL | |
774
-
775
- ---
776
-
777
- ### `fct_label_relationships`
778
- Maps labels to objects (products, orders, customers, etc.).
779
-
780
- | Column | Type | Comment |
781
- |--------|------|---------|
782
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
783
- | label_id | BIGINT UNSIGNED NOT NULL | Reference to label |
784
- | object_type | VARCHAR(50) NOT NULL | Object type |
785
- | object_id | BIGINT UNSIGNED NOT NULL | Object ID |
786
- | created_at | DATETIME NULL | |
787
-
788
- **Indexes:** label_id, object_type + object_id
789
-
790
- ---
791
-
792
- ## Pro Plugin Tables
793
-
794
- ### `fct_licenses` (Pro)
795
- Stores software license keys.
796
-
797
- | Column | Type | Comment |
798
- |--------|------|---------|
799
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
800
- | customer_id | BIGINT UNSIGNED NOT NULL | Reference to customer |
801
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
802
- | parent_id | BIGINT UNSIGNED NULL | Parent licence, for renewals |
803
- | product_id | BIGINT UNSIGNED NOT NULL | WordPress post ID |
804
- | variation_id | BIGINT UNSIGNED NULL | Variation ID |
805
- | subscription_id | BIGINT UNSIGNED NULL | Linked subscription |
806
- | license_key | VARCHAR(255) NOT NULL UNIQUE | Unique license key |
807
- | status | VARCHAR(20) NOT NULL DEFAULT 'active' | active, expired, disabled, revoked |
808
- | limit | INT NOT NULL DEFAULT 1 | Max activations allowed |
809
- | activation_count | INT NOT NULL DEFAULT 0 | Current activations |
810
- | config | LONGTEXT NULL | Serialised licence configuration |
811
- | expiration_date | DATETIME NULL | Expiration date |
812
- | created_at | DATETIME NULL | |
813
- | updated_at | DATETIME NULL | |
814
-
815
- **Indexes:** license_key, customer_id, order_id, product_id
816
-
817
- > Verified against FluentCart Pro 2.2.0 with `SHOW COLUMNS FROM wp_fct_licenses`. Earlier revisions of this page listed `activation_limit`, `expires_at` and `valid_for`, none of which exist in 2.2.0 — writing to them fails silently because Eloquent drops unknown attributes.
818
-
819
- ---
820
-
821
- ### `fct_license_meta` (Pro)
822
- Stores license metadata.
823
-
824
- | Column | Type | Comment |
825
- |--------|------|---------|
826
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
827
- | license_id | BIGINT UNSIGNED NOT NULL | Reference to license |
828
- | key | VARCHAR(192) NOT NULL | Meta key |
829
- | value | LONGTEXT NULL | Meta value |
830
- | created_at | DATETIME NULL | |
831
- | updated_at | DATETIME NULL | |
832
-
833
- **Indexes:** license_id, key
834
-
835
- ---
836
-
837
- ### `fct_license_activations` (Pro)
838
- Tracks license activation instances.
839
-
840
- | Column | Type | Comment |
841
- |--------|------|---------|
842
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
843
- | site_id | BIGINT UNSIGNED NOT NULL | Reference to fct_license_sites |
844
- | license_id | BIGINT UNSIGNED NOT NULL | Reference to license |
845
- | status | VARCHAR(20) NOT NULL DEFAULT 'active' | active, deactivated |
846
- | is_local | TINYINT(1) NOT NULL DEFAULT 0 | Activation from a local or staging site |
847
- | product_id | BIGINT UNSIGNED NOT NULL | Product this activation belongs to |
848
- | variation_id | BIGINT UNSIGNED NULL | Variation |
849
- | activation_method | VARCHAR(50) NULL | How the activation was made |
850
- | activation_hash | VARCHAR(191) NULL | Hashed activation identity |
851
- | last_update_version | VARCHAR(50) NULL | Client version at last check |
852
- | last_update_date | DATETIME NULL | Last check-in |
853
- | created_at | DATETIME NULL | |
854
- | updated_at | DATETIME NULL | |
855
-
856
- > Verified against FluentCart Pro 2.2.0 with `SHOW COLUMNS FROM wp_fct_license_activations`. Earlier revisions listed `domain`, `activation_key`, `ip_address`, `user_agent`, `activated_at` and `deactivated_at`; none exist in 2.2.0.
857
- >
858
- > **`is_local` matters for any seat-limit work.** `License::recountActivations()` filters `where('is_local', '!=', 1)`, so a local activation is excluded from `activation_count` while still being a real row. Counting through the model therefore under-reports seats; count `LicenseActivation` directly instead.
859
- **Indexes:** license_id, domain
860
-
861
- ---
862
-
863
- ### `fct_license_sites` (Pro)
864
- Maps license activations to specific sites.
865
-
866
- | Column | Type | Comment |
867
- |--------|------|---------|
868
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
869
- | license_id | BIGINT UNSIGNED NOT NULL | Reference to license |
870
- | site_url | VARCHAR(255) NOT NULL | Site URL |
871
- | site_name | VARCHAR(255) NULL | Site name |
872
- | status | VARCHAR(20) NOT NULL DEFAULT 'active' | active, deactivated |
873
- | created_at | DATETIME NULL | |
874
- | updated_at | DATETIME NULL | |
875
-
876
- **Indexes:** license_id
877
-
878
- ---
879
-
880
- ### `fct_order_promotions` (Pro)
881
- Stores order-bump and promotion data.
882
-
883
- | Column | Type | Comment |
884
- |--------|------|---------|
885
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
886
- | title | VARCHAR(255) NOT NULL | Promotion title |
887
- | type | VARCHAR(50) NOT NULL | Promotion type (order_bump) |
888
- | settings | JSON NULL | Promotion settings/config |
889
- | status | VARCHAR(20) NOT NULL DEFAULT 'active' | active, inactive |
890
- | created_at | DATETIME NULL | |
891
- | updated_at | DATETIME NULL | |
892
-
893
- ---
894
-
895
- ### `fct_order_promotion_stats` (Pro)
896
- Tracks promotion performance statistics.
897
-
898
- | Column | Type | Comment |
899
- |--------|------|---------|
900
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
901
- | promotion_id | BIGINT UNSIGNED NOT NULL | Reference to promotion |
902
- | order_id | BIGINT UNSIGNED NOT NULL | Reference to order |
903
- | order_item_id | BIGINT UNSIGNED NULL | Reference to order item |
904
- | amount | BIGINT NOT NULL DEFAULT '0' | Revenue in cents |
905
- | created_at | DATETIME NULL | |
906
-
907
- **Indexes:** promotion_id, order_id
908
-
909
- ---
910
-
911
- ## Webhook & Integration Tables
912
-
913
- ### `fct_webhook_logs`
914
- Stores webhook delivery history.
915
-
916
- | Column | Type | Comment |
917
- |--------|------|---------|
918
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
919
- | event | VARCHAR(192) NOT NULL | Event name |
920
- | url | TEXT NOT NULL | Webhook URL |
921
- | request_headers | LONGTEXT NULL | Request headers |
922
- | request_body | LONGTEXT NULL | Request body |
923
- | response_code | INT NULL | HTTP response code |
924
- | response_body | LONGTEXT NULL | Response body |
925
- | status | VARCHAR(20) NOT NULL | success, failed |
926
- | created_at | DATETIME NULL | |
927
-
928
- **Indexes:** event
929
-
930
- ---
931
-
932
- ### `fct_email_notifications`
933
- Stores email notification templates and settings.
934
-
935
- | Column | Type | Comment |
936
- |--------|------|---------|
937
- | id | BIGINT UNSIGNED *Auto Increment* | Primary key |
938
- | event | VARCHAR(192) NOT NULL | Trigger event name |
939
- | title | VARCHAR(255) NOT NULL | Email subject template |
940
- | body | LONGTEXT NOT NULL | Email body template |
941
- | recipient_type | VARCHAR(50) NOT NULL | admin, customer |
942
- | is_enabled | TINYINT(1) NOT NULL DEFAULT 1 | Enabled flag |
943
- | settings | JSON NULL | Email settings |
944
- | created_at | DATETIME NULL | |
945
- | updated_at | DATETIME NULL | |
946
-
947
- **Indexes:** event