@wix/agent-skills 1.15.1 → 1.16.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 (322) hide show
  1. package/README.md +3 -7
  2. package/package.json +1 -1
  3. package/skills/wix-app/SKILL.md +4 -1
  4. package/skills/wix-app/references/APP_TOOLS.md +134 -0
  5. package/skills/wix-app/references/CUSTOM_ELEMENT_WIDGET.md +1 -1
  6. package/skills/wix-app/references/DASHBOARD_PAGE.md +0 -10
  7. package/skills/wix-app/references/DATA_COLLECTION.md +1 -1
  8. package/skills/wix-app/references/EDITOR_REACT_COMPONENT.md +28 -9
  9. package/skills/wix-app/references/SERVICE_PLUGIN.md +12 -10
  10. package/skills/wix-app/references/app-tools/TOOLS.md +75 -0
  11. package/skills/wix-app/references/dashboard-page/DASHBOARD_API.md +2 -2
  12. package/skills/wix-app/references/editor-react-component/A11Y-REVIEW-REFERENCE.md +172 -0
  13. package/skills/wix-app/references/editor-react-component/A11Y-REVIEW.md +138 -0
  14. package/skills/wix-app/references/editor-react-component/ANIMATED-COMPONENTS.md +23 -2
  15. package/skills/wix-app/references/editor-react-component/BRANDED-COMPONENTS.md +29 -0
  16. package/skills/wix-app/references/editor-react-component/COMPONENT-API.md +1 -1
  17. package/skills/wix-app/references/editor-react-component/CSS-GUIDELINES.md +27 -2
  18. package/skills/wix-app/references/editor-react-component/DESIGN-STATES.md +5 -3
  19. package/skills/wix-app/references/editor-react-component/DIRECTIONALITY.md +18 -1
  20. package/skills/wix-app/references/editor-react-component/PARTS.md +15 -2
  21. package/skills/wix-app/references/editor-react-component/REACT-GUIDELINES.md +2 -3
  22. package/skills/wix-app/references/service-plugin/BOOKINGS-STAFF-SORTING.md +13 -9
  23. package/skills/wix-app/references/service-plugin/DISCOUNT-TRIGGERS.md +4 -0
  24. package/skills/wix-app/references/service-plugin/GIFT-CARDS.md +4 -0
  25. package/skills/wix-app/references/service-plugin/PAYMENT-SETTINGS.md +3 -1
  26. package/skills/wix-app/references/service-plugin/SHIPPING-RATES.md +4 -0
  27. package/skills/wix-app/references/service-plugin/TOOLS_PROVIDER.md +54 -0
  28. package/skills/wix-app/references/stores/QUERY.md +32 -0
  29. package/skills/wix-docs/SKILL.md +35 -3
  30. package/skills/wix-headless/SKILL.md +3 -1
  31. package/skills/wix-headless/references/CONTENT.md +36 -0
  32. package/skills/wix-headless/references/DESIGN.md +54 -0
  33. package/skills/wix-headless/references/DISCOVERY.md +24 -0
  34. package/skills/wix-headless/references/IMAGE_GENERATION.md +10 -0
  35. package/skills/wix-headless/references/inline-recipes/how-to-code-a-store.md +3 -2
  36. package/skills/wix-headless/references/inline-recipes/setup-online-store.md +32 -23
  37. package/skills/wix-headless/references/managed/CONNECT.md +1 -1
  38. package/skills/wix-headless/references/managed/CREATE.md +14 -0
  39. package/skills/wix-headless/references/managed/DEPLOYMENT.md +25 -0
  40. package/skills/wix-manage/SKILL.md +123 -7
  41. package/skills/wix-manage/references/analytics/analytics-dashboard-navigation.md +41 -0
  42. package/skills/wix-manage/references/app-installation/app-installation-dashboard-navigation.md +28 -0
  43. package/skills/wix-manage/references/blog/blog-dashboard-navigation.md +56 -0
  44. package/skills/wix-manage/references/blog/how-to-create-blog-posts.md +31 -6
  45. package/skills/wix-manage/references/bookings/booking-service-policy-setup.md +3 -1
  46. package/skills/wix-manage/references/bookings/bookings-dashboard-navigation.md +63 -0
  47. package/skills/wix-manage/references/bookings/diagnose-availability-issues.md +10 -1
  48. package/skills/wix-manage/references/cms/cms-dashboard-navigation.md +44 -0
  49. package/skills/wix-manage/references/cms/cms-data-items-crud.md +31 -3
  50. package/skills/wix-manage/references/cms/cms-publishing-flow.md +287 -0
  51. package/skills/wix-manage/references/cms/cms-schema-management.md +27 -1
  52. package/skills/wix-manage/references/contacts/contacts-dashboard-navigation.md +46 -0
  53. package/skills/wix-manage/references/contacts/create-a-contact.md +82 -0
  54. package/skills/wix-manage/references/contacts/update-a-contact.md +119 -0
  55. package/skills/wix-manage/references/dashboard-navigation/dashboard-navigation.md +82 -0
  56. package/skills/wix-manage/references/dashboard-navigation/routes.json +1733 -0
  57. package/skills/wix-manage/references/domains/domains-dashboard-navigation.md +32 -0
  58. package/skills/wix-manage/references/ecommerce/ecom-pricing.md +4 -4
  59. package/skills/wix-manage/references/ecommerce/ecom-shipping.md +1 -1
  60. package/skills/wix-manage/references/ecommerce/gift-cards/ecom-gift-cards-goal-sell-gift-cards.md +338 -0
  61. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-create-discount-rule.md +42 -78
  62. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-flow-bundle-and-save.md +1 -1
  63. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-flow-stock-mover.md +1 -1
  64. package/skills/wix-manage/references/ecommerce/pricing-promotions/ecom-pricing-flow-upsell-boost.md +1 -1
  65. package/skills/wix-manage/references/ecommerce/recommend-ecommerce-strategy.md +90 -92
  66. package/skills/wix-manage/references/events/create-wix-event.md +176 -0
  67. package/skills/wix-manage/references/events/manage-wix-events.md +174 -0
  68. package/skills/wix-manage/references/forms/forms-dashboard-navigation.md +44 -0
  69. package/skills/wix-manage/references/get-paid/get-paid-dashboard-navigation.md +52 -0
  70. package/skills/wix-manage/references/google-ads/billing-and-payment.md +80 -0
  71. package/skills/wix-manage/references/google-ads/create-performance-max-campaign.md +212 -0
  72. package/skills/wix-manage/references/google-ads/get-campaign-suggestions.md +110 -0
  73. package/skills/wix-manage/references/google-ads/google-ads-dashboard-navigation.md +25 -0
  74. package/skills/wix-manage/references/google-ads/install-and-create-account.md +155 -0
  75. package/skills/wix-manage/references/google-ads/manage-campaign-lifecycle.md +63 -0
  76. package/skills/wix-manage/references/google-ads/query-campaign-analytics.md +155 -0
  77. package/skills/wix-manage/references/marketing/marketing-dashboard-navigation.md +52 -0
  78. package/skills/wix-manage/references/pricing-plans/create-and-update-pricing-plans.md +99 -1
  79. package/skills/wix-manage/references/pricing-plans/pricing-plans-dashboard-navigation.md +45 -0
  80. package/skills/wix-manage/references/restaurants/restaurants-dashboard-navigation.md +68 -0
  81. package/skills/wix-manage/references/restaurants/wix-restaurants-setup.md +94 -125
  82. package/skills/wix-manage/references/site-properties/change-payment-currency-site-properties.md +48 -9
  83. package/skills/wix-manage/references/site-properties/site-properties-dashboard-navigation.md +31 -0
  84. package/skills/wix-manage/references/sites/create-headless-site.md +52 -0
  85. package/skills/wix-manage/references/sites/create-site-from-template.md +2 -25
  86. package/skills/wix-manage/references/sites/site-import.md +163 -190
  87. package/skills/wix-manage/references/sites/sites-dashboard-navigation.md +29 -0
  88. package/skills/wix-manage/references/stores/add-store-pages-to-site.md +17 -1
  89. package/skills/wix-manage/references/stores/find-products-query-and-search-catalog-v3.md +26 -8
  90. package/skills/wix-manage/references/stores/stores-dashboard-navigation.md +65 -0
  91. package/skills/wix-manage/references/stores/update-product-with-options.md +39 -7
  92. package/skills/wix-replatform/.publish-manifest.json +8 -0
  93. package/skills/wix-replatform/SKILL.md +693 -0
  94. package/skills/wix-replatform/lib/artifact-freshness.js +215 -0
  95. package/skills/wix-replatform/lib/completion-report.js +200 -0
  96. package/skills/wix-replatform/lib/config-env.js +59 -0
  97. package/skills/wix-replatform/lib/execution-manifest.js +185 -0
  98. package/skills/wix-replatform/lib/execution-state.js +173 -0
  99. package/skills/wix-replatform/lib/import-recovery.js +313 -0
  100. package/skills/wix-replatform/lib/local-state.js +642 -0
  101. package/skills/wix-replatform/lib/orchestration-preflight.js +143 -0
  102. package/skills/wix-replatform/lib/orchestration-router.js +122 -0
  103. package/skills/wix-replatform/lib/orchestration-state.js +455 -0
  104. package/skills/wix-replatform/lib/progress-log.js +224 -0
  105. package/skills/wix-replatform/lib/progress-log.sh +140 -0
  106. package/skills/wix-replatform/lib/url-preservation-state.js +391 -0
  107. package/skills/wix-replatform/resources/rp-discovery/SKILL.md +184 -0
  108. package/skills/wix-replatform/resources/rp-execute-import/SKILL.md +529 -0
  109. package/skills/wix-replatform/resources/rp-execute-setup/SKILL.md +316 -0
  110. package/skills/wix-replatform/resources/rp-execute-setup/scripts/mint-token.sh +64 -0
  111. package/skills/wix-replatform/resources/rp-import-codegen/SKILL.md +1114 -0
  112. package/skills/wix-replatform/resources/rp-mapper/SKILL.md +430 -0
  113. package/skills/wix-replatform/resources/rp-mapper/lib/mapping-resolve.js +217 -0
  114. package/skills/wix-replatform/resources/rp-mapper/scripts/resolve-mapping.js +148 -0
  115. package/skills/wix-replatform/resources/rp-mapper/wix-business-solutions-taxonomy.md +378 -0
  116. package/skills/wix-replatform/resources/rp-setup-discovery/SKILL.md +183 -0
  117. package/skills/wix-replatform/resources/rp-source-csv/SKILL.md +478 -0
  118. package/skills/wix-replatform/resources/rp-source-csv/lib/canonical-record.js +136 -0
  119. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-fileset.js +0 -0
  120. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-fingerprint.js +310 -0
  121. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-layout.js +1081 -0
  122. package/skills/wix-replatform/resources/rp-source-csv/lib/csv-parse.js +618 -0
  123. package/skills/wix-replatform/resources/rp-source-csv/scripts/csv-discovery.js +949 -0
  124. package/skills/wix-replatform/resources/rp-source-csv/source-schema.example.json +196 -0
  125. package/skills/wix-replatform/resources/rp-source-csv/vendors/bigcommerce.json +66 -0
  126. package/skills/wix-replatform/resources/rp-source-csv/vendors/magento.json +60 -0
  127. package/skills/wix-replatform/resources/rp-source-csv/vendors/shopify.json +95 -0
  128. package/skills/wix-replatform/resources/rp-source-csv/vendors/woocommerce.json +82 -0
  129. package/skills/wix-replatform/resources/rp-source-wordpress/SKILL.md +256 -0
  130. package/skills/wix-replatform/resources/rp-source-wordpress/lib/wp-http.js +249 -0
  131. package/skills/wix-replatform/resources/rp-source-wordpress/lib/wp-route-classifier.js +444 -0
  132. package/skills/wix-replatform/resources/rp-source-wordpress/scripts/wp-discovery.js +774 -0
  133. package/skills/wix-replatform/resources/rp-source-wordpress/source-schema.example.json +71 -0
  134. package/skills/wix-replatform/resources/rp-target-wix/SKILL.md +632 -0
  135. package/skills/wix-replatform/resources/rp-target-wix/SPEC-product-reviews-and-blog-authorship.md +330 -0
  136. package/skills/wix-replatform/resources/rp-target-wix/domains/README.md +21 -0
  137. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/domain.json +19 -0
  138. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/category.json +37 -0
  139. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/comment.json +37 -0
  140. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/post.json +39 -0
  141. package/skills/wix-replatform/resources/rp-target-wix/domains/blog/entities/tag.json +35 -0
  142. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/domain.json +14 -0
  143. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/entities/collection.json +35 -0
  144. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/entities/data-item.json +36 -0
  145. package/skills/wix-replatform/resources/rp-target-wix/domains/cms/entities/reference.json +35 -0
  146. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/domain.json +14 -0
  147. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/entities/contact.json +131 -0
  148. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/entities/email-subscription.json +37 -0
  149. package/skills/wix-replatform/resources/rp-target-wix/domains/crm/entities/label.json +37 -0
  150. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/domain.json +21 -0
  151. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/entities/order-line-item.json +37 -0
  152. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/entities/order-refund.json +37 -0
  153. package/skills/wix-replatform/resources/rp-target-wix/domains/ecom/entities/order.json +97 -0
  154. package/skills/wix-replatform/resources/rp-target-wix/domains/index.json +528 -0
  155. package/skills/wix-replatform/resources/rp-target-wix/domains/media/domain.json +14 -0
  156. package/skills/wix-replatform/resources/rp-target-wix/domains/media/entities/media-file.json +38 -0
  157. package/skills/wix-replatform/resources/rp-target-wix/domains/media/entities/media-folder.json +37 -0
  158. package/skills/wix-replatform/resources/rp-target-wix/domains/members/domain.json +13 -0
  159. package/skills/wix-replatform/resources/rp-target-wix/domains/members/entities/badge.json +37 -0
  160. package/skills/wix-replatform/resources/rp-target-wix/domains/members/entities/member.json +53 -0
  161. package/skills/wix-replatform/resources/rp-target-wix/domains/schema.json +84 -0
  162. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/domain.json +25 -0
  163. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/category.json +37 -0
  164. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/coupon.json +37 -0
  165. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/inventory-item.json +38 -0
  166. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/product-tag.json +37 -0
  167. package/skills/wix-replatform/resources/rp-target-wix/domains/stores/entities/product.json +90 -0
  168. package/skills/wix-replatform/resources/rp-target-wix/lib/audit-summary.js +64 -0
  169. package/skills/wix-replatform/resources/rp-target-wix/lib/contract-ledger.js +141 -0
  170. package/skills/wix-replatform/resources/rp-target-wix/lib/domain-knowledge.js +384 -0
  171. package/skills/wix-replatform/resources/rp-target-wix/lib/ndjson.js +260 -0
  172. package/skills/wix-replatform/resources/rp-target-wix/lib/stores-verification.js +238 -0
  173. package/skills/wix-replatform/resources/rp-target-wix/lib/wix-build.js +237 -0
  174. package/skills/wix-replatform/resources/rp-target-wix/lib/wix-target-spec.js +238 -0
  175. package/skills/wix-replatform/resources/rp-target-wix/lib/wix-writers.js +2219 -0
  176. package/skills/wix-replatform/resources/rp-target-wix/scripts/domain-knowledge-validate.js +31 -0
  177. package/skills/wix-replatform/resources/rp-target-wix/scripts/domain-knowledge.js +100 -0
  178. package/skills/wix-replatform/resources/rp-target-wix/scripts/verify-stores.js +107 -0
  179. package/skills/wix-replatform/resources/rp-telemetry/SKILL.md +344 -0
  180. package/skills/wix-replatform/resources/rp-telemetry/lib/bi-sink.js +250 -0
  181. package/skills/wix-replatform/resources/rp-telemetry/lib/telemetry-recorder.js +1927 -0
  182. package/skills/wix-replatform/resources/rp-telemetry/scripts/meter-from-audit.js +83 -0
  183. package/skills/wix-replatform/resources/rp-telemetry/scripts/rp-telemetry.js +141 -0
  184. package/skills/wix-replatform/scripts/artifact-freshness.js +76 -0
  185. package/skills/wix-replatform/scripts/execution-manifest-validate.js +43 -0
  186. package/skills/wix-replatform/scripts/execution-state-prepare.js +128 -0
  187. package/skills/wix-replatform/scripts/orchestration-preflight.js +48 -0
  188. package/skills/wix-replatform/scripts/orchestration-route.js +46 -0
  189. package/skills/wix-replatform/scripts/orchestration-state.js +245 -0
  190. package/skills/wix-vibe-headless/SKILL.md +48 -25
  191. package/skills/wix-vibe-headless/install/deploy.cjs +95 -0
  192. package/skills/wix-vibe-headless/install/pin-agents-md.cjs +34 -0
  193. package/skills/wix-vibe-headless/platforms/README.md +8 -4
  194. package/skills/wix-vibe-headless/platforms/base44.md +133 -98
  195. package/skills/wix-vibe-headless/platforms/generic.md +99 -64
  196. package/skills/wix-vibe-headless/references/blog/INSTRUCTIONS.md +230 -119
  197. package/skills/wix-vibe-headless/references/blog/app/components/PostCard.jsx +43 -0
  198. package/skills/wix-vibe-headless/references/blog/app/components/PostChips.jsx +25 -0
  199. package/skills/wix-vibe-headless/references/blog/app/components/PostGrid.jsx +15 -0
  200. package/skills/wix-vibe-headless/references/blog/app/context/TaxonomyContext.jsx +35 -0
  201. package/skills/wix-vibe-headless/references/blog/app/hooks/usePostDetail.js +38 -0
  202. package/skills/wix-vibe-headless/references/blog/app/pages/Blog.jsx +40 -0
  203. package/skills/wix-vibe-headless/references/blog/app/pages/CategoryPage.jsx +54 -0
  204. package/skills/wix-vibe-headless/references/blog/app/pages/PostDetail.jsx +65 -0
  205. package/skills/wix-vibe-headless/references/blog/app/pages/TagPage.jsx +50 -0
  206. package/skills/wix-vibe-headless/references/blog/seed/SEED.md +103 -0
  207. package/skills/wix-vibe-headless/references/blog/seed/seed-blog.js +270 -0
  208. package/skills/wix-vibe-headless/references/bookings/INSTRUCTIONS.md +260 -149
  209. package/skills/wix-vibe-headless/references/bookings/app/components/BookingForm.jsx +65 -0
  210. package/skills/wix-vibe-headless/references/bookings/app/components/ServiceCard.jsx +47 -0
  211. package/skills/wix-vibe-headless/references/bookings/app/components/ServiceGrid.jsx +13 -0
  212. package/skills/wix-vibe-headless/references/bookings/app/components/SlotPicker.jsx +126 -0
  213. package/skills/wix-vibe-headless/references/bookings/app/hooks/useServiceDetail.js +108 -0
  214. package/skills/wix-vibe-headless/references/bookings/app/hooks/useServices.js +58 -0
  215. package/skills/wix-vibe-headless/references/bookings/app/lib/serviceFacts.js +95 -0
  216. package/skills/wix-vibe-headless/references/bookings/app/pages/ServiceDetail.jsx +94 -0
  217. package/skills/wix-vibe-headless/references/bookings/app/pages/Services.jsx +89 -0
  218. package/skills/wix-vibe-headless/references/bookings/{wix-bookings-checkout.js → app/rest/wix-bookings-checkout.js} +1 -1
  219. package/skills/wix-vibe-headless/references/bookings/{wix-bookings-services.js → app/rest/wix-bookings-services.js} +87 -11
  220. package/skills/wix-vibe-headless/references/bookings/seed/SEED.md +117 -0
  221. package/skills/wix-vibe-headless/references/bookings/seed/seed-bookings.js +333 -0
  222. package/skills/wix-vibe-headless/references/cms/INSTRUCTIONS.md +169 -147
  223. package/skills/wix-vibe-headless/references/cms/app/collection.config.js +31 -0
  224. package/skills/wix-vibe-headless/references/cms/app/lib/wixImage.js +18 -0
  225. package/skills/wix-vibe-headless/references/cms/{wix-cms.js → app/rest/wix-cms.js} +47 -2
  226. package/skills/wix-vibe-headless/references/cms/seed/SEED.md +145 -0
  227. package/skills/wix-vibe-headless/references/events/INSTRUCTIONS.md +228 -131
  228. package/skills/wix-vibe-headless/references/events/app/components/CategoryFilter.jsx +23 -0
  229. package/skills/wix-vibe-headless/references/events/app/components/EventCard.jsx +43 -0
  230. package/skills/wix-vibe-headless/references/events/app/components/EventGrid.jsx +13 -0
  231. package/skills/wix-vibe-headless/references/events/app/components/EventRegistration.jsx +29 -0
  232. package/skills/wix-vibe-headless/references/events/app/components/RsvpForm.jsx +57 -0
  233. package/skills/wix-vibe-headless/references/events/app/components/TicketPicker.jsx +78 -0
  234. package/skills/wix-vibe-headless/references/events/app/hooks/useEventDetail.js +27 -0
  235. package/skills/wix-vibe-headless/references/events/app/hooks/useEventsList.js +54 -0
  236. package/skills/wix-vibe-headless/references/events/app/hooks/useRsvpForm.js +40 -0
  237. package/skills/wix-vibe-headless/references/events/app/hooks/useTicketing.js +81 -0
  238. package/skills/wix-vibe-headless/references/events/app/pages/EventDetail.jsx +48 -0
  239. package/skills/wix-vibe-headless/references/events/app/pages/Events.jsx +36 -0
  240. package/skills/wix-vibe-headless/references/events/{wix-events-browse.js → app/rest/wix-events-browse.js} +1 -1
  241. package/skills/wix-vibe-headless/references/events/seed/SEED.md +107 -0
  242. package/skills/wix-vibe-headless/references/events/seed/seed-events.js +251 -0
  243. package/skills/wix-vibe-headless/references/members/INSTRUCTIONS.md +276 -188
  244. package/skills/wix-vibe-headless/references/members/app/components/LoginForm.jsx +101 -0
  245. package/skills/wix-vibe-headless/references/members/app/components/MemberMenu.jsx +33 -0
  246. package/skills/wix-vibe-headless/references/members/app/components/RequireAuth.jsx +21 -0
  247. package/skills/wix-vibe-headless/references/members/app/components/SocialButtons.jsx +29 -0
  248. package/skills/wix-vibe-headless/references/members/app/context/MemberContext.jsx +54 -0
  249. package/skills/wix-vibe-headless/references/members/app/hooks/useLoginForm.js +77 -0
  250. package/skills/wix-vibe-headless/references/members/app/pages/Account.jsx +36 -0
  251. package/skills/wix-vibe-headless/references/members/app/pages/Callback.jsx +32 -0
  252. package/skills/wix-vibe-headless/references/members/app/pages/Login.jsx +35 -0
  253. package/skills/wix-vibe-headless/references/members/{wix-members-auth.js → app/rest/wix-members-auth.js} +6 -3
  254. package/skills/wix-vibe-headless/references/members/install/Register.jsx +22 -0
  255. package/skills/wix-vibe-headless/references/members/seed/SEED.md +22 -0
  256. package/skills/wix-vibe-headless/references/portfolio/INSTRUCTIONS.md +233 -104
  257. package/skills/wix-vibe-headless/references/portfolio/app/components/CollectionCard.jsx +31 -0
  258. package/skills/wix-vibe-headless/references/portfolio/app/components/CollectionGrid.jsx +15 -0
  259. package/skills/wix-vibe-headless/references/portfolio/app/components/ProjectCard.jsx +39 -0
  260. package/skills/wix-vibe-headless/references/portfolio/app/components/ProjectGrid.jsx +15 -0
  261. package/skills/wix-vibe-headless/references/portfolio/app/components/ProjectMedia.jsx +29 -0
  262. package/skills/wix-vibe-headless/references/portfolio/app/hooks/useCollectionProjects.js +35 -0
  263. package/skills/wix-vibe-headless/references/portfolio/app/hooks/usePortfolioGallery.js +27 -0
  264. package/skills/wix-vibe-headless/references/portfolio/app/hooks/useProjectDetail.js +25 -0
  265. package/skills/wix-vibe-headless/references/portfolio/app/pages/CollectionPage.jsx +39 -0
  266. package/skills/wix-vibe-headless/references/portfolio/app/pages/Portfolio.jsx +27 -0
  267. package/skills/wix-vibe-headless/references/portfolio/app/pages/ProjectDetail.jsx +60 -0
  268. package/skills/wix-vibe-headless/references/portfolio/seed/SEED.md +94 -0
  269. package/skills/wix-vibe-headless/references/portfolio/seed/seed-portfolio.js +236 -0
  270. package/skills/wix-vibe-headless/references/pricing-plans/INSTRUCTIONS.md +240 -117
  271. package/skills/wix-vibe-headless/references/pricing-plans/app/components/OrderCard.jsx +35 -0
  272. package/skills/wix-vibe-headless/references/pricing-plans/app/components/PlanCard.jsx +48 -0
  273. package/skills/wix-vibe-headless/references/pricing-plans/app/components/PlanGrid.jsx +16 -0
  274. package/skills/wix-vibe-headless/references/pricing-plans/app/components/PlanPrice.jsx +35 -0
  275. package/skills/wix-vibe-headless/references/pricing-plans/app/hooks/useMyPlans.js +25 -0
  276. package/skills/wix-vibe-headless/references/pricing-plans/app/hooks/usePlanDetail.js +28 -0
  277. package/skills/wix-vibe-headless/references/pricing-plans/app/hooks/usePlans.js +30 -0
  278. package/skills/wix-vibe-headless/references/pricing-plans/app/pages/MyPlans.jsx +30 -0
  279. package/skills/wix-vibe-headless/references/pricing-plans/app/pages/PlanDetail.jsx +53 -0
  280. package/skills/wix-vibe-headless/references/pricing-plans/app/pages/Plans.jsx +28 -0
  281. package/skills/wix-vibe-headless/references/pricing-plans/seed/SEED.md +86 -0
  282. package/skills/wix-vibe-headless/references/pricing-plans/seed/seed-pricing-plans.js +251 -0
  283. package/skills/wix-vibe-headless/references/restaurants/INSTRUCTIONS.md +248 -124
  284. package/skills/wix-vibe-headless/references/restaurants/app/components/ItemDialog.jsx +81 -0
  285. package/skills/wix-vibe-headless/references/restaurants/app/components/MenuItemCard.jsx +71 -0
  286. package/skills/wix-vibe-headless/references/restaurants/app/components/MenuList.jsx +43 -0
  287. package/skills/wix-vibe-headless/references/restaurants/app/components/OrderCartButton.jsx +21 -0
  288. package/skills/wix-vibe-headless/references/restaurants/app/components/OrderCartDrawer.jsx +60 -0
  289. package/skills/wix-vibe-headless/references/restaurants/app/context/OrderCartContext.jsx +63 -0
  290. package/skills/wix-vibe-headless/references/restaurants/app/hooks/useItemOrder.js +32 -0
  291. package/skills/wix-vibe-headless/references/restaurants/app/hooks/useReservation.js +73 -0
  292. package/skills/wix-vibe-headless/references/restaurants/app/pages/Menu.jsx +28 -0
  293. package/skills/wix-vibe-headless/references/restaurants/app/pages/Reservations.jsx +102 -0
  294. package/skills/wix-vibe-headless/references/restaurants/seed/SEED.md +180 -0
  295. package/skills/wix-vibe-headless/references/restaurants/seed/seed-restaurants.js +452 -0
  296. package/skills/wix-vibe-headless/references/shared/app/components/WixManageBanner.jsx +56 -0
  297. package/skills/wix-vibe-headless/references/shared/{wix-client.js → app/rest/wix-client.js} +6 -8
  298. package/skills/wix-vibe-headless/references/shared/app/rest/wix-config.js +6 -0
  299. package/skills/wix-vibe-headless/references/storefront/INSTRUCTIONS.md +263 -157
  300. package/skills/wix-vibe-headless/references/storefront/app/components/CartButton.jsx +20 -0
  301. package/skills/wix-vibe-headless/references/storefront/app/components/CartDrawer.jsx +150 -0
  302. package/skills/wix-vibe-headless/references/storefront/app/components/ProductCard.jsx +167 -0
  303. package/skills/wix-vibe-headless/references/storefront/app/components/ProductGallery.jsx +51 -0
  304. package/skills/wix-vibe-headless/references/storefront/app/components/ProductGrid.jsx +54 -0
  305. package/skills/wix-vibe-headless/references/storefront/app/components/VariantPicker.jsx +119 -0
  306. package/skills/wix-vibe-headless/references/storefront/app/context/CartContext.jsx +71 -0
  307. package/skills/wix-vibe-headless/references/storefront/app/hooks/useProductDetail.js +109 -0
  308. package/skills/wix-vibe-headless/references/storefront/app/hooks/useShop.js +98 -0
  309. package/skills/wix-vibe-headless/references/storefront/app/lib/storeImage.js +27 -0
  310. package/skills/wix-vibe-headless/references/storefront/app/pages/ProductDetail.jsx +139 -0
  311. package/skills/wix-vibe-headless/references/storefront/app/pages/Shop.jsx +75 -0
  312. package/skills/wix-vibe-headless/references/storefront/{wix-store-cart.js → app/rest/wix-store-cart.js} +1 -1
  313. package/skills/wix-vibe-headless/references/storefront/{wix-store-catalog.js → app/rest/wix-store-catalog.js} +20 -1
  314. package/skills/wix-vibe-headless/references/storefront/seed/SEED.md +111 -0
  315. package/skills/wix-vibe-headless/references/storefront/seed/seed-store.js +299 -0
  316. /package/skills/wix-vibe-headless/references/blog/{wix-blog.js → app/rest/wix-blog.js} +0 -0
  317. /package/skills/wix-vibe-headless/references/events/{wix-events-registration.js → app/rest/wix-events-registration.js} +0 -0
  318. /package/skills/wix-vibe-headless/references/portfolio/{wix-portfolio.js → app/rest/wix-portfolio.js} +0 -0
  319. /package/skills/wix-vibe-headless/references/pricing-plans/{wix-pricing-plans.js → app/rest/wix-pricing-plans.js} +0 -0
  320. /package/skills/wix-vibe-headless/references/restaurants/{wix-restaurants-menu.js → app/rest/wix-restaurants-menu.js} +0 -0
  321. /package/skills/wix-vibe-headless/references/restaurants/{wix-restaurants-ordering.js → app/rest/wix-restaurants-ordering.js} +0 -0
  322. /package/skills/wix-vibe-headless/references/restaurants/{wix-restaurants-reservations.js → app/rest/wix-restaurants-reservations.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "Wix Restaurants Setup"
3
- description: Configures restaurant menus, sections, and items using Menus API. Covers menu structure (Menu → Section → Item), modifiers, pricing, availability schedules, and ordering settings.
3
+ description: Configures restaurant menus, sections, and items using Menus API. Covers menu structure (Menu → Section → Item), the two-step item modifier / modifier group flow, pricing, availability schedules, and ordering settings.
4
4
  ---
5
5
  # Wix Restaurants Setup API Reference
6
6
 
@@ -16,6 +16,7 @@ This recipe covers setting up and configuring Wix Restaurants using the REST API
16
16
  - **Menus API**: [REST](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/menus/menus/create-menu)
17
17
  - **Menu Items API**: [REST](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/menus/items/items/create-item)
18
18
  - **Menu Sections API**: [REST](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/menus/sections/create-section)
19
+ - **Item Modifiers API**: [REST](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/menus/items/item-modifiers/create-modifier)
19
20
  - **Item Modifier Groups API**: [REST](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/menus/items/item-modifier-groups/create-modifier-group)
20
21
  - **Item Variants API**: [REST](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/menus/items/item-variants/bulk-create-variants)
21
22
 
@@ -70,32 +71,8 @@ Wix Restaurants uses a hierarchical structure:
70
71
  }
71
72
  ```
72
73
 
73
- Create multiple sections:
74
- ```json
75
- // Section 1: Appetizers
76
- {
77
- "section": {
78
- "name": "Appetizers",
79
- "sortOrder": 1
80
- }
81
- }
82
-
83
- // Section 2: Main Courses
84
- {
85
- "section": {
86
- "name": "Main Courses",
87
- "sortOrder": 2
88
- }
89
- }
90
-
91
- // Section 3: Desserts
92
- {
93
- "section": {
94
- "name": "Desserts",
95
- "sortOrder": 3
96
- }
97
- }
98
- ```
74
+ Repeat per section, incrementing `sortOrder`, or create them all at once with the bulk endpoint
75
+ in Step 7.
99
76
 
100
77
  ## Step 3: Create Menu Items
101
78
 
@@ -115,6 +92,9 @@ Create multiple sections:
115
92
  }
116
93
  ```
117
94
 
95
+ `modifierGroups` holds objects referencing existing modifier groups —
96
+ `[{ "id": "<MODIFIER_GROUP_ID>" }]`. Leave it empty until the groups exist (Step 5).
97
+
118
98
  ## Step 4: Add Items to Sections
119
99
 
120
100
  **Endpoint**: `PATCH https://www.wixapis.com/restaurants/menus-section/v1/sections/{sectionId}`
@@ -133,86 +113,103 @@ Each section update requires the latest section `revision`.
133
113
 
134
114
  ## Step 5: Configure Item Options and Modifiers
135
115
 
136
- Create modifiers for customization (e.g., cooking temperature, add-ons):
116
+ A modifier group (e.g. "Cooking Temperature", "Toppings") holds a set of individual choices and
117
+ the selection rule that governs them. **The choices are separate entities** — a modifier group
118
+ does not contain inline options. Creating a group therefore takes two calls, in this order:
137
119
 
138
- **Endpoint**: `POST https://www.wixapis.com/restaurants/item-modifier-group/v1/modifier-groups`
120
+ 1. Create one **item modifier** per choice (Item Modifiers API) and keep each returned `id`.
121
+ 2. Create the **modifier group** (Item Modifier Groups API), referencing those IDs.
122
+
123
+ Do both calls; a group created without step 1 comes back with an empty `modifiers` array and no
124
+ choices are saved.
125
+
126
+ ### Step 5a: Create each item modifier
127
+
128
+ **Endpoint**: `POST https://www.wixapis.com/restaurants/item-modifiers/v1/modifiers`
129
+
130
+ Only `modifier.name` is required.
139
131
 
140
132
  ```json
141
133
  {
142
134
  "modifier": {
143
- "name": "Cooking Temperature",
144
- "required": true,
145
- "minSelections": 1,
146
- "maxSelections": 1,
147
- "options": [
148
- {
149
- "name": "Rare",
150
- "price": {
151
- "amount": "0",
152
- "currency": "USD"
153
- }
154
- },
155
- {
156
- "name": "Medium Rare",
157
- "price": {
158
- "amount": "0",
159
- "currency": "USD"
160
- }
161
- },
162
- {
163
- "name": "Medium",
164
- "price": {
165
- "amount": "0",
166
- "currency": "USD"
167
- }
168
- },
169
- {
170
- "name": "Well Done",
171
- "price": {
172
- "amount": "0",
173
- "currency": "USD"
174
- }
175
- }
176
- ]
135
+ "name": "Extra Cheese",
136
+ "type": "MODIFIER"
177
137
  }
178
138
  }
179
139
  ```
180
140
 
181
- Add-on modifier with pricing:
141
+ The response returns the new `modifier.id`. Repeat per choice, collecting the IDs.
142
+
143
+ ### Step 5b: Create the modifier group
144
+
145
+ **Endpoint**: `POST https://www.wixapis.com/restaurants/item-modifier-group/v1/modifier-groups`
146
+
147
+ The request body's top-level field is **`modifierGroup`**. Sending `modifier` instead is rejected
148
+ with `400 modifierGroup must not be empty` (`violatedRule: REQUIRED_FIELD`).
149
+
150
+ Required: `modifierGroup` and `modifierGroup.name`.
151
+
182
152
  ```json
183
153
  {
184
- "modifier": {
185
- "name": "Add-ons",
186
- "required": false,
187
- "minSelections": 0,
188
- "maxSelections": 5,
189
- "options": [
154
+ "modifierGroup": {
155
+ "name": "Toppings",
156
+ "modifiers": [
190
157
  {
191
- "name": "Extra Cheese",
192
- "price": {
193
- "amount": "2.00",
194
- "currency": "USD"
195
- }
158
+ "id": "<ITEM_MODIFIER_ID_1>",
159
+ "additionalChargeInfo": { "additionalCharge": "2.00" }
196
160
  },
197
161
  {
198
- "name": "Bacon",
199
- "price": {
200
- "amount": "3.00",
201
- "currency": "USD"
202
- }
203
- },
204
- {
205
- "name": "Avocado",
206
- "price": {
207
- "amount": "2.50",
208
- "currency": "USD"
209
- }
162
+ "id": "<ITEM_MODIFIER_ID_2>",
163
+ "additionalChargeInfo": { "additionalCharge": "0.00" }
210
164
  }
211
- ]
165
+ ],
166
+ "rule": {
167
+ "required": false,
168
+ "minSelections": 0,
169
+ "maxSelections": 5
170
+ }
171
+ }
172
+ }
173
+ ```
174
+
175
+ For a mandatory single-choice group (e.g. cooking temperature) use the same shape with
176
+ `"rule": { "required": true, "minSelections": 1, "maxSelections": 1 }`.
177
+
178
+ **Field reference** for `modifierGroup`:
179
+
180
+ | Field | Notes |
181
+ |-------|-------|
182
+ | `name` | Required. The group's display name. |
183
+ | `modifiers[].id` | ID of an existing item modifier from Step 5a — not a name. Up to 500. |
184
+ | `modifiers[].additionalChargeInfo.additionalCharge` | That choice's surcharge, a decimal string (`"2.00"`). No `currency` field — the site currency is used. |
185
+ | `modifiers[].preSelected` | Optional boolean; selects the choice by default. |
186
+ | `rule.required` | Whether the customer must choose. Named `required`, not `mandatory`. |
187
+ | `rule.minSelections` / `rule.maxSelections` | Integers bounding how many choices are allowed. |
188
+
189
+ There is no `options` field and no per-option `price` object.
190
+
191
+ ### Step 5c: Attach the group to an item
192
+
193
+ A modifier group only reaches customers once an item references it. The item's `modifierGroups`
194
+ is an array of **objects carrying an `id`**, not bare ID strings.
195
+
196
+ **Endpoint**: `PATCH https://www.wixapis.com/restaurants/menus-item/v1/items/{itemId}`
197
+
198
+ ```json
199
+ {
200
+ "item": {
201
+ "id": "<ITEM_ID>",
202
+ "revision": "<ITEM_REVISION>",
203
+ "modifierGroups": [{ "id": "<MODIFIER_GROUP_ID>" }]
212
204
  }
213
205
  }
214
206
  ```
215
207
 
208
+ To create modifier groups in bulk, use
209
+ `POST https://www.wixapis.com/restaurants/menus/v1/bulk/modifier-groups/create` and
210
+ `POST https://www.wixapis.com/restaurants/menus/v1/bulk/modifiers/create`; the per-entity body
211
+ shape is the same.
212
+
216
213
  ## Step 6: Set Menu Structure (Attach Sections to Menu)
217
214
 
218
215
  Attach section IDs to a menu. This call requires the latest menu `revision`.
@@ -265,39 +262,18 @@ Use query APIs for retrieval and UI display flows.
265
262
  }
266
263
  ```
267
264
 
268
- ## Query Menus
269
-
270
- **Endpoint**: `GET https://www.wixapis.com/restaurants/menus-menu/v1/menus`
271
-
272
- **Response**:
273
- ```json
274
- {
275
- "menus": [
276
- {
277
- "id": "menu-1",
278
- "name": "Breakfast Menu",
279
- "visible": true,
280
- "sections": [...]
281
- },
282
- {
283
- "id": "menu-2",
284
- "name": "Lunch Menu",
285
- "visible": true,
286
- "sections": [...]
287
- }
288
- ]
289
- }
290
- ```
291
-
292
265
  ## Recommended Setup Order
293
266
 
294
267
  For complex restaurant menus, use this order to avoid dependency issues:
295
268
 
296
269
  1. Create variants (sizes/options) if needed.
297
- 2. Create items (single or bulk).
298
- 3. Create sections (single or bulk).
299
- 4. Update each section with `itemIds`.
300
- 5. Update menu with `sectionIds`.
270
+ 2. Create item modifiers, then group them into modifier groups (Step 5) if the items need
271
+ customization options.
272
+ 3. Create items (single or bulk).
273
+ 4. Create sections (single or bulk).
274
+ 5. Update each section with `itemIds`.
275
+ 6. Update menu with `sectionIds`.
276
+ 7. Update items with `modifierGroups` to attach the groups from step 2.
301
277
 
302
278
  ## Item Labels
303
279
 
@@ -311,15 +287,6 @@ Common dietary labels:
311
287
  - `spicy`
312
288
  - `chef-recommendation`
313
289
 
314
- ## Best Practices
315
-
316
- 1. **High-Quality Images**: Use appetizing food photography
317
- 2. **Clear Descriptions**: Include ingredients and preparation methods
318
- 3. **Accurate Pricing**: Keep prices up-to-date
319
- 4. **Stock Management**: Update availability in real-time
320
- 5. **Modifier Organization**: Group related customizations logically
321
- 6. **Menu Structure**: Organize sections in logical dining order
322
-
323
290
  ## Error Handling
324
291
 
325
292
  | Error | Cause | Solution |
@@ -327,6 +294,8 @@ Common dietary labels:
327
294
  | `MENU_NOT_FOUND` | Invalid menu ID | Verify menu exists |
328
295
  | `ITEM_NOT_FOUND` | Invalid item ID | Verify item exists |
329
296
  | `INVALID_PRICE` | Negative price | Use positive amounts |
297
+ | `400 modifierGroup must not be empty` | Request body wrapped the group in `modifier` instead of `modifierGroup` | Use `modifierGroup` as the top-level field (Step 5b) |
298
+ | Group created but `modifiers` is `[]` | Choices were sent inline (e.g. an `options` array) instead of as item modifier IDs | Create item modifiers first, then reference their IDs in `modifiers[].id` (Step 5a → 5b) |
330
299
 
331
300
  ## Related Documentation
332
301
 
@@ -1,21 +1,23 @@
1
1
  ---
2
- name: "RECIPE: Change a Site's Payment (Store) Currency via Site Properties API"
3
- description: "Updates the site-level payment currency (store billing currency) using Site Properties API, including the required request body shape and field mask."
2
+ name: "RECIPE: Change a Site's Regional Properties (Currency, Time Zone, Language) via Site Properties API"
3
+ description: "Updates the site-level payment currency (store billing currency) using Site Properties API, including the required request body shape and field mask. Covers the site time zone and primary language through the same call, whose field mask names top-level properties."
4
4
  ---
5
5
 
6
- # RECIPE: Change a Site's Payment (Store) Currency via Site Properties API
6
+ # RECIPE: Change a Site's Regional Properties via Site Properties API
7
7
 
8
8
  ## Goal
9
- Update a Wix site's **payment currency** (the ISO-4217 currency code used to bill customers) programmatically.
9
+ Update a Wix site's **regional properties** — payment currency, time zone, or primary language — programmatically.
10
10
 
11
11
  ## When to use
12
12
  - You need to switch a site's store/payment currency (for example, from `USD` to `EUR`).
13
+ - You need to change a site's time zone or primary language.
13
14
  - You want to automate regional/business setup for sites.
14
15
 
15
16
  ## Important notes before you start
16
- - The `paymentCurrency` field is part of **Site Properties** (often shown in the dashboard under regional/business info).
17
+ - These fields are part of **Site Properties** (often shown in the dashboard under regional/business info).
17
18
  - A successful update increments the Site Properties `version`.
18
19
  - Use a **field mask** (`fields.paths`) to indicate which fields you're updating.
20
+ - **Field mask paths are top-level property names.** The read response also contains a `locale` object, but it is not the write surface — see Gotchas.
19
21
 
20
22
  ## Step 1 — (Optional) Read current site properties version
21
23
  This is useful to understand the current snapshot version and other regional fields.
@@ -25,8 +27,14 @@ curl -X GET 'https://www.wixapis.com/site-properties/v4/properties' \
25
27
  -H 'Authorization: <AUTH>'
26
28
  ```
27
29
 
28
- ## Step 2 — Update the payment currency
29
- Use the `PATCH /site-properties/v4/properties` endpoint: put the new currency under `properties.paymentCurrency` and include a `fields.paths` mask.
30
+ ## Step 2 — Update the properties you need
31
+ Use the `PATCH /site-properties/v4/properties` endpoint: put the new values under `properties` and name each one in a `fields.paths` mask.
32
+
33
+ | Property | Field name | Value format |
34
+ |---|---|---|
35
+ | Payment currency | `paymentCurrency` | 3-letter ISO-4217 code — `USD`, `EUR`, `GBP` |
36
+ | Time zone | `timeZone` | IANA time zone name — `America/New_York`, `Europe/Rome` |
37
+ | Primary language | `language` | 2-letter ISO 639-1 code — `en`, `es`, `it` |
30
38
 
31
39
  ```bash
32
40
  curl -X PATCH 'https://www.wixapis.com/site-properties/v4/properties' \
@@ -42,18 +50,49 @@ curl -X PATCH 'https://www.wixapis.com/site-properties/v4/properties' \
42
50
  }'
43
51
  ```
44
52
 
53
+ Time zone, same shape:
54
+
55
+ ```bash
56
+ curl -X PATCH 'https://www.wixapis.com/site-properties/v4/properties' \
57
+ -H 'Content-Type: application/json' \
58
+ -H 'Authorization: <AUTH>' \
59
+ --data-binary '{
60
+ "properties": {
61
+ "timeZone": "America/New_York"
62
+ },
63
+ "fields": {
64
+ "paths": ["timeZone"]
65
+ }
66
+ }'
67
+ ```
68
+
69
+ To update several properties at once, include each one in `properties` and name each in `paths`:
70
+
71
+ ```bash
72
+ --data-binary '{
73
+ "properties": { "timeZone": "Europe/Rome", "language": "en" },
74
+ "fields": { "paths": ["timeZone", "language"] }
75
+ }'
76
+ ```
77
+
45
78
  ### Expected response
46
- A successful call returns an updated Site Properties snapshot version, for example:
79
+ A successful call returns only the updated Site Properties snapshot version — it does **not** echo the properties back:
47
80
 
48
81
  ```json
49
82
  { "version": "123" }
50
83
  ```
51
84
 
85
+ To confirm the new value, re-read with the Step 1 `GET`.
86
+
52
87
  ## Gotchas & troubleshooting
53
- - **Always send a field mask**: omitting `fields.paths` will fail with `400` and `"Illegal request - No updates on request body"`.
88
+ - **Always send a field mask**: omitting `fields.paths` fails with `400` and `"Illegal request - No updates on request body"`.
89
+ - **Do not nest the mask path under `locale`.** The `GET` response contains a `locale` object (`languageCode`, `country`), which makes a path like `locale.timezone` look plausible — it is rejected with `400` and `"Illegal request - Unknown field in field mask - locale.timezone"`. Time zone and language are the top-level `timeZone` and `language` fields.
90
+ - **`locale.languageCode` is a read-only projection** and can differ from the top-level `language` value. Set `language`; read `language` back to verify.
54
91
  - Currency must be a **3-letter ISO-4217** code (for example, `USD`, `CAD`, `EUR`, `GBP`).
92
+ - There is no separate per-field endpoint for currency, time zone, or language — all three go through this one call.
55
93
 
56
94
  ## Related APIs
57
95
  - **Site Properties API**: [REST](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/introduction)
96
+ - **Get Site Properties** (full read shape): [REST](https://dev.wix.com/docs/api-reference/business-management/site-properties/properties/get-site-properties)
58
97
  - Stores Currency Converter (conversion utilities, not for setting the site currency):
59
98
  - `POST https://www.wixapis.com/currency_converter/v1/currencies/amounts/{from}/convert/{to}`
@@ -0,0 +1,31 @@
1
+ ---
2
+ name: "Site Settings Dashboard Navigation"
3
+ description: "Builds direct links to the site-settings dashboard pages on manage.wix.com — the settings hub, website settings, and language & region. Pairs site properties with the Site Properties read API. Use when the user asks where something is in the Wix dashboard, wants a direct link to a dashboard page, or you need a dashboard URL to include with the result of an API operation."
4
+ ---
5
+
6
+ # Site Settings Dashboard Navigation
7
+
8
+ Build direct links into the settings pages of a site's dashboard. For the general URL contract (metaSiteId, fallbacks, redirects), see [Dashboard Navigation](../dashboard-navigation/dashboard-navigation.md).
9
+
10
+ ## Main Pages
11
+
12
+ | Page | URL after `/dashboard/{metaSiteId}/` | What it manages |
13
+ |---|---|---|
14
+ | Settings hub | `settings` | All site settings sections (business info, payments, etc.) |
15
+ | Website settings | `settings/website-settings` | Site name, favicon, social sharing |
16
+ | Language & region | `settings/language-and-region` | Language, currency, time zone |
17
+
18
+ Older `manage-website...` links redirect to the current routes.
19
+
20
+ ## Pairing Entities with Their Read APIs
21
+
22
+ | Entity | Read API | Dashboard link |
23
+ |---|---|---|
24
+ | Site properties (business info, locale, currency) | `GET /site-properties/v4/properties` | `settings` (hub) or `settings/language-and-region` |
25
+
26
+ Example — after changing the payment currency:
27
+
28
+ ```
29
+ Payment currency set to EUR.
30
+ Review your regional settings: https://manage.wix.com/dashboard/{metaSiteId}/settings/language-and-region
31
+ ```
@@ -0,0 +1,52 @@
1
+ ---
2
+ name: "Create Headless Site"
3
+ description: Creates a Wix Headless site (headless business) with one account-level API call — site, Wix Business Solution apps, and a configured OAuth client.
4
+ ---
5
+ # Create Headless Site
6
+
7
+ Headless sites are not created from templates. One account-level call creates the site, installs the requested Wix Business Solution apps, and creates and configures the site's OAuth client.
8
+
9
+ > Do NOT use the [Create Site from Template](create-site-from-template.md) API for headless sites — it only tags the site's namespace and skips the headless setup entirely.
10
+
11
+ ## Prerequisites
12
+
13
+ - Wix account with site creation permissions
14
+ - Account-level API access
15
+
16
+ ## Provision a Headless Business
17
+
18
+ **Endpoint**: `POST https://www.wixapis.com/headless-business-setup/v1/headless-business/provision`
19
+
20
+ **Request Body**:
21
+ ```json
22
+ {
23
+ "newMetasite": {
24
+ "namingStrategy": { "metaSiteName": "My Headless Business" },
25
+ "seedOptions": [
26
+ { "businessSolution": "STORES", "clearTemplateContent": true, "seedDemoContent": false }
27
+ ]
28
+ },
29
+ "synchronousSteps": ["SET_METASITE_NAME", "CONFIGURE_HEADLESS_APP"]
30
+ }
31
+ ```
32
+
33
+ - `namingStrategy` — exactly one of: `metaSiteName` (exact display name), `llmPromptBasedName: {}` (name derived from the top-level `prompt` field), or `defaultName: {}`
34
+ - `seedOptions` — Wix Business Solution apps to install at creation: `STORES`, `BLOG`, `BOOKINGS`, `EVENTS`, `PORTFOLIO`, `PRICING_PLANS`. Each entry takes `clearTemplateContent` (remove sample content) and `seedDemoContent` (seed demo content). Empty installs none
35
+ - `synchronousSteps` — steps to complete before the call returns: `SET_METASITE_NAME`, `CONFIGURE_HEADLESS_APP`, `SEED_CONTENT`. Omitted steps run asynchronously. Include `CONFIGURE_HEADLESS_APP` when the OAuth client must be usable immediately
36
+
37
+ **Response**:
38
+ ```json
39
+ { "metaSiteId": "<SITE_ID>", "appId": "<OAUTH_CLIENT_ID>" }
40
+ ```
41
+
42
+ `appId` is the site's OAuth client ID — do NOT create a separate OAuth app.
43
+
44
+ ## Existing Sites
45
+
46
+ To provision headless onto an existing site, pass `"existingMetasite": {}` instead of `newMetasite`. This is a site-level call in the context of that site.
47
+
48
+ ## Next Steps
49
+
50
+ After creating the site:
51
+ - Install additional apps using [Install Wix Apps](../app-installation/install-wix-apps.md)
52
+ - Add content (products, services, blog posts, etc.)
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: "Create Site from Template"
3
- description: Creates new Wix sites from templates using account-level APIs. Covers template search, site creation, headless site setup, OAuth app creation, and publishing.
3
+ description: Creates new Wix sites from templates using account-level APIs. Covers template search, site creation, and publishing. Not for headless sites.
4
4
  ---
5
5
  # Create Site from Template
6
6
 
@@ -108,23 +108,10 @@ The `siteName` must follow these rules:
108
108
 
109
109
  If `siteName` is not provided, one is generated automatically.
110
110
 
111
- ### For Headless Sites
112
-
113
- Add `"namespace": "HEADLESS"` to the request body:
114
-
115
- ```json
116
- {
117
- "originTemplateId": "<TEMPLATE_ID>",
118
- "siteName": "my-headless-site",
119
- "namespace": "HEADLESS"
120
- }
121
- ```
122
-
123
111
  **Response** includes the new site's `metaSiteId`.
124
112
 
125
113
  ### IMPORTANT NOTES:
126
- - Only mention headless if user specifically requests it
127
- - If user doesn't ask for headless, do NOT include the `namespace` field
114
+ - This API creates regular Wix sites. Do NOT use it for headless sites (even with a `namespace` field) — use [Create Headless Site](create-headless-site.md) instead
128
115
 
129
116
  ---
130
117
 
@@ -151,16 +138,6 @@ curl -X POST \
151
138
 
152
139
  ---
153
140
 
154
- ## Step 5: For Headless Sites - Create OAuth App
155
-
156
- If the site was created as headless, you MUST create an OAuth app for authentication.
157
-
158
- See [Create OAuth App](https://dev.wix.com/docs/api-reference/business-management/headless/oauth-apps/create-oauth-app) documentation.
159
-
160
- This is a site-level call in the context of the newly created site.
161
-
162
- ---
163
-
164
141
  ## Common Template IDs
165
142
 
166
143
  For quick access without searching: