fluentcart-developer 2.3.4 → 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.
- package/dist/cards/fluentcart/tools.d.ts.map +1 -1
- package/dist/cards/fluentcart/tools.js +2368 -2323
- package/dist/cards/fluentcart/tools.js.map +1 -1
- package/dist/paths.d.ts +1 -1
- package/dist/paths.d.ts.map +1 -1
- package/dist/paths.js +1 -1
- package/dist/paths.js.map +1 -1
- package/dist/reference-reader.d.ts +32 -1
- package/dist/reference-reader.d.ts.map +1 -1
- package/dist/reference-reader.js +111 -22
- package/dist/reference-reader.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +8 -1
- package/dist/server.js.map +1 -1
- package/dist/skills/fluentcart-developer/SKILL.md +66 -538
- package/dist/skills/fluentcart-developer/references/api/authentication.md +452 -0
- package/dist/skills/fluentcart-developer/references/api/coupons.md +786 -0
- package/dist/skills/fluentcart-developer/references/api/customers.md +889 -0
- package/dist/skills/fluentcart-developer/references/api/files.md +609 -0
- package/dist/skills/fluentcart-developer/references/api/index.md +432 -0
- package/dist/skills/fluentcart-developer/references/api/licensing.md +633 -0
- package/dist/skills/fluentcart-developer/references/api/order-bump.md +384 -0
- package/dist/skills/fluentcart-developer/references/api/orders.md +814 -0
- package/dist/skills/fluentcart-developer/references/api/products.md +866 -0
- package/dist/skills/fluentcart-developer/references/api/roles-permissions.md +536 -0
- package/dist/skills/fluentcart-developer/references/api/subscriptions.md +827 -0
- package/dist/skills/fluentcart-developer/references/database/index.md +44 -0
- package/dist/skills/fluentcart-developer/references/database/models/activity.md +178 -0
- package/dist/skills/fluentcart-developer/references/database/models/applied-coupon.md +291 -0
- package/dist/skills/fluentcart-developer/references/database/models/attribute-group.md +239 -0
- package/dist/skills/fluentcart-developer/references/database/models/attribute-relation.md +181 -0
- package/dist/skills/fluentcart-developer/references/database/models/attribute-term.md +219 -0
- package/dist/skills/fluentcart-developer/references/database/models/cart.md +645 -0
- package/dist/skills/fluentcart-developer/references/database/models/coupon.md +427 -0
- package/dist/skills/fluentcart-developer/references/database/models/customer-addresses.md +348 -0
- package/dist/skills/fluentcart-developer/references/database/models/customer-meta.md +156 -0
- package/dist/skills/fluentcart-developer/references/database/models/customer.md +584 -0
- package/dist/skills/fluentcart-developer/references/database/models/dynamic-model.md +163 -0
- package/dist/skills/fluentcart-developer/references/database/models/label-relationship.md +155 -0
- package/dist/skills/fluentcart-developer/references/database/models/label.md +153 -0
- package/dist/skills/fluentcart-developer/references/database/models/license-activation.md +182 -0
- package/dist/skills/fluentcart-developer/references/database/models/license-meta.md +163 -0
- package/dist/skills/fluentcart-developer/references/database/models/license-site.md +208 -0
- package/dist/skills/fluentcart-developer/references/database/models/license.md +640 -0
- package/dist/skills/fluentcart-developer/references/database/models/meta.md +233 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-address.md +391 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-download-permission.md +144 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-item.md +383 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-meta.md +303 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-operation.md +158 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-promotion-stat.md +175 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-promotion.md +250 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-tax-rate.md +172 -0
- package/dist/skills/fluentcart-developer/references/database/models/order-transaction.md +440 -0
- package/dist/skills/fluentcart-developer/references/database/models/order.md +727 -0
- package/dist/skills/fluentcart-developer/references/database/models/product-detail.md +397 -0
- package/dist/skills/fluentcart-developer/references/database/models/product-download.md +258 -0
- package/dist/skills/fluentcart-developer/references/database/models/product-meta.md +153 -0
- package/dist/skills/fluentcart-developer/references/database/models/product-variation.md +556 -0
- package/dist/skills/fluentcart-developer/references/database/models/product.md +580 -0
- package/dist/skills/fluentcart-developer/references/database/models/relationships.md +427 -0
- package/dist/skills/fluentcart-developer/references/database/models/scheduled-action.md +175 -0
- package/dist/skills/fluentcart-developer/references/database/models/shipping-class.md +148 -0
- package/dist/skills/fluentcart-developer/references/database/models/shipping-method.md +280 -0
- package/dist/skills/fluentcart-developer/references/database/models/shipping-zone.md +205 -0
- package/dist/skills/fluentcart-developer/references/database/models/subscription-meta.md +173 -0
- package/dist/skills/fluentcart-developer/references/database/models/subscription.md +528 -0
- package/dist/skills/fluentcart-developer/references/database/models/tax-class.md +195 -0
- package/dist/skills/fluentcart-developer/references/database/models/tax-rate.md +225 -0
- package/dist/skills/fluentcart-developer/references/database/models/user-meta.md +166 -0
- package/dist/skills/fluentcart-developer/references/database/models/user.md +220 -0
- package/dist/skills/fluentcart-developer/references/database/models.md +404 -0
- package/dist/skills/fluentcart-developer/references/database/query-builder.md +860 -0
- package/dist/skills/fluentcart-developer/references/database/readme.md +276 -0
- package/dist/skills/fluentcart-developer/references/database/schema.md +1002 -0
- package/dist/skills/fluentcart-developer/references/engineering/adding-custom-pages-to-the-customer-dashboard.md +395 -0
- package/dist/skills/fluentcart-developer/references/engineering/index.md +4 -0
- package/dist/skills/fluentcart-developer/references/engineering.md +4 -0
- package/dist/skills/fluentcart-developer/references/getting-started.md +249 -0
- package/dist/skills/fluentcart-developer/references/guides/frontend.md +519 -0
- package/dist/skills/fluentcart-developer/references/guides/index.md +107 -0
- package/dist/skills/fluentcart-developer/references/guides/integrations.md +600 -0
- package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/index.md +237 -0
- package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/labels-and-tracking.md +481 -0
- package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/live-rates.md +269 -0
- package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/reference.md +223 -0
- package/dist/skills/fluentcart-developer/references/guides/shipping-carrier/settings.md +370 -0
- package/dist/skills/fluentcart-developer/references/guides/shipping-carrier.md +237 -0
- package/dist/skills/fluentcart-developer/references/{subscription-customization.md → guides/subscriptions.md} +57 -37
- package/dist/skills/fluentcart-developer/references/hooks/actions/admin-and-templates.md +1079 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/cart-and-checkout.md +1795 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/customers-and-users.md +327 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/licenses.md +829 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/modules.md +81 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/orders.md +757 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/payments-and-integrations.md +1163 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/pro-modules.md +219 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/products-and-coupons.md +1019 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions/subscriptions.md +1290 -0
- package/dist/skills/fluentcart-developer/references/hooks/actions.md +16 -0
- package/dist/skills/fluentcart-developer/references/hooks/deprecated.md +60 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/cart-and-checkout.md +2032 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/customers-and-subscriptions.md +1746 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/integrations-and-advanced.md +2439 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/modules.md +464 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/orders-and-payments.md +2658 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/pro-modules.md +502 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/products-and-pricing.md +1785 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters/settings-and-configuration.md +2966 -0
- package/dist/skills/fluentcart-developer/references/hooks/filters.md +14 -0
- package/dist/skills/fluentcart-developer/references/hooks/index.md +35 -0
- package/dist/skills/fluentcart-developer/references/index.md +625 -0
- package/dist/skills/fluentcart-developer/references/{fee-system-guide.md → modules/fee-system.md} +38 -60
- package/dist/skills/fluentcart-developer/references/{ghost-product-selling.md → modules/ghost-product-selling.md} +71 -89
- package/dist/skills/fluentcart-developer/references/modules/index.md +484 -0
- package/dist/skills/fluentcart-developer/references/modules/licensing.md +342 -0
- package/dist/skills/fluentcart-developer/references/modules/order-bump.md +433 -0
- package/dist/skills/fluentcart-developer/references/modules/payment-methods.md +129 -0
- package/dist/skills/fluentcart-developer/references/modules/refunds.md +170 -0
- package/dist/skills/fluentcart-developer/references/modules/shipping.md +846 -0
- package/dist/skills/fluentcart-developer/references/modules/storage.md +986 -0
- package/dist/skills/fluentcart-developer/references/modules/subscription-vendor-ids.md +186 -0
- package/dist/skills/fluentcart-developer/references/modules/subscriptions.md +678 -0
- package/dist/skills/fluentcart-developer/references/payment-methods-integration/index.md +164 -0
- package/dist/skills/fluentcart-developer/references/payment-methods-integration/paddle-example.md +1648 -0
- package/dist/skills/fluentcart-developer/references/payment-methods-integration/payment/setting/fields.md +353 -0
- package/dist/skills/fluentcart-developer/references/payment-methods-integration/quick-implementation.md +1079 -0
- package/dist/skills/fluentcart-developer/references/payment-methods-integration.md +164 -0
- package/dist/skills/fluentcart-developer/references/restapi/checkout.md +573 -0
- package/dist/skills/fluentcart-developer/references/restapi/coupons.md +958 -0
- package/dist/skills/fluentcart-developer/references/restapi/customer-profile.md +1423 -0
- package/dist/skills/fluentcart-developer/references/{rest-api-customers.md → restapi/customers.md} +406 -424
- package/dist/skills/fluentcart-developer/references/restapi/dashboard.md +1083 -0
- package/dist/skills/fluentcart-developer/references/restapi/data-export.md +132 -0
- package/dist/skills/fluentcart-developer/references/restapi/email-notifications.md +846 -0
- package/dist/skills/fluentcart-developer/references/restapi/files.md +313 -0
- package/dist/skills/fluentcart-developer/references/restapi/index.md +127 -0
- package/dist/skills/fluentcart-developer/references/restapi/integrations.md +1000 -0
- package/dist/skills/fluentcart-developer/references/restapi/inventory.md +192 -0
- package/dist/skills/fluentcart-developer/references/restapi/labels-and-attributes.md +797 -0
- package/dist/skills/fluentcart-developer/references/restapi/licensing.md +1733 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-available-shipping-methods.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-checkout-summary.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-country-info.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-order-info.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/get-shipping-methods-list-view.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/login.md +66 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/checkout/place-order.md +179 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/apply-coupon.md +83 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/cancel-coupon.md +87 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/check-product-eligibility.md +59 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/create-coupon.md +230 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/delete-coupon.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/get-coupon-settings.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/get-coupon.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/list-coupon-codes.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/list-coupons.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/re-apply-coupons.md +75 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/store-coupon-settings.md +40 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/coupons/update-coupon.md +133 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/create-address-checkout.md +138 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/create-profile-address.md +119 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/dashboard-overview.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/delete-profile-address.md +46 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-order-details.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-portal-sections.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-profile-details.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-transaction-billing-address.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/get-upgrade-paths.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/list-downloads.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/list-orders.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/make-profile-address-primary.md +55 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/pause-subscription.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/resume-subscription.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/save-transaction-billing-address.md +92 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/select-address-for-checkout.md +32 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/update-profile-address.md +115 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customer-profile/update-profile-details.md +69 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/attach-user.md +50 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/bulk-actions.md +65 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/create-address.md +135 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/create-customer.md +108 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/delete-address.md +62 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/detach-user.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/find-customer-order.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-attachable-users.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer-addresses.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer-orders.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer-stats.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/get-customer.md +32 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/list-customers.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/recalculate-ltv.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/set-primary-address.md +72 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/update-additional-info.md +55 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/update-address.md +144 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/customers/update-customer.md +123 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/attach-note-to-order.md +49 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/create-all-pages.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/create-single-page.md +55 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/delete-activity.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-country-info.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-dashboard-stats.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-filter-options.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-onboarding-data.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-onboarding-settings.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-print-templates.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-search-options.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/get-widgets.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/initialize-app.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/list-activities.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/list-attachments.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/list-countries.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/mark-activity-read.md +53 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/run-data-backfills.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/save-onboarding-settings.md +54 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/save-onboarding-tax-settings.md +73 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/save-print-templates.md +64 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/dashboard/upload-attachment.md +42 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-customers-batch.md +129 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-licenses-batch.md +133 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-orders-batch.md +129 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/export-subscriptions-batch.md +129 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-customers-export-schema.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-licenses-export-schema.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-orders-export-schema.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/data-export/get-subscriptions-export-schema.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/enable-notification.md +57 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-digest-settings.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-notification.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-reminders.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-settings.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/get-shortcodes.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/list-notifications.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/preview-default-template.md +66 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/preview-notification.md +50 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/save-digest-settings.md +101 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/save-reminders.md +162 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/save-settings.md +99 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/send-digest-test.md +47 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/send-manual-reminder.md +51 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/email-notification/update-notification.md +93 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/files/delete-file.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/files/get-bucket-list.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/files/list-files.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/files/upload-editor-file.md +32 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/files/upload-file.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/chained-data-request.md +46 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/change-feed-status.md +51 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/delete-feed.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-dynamic-options.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-feed-lists.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-feed-settings.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-global-feeds.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/get-global-settings.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/install-addon-plugin.md +49 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/list-addons.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/save-feed-settings.md +52 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/integration/set-global-settings.md +50 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/bulk-update-stock.md +94 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/export-inventory.md +81 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/get-adjustment-history.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/get-inventory-stats.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/list-inventory.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/inventory/update-stock.md +75 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/create-attribute-group.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/create-label.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/create-terms.md +90 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/delete-attribute-group.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/delete-attribute-term.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/get-attribute-group.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/get-attribute-library.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/list-attribute-groups.md +32 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/list-attribute-terms.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/list-labels.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/reorder-groups.md +51 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/reorder-terms.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/update-attribute-group.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/update-attribute-term.md +39 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/labels-attributes/update-label-selections.md +32 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/activate-plugin-license.md +41 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/activate-site-admin.md +60 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/deactivate-plugin-license.md +18 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/deactivate-site-admin.md +67 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/deactivate-site-customer.md +47 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/delete-license.md +24 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/extend-license-validity.md +47 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-customer-license-details.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-customer-licenses-admin.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-license-activations.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-license-details.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-license-site.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-plugin-license-status.md +18 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/get-product-license-settings.md +24 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/list-customer-licenses.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/list-license-sites.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/list-licenses.md +38 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-activate-license.md +54 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-check-license.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-deactivate-license.md +46 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-download-license-package.md +23 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/public-get-license-version.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/regenerate-license-key.md +24 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/save-product-license-settings.md +193 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/update-license-activation-limit.md +53 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/licensing/update-license-status.md +52 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/create-order-bump.md +47 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/delete-order-bump.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/get-order-bump.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/list-order-bumps.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/order-bumps/update-order-bump.md +141 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/accept-dispute.md +47 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/bulk-actions.md +72 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/calculate-shipping.md +67 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/calculate-tax.md +98 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/change-customer.md +50 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/charge-now.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-and-change-customer.md +92 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-custom-order-item.md +68 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-order.md +351 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/create-renewal-now.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/delete-order.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/generate-missing-licenses.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-order-transactions.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-order.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-renewal.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-shipping-methods.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/get-single-transaction.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/list-order-currencies.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/list-orders.md +42 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/list-renewals.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/mark-as-paid.md +61 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/price-order.md +135 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/refund-order.md +72 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/resend-renewal-invoice.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/skip-renewal.md +48 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/sync-order-statuses.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/sync-pending-transaction.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-order-address-id.md +60 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-order-address.md +98 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-order.md +172 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-statuses.md +77 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-subscription-details.md +84 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/update-transaction-status.md +51 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/orders/void-renewal.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/create-pdf-template.md +42 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/delete-pdf-template.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/download-pdf-preview.md +44 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-factory-default-templates.md +19 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-pdf-status.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-pdf-template.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-saved-templates.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/get-seller-details.md +19 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/list-pdf-templates.md +19 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/save-pdf-template.md +53 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/pdf-templates/save-seller-details.md +97 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/add-product-terms.md +64 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-edit-fetch.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-insert-products.md +62 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-update-products.md +59 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/bulk-update-variants.md +83 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/change-integration-status.md +64 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/create-dummy-products.md +45 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/create-product.md +81 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/create-variation.md +181 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-downloadable-file.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-product-integration.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-product.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-taxonomy-term.md +55 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-upgrade-path.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/delete-variation.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/do-bulk-action.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/duplicate-product.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-products-by-ids.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-taxonomy-terms.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-terms-by-parent.md +60 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/fetch-variations-by-ids.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/find-subscription-variants.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-bundle-info.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-downloadable-url.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-max-excerpt-word-count.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-pricing-widgets.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product-integration-feeds.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product-integration-settings.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product-pricing.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-product.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-related-products.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-upgrade-settings.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/get-variation-upgrade-paths.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/group-bulk-update-variants.md +103 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/list-all-variants.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/list-product-variations.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/list-products.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/remove-shipping-class.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/remove-tax-class.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/save-bundle-info.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/save-product-integration.md +62 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/save-upgrade-path.md +78 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/search-product-variant-options.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/search-products-by-name.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/search-variants-by-name.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/set-variation-media.md +74 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/suggest-sku.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/sync-downloadable-files.md +134 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/sync-taxonomy-terms.md +61 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/toggle-product-tax-exemption.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-downloadable-file.md +98 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-inventory.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-long-desc-editor-mode.md +49 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-manage-stock.md +53 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-product-detail.md +58 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-product-pricing.md +225 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-shipping-class.md +49 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-tax-class.md +49 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-upgrade-path.md +78 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variant-option.md +79 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variant-tax-exemption.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variation-pricing-table.md +49 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/products/update-variation.md +105 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/public-shop/get-product-views.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/public-shop/list-products.md +42 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/public-shop/search-products.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/channel-rules.md +24 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/country-heat-map.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/coupon-overview.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/coupons.md +36 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-insights.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-overview.md +36 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-repeat.md +35 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-segment-customers.md +36 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-segments.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/customer-value.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/dashboard-stats.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/failed-orders.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-new-vs-returning-customer.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-report-by-day-and-hour.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-report-meta.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/fetch-top-sold-products.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/future-renewals.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/generate-retention-snapshots.md +24 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-overview.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-recent-activities.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-recent-orders.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/get-revenue.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/installments-at-risk.md +35 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/installments-variations.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/installments.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/item-count-distribution.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/license-chart.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/license-pie-chart.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/license-summary.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/locations.md +43 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-chart.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-completion-time.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-mix.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/order-value-distribution.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/payment-methods-disputes.md +38 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/payment-methods-methods.md +36 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/payment-methods.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-comparison-launch.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-comparison.md +40 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-detail.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/product-sales.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/refunds-overview.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/retention-snapshots-step.md +45 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/sales-growth-chart.md +35 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/save-channel-rules.md +73 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/source-channels.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/sources.md +49 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-cohorts.md +33 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-health.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-rebuys.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-retention.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscription-variations.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/subscriptions-overview.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/reports/weeks-between-refund.md +34 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/assign-role.md +48 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/delete-role-assignment.md +47 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/get-role.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/list-managers.md +18 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/list-roles.md +18 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/search-users.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/roles-permissions/update-role.md +43 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/create-saved-view.md +106 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/delete-saved-view.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/list-saved-views.md +25 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/saved-views/update-saved-view.md +83 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/activate-payment-addon.md +44 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/activate-plugin-addon.md +44 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/change-storage-driver-status.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/check-paypal-webhook.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/create-storage-bucket.md +63 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/disconnect-payment-method.md +55 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/exchange-paypal-seller-auth-token.md +62 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-active-storage-drivers.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-checkout-fields.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-email-shortcodes.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-mcp-config-snippets.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-mcp-status.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-module-settings.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-payment-method-connection-info.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-payment-method-settings.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-permissions.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-plugin-addons.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-storage-driver-settings.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/get-store-settings.md +26 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/install-mcp-adapter.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/install-payment-addon.md +60 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/install-plugin-addon.md +64 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/list-all-payment-methods.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/list-all-storage-drivers.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/list-storage-buckets.md +67 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/reorder-payment-methods.md +55 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/reset-storage-driver-settings.md +45 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-checkout-fields.md +133 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-confirmation-settings.md +68 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-module-settings.md +68 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-payment-method-design.md +67 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-payment-method-settings.md +58 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-permissions.md +68 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-storage-driver-settings.md +62 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/save-store-settings.md +239 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/setup-paypal-webhook.md +48 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/toggle-mcp.md +40 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/verify-storage-driver-connection.md +62 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/settings/verify-turnstile-keys.md +55 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/create-shipping-class.md +73 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/create-shipping-method.md +110 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/create-shipping-zone.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/delete-shipping-class.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/delete-shipping-method.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/delete-shipping-zone.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-class-profile.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-class.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-packages.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-shipping-zone.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-zone-countries.md +22 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/get-zone-states.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/list-shipping-classes.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/list-shipping-zones.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/save-shipping-packages.md +112 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-shipping-class.md +79 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-shipping-method.md +113 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-shipping-zone.md +62 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/shipping/update-zone-order.md +52 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/cancel-auto-renew.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/cancel-subscription.md +52 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/confirm-subscription-switch.md +70 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/fetch-subscription-remote.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/generate-early-payment-link.md +29 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-customer-subscription.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-or-create-plan.md +69 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-setup-intent-attempts.md +30 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/get-subscription.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/initiate-early-payment.md +31 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/list-customer-subscriptions.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/list-subscriptions.md +39 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/pause-subscription.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/reactivate-subscription.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/resume-subscription.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/switch-payment-method.md +70 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/update-payment-method.md +69 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/update-vendor-ids.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/subscriptions/verify-vendor-ids.md +56 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/create-tax-class.md +51 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/create-tax-rate.md +117 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-product-override.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-shipping-tax-override.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-tax-class.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/delete-tax-rate.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-country-tax-id.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-country-tax-rates.md +28 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-eu-vat-product-overrides.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-oss-country-rates.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-preconfigured-tax-rates.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-product-overrides.md +27 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/get-tax-settings.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/list-all-tax-rates.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/list-tax-classes.md +20 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/list-tax-records.md +37 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/mark-taxes-as-filed.md +58 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/reset-eu-vat-rates.md +21 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-configured-countries.md +57 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-country-tax-id.md +50 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-eu-vat-cross-border-settings.md +127 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-oss-country-rates.md +100 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-product-override.md +110 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-shipping-tax-override.md +52 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/save-tax-settings.md +166 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/update-country-status.md +54 -0
- package/dist/skills/fluentcart-developer/references/restapi/operations/tax/update-tax-rate.md +116 -0
- package/dist/skills/fluentcart-developer/references/restapi/order-bumps.md +433 -0
- package/dist/skills/fluentcart-developer/references/{rest-api-orders.md → restapi/orders.md} +146 -396
- package/dist/skills/fluentcart-developer/references/restapi/pdf-templates.md +212 -0
- package/dist/skills/fluentcart-developer/references/{rest-api-products.md → restapi/products.md} +354 -566
- package/dist/skills/fluentcart-developer/references/restapi/public-shop.md +191 -0
- package/dist/skills/fluentcart-developer/references/restapi/reports.md +3773 -0
- package/dist/skills/fluentcart-developer/references/restapi/roles.md +403 -0
- package/dist/skills/fluentcart-developer/references/restapi/saved-views.md +136 -0
- package/dist/skills/fluentcart-developer/references/restapi/settings.md +1423 -0
- package/dist/skills/fluentcart-developer/references/{rest-api-shipping.md → restapi/shipping.md} +243 -138
- package/dist/skills/fluentcart-developer/references/restapi/subscriptions.md +1169 -0
- package/dist/skills/fluentcart-developer/references/restapi/tax.md +1551 -0
- package/dist/skills/fluentcart-developer/references/restapi.md +127 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/dist/skills/fluentcart-developer/.claude-plugin/plugin.json +0 -12
- package/dist/skills/fluentcart-developer/.mcp.json +0 -11
- package/dist/skills/fluentcart-developer/references/action-hooks-admin-templates.md +0 -787
- package/dist/skills/fluentcart-developer/references/action-hooks-cart-checkout.md +0 -1355
- package/dist/skills/fluentcart-developer/references/action-hooks-customers-users.md +0 -266
- package/dist/skills/fluentcart-developer/references/action-hooks-licenses.md +0 -855
- package/dist/skills/fluentcart-developer/references/action-hooks-orders.md +0 -631
- package/dist/skills/fluentcart-developer/references/action-hooks-payments-integrations.md +0 -963
- package/dist/skills/fluentcart-developer/references/action-hooks-products-coupons.md +0 -585
- package/dist/skills/fluentcart-developer/references/action-hooks-subscriptions.md +0 -661
- package/dist/skills/fluentcart-developer/references/customer-dashboard-endpoints.md +0 -169
- package/dist/skills/fluentcart-developer/references/database-models-query-builder.md +0 -194
- package/dist/skills/fluentcart-developer/references/database-models-reference.md +0 -604
- package/dist/skills/fluentcart-developer/references/database-schema-reference.md +0 -947
- package/dist/skills/fluentcart-developer/references/engineering-notes.md +0 -154
- package/dist/skills/fluentcart-developer/references/filter-hooks-cart-checkout.md +0 -1202
- package/dist/skills/fluentcart-developer/references/filter-hooks-customers-subscriptions.md +0 -902
- package/dist/skills/fluentcart-developer/references/filter-hooks-integrations-advanced.md +0 -1598
- package/dist/skills/fluentcart-developer/references/filter-hooks-orders-payments.md +0 -1319
- package/dist/skills/fluentcart-developer/references/filter-hooks-products-pricing.md +0 -628
- package/dist/skills/fluentcart-developer/references/filter-hooks-settings-configuration.md +0 -1177
- package/dist/skills/fluentcart-developer/references/fluentcart-developer-guide.md +0 -154
- package/dist/skills/fluentcart-developer/references/hooks-complete-index.md +0 -834
- package/dist/skills/fluentcart-developer/references/models-complete-index.md +0 -912
- package/dist/skills/fluentcart-developer/references/modules-and-extensions-reference.md +0 -224
- package/dist/skills/fluentcart-developer/references/order-bump-module.md +0 -163
- package/dist/skills/fluentcart-developer/references/paddle-gateway-case-study.md +0 -1931
- package/dist/skills/fluentcart-developer/references/payment-gateway-integration.md +0 -761
- package/dist/skills/fluentcart-developer/references/rest-api-checkout.md +0 -288
- package/dist/skills/fluentcart-developer/references/rest-api-coupons.md +0 -801
- package/dist/skills/fluentcart-developer/references/rest-api-customer-profile.md +0 -190
- package/dist/skills/fluentcart-developer/references/rest-api-dashboard-utilities.md +0 -219
- package/dist/skills/fluentcart-developer/references/rest-api-email-notifications.md +0 -619
- package/dist/skills/fluentcart-developer/references/rest-api-files.md +0 -290
- package/dist/skills/fluentcart-developer/references/rest-api-integrations.md +0 -324
- package/dist/skills/fluentcart-developer/references/rest-api-labels-attributes.md +0 -321
- package/dist/skills/fluentcart-developer/references/rest-api-licensing.md +0 -174
- package/dist/skills/fluentcart-developer/references/rest-api-order-bumps.md +0 -200
- package/dist/skills/fluentcart-developer/references/rest-api-overview.md +0 -131
- package/dist/skills/fluentcart-developer/references/rest-api-public-shop.md +0 -172
- package/dist/skills/fluentcart-developer/references/rest-api-reference.md +0 -552
- package/dist/skills/fluentcart-developer/references/rest-api-reports.md +0 -377
- package/dist/skills/fluentcart-developer/references/rest-api-roles-permissions.md +0 -147
- package/dist/skills/fluentcart-developer/references/rest-api-settings.md +0 -528
- package/dist/skills/fluentcart-developer/references/rest-api-subscriptions.md +0 -938
- package/dist/skills/fluentcart-developer/references/rest-api-tax.md +0 -356
- package/dist/skills/fluentcart-developer/references/shipping-module-guide.md +0 -126
- package/dist/skills/fluentcart-developer/references/software-licensing-sdk.md +0 -228
- package/dist/skills/fluentcart-developer/references/storage-drivers-module.md +0 -140
package/dist/skills/fluentcart-developer/references/{rest-api-products.md → restapi/products.md}
RENAMED
|
@@ -6,87 +6,7 @@ Manage your product catalog including creating products, managing variations, do
|
|
|
6
6
|
|
|
7
7
|
**Policy:** `ProductPolicy`
|
|
8
8
|
|
|
9
|
-
> All monetary values are in cents (e.g., `$10.00` = `1000`).
|
|
10
|
-
|
|
11
|
-
---
|
|
12
|
-
|
|
13
|
-
## Endpoints Overview
|
|
14
|
-
|
|
15
|
-
| Method | Endpoint | Description |
|
|
16
|
-
|--------|----------|-------------|
|
|
17
|
-
| **Product CRUD** | | |
|
|
18
|
-
| GET | `/products` | List Products |
|
|
19
|
-
| GET | `/products/{product}` | Get Product |
|
|
20
|
-
| POST | `/products` | Create Product |
|
|
21
|
-
| DELETE | `/products/{product}` | Delete Product |
|
|
22
|
-
| GET | `/products/{productId}/pricing` | Get Product Pricing |
|
|
23
|
-
| POST | `/products/{postId}/pricing` | Update Product Pricing |
|
|
24
|
-
| **Search & Lookup** | | |
|
|
25
|
-
| GET | `/products/searchProductByName` | Search Products by Name |
|
|
26
|
-
| GET | `/products/searchVariantByName` | Search Variants by Name |
|
|
27
|
-
| GET | `/products/search-product-variant-options` | Search Product Variant Options |
|
|
28
|
-
| GET | `/products/findSubscriptionVariants` | Find Subscription Variants |
|
|
29
|
-
| GET | `/products/fetchProductsByIds` | Fetch Products by IDs |
|
|
30
|
-
| GET | `/products/fetchVariationsByIds` | Fetch Variations by IDs |
|
|
31
|
-
| GET | `/products/suggest-sku` | Suggest SKU |
|
|
32
|
-
| GET | `/products/get-max-excerpt-word-count` | Get Max Excerpt Word Count |
|
|
33
|
-
| GET | `/products/fetch-term` | Fetch Taxonomy Terms |
|
|
34
|
-
| POST | `/products/fetch-term-by-parent` | Fetch Terms by Parent |
|
|
35
|
-
| **Bulk Operations** | | |
|
|
36
|
-
| POST | `/products/bulk-insert` | Bulk Insert Products |
|
|
37
|
-
| GET | `/products/bulk-edit-data` | Bulk Edit Fetch |
|
|
38
|
-
| POST | `/products/bulk-update` | Bulk Update Products |
|
|
39
|
-
| POST | `/products/do-bulk-action` | Do Bulk Action |
|
|
40
|
-
| POST | `/products/variants/bulk-update` | Bulk Update Variants |
|
|
41
|
-
| POST | `/products/variants/group-bulk-update` | Group Bulk Update Variants |
|
|
42
|
-
| POST | `/products/create-dummy` | Create Dummy Products |
|
|
43
|
-
| **Product Details** | | |
|
|
44
|
-
| POST | `/products/{productId}/duplicate` | Duplicate Product |
|
|
45
|
-
| GET | `/products/{productId}/related-products` | Get Related Products |
|
|
46
|
-
| POST | `/products/{postId}/update-long-desc-editor-mode` | Update Long Description Editor Mode |
|
|
47
|
-
| POST | `/products/{postId}/update-variant-option` | Update Variant Option |
|
|
48
|
-
| POST | `/products/detail/{detailId}` | Update Product Detail |
|
|
49
|
-
| POST | `/products/add-product-terms` | Add Product Terms |
|
|
50
|
-
| POST | `/products/sync-taxonomy-term/{postId}` | Sync Taxonomy Terms |
|
|
51
|
-
| POST | `/products/delete-taxonomy-term/{postId}` | Delete Taxonomy Term |
|
|
52
|
-
| GET | `/products/{productId}/pricing-widgets` | Get Pricing Widgets |
|
|
53
|
-
| **Bundles** | | |
|
|
54
|
-
| GET | `/products/get-bundle-info/{productId}` | Get Bundle Info |
|
|
55
|
-
| POST | `/products/save-bundle-info/{variationId}` | Save Bundle Info |
|
|
56
|
-
| **Upgrade Paths** | | |
|
|
57
|
-
| GET | `/products/{id}/upgrade-paths` | Get Upgrade Settings |
|
|
58
|
-
| POST | `/products/{id}/upgrade-path` | Save Upgrade Path |
|
|
59
|
-
| POST | `/products/upgrade-path/{id}/update` | Update Upgrade Path |
|
|
60
|
-
| DELETE | `/products/upgrade-path/{id}/delete` | Delete Upgrade Path |
|
|
61
|
-
| GET | `/products/variation/{variantId}/upgrade-paths` | Get Variation Upgrade Paths |
|
|
62
|
-
| **Tax & Shipping Classes** | | |
|
|
63
|
-
| POST | `/products/{postId}/tax-exempt` | Set Product Tax Exemption |
|
|
64
|
-
| POST | `/products/variants/{variantId}/tax-exempt` | Set Variant Tax Exemption |
|
|
65
|
-
| POST | `/products/{postId}/tax-class` | Update Tax Class |
|
|
66
|
-
| POST | `/products/{postId}/tax-class/remove` | Remove Tax Class |
|
|
67
|
-
| POST | `/products/{postId}/shipping-class` | Update Shipping Class |
|
|
68
|
-
| POST | `/products/{postId}/shipping-class/remove` | Remove Shipping Class |
|
|
69
|
-
| **Stock Management** | | |
|
|
70
|
-
| PUT | `/products/{postId}/update-inventory/{variantId}` | Update Inventory |
|
|
71
|
-
| PUT | `/products/{postId}/update-manage-stock` | Update Manage Stock Setting |
|
|
72
|
-
| **Downloadables** | | |
|
|
73
|
-
| POST | `/products/{postId}/sync-downloadable-files` | Sync Downloadable Files |
|
|
74
|
-
| PUT | `/products/{downloadableId}/update` | Update Downloadable File |
|
|
75
|
-
| DELETE | `/products/{downloadableId}/delete` | Delete Downloadable File |
|
|
76
|
-
| GET | `/products/getDownloadableUrl/{downloadableId}` | Get Downloadable URL |
|
|
77
|
-
| **Variations** | | |
|
|
78
|
-
| GET | `/products/variants` | List Product Variations |
|
|
79
|
-
| POST | `/products/variants` | Create Variation |
|
|
80
|
-
| POST | `/products/variants/{variantId}` | Update Variation |
|
|
81
|
-
| DELETE | `/products/variants/{variantId}` | Delete Variation |
|
|
82
|
-
| POST | `/products/variants/{variantId}/setMedia` | Set Variation Media |
|
|
83
|
-
| PUT | `/products/variants/{variantId}/pricing-table` | Update Variation Pricing Table |
|
|
84
|
-
| GET | `/variants` | List All Variants |
|
|
85
|
-
| **Integrations** | | |
|
|
86
|
-
| GET | `/products/{productId}/integrations` | Get Product Integration Feeds |
|
|
87
|
-
| GET | `/products/{product_id}/integrations/{integration_name}/settings` | Get Product Integration Settings |
|
|
88
|
-
| POST | `/products/{product_id}/integrations` | Save Product Integration (also updates, via `integration_id`) |
|
|
89
|
-
| DELETE | `/products/{product_id}/integrations/{integration_id}` | Delete Product Integration |
|
|
9
|
+
> All monetary values are in **cents** (e.g., `$10.00` = `1000`).
|
|
90
10
|
|
|
91
11
|
---
|
|
92
12
|
|
|
@@ -94,18 +14,18 @@ Manage your product catalog including creating products, managing variations, do
|
|
|
94
14
|
|
|
95
15
|
### List Products
|
|
96
16
|
|
|
97
|
-
|
|
17
|
+
GET `/fluent-cart/v2/products`
|
|
98
18
|
|
|
99
19
|
Retrieve a paginated list of products with filtering, sorting, and search capabilities.
|
|
100
20
|
|
|
101
|
-
**Permission:** `products/view`
|
|
21
|
+
- **Permission:** `products/view`
|
|
102
22
|
|
|
103
23
|
#### Parameters
|
|
104
24
|
|
|
105
25
|
| Parameter | Type | Location | Required | Description |
|
|
106
|
-
|
|
26
|
+
| --- | --- | --- | --- | --- |
|
|
107
27
|
| `search` | string | query | No | Search by product title, ID, or variation title |
|
|
108
|
-
| `per_page` | integer | query | No | Number of results per page (default: 10) |
|
|
28
|
+
| `per_page` | integer | query | No | Number of results per page (default: `10`) |
|
|
109
29
|
| `page` | integer | query | No | Page number for pagination |
|
|
110
30
|
| `sort_by` | string | query | No | Column to sort by (default: `ID`) |
|
|
111
31
|
| `sort_type` | string | query | No | Sort direction: `asc` or `desc` (default: `desc`) |
|
|
@@ -116,7 +36,7 @@ Retrieve a paginated list of products with filtering, sorting, and search capabi
|
|
|
116
36
|
|
|
117
37
|
#### Response
|
|
118
38
|
|
|
119
|
-
```
|
|
39
|
+
```
|
|
120
40
|
{
|
|
121
41
|
"products": {
|
|
122
42
|
"total": 50,
|
|
@@ -139,7 +59,7 @@ Retrieve a paginated list of products with filtering, sorting, and search capabi
|
|
|
139
59
|
|
|
140
60
|
#### Example
|
|
141
61
|
|
|
142
|
-
```
|
|
62
|
+
```
|
|
143
63
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products?search=widget&per_page=20&active_view=publish" \
|
|
144
64
|
-u "username:app_password"
|
|
145
65
|
```
|
|
@@ -148,22 +68,22 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products?search=widget&p
|
|
|
148
68
|
|
|
149
69
|
### Get Product
|
|
150
70
|
|
|
151
|
-
|
|
71
|
+
GET `/fluent-cart/v2/products/{product}`
|
|
152
72
|
|
|
153
73
|
Retrieve a single product by ID.
|
|
154
74
|
|
|
155
|
-
**Permission:** `products/view`
|
|
75
|
+
- **Permission:** `products/view`
|
|
156
76
|
|
|
157
77
|
#### Parameters
|
|
158
78
|
|
|
159
79
|
| Parameter | Type | Location | Required | Description |
|
|
160
|
-
|
|
80
|
+
| --- | --- | --- | --- | --- |
|
|
161
81
|
| `product` | integer | path | Yes | The product ID |
|
|
162
82
|
| `with` | array | query | No | Relations to eager load (e.g., `["detail", "variants", "product_menu"]`) |
|
|
163
83
|
|
|
164
84
|
#### Response
|
|
165
85
|
|
|
166
|
-
```
|
|
86
|
+
```
|
|
167
87
|
{
|
|
168
88
|
"product": {
|
|
169
89
|
"ID": 123,
|
|
@@ -178,7 +98,7 @@ Retrieve a single product by ID.
|
|
|
178
98
|
|
|
179
99
|
#### Example
|
|
180
100
|
|
|
181
|
-
```
|
|
101
|
+
```
|
|
182
102
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123?with[]=detail&with[]=variants" \
|
|
183
103
|
-u "username:app_password"
|
|
184
104
|
```
|
|
@@ -187,18 +107,17 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123?with[]=deta
|
|
|
187
107
|
|
|
188
108
|
### Create Product
|
|
189
109
|
|
|
190
|
-
|
|
110
|
+
POST `/fluent-cart/v2/products`
|
|
191
111
|
|
|
192
112
|
Create a new product. A default variation is automatically created with the product.
|
|
193
113
|
|
|
194
|
-
**Permission:** `products/create`
|
|
195
|
-
|
|
196
|
-
**Request Class:** `ProductCreateRequest`
|
|
114
|
+
- **Permission:** `products/create`
|
|
115
|
+
- **Request Class:** `ProductCreateRequest`
|
|
197
116
|
|
|
198
117
|
#### Parameters
|
|
199
118
|
|
|
200
119
|
| Parameter | Type | Location | Required | Description |
|
|
201
|
-
|
|
120
|
+
| --- | --- | --- | --- | --- |
|
|
202
121
|
| `post_title` | string | body | Yes | Product title (max 200 characters) |
|
|
203
122
|
| `post_status` | string | body | No | Post status (e.g., `draft`, `publish`) |
|
|
204
123
|
| `detail.fulfillment_type` | string | body | No | `physical` or `digital` (default: `digital`) |
|
|
@@ -206,7 +125,7 @@ Create a new product. A default variation is automatically created with the prod
|
|
|
206
125
|
|
|
207
126
|
#### Response
|
|
208
127
|
|
|
209
|
-
```
|
|
128
|
+
```
|
|
210
129
|
{
|
|
211
130
|
"data": {
|
|
212
131
|
"ID": 124,
|
|
@@ -228,7 +147,7 @@ Create a new product. A default variation is automatically created with the prod
|
|
|
228
147
|
|
|
229
148
|
#### Example
|
|
230
149
|
|
|
231
|
-
```
|
|
150
|
+
```
|
|
232
151
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products" \
|
|
233
152
|
-u "username:app_password" \
|
|
234
153
|
-H "Content-Type: application/json" \
|
|
@@ -245,21 +164,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products" \
|
|
|
245
164
|
|
|
246
165
|
### Delete Product
|
|
247
166
|
|
|
248
|
-
|
|
167
|
+
DELETE `/fluent-cart/v2/products/{product}`
|
|
249
168
|
|
|
250
169
|
Delete a product and all associated data.
|
|
251
170
|
|
|
252
|
-
**Permission:** `products/delete`
|
|
171
|
+
- **Permission:** `products/delete`
|
|
253
172
|
|
|
254
173
|
#### Parameters
|
|
255
174
|
|
|
256
175
|
| Parameter | Type | Location | Required | Description |
|
|
257
|
-
|
|
176
|
+
| --- | --- | --- | --- | --- |
|
|
258
177
|
| `product` | integer | path | Yes | The product ID to delete |
|
|
259
178
|
|
|
260
179
|
#### Response
|
|
261
180
|
|
|
262
|
-
```
|
|
181
|
+
```
|
|
263
182
|
{
|
|
264
183
|
"message": "Product deleted successfully"
|
|
265
184
|
}
|
|
@@ -267,7 +186,7 @@ Delete a product and all associated data.
|
|
|
267
186
|
|
|
268
187
|
#### Example
|
|
269
188
|
|
|
270
|
-
```
|
|
189
|
+
```
|
|
271
190
|
curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/123" \
|
|
272
191
|
-u "username:app_password"
|
|
273
192
|
```
|
|
@@ -276,22 +195,22 @@ curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/123" \
|
|
|
276
195
|
|
|
277
196
|
### Get Product Pricing
|
|
278
197
|
|
|
279
|
-
|
|
198
|
+
GET `/fluent-cart/v2/products/{productId}/pricing`
|
|
280
199
|
|
|
281
200
|
Retrieve the full product details including pricing, variants, downloadable files, and taxonomy information.
|
|
282
201
|
|
|
283
|
-
**Permission:** `products/view`
|
|
202
|
+
- **Permission:** `products/view`
|
|
284
203
|
|
|
285
204
|
#### Parameters
|
|
286
205
|
|
|
287
206
|
| Parameter | Type | Location | Required | Description |
|
|
288
|
-
|
|
207
|
+
| --- | --- | --- | --- | --- |
|
|
289
208
|
| `productId` | integer | path | Yes | The product ID |
|
|
290
209
|
| `with` | array | query | No | Additional relations (e.g., `["product_menu"]`) |
|
|
291
210
|
|
|
292
211
|
#### Response
|
|
293
212
|
|
|
294
|
-
```
|
|
213
|
+
```
|
|
295
214
|
{
|
|
296
215
|
"product": {
|
|
297
216
|
"ID": 123,
|
|
@@ -338,7 +257,7 @@ Retrieve the full product details including pricing, variants, downloadable file
|
|
|
338
257
|
|
|
339
258
|
#### Example
|
|
340
259
|
|
|
341
|
-
```
|
|
260
|
+
```
|
|
342
261
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/pricing?with[]=product_menu" \
|
|
343
262
|
-u "username:app_password"
|
|
344
263
|
```
|
|
@@ -347,18 +266,17 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/pricing?wit
|
|
|
347
266
|
|
|
348
267
|
### Update Product Pricing
|
|
349
268
|
|
|
350
|
-
|
|
269
|
+
POST `/fluent-cart/v2/products/{postId}/pricing`
|
|
351
270
|
|
|
352
271
|
Update a product's pricing, details, variants, and other metadata.
|
|
353
272
|
|
|
354
|
-
**Permission:** `products/edit`
|
|
355
|
-
|
|
356
|
-
**Request Class:** `ProductUpdateRequest`
|
|
273
|
+
- **Permission:** `products/edit`
|
|
274
|
+
- **Request Class:** `ProductUpdateRequest`
|
|
357
275
|
|
|
358
276
|
#### Parameters
|
|
359
277
|
|
|
360
278
|
| Parameter | Type | Location | Required | Description |
|
|
361
|
-
|
|
279
|
+
| --- | --- | --- | --- | --- |
|
|
362
280
|
| `postId` | integer | path | Yes | The product post ID |
|
|
363
281
|
| `post_title` | string | body | Yes | Product title (max 200 characters) |
|
|
364
282
|
| `post_status` | string | body | Yes | Status: `draft`, `publish`, `future` |
|
|
@@ -379,7 +297,7 @@ Update a product's pricing, details, variants, and other metadata.
|
|
|
379
297
|
| `detail.other_info.shipping_class` | integer | body | No | Shipping class ID (validated) |
|
|
380
298
|
| `detail.other_info.tax_class` | integer | body | No | Tax class ID (validated) |
|
|
381
299
|
| `detail.other_info.active_editor` | string | body | No | Active editor mode |
|
|
382
|
-
| `variants` | array | body | Conditional | Array of variant objects (required for simple type when publishing) |
|
|
300
|
+
| `variants` | array | body | Conditional | Array of variant objects (required for `simple` type when publishing) |
|
|
383
301
|
| `variants.*.variation_title` | string | body | Yes | Variation title (max 200 chars) |
|
|
384
302
|
| `variants.*.post_id` | integer | body | Yes | Parent product post ID |
|
|
385
303
|
| `variants.*.item_price` | number | body | No | Price in cents (min: 0) |
|
|
@@ -405,7 +323,7 @@ Update a product's pricing, details, variants, and other metadata.
|
|
|
405
323
|
|
|
406
324
|
#### Response
|
|
407
325
|
|
|
408
|
-
```
|
|
326
|
+
```
|
|
409
327
|
{
|
|
410
328
|
"data": { ... },
|
|
411
329
|
"message": "Product updated successfully"
|
|
@@ -414,7 +332,7 @@ Update a product's pricing, details, variants, and other metadata.
|
|
|
414
332
|
|
|
415
333
|
#### Example
|
|
416
334
|
|
|
417
|
-
```
|
|
335
|
+
```
|
|
418
336
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/pricing" \
|
|
419
337
|
-u "username:app_password" \
|
|
420
338
|
-H "Content-Type: application/json" \
|
|
@@ -445,23 +363,23 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/pricing" \
|
|
|
445
363
|
|
|
446
364
|
### Search Products by Name
|
|
447
365
|
|
|
448
|
-
|
|
366
|
+
GET `/fluent-cart/v2/products/searchProductByName`
|
|
449
367
|
|
|
450
368
|
Search for published products by name. Returns products formatted for select dropdowns.
|
|
451
369
|
|
|
452
|
-
**Permission:** `products/view`
|
|
370
|
+
- **Permission:** `products/view`
|
|
453
371
|
|
|
454
372
|
#### Parameters
|
|
455
373
|
|
|
456
374
|
| Parameter | Type | Location | Required | Description |
|
|
457
|
-
|
|
375
|
+
| --- | --- | --- | --- | --- |
|
|
458
376
|
| `name` | string | query | No | Product name to search for |
|
|
459
377
|
| `url_mode` | string | query | No | URL mode flag |
|
|
460
|
-
| `termId` | integer | query | No | Filter by taxonomy term ID (
|
|
378
|
+
| `termId` | integer | query | No | Filter by taxonomy term ID (product-categories) |
|
|
461
379
|
|
|
462
380
|
#### Response
|
|
463
381
|
|
|
464
|
-
```
|
|
382
|
+
```
|
|
465
383
|
{
|
|
466
384
|
"products": [
|
|
467
385
|
{
|
|
@@ -475,7 +393,7 @@ Search for published products by name. Returns products formatted for select dro
|
|
|
475
393
|
|
|
476
394
|
#### Example
|
|
477
395
|
|
|
478
|
-
```
|
|
396
|
+
```
|
|
479
397
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/searchProductByName?name=widget" \
|
|
480
398
|
-u "username:app_password"
|
|
481
399
|
```
|
|
@@ -484,23 +402,23 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/searchProductBy
|
|
|
484
402
|
|
|
485
403
|
### Search Variants by Name
|
|
486
404
|
|
|
487
|
-
|
|
405
|
+
GET `/fluent-cart/v2/products/searchVariantByName`
|
|
488
406
|
|
|
489
407
|
Search for published product variants by name. Returns a hierarchical product > variants structure.
|
|
490
408
|
|
|
491
|
-
**Permission:** `products/view`
|
|
409
|
+
- **Permission:** `products/view`
|
|
492
410
|
|
|
493
411
|
#### Parameters
|
|
494
412
|
|
|
495
413
|
| Parameter | Type | Location | Required | Description |
|
|
496
|
-
|
|
414
|
+
| --- | --- | --- | --- | --- |
|
|
497
415
|
| `name` | string | query | No | Product/variant name to search |
|
|
498
416
|
| `search` | string | query | No | Alternative search parameter (used if `name` is empty) |
|
|
499
417
|
| `ids` | array | query | No | Array of product IDs to include |
|
|
500
418
|
|
|
501
419
|
#### Response
|
|
502
420
|
|
|
503
|
-
```
|
|
421
|
+
```
|
|
504
422
|
[
|
|
505
423
|
{
|
|
506
424
|
"value": 123,
|
|
@@ -521,7 +439,7 @@ Search for published product variants by name. Returns a hierarchical product >
|
|
|
521
439
|
|
|
522
440
|
#### Example
|
|
523
441
|
|
|
524
|
-
```
|
|
442
|
+
```
|
|
525
443
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/searchVariantByName?name=pro" \
|
|
526
444
|
-u "username:app_password"
|
|
527
445
|
```
|
|
@@ -530,16 +448,16 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/searchVariantBy
|
|
|
530
448
|
|
|
531
449
|
### Search Product Variant Options
|
|
532
450
|
|
|
533
|
-
|
|
451
|
+
GET `/fluent-cart/v2/products/search-product-variant-options`
|
|
534
452
|
|
|
535
453
|
Search for product variants suitable for selection (e.g., in order creation). Filters out out-of-stock items.
|
|
536
454
|
|
|
537
|
-
**Permission:** `products/view`
|
|
455
|
+
- **Permission:** `products/view`
|
|
538
456
|
|
|
539
457
|
#### Parameters
|
|
540
458
|
|
|
541
459
|
| Parameter | Type | Location | Required | Description |
|
|
542
|
-
|
|
460
|
+
| --- | --- | --- | --- | --- |
|
|
543
461
|
| `search` | string | query | No | Search term for product/variant title |
|
|
544
462
|
| `include_ids` | array | query | No | Variation IDs to always include in results |
|
|
545
463
|
| `scopes` | array | query | No | Model scopes to apply |
|
|
@@ -547,7 +465,7 @@ Search for product variants suitable for selection (e.g., in order creation). Fi
|
|
|
547
465
|
|
|
548
466
|
#### Response
|
|
549
467
|
|
|
550
|
-
```
|
|
468
|
+
```
|
|
551
469
|
{
|
|
552
470
|
"products": [
|
|
553
471
|
{
|
|
@@ -566,7 +484,7 @@ Search for product variants suitable for selection (e.g., in order creation). Fi
|
|
|
566
484
|
|
|
567
485
|
#### Example
|
|
568
486
|
|
|
569
|
-
```
|
|
487
|
+
```
|
|
570
488
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/search-product-variant-options?search=pro&subscription_status=not_subscribable" \
|
|
571
489
|
-u "username:app_password"
|
|
572
490
|
```
|
|
@@ -575,21 +493,21 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/search-product-
|
|
|
575
493
|
|
|
576
494
|
### Find Subscription Variants
|
|
577
495
|
|
|
578
|
-
|
|
496
|
+
GET `/fluent-cart/v2/products/findSubscriptionVariants`
|
|
579
497
|
|
|
580
498
|
Search for product variants that have a subscription payment type.
|
|
581
499
|
|
|
582
|
-
**Permission:** `products/view`
|
|
500
|
+
- **Permission:** `products/view`
|
|
583
501
|
|
|
584
502
|
#### Parameters
|
|
585
503
|
|
|
586
504
|
| Parameter | Type | Location | Required | Description |
|
|
587
|
-
|
|
505
|
+
| --- | --- | --- | --- | --- |
|
|
588
506
|
| `name` | string | query | No | Variant title to search |
|
|
589
507
|
|
|
590
508
|
#### Response
|
|
591
509
|
|
|
592
|
-
```
|
|
510
|
+
```
|
|
593
511
|
[
|
|
594
512
|
{
|
|
595
513
|
"id": 456,
|
|
@@ -604,7 +522,7 @@ Search for product variants that have a subscription payment type.
|
|
|
604
522
|
|
|
605
523
|
#### Example
|
|
606
524
|
|
|
607
|
-
```
|
|
525
|
+
```
|
|
608
526
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/findSubscriptionVariants?name=monthly" \
|
|
609
527
|
-u "username:app_password"
|
|
610
528
|
```
|
|
@@ -613,21 +531,21 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/findSubscriptio
|
|
|
613
531
|
|
|
614
532
|
### Fetch Products by IDs
|
|
615
533
|
|
|
616
|
-
|
|
534
|
+
GET `/fluent-cart/v2/products/fetchProductsByIds`
|
|
617
535
|
|
|
618
536
|
Retrieve products by an array of IDs. Returns products with their detail relation.
|
|
619
537
|
|
|
620
|
-
**Permission:** `products/view`
|
|
538
|
+
- **Permission:** `products/view`
|
|
621
539
|
|
|
622
540
|
#### Parameters
|
|
623
541
|
|
|
624
542
|
| Parameter | Type | Location | Required | Description |
|
|
625
|
-
|
|
543
|
+
| --- | --- | --- | --- | --- |
|
|
626
544
|
| `productIds` | array | query | Yes | Array of product IDs to fetch |
|
|
627
545
|
|
|
628
546
|
#### Response
|
|
629
547
|
|
|
630
|
-
```
|
|
548
|
+
```
|
|
631
549
|
{
|
|
632
550
|
"products": [
|
|
633
551
|
{
|
|
@@ -641,7 +559,7 @@ Retrieve products by an array of IDs. Returns products with their detail relatio
|
|
|
641
559
|
|
|
642
560
|
#### Example
|
|
643
561
|
|
|
644
|
-
```
|
|
562
|
+
```
|
|
645
563
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/fetchProductsByIds?productIds[]=123&productIds[]=456" \
|
|
646
564
|
-u "username:app_password"
|
|
647
565
|
```
|
|
@@ -650,21 +568,21 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/fetchProductsBy
|
|
|
650
568
|
|
|
651
569
|
### Fetch Variations by IDs
|
|
652
570
|
|
|
653
|
-
|
|
571
|
+
GET `/fluent-cart/v2/products/fetchVariationsByIds`
|
|
654
572
|
|
|
655
573
|
Retrieve variations by an array of IDs. Returns simplified label/value pairs.
|
|
656
574
|
|
|
657
|
-
**Permission:** `products/view`
|
|
575
|
+
- **Permission:** `products/view`
|
|
658
576
|
|
|
659
577
|
#### Parameters
|
|
660
578
|
|
|
661
579
|
| Parameter | Type | Location | Required | Description |
|
|
662
|
-
|
|
580
|
+
| --- | --- | --- | --- | --- |
|
|
663
581
|
| `productIds` | array | query | Yes | Array of variation IDs to fetch |
|
|
664
582
|
|
|
665
583
|
#### Response
|
|
666
584
|
|
|
667
|
-
```
|
|
585
|
+
```
|
|
668
586
|
{
|
|
669
587
|
"products": [
|
|
670
588
|
{
|
|
@@ -681,7 +599,7 @@ Retrieve variations by an array of IDs. Returns simplified label/value pairs.
|
|
|
681
599
|
|
|
682
600
|
#### Example
|
|
683
601
|
|
|
684
|
-
```
|
|
602
|
+
```
|
|
685
603
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/fetchVariationsByIds?productIds[]=456&productIds[]=457" \
|
|
686
604
|
-u "username:app_password"
|
|
687
605
|
```
|
|
@@ -690,23 +608,23 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/fetchVariations
|
|
|
690
608
|
|
|
691
609
|
### Suggest SKU
|
|
692
610
|
|
|
693
|
-
|
|
611
|
+
GET `/fluent-cart/v2/products/suggest-sku`
|
|
694
612
|
|
|
695
613
|
Generate a unique SKU suggestion based on product and variant titles.
|
|
696
614
|
|
|
697
|
-
**Permission:** `products/view`
|
|
615
|
+
- **Permission:** `products/view`
|
|
698
616
|
|
|
699
617
|
#### Parameters
|
|
700
618
|
|
|
701
619
|
| Parameter | Type | Location | Required | Description |
|
|
702
|
-
|
|
620
|
+
| --- | --- | --- | --- | --- |
|
|
703
621
|
| `title` | string | query | Yes | Product title to base SKU on |
|
|
704
622
|
| `variant_title` | string | query | No | Variant title to include in SKU |
|
|
705
623
|
| `exclude_id` | integer | query | No | Variation ID to exclude from uniqueness check |
|
|
706
624
|
|
|
707
625
|
#### Response
|
|
708
626
|
|
|
709
|
-
```
|
|
627
|
+
```
|
|
710
628
|
{
|
|
711
629
|
"sku": "EXA-PRO-MON"
|
|
712
630
|
}
|
|
@@ -714,7 +632,7 @@ Generate a unique SKU suggestion based on product and variant titles.
|
|
|
714
632
|
|
|
715
633
|
#### Example
|
|
716
634
|
|
|
717
|
-
```
|
|
635
|
+
```
|
|
718
636
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/suggest-sku?title=Example%20Product&variant_title=Monthly" \
|
|
719
637
|
-u "username:app_password"
|
|
720
638
|
```
|
|
@@ -723,15 +641,19 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/suggest-sku?tit
|
|
|
723
641
|
|
|
724
642
|
### Get Max Excerpt Word Count
|
|
725
643
|
|
|
726
|
-
|
|
644
|
+
GET `/fluent-cart/v2/products/get-max-excerpt-word-count`
|
|
727
645
|
|
|
728
646
|
Returns the maximum allowed word count for product excerpts (controlled by the WordPress `excerpt_length` filter).
|
|
729
647
|
|
|
730
|
-
**Permission:** `products/view`
|
|
648
|
+
- **Permission:** `products/view`
|
|
649
|
+
|
|
650
|
+
#### Parameters
|
|
651
|
+
|
|
652
|
+
None.
|
|
731
653
|
|
|
732
654
|
#### Response
|
|
733
655
|
|
|
734
|
-
```
|
|
656
|
+
```
|
|
735
657
|
{
|
|
736
658
|
"count": 55
|
|
737
659
|
}
|
|
@@ -739,7 +661,7 @@ Returns the maximum allowed word count for product excerpts (controlled by the W
|
|
|
739
661
|
|
|
740
662
|
#### Example
|
|
741
663
|
|
|
742
|
-
```
|
|
664
|
+
```
|
|
743
665
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/get-max-excerpt-word-count" \
|
|
744
666
|
-u "username:app_password"
|
|
745
667
|
```
|
|
@@ -748,15 +670,19 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/get-max-excerpt
|
|
|
748
670
|
|
|
749
671
|
### Fetch Taxonomy Terms
|
|
750
672
|
|
|
751
|
-
|
|
673
|
+
GET `/fluent-cart/v2/products/fetch-term`
|
|
752
674
|
|
|
753
675
|
Retrieve all registered taxonomies and their terms for product categorization.
|
|
754
676
|
|
|
755
|
-
**Permission:** `products/view`
|
|
677
|
+
- **Permission:** `products/view`
|
|
678
|
+
|
|
679
|
+
#### Parameters
|
|
680
|
+
|
|
681
|
+
None.
|
|
756
682
|
|
|
757
683
|
#### Response
|
|
758
684
|
|
|
759
|
-
```
|
|
685
|
+
```
|
|
760
686
|
{
|
|
761
687
|
"taxonomies": [
|
|
762
688
|
{
|
|
@@ -781,7 +707,7 @@ Retrieve all registered taxonomies and their terms for product categorization.
|
|
|
781
707
|
|
|
782
708
|
#### Example
|
|
783
709
|
|
|
784
|
-
```
|
|
710
|
+
```
|
|
785
711
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/fetch-term" \
|
|
786
712
|
-u "username:app_password"
|
|
787
713
|
```
|
|
@@ -790,22 +716,22 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/fetch-term" \
|
|
|
790
716
|
|
|
791
717
|
### Fetch Terms by Parent
|
|
792
718
|
|
|
793
|
-
|
|
719
|
+
POST `/fluent-cart/v2/products/fetch-term-by-parent`
|
|
794
720
|
|
|
795
721
|
Retrieve taxonomy terms filtered by parent term IDs.
|
|
796
722
|
|
|
797
|
-
**Permission:** `products/view`
|
|
723
|
+
- **Permission:** `products/view`
|
|
798
724
|
|
|
799
725
|
#### Parameters
|
|
800
726
|
|
|
801
727
|
| Parameter | Type | Location | Required | Description |
|
|
802
|
-
|
|
728
|
+
| --- | --- | --- | --- | --- |
|
|
803
729
|
| `parents` | array | body | Yes | Array of parent term IDs |
|
|
804
730
|
| `listeners` | array | body | Yes | Array of taxonomy names to retrieve terms for |
|
|
805
731
|
|
|
806
732
|
#### Response
|
|
807
733
|
|
|
808
|
-
```
|
|
734
|
+
```
|
|
809
735
|
{
|
|
810
736
|
"data": {
|
|
811
737
|
"product-categories": [
|
|
@@ -820,7 +746,7 @@ Retrieve taxonomy terms filtered by parent term IDs.
|
|
|
820
746
|
|
|
821
747
|
#### Example
|
|
822
748
|
|
|
823
|
-
```
|
|
749
|
+
```
|
|
824
750
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/fetch-term-by-parent" \
|
|
825
751
|
-u "username:app_password" \
|
|
826
752
|
-H "Content-Type: application/json" \
|
|
@@ -836,21 +762,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/fetch-term-by-
|
|
|
836
762
|
|
|
837
763
|
### Bulk Insert Products
|
|
838
764
|
|
|
839
|
-
|
|
765
|
+
POST `/fluent-cart/v2/products/bulk-insert`
|
|
840
766
|
|
|
841
767
|
Insert multiple products at once. Maximum 10 products per request.
|
|
842
768
|
|
|
843
|
-
**Permission:** `products/create`
|
|
769
|
+
- **Permission:** `products/create`
|
|
844
770
|
|
|
845
771
|
#### Parameters
|
|
846
772
|
|
|
847
773
|
| Parameter | Type | Location | Required | Description |
|
|
848
|
-
|
|
774
|
+
| --- | --- | --- | --- | --- |
|
|
849
775
|
| `products` | array | body | Yes | Array of product data objects (max 10) |
|
|
850
776
|
|
|
851
777
|
#### Response
|
|
852
778
|
|
|
853
|
-
```
|
|
779
|
+
```
|
|
854
780
|
{
|
|
855
781
|
"message": "3 product(s) created successfully",
|
|
856
782
|
"created": [ ... ],
|
|
@@ -860,7 +786,7 @@ Insert multiple products at once. Maximum 10 products per request.
|
|
|
860
786
|
|
|
861
787
|
#### Example
|
|
862
788
|
|
|
863
|
-
```
|
|
789
|
+
```
|
|
864
790
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/bulk-insert" \
|
|
865
791
|
-u "username:app_password" \
|
|
866
792
|
-H "Content-Type: application/json" \
|
|
@@ -882,19 +808,19 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/bulk-insert" \
|
|
|
882
808
|
|
|
883
809
|
### Bulk Edit Fetch
|
|
884
810
|
|
|
885
|
-
|
|
811
|
+
GET `/fluent-cart/v2/products/bulk-edit-data`
|
|
886
812
|
|
|
887
813
|
Fetch products formatted for the bulk editing spreadsheet view.
|
|
888
814
|
|
|
889
|
-
**Permission:** `products/edit`
|
|
815
|
+
- **Permission:** `products/edit`
|
|
890
816
|
|
|
891
817
|
#### Parameters
|
|
892
818
|
|
|
893
|
-
Standard filter parameters (see List Products).
|
|
819
|
+
Standard filter parameters (see [List Products](#list-products)).
|
|
894
820
|
|
|
895
821
|
#### Response
|
|
896
822
|
|
|
897
|
-
```
|
|
823
|
+
```
|
|
898
824
|
{
|
|
899
825
|
"products": [ ... ],
|
|
900
826
|
"columns": [ ... ]
|
|
@@ -903,7 +829,7 @@ Standard filter parameters (see List Products).
|
|
|
903
829
|
|
|
904
830
|
#### Example
|
|
905
831
|
|
|
906
|
-
```
|
|
832
|
+
```
|
|
907
833
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/bulk-edit-data" \
|
|
908
834
|
-u "username:app_password"
|
|
909
835
|
```
|
|
@@ -912,21 +838,21 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/bulk-edit-data"
|
|
|
912
838
|
|
|
913
839
|
### Bulk Update Products
|
|
914
840
|
|
|
915
|
-
|
|
841
|
+
POST `/fluent-cart/v2/products/bulk-update`
|
|
916
842
|
|
|
917
843
|
Update multiple products at once from the bulk edit view. Maximum 10 products per request.
|
|
918
844
|
|
|
919
|
-
**Permission:** `products/edit`
|
|
845
|
+
- **Permission:** `products/edit`
|
|
920
846
|
|
|
921
847
|
#### Parameters
|
|
922
848
|
|
|
923
849
|
| Parameter | Type | Location | Required | Description |
|
|
924
|
-
|
|
850
|
+
| --- | --- | --- | --- | --- |
|
|
925
851
|
| `products` | array | body | Yes | Array of product data objects to update (max 10) |
|
|
926
852
|
|
|
927
853
|
#### Response
|
|
928
854
|
|
|
929
|
-
```
|
|
855
|
+
```
|
|
930
856
|
{
|
|
931
857
|
"message": "3 product(s) updated successfully",
|
|
932
858
|
"updated": [ ... ],
|
|
@@ -936,7 +862,7 @@ Update multiple products at once from the bulk edit view. Maximum 10 products pe
|
|
|
936
862
|
|
|
937
863
|
#### Example
|
|
938
864
|
|
|
939
|
-
```
|
|
865
|
+
```
|
|
940
866
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/bulk-update" \
|
|
941
867
|
-u "username:app_password" \
|
|
942
868
|
-H "Content-Type: application/json" \
|
|
@@ -954,22 +880,22 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/bulk-update" \
|
|
|
954
880
|
|
|
955
881
|
### Do Bulk Action
|
|
956
882
|
|
|
957
|
-
|
|
883
|
+
POST `/fluent-cart/v2/products/do-bulk-action`
|
|
958
884
|
|
|
959
885
|
Perform bulk actions on selected products (e.g., publish, draft, delete).
|
|
960
886
|
|
|
961
|
-
**Permission:** `products/edit`
|
|
887
|
+
- **Permission:** `products/edit`
|
|
962
888
|
|
|
963
889
|
#### Parameters
|
|
964
890
|
|
|
965
891
|
| Parameter | Type | Location | Required | Description |
|
|
966
|
-
|
|
892
|
+
| --- | --- | --- | --- | --- |
|
|
967
893
|
| `action` | string | body | Yes | The bulk action to perform |
|
|
968
894
|
| `product_ids` | array | body | Yes | Array of product IDs to act on |
|
|
969
895
|
|
|
970
896
|
#### Response
|
|
971
897
|
|
|
972
|
-
```
|
|
898
|
+
```
|
|
973
899
|
{
|
|
974
900
|
"message": "Bulk action completed successfully"
|
|
975
901
|
}
|
|
@@ -977,7 +903,7 @@ Perform bulk actions on selected products (e.g., publish, draft, delete).
|
|
|
977
903
|
|
|
978
904
|
#### Example
|
|
979
905
|
|
|
980
|
-
```
|
|
906
|
+
```
|
|
981
907
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/do-bulk-action" \
|
|
982
908
|
-u "username:app_password" \
|
|
983
909
|
-H "Content-Type: application/json" \
|
|
@@ -989,102 +915,18 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/do-bulk-action
|
|
|
989
915
|
|
|
990
916
|
---
|
|
991
917
|
|
|
992
|
-
### Bulk Update Variants
|
|
993
|
-
|
|
994
|
-
`POST /fluent-cart/v2/products/variants/bulk-update`
|
|
995
|
-
|
|
996
|
-
Update price and status fields on multiple product variants in one request. All targeted variants must belong to the same product.
|
|
997
|
-
|
|
998
|
-
- Rows in the payload that target the same variant ID are **merged (last field wins)**.
|
|
999
|
-
- The batch is applied inside a single locked transaction.
|
|
1000
|
-
- The `item_price` / `compare_price` relationship is enforced in both directions — raising `item_price` above an existing `compare_price` clears `compare_price`, and a `compare_price` below `item_price` is rejected back to `0`.
|
|
1001
|
-
- Up to **500 update rows** per request; additional rows are silently dropped.
|
|
1002
|
-
- `item_price` and `compare_price` are **cents** (`2999` for $29.99). Sending `29.99` creates a 29-cent price.
|
|
1003
|
-
|
|
1004
|
-
**Permission:** `products/edit`
|
|
1005
|
-
|
|
1006
|
-
#### Parameters
|
|
1007
|
-
|
|
1008
|
-
| Parameter | Type | Location | Required | Description |
|
|
1009
|
-
|-----------|------|----------|----------|-------------|
|
|
1010
|
-
| `updates` | array | body | **Yes** | Variant updates. Each row needs `id` plus at least one of `item_price`, `compare_price`, `item_status` |
|
|
1011
|
-
|
|
1012
|
-
Each entry in `updates`:
|
|
1013
|
-
|
|
1014
|
-
| Field | Type | Description |
|
|
1015
|
-
|-------|------|-------------|
|
|
1016
|
-
| `id` | integer | Variant ID |
|
|
1017
|
-
| `item_price` | number | Sale price in cents |
|
|
1018
|
-
| `compare_price` | number | Compare-at price in cents |
|
|
1019
|
-
| `item_status` | string | Variant status |
|
|
1020
|
-
|
|
1021
|
-
#### Response
|
|
1022
|
-
|
|
1023
|
-
```json
|
|
1024
|
-
{ "message": "Variants updated successfully.", "updated": 2 }
|
|
1025
|
-
```
|
|
1026
|
-
|
|
1027
|
-
#### Example
|
|
1028
|
-
|
|
1029
|
-
```bash
|
|
1030
|
-
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants/bulk-update" \
|
|
1031
|
-
-u "username:app_password" \
|
|
1032
|
-
-H "Content-Type: application/json" \
|
|
1033
|
-
-d '{"updates":[{"id":5,"item_price":2999},{"id":6,"compare_price":5999,"item_status":"active"}]}'
|
|
1034
|
-
```
|
|
1035
|
-
|
|
1036
|
-
---
|
|
1037
|
-
|
|
1038
|
-
### Group Bulk Update Variants
|
|
1039
|
-
|
|
1040
|
-
`POST /fluent-cart/v2/products/variants/group-bulk-update`
|
|
1041
|
-
|
|
1042
|
-
Apply a partial (PATCH-style) update to a **group** of variants at once. Any field left null or omitted is skipped for every variant in the group; only the non-null fields are written.
|
|
1043
|
-
|
|
1044
|
-
- For `other_info`, only the supplied non-null sub-keys are **merged** into each variant's existing JSON rather than replacing it.
|
|
1045
|
-
- All variants in `variant_ids` must belong to the same product.
|
|
1046
|
-
- `sku` can only be set when **exactly one** variant is targeted (SKUs must stay unique).
|
|
1047
|
-
|
|
1048
|
-
**Permission:** `products/edit`
|
|
1049
|
-
|
|
1050
|
-
#### Parameters
|
|
1051
|
-
|
|
1052
|
-
| Parameter | Type | Location | Required | Description |
|
|
1053
|
-
|-----------|------|----------|----------|-------------|
|
|
1054
|
-
| `variant_ids` | array | body | **Yes** | Variant IDs to update. All must belong to the same product |
|
|
1055
|
-
| `sku` | string | body | No | New SKU. Only when exactly one ID is targeted. Empty string clears it |
|
|
1056
|
-
| `item_price` | number | body | No | Sale price in cents, applied to every targeted variant |
|
|
1057
|
-
| `compare_price` | number | body | No | Compare-at price in cents. Ignored per-row if below that row's effective `item_price` |
|
|
1058
|
-
| `manage_stock` | integer | body | No | `0` or `1` — track stock for the targeted variants |
|
|
1059
|
-
| `total_stock` | integer | body | No | New total stock quantity |
|
|
1060
|
-
| `fulfillment_type` | string | body | No | `physical` or `digital` |
|
|
1061
|
-
| `manage_cost` | string | body | No | `"true"` or `"false"` — track cost of goods |
|
|
1062
|
-
| `item_cost` | number | body | No | Cost of goods in cents |
|
|
1063
|
-
| `other_info` | object | body | No | Partial delta merged into each variant's `other_info` (e.g. `payment_type`, `repeat_interval`, `signup_fee`) |
|
|
1064
|
-
|
|
1065
|
-
#### Example
|
|
1066
|
-
|
|
1067
|
-
```bash
|
|
1068
|
-
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants/group-bulk-update" \
|
|
1069
|
-
-u "username:app_password" \
|
|
1070
|
-
-H "Content-Type: application/json" \
|
|
1071
|
-
-d '{"variant_ids":[5,6,7],"fulfillment_type":"digital","other_info":{"payment_type":"subscription","repeat_interval":"monthly"}}'
|
|
1072
|
-
```
|
|
1073
|
-
|
|
1074
|
-
---
|
|
1075
|
-
|
|
1076
918
|
### Create Dummy Products
|
|
1077
919
|
|
|
1078
|
-
|
|
920
|
+
POST `/fluent-cart/v2/products/create-dummy`
|
|
1079
921
|
|
|
1080
922
|
Create sample/demo products for testing or onboarding purposes.
|
|
1081
923
|
|
|
1082
|
-
**Permission:** `products/create`
|
|
924
|
+
- **Permission:** `products/create`
|
|
1083
925
|
|
|
1084
926
|
#### Parameters
|
|
1085
927
|
|
|
1086
928
|
| Parameter | Type | Location | Required | Description |
|
|
1087
|
-
|
|
929
|
+
| --- | --- | --- | --- | --- |
|
|
1088
930
|
| `category` | string | body | No | Product category for dummy products |
|
|
1089
931
|
| `index` | integer | body | No | Index for dummy product generation |
|
|
1090
932
|
|
|
@@ -1094,7 +936,7 @@ Returns the created dummy product data.
|
|
|
1094
936
|
|
|
1095
937
|
#### Example
|
|
1096
938
|
|
|
1097
|
-
```
|
|
939
|
+
```
|
|
1098
940
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/create-dummy" \
|
|
1099
941
|
-u "username:app_password" \
|
|
1100
942
|
-H "Content-Type: application/json" \
|
|
@@ -1110,16 +952,16 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/create-dummy"
|
|
|
1110
952
|
|
|
1111
953
|
### Duplicate Product
|
|
1112
954
|
|
|
1113
|
-
|
|
955
|
+
POST `/fluent-cart/v2/products/{productId}/duplicate`
|
|
1114
956
|
|
|
1115
957
|
Duplicate a product with options to include or exclude certain settings. The new product is saved as a draft.
|
|
1116
958
|
|
|
1117
|
-
**Permission:** `products/create`
|
|
959
|
+
- **Permission:** `products/create`
|
|
1118
960
|
|
|
1119
961
|
#### Parameters
|
|
1120
962
|
|
|
1121
963
|
| Parameter | Type | Location | Required | Description |
|
|
1122
|
-
|
|
964
|
+
| --- | --- | --- | --- | --- |
|
|
1123
965
|
| `productId` | integer | path | Yes | The product ID to duplicate |
|
|
1124
966
|
| `import_stock_management` | string | body | No | Include stock management settings (`true`/`false`) |
|
|
1125
967
|
| `import_license_settings` | string | body | No | Include license settings (`true`/`false`) |
|
|
@@ -1127,7 +969,7 @@ Duplicate a product with options to include or exclude certain settings. The new
|
|
|
1127
969
|
|
|
1128
970
|
#### Response
|
|
1129
971
|
|
|
1130
|
-
```
|
|
972
|
+
```
|
|
1131
973
|
{
|
|
1132
974
|
"product_id": 125,
|
|
1133
975
|
"message": "Product duplicated successfully. The new product has been saved as a draft."
|
|
@@ -1136,7 +978,7 @@ Duplicate a product with options to include or exclude certain settings. The new
|
|
|
1136
978
|
|
|
1137
979
|
#### Example
|
|
1138
980
|
|
|
1139
|
-
```
|
|
981
|
+
```
|
|
1140
982
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/duplicate" \
|
|
1141
983
|
-u "username:app_password" \
|
|
1142
984
|
-H "Content-Type: application/json" \
|
|
@@ -1151,25 +993,25 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/duplicate"
|
|
|
1151
993
|
|
|
1152
994
|
### Get Related Products
|
|
1153
995
|
|
|
1154
|
-
|
|
996
|
+
GET `/fluent-cart/v2/products/{productId}/related-products`
|
|
1155
997
|
|
|
1156
998
|
Retrieve products related to a given product based on shared categories or brands.
|
|
1157
999
|
|
|
1158
|
-
**Permission:** `products/view`
|
|
1000
|
+
- **Permission:** `products/view`
|
|
1159
1001
|
|
|
1160
1002
|
#### Parameters
|
|
1161
1003
|
|
|
1162
1004
|
| Parameter | Type | Location | Required | Description |
|
|
1163
|
-
|
|
1005
|
+
| --- | --- | --- | --- | --- |
|
|
1164
1006
|
| `productId` | integer | path | Yes | The product ID |
|
|
1165
1007
|
| `related_by_categories` | boolean | query | No | Include products from same categories |
|
|
1166
1008
|
| `related_by_brands` | boolean | query | No | Include products from same brands |
|
|
1167
1009
|
| `order_by` | string | query | No | Sort order (default: `title_asc`) |
|
|
1168
|
-
| `posts_per_page` | integer | query | No | Number of related products to return (default: 6) |
|
|
1010
|
+
| `posts_per_page` | integer | query | No | Number of related products to return (default: `6`) |
|
|
1169
1011
|
|
|
1170
1012
|
#### Response
|
|
1171
1013
|
|
|
1172
|
-
```
|
|
1014
|
+
```
|
|
1173
1015
|
{
|
|
1174
1016
|
"products": [
|
|
1175
1017
|
{
|
|
@@ -1183,7 +1025,7 @@ Retrieve products related to a given product based on shared categories or brand
|
|
|
1183
1025
|
|
|
1184
1026
|
#### Example
|
|
1185
1027
|
|
|
1186
|
-
```
|
|
1028
|
+
```
|
|
1187
1029
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/related-products?related_by_categories=true&posts_per_page=4" \
|
|
1188
1030
|
-u "username:app_password"
|
|
1189
1031
|
```
|
|
@@ -1192,22 +1034,22 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/related-pro
|
|
|
1192
1034
|
|
|
1193
1035
|
### Update Long Description Editor Mode
|
|
1194
1036
|
|
|
1195
|
-
|
|
1037
|
+
POST `/fluent-cart/v2/products/{postId}/update-long-desc-editor-mode`
|
|
1196
1038
|
|
|
1197
1039
|
Switch the long description editor between modes (e.g., visual, code).
|
|
1198
1040
|
|
|
1199
|
-
**Permission:** `products/edit`
|
|
1041
|
+
- **Permission:** `products/edit`
|
|
1200
1042
|
|
|
1201
1043
|
#### Parameters
|
|
1202
1044
|
|
|
1203
1045
|
| Parameter | Type | Location | Required | Description |
|
|
1204
|
-
|
|
1046
|
+
| --- | --- | --- | --- | --- |
|
|
1205
1047
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1206
1048
|
| `active_editor` | string | body | Yes | The editor mode to set |
|
|
1207
1049
|
|
|
1208
1050
|
#### Response
|
|
1209
1051
|
|
|
1210
|
-
```
|
|
1052
|
+
```
|
|
1211
1053
|
{
|
|
1212
1054
|
"message": "Editor mode updated successfully"
|
|
1213
1055
|
}
|
|
@@ -1215,7 +1057,7 @@ Switch the long description editor between modes (e.g., visual, code).
|
|
|
1215
1057
|
|
|
1216
1058
|
#### Example
|
|
1217
1059
|
|
|
1218
|
-
```
|
|
1060
|
+
```
|
|
1219
1061
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/update-long-desc-editor-mode" \
|
|
1220
1062
|
-u "username:app_password" \
|
|
1221
1063
|
-H "Content-Type: application/json" \
|
|
@@ -1226,16 +1068,16 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/update-lon
|
|
|
1226
1068
|
|
|
1227
1069
|
### Update Variant Option
|
|
1228
1070
|
|
|
1229
|
-
|
|
1071
|
+
POST `/fluent-cart/v2/products/{postId}/update-variant-option`
|
|
1230
1072
|
|
|
1231
1073
|
Sync variant options for a product (used when managing product attribute variations).
|
|
1232
1074
|
|
|
1233
|
-
**Permission:** `products/edit`
|
|
1075
|
+
- **Permission:** `products/edit`
|
|
1234
1076
|
|
|
1235
1077
|
#### Parameters
|
|
1236
1078
|
|
|
1237
1079
|
| Parameter | Type | Location | Required | Description |
|
|
1238
|
-
|
|
1080
|
+
| --- | --- | --- | --- | --- |
|
|
1239
1081
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1240
1082
|
| `variation_type` | string | body | Yes | The variation type |
|
|
1241
1083
|
| `product_id` | integer | body | Yes | The product ID |
|
|
@@ -1243,7 +1085,7 @@ Sync variant options for a product (used when managing product attribute variati
|
|
|
1243
1085
|
|
|
1244
1086
|
#### Response
|
|
1245
1087
|
|
|
1246
|
-
```
|
|
1088
|
+
```
|
|
1247
1089
|
{
|
|
1248
1090
|
"message": "Variant options synced successfully"
|
|
1249
1091
|
}
|
|
@@ -1251,7 +1093,7 @@ Sync variant options for a product (used when managing product attribute variati
|
|
|
1251
1093
|
|
|
1252
1094
|
#### Example
|
|
1253
1095
|
|
|
1254
|
-
```
|
|
1096
|
+
```
|
|
1255
1097
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/update-variant-option" \
|
|
1256
1098
|
-u "username:app_password" \
|
|
1257
1099
|
-H "Content-Type: application/json" \
|
|
@@ -1266,16 +1108,16 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/update-var
|
|
|
1266
1108
|
|
|
1267
1109
|
### Update Product Detail
|
|
1268
1110
|
|
|
1269
|
-
|
|
1111
|
+
POST `/fluent-cart/v2/products/detail/{detailId}`
|
|
1270
1112
|
|
|
1271
1113
|
Update a product detail record (e.g., change variation type).
|
|
1272
1114
|
|
|
1273
|
-
**Permission:** `products/edit`
|
|
1115
|
+
- **Permission:** `products/edit`
|
|
1274
1116
|
|
|
1275
1117
|
#### Parameters
|
|
1276
1118
|
|
|
1277
1119
|
| Parameter | Type | Location | Required | Description |
|
|
1278
|
-
|
|
1120
|
+
| --- | --- | --- | --- | --- |
|
|
1279
1121
|
| `detailId` | integer | path | Yes | The product detail ID |
|
|
1280
1122
|
| `variation_type` | string | body | No | New variation type (e.g., `simple`, `simple_variations`) |
|
|
1281
1123
|
| `variation_ids` | array | body | No | Array of variation IDs |
|
|
@@ -1283,7 +1125,7 @@ Update a product detail record (e.g., change variation type).
|
|
|
1283
1125
|
|
|
1284
1126
|
#### Response
|
|
1285
1127
|
|
|
1286
|
-
```
|
|
1128
|
+
```
|
|
1287
1129
|
{
|
|
1288
1130
|
"message": "Product detail updated successfully"
|
|
1289
1131
|
}
|
|
@@ -1291,7 +1133,7 @@ Update a product detail record (e.g., change variation type).
|
|
|
1291
1133
|
|
|
1292
1134
|
#### Example
|
|
1293
1135
|
|
|
1294
|
-
```
|
|
1136
|
+
```
|
|
1295
1137
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/detail/456" \
|
|
1296
1138
|
-u "username:app_password" \
|
|
1297
1139
|
-H "Content-Type: application/json" \
|
|
@@ -1305,23 +1147,23 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/detail/456" \
|
|
|
1305
1147
|
|
|
1306
1148
|
### Add Product Terms
|
|
1307
1149
|
|
|
1308
|
-
|
|
1150
|
+
POST `/fluent-cart/v2/products/add-product-terms`
|
|
1309
1151
|
|
|
1310
1152
|
Create new taxonomy terms for products (categories, brands, etc.).
|
|
1311
1153
|
|
|
1312
|
-
**Permission:** `products/edit`
|
|
1154
|
+
- **Permission:** `products/edit`
|
|
1313
1155
|
|
|
1314
1156
|
#### Parameters
|
|
1315
1157
|
|
|
1316
1158
|
| Parameter | Type | Location | Required | Description |
|
|
1317
|
-
|
|
1159
|
+
| --- | --- | --- | --- | --- |
|
|
1318
1160
|
| `term.name` | string | body | Yes | Term name(s), comma-separated for multiple |
|
|
1319
1161
|
| `term.taxonomy` | string | body | Yes | Taxonomy name (e.g., `product-categories`, `product-brands`) |
|
|
1320
1162
|
| `term.parent` | integer | body | No | Parent term ID for hierarchical terms |
|
|
1321
1163
|
|
|
1322
1164
|
#### Response
|
|
1323
1165
|
|
|
1324
|
-
```
|
|
1166
|
+
```
|
|
1325
1167
|
{
|
|
1326
1168
|
"term_ids": [10, 11],
|
|
1327
1169
|
"names": ["Category A", "Category B"]
|
|
@@ -1330,7 +1172,7 @@ Create new taxonomy terms for products (categories, brands, etc.).
|
|
|
1330
1172
|
|
|
1331
1173
|
#### Example
|
|
1332
1174
|
|
|
1333
|
-
```
|
|
1175
|
+
```
|
|
1334
1176
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/add-product-terms" \
|
|
1335
1177
|
-u "username:app_password" \
|
|
1336
1178
|
-H "Content-Type: application/json" \
|
|
@@ -1347,23 +1189,23 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/add-product-te
|
|
|
1347
1189
|
|
|
1348
1190
|
### Sync Taxonomy Terms
|
|
1349
1191
|
|
|
1350
|
-
|
|
1192
|
+
POST `/fluent-cart/v2/products/sync-taxonomy-term/{postId}`
|
|
1351
1193
|
|
|
1352
1194
|
Sync (replace) taxonomy terms for a product.
|
|
1353
1195
|
|
|
1354
|
-
**Permission:** `products/edit`
|
|
1196
|
+
- **Permission:** `products/edit`
|
|
1355
1197
|
|
|
1356
1198
|
#### Parameters
|
|
1357
1199
|
|
|
1358
1200
|
| Parameter | Type | Location | Required | Description |
|
|
1359
|
-
|
|
1201
|
+
| --- | --- | --- | --- | --- |
|
|
1360
1202
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1361
1203
|
| `taxonomy` | string | body | Yes | Taxonomy name (e.g., `product-categories`) |
|
|
1362
1204
|
| `terms` | array | body | No | Array of term IDs to sync |
|
|
1363
1205
|
|
|
1364
1206
|
#### Response
|
|
1365
1207
|
|
|
1366
|
-
```
|
|
1208
|
+
```
|
|
1367
1209
|
{
|
|
1368
1210
|
"message": "Taxonomy terms synced successfully"
|
|
1369
1211
|
}
|
|
@@ -1371,7 +1213,7 @@ Sync (replace) taxonomy terms for a product.
|
|
|
1371
1213
|
|
|
1372
1214
|
#### Example
|
|
1373
1215
|
|
|
1374
|
-
```
|
|
1216
|
+
```
|
|
1375
1217
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/sync-taxonomy-term/123" \
|
|
1376
1218
|
-u "username:app_password" \
|
|
1377
1219
|
-H "Content-Type: application/json" \
|
|
@@ -1385,23 +1227,23 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/sync-taxonomy-
|
|
|
1385
1227
|
|
|
1386
1228
|
### Delete Taxonomy Term
|
|
1387
1229
|
|
|
1388
|
-
|
|
1230
|
+
POST `/fluent-cart/v2/products/delete-taxonomy-term/{postId}`
|
|
1389
1231
|
|
|
1390
1232
|
Remove a specific taxonomy term from a product.
|
|
1391
1233
|
|
|
1392
|
-
**Permission:** `products/edit`
|
|
1234
|
+
- **Permission:** `products/edit`
|
|
1393
1235
|
|
|
1394
1236
|
#### Parameters
|
|
1395
1237
|
|
|
1396
1238
|
| Parameter | Type | Location | Required | Description |
|
|
1397
|
-
|
|
1239
|
+
| --- | --- | --- | --- | --- |
|
|
1398
1240
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1399
1241
|
| `taxonomy` | string | body | Yes | Taxonomy name (e.g., `product-categories`) |
|
|
1400
1242
|
| `term` | integer | body | Yes | Term ID to remove |
|
|
1401
1243
|
|
|
1402
1244
|
#### Response
|
|
1403
1245
|
|
|
1404
|
-
```
|
|
1246
|
+
```
|
|
1405
1247
|
{
|
|
1406
1248
|
"message": "Taxonomy term removed successfully"
|
|
1407
1249
|
}
|
|
@@ -1409,7 +1251,7 @@ Remove a specific taxonomy term from a product.
|
|
|
1409
1251
|
|
|
1410
1252
|
#### Example
|
|
1411
1253
|
|
|
1412
|
-
```
|
|
1254
|
+
```
|
|
1413
1255
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/delete-taxonomy-term/123" \
|
|
1414
1256
|
-u "username:app_password" \
|
|
1415
1257
|
-H "Content-Type: application/json" \
|
|
@@ -1423,21 +1265,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/delete-taxonom
|
|
|
1423
1265
|
|
|
1424
1266
|
### Get Pricing Widgets
|
|
1425
1267
|
|
|
1426
|
-
|
|
1268
|
+
GET `/fluent-cart/v2/products/{productId}/pricing-widgets`
|
|
1427
1269
|
|
|
1428
1270
|
Retrieve sales overview widgets for a product (all-time, last 30 days, this month).
|
|
1429
1271
|
|
|
1430
|
-
**Permission:** `products/view`
|
|
1272
|
+
- **Permission:** `products/view`
|
|
1431
1273
|
|
|
1432
1274
|
#### Parameters
|
|
1433
1275
|
|
|
1434
1276
|
| Parameter | Type | Location | Required | Description |
|
|
1435
|
-
|
|
1277
|
+
| --- | --- | --- | --- | --- |
|
|
1436
1278
|
| `productId` | integer | path | Yes | The product ID |
|
|
1437
1279
|
|
|
1438
1280
|
#### Response
|
|
1439
1281
|
|
|
1440
|
-
```
|
|
1282
|
+
```
|
|
1441
1283
|
{
|
|
1442
1284
|
"widgets": [
|
|
1443
1285
|
{
|
|
@@ -1450,7 +1292,7 @@ Retrieve sales overview widgets for a product (all-time, last 30 days, this mont
|
|
|
1450
1292
|
|
|
1451
1293
|
#### Example
|
|
1452
1294
|
|
|
1453
|
-
```
|
|
1295
|
+
```
|
|
1454
1296
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/pricing-widgets" \
|
|
1455
1297
|
-u "username:app_password"
|
|
1456
1298
|
```
|
|
@@ -1461,21 +1303,21 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/pricing-wid
|
|
|
1461
1303
|
|
|
1462
1304
|
### Get Bundle Info
|
|
1463
1305
|
|
|
1464
|
-
|
|
1306
|
+
GET `/fluent-cart/v2/products/get-bundle-info/{productId}`
|
|
1465
1307
|
|
|
1466
1308
|
Retrieve bundle configuration information for a product, including child variant mappings.
|
|
1467
1309
|
|
|
1468
|
-
**Permission:** `products/view`
|
|
1310
|
+
- **Permission:** `products/view`
|
|
1469
1311
|
|
|
1470
1312
|
#### Parameters
|
|
1471
1313
|
|
|
1472
1314
|
| Parameter | Type | Location | Required | Description |
|
|
1473
|
-
|
|
1315
|
+
| --- | --- | --- | --- | --- |
|
|
1474
1316
|
| `productId` | integer | path | Yes | The product ID |
|
|
1475
1317
|
|
|
1476
1318
|
#### Response
|
|
1477
1319
|
|
|
1478
|
-
```
|
|
1320
|
+
```
|
|
1479
1321
|
[
|
|
1480
1322
|
{
|
|
1481
1323
|
"id": 789,
|
|
@@ -1489,7 +1331,7 @@ Retrieve bundle configuration information for a product, including child variant
|
|
|
1489
1331
|
|
|
1490
1332
|
#### Example
|
|
1491
1333
|
|
|
1492
|
-
```
|
|
1334
|
+
```
|
|
1493
1335
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/get-bundle-info/123" \
|
|
1494
1336
|
-u "username:app_password"
|
|
1495
1337
|
```
|
|
@@ -1498,28 +1340,28 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/get-bundle-info
|
|
|
1498
1340
|
|
|
1499
1341
|
### Save Bundle Info
|
|
1500
1342
|
|
|
1501
|
-
|
|
1343
|
+
POST `/fluent-cart/v2/products/save-bundle-info/{variationId}`
|
|
1502
1344
|
|
|
1503
1345
|
Save bundle child variant IDs for a variation. Bundle products cannot be added as children of other bundles.
|
|
1504
1346
|
|
|
1505
|
-
**Permission:** `products/edit`
|
|
1347
|
+
- **Permission:** `products/edit`
|
|
1506
1348
|
|
|
1507
1349
|
#### Parameters
|
|
1508
1350
|
|
|
1509
1351
|
| Parameter | Type | Location | Required | Description |
|
|
1510
|
-
|
|
1352
|
+
| --- | --- | --- | --- | --- |
|
|
1511
1353
|
| `variationId` | integer | path | Yes | The variation ID to configure as a bundle |
|
|
1512
1354
|
| `bundle_child_ids` | array | body | Yes | Array of child variation IDs |
|
|
1513
1355
|
|
|
1514
1356
|
#### Response
|
|
1515
1357
|
|
|
1516
|
-
```
|
|
1358
|
+
```
|
|
1517
1359
|
[true]
|
|
1518
1360
|
```
|
|
1519
1361
|
|
|
1520
1362
|
#### Example
|
|
1521
1363
|
|
|
1522
|
-
```
|
|
1364
|
+
```
|
|
1523
1365
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/save-bundle-info/789" \
|
|
1524
1366
|
-u "username:app_password" \
|
|
1525
1367
|
-H "Content-Type: application/json" \
|
|
@@ -1534,21 +1376,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/save-bundle-in
|
|
|
1534
1376
|
|
|
1535
1377
|
### Get Upgrade Settings
|
|
1536
1378
|
|
|
1537
|
-
|
|
1379
|
+
GET `/fluent-cart/v2/products/{id}/upgrade-paths`
|
|
1538
1380
|
|
|
1539
1381
|
Retrieve all upgrade path configurations for a product.
|
|
1540
1382
|
|
|
1541
|
-
**Permission:** `products/view`
|
|
1383
|
+
- **Permission:** `products/view`
|
|
1542
1384
|
|
|
1543
1385
|
#### Parameters
|
|
1544
1386
|
|
|
1545
1387
|
| Parameter | Type | Location | Required | Description |
|
|
1546
|
-
|
|
1388
|
+
| --- | --- | --- | --- | --- |
|
|
1547
1389
|
| `id` | integer | path | Yes | The product ID |
|
|
1548
1390
|
|
|
1549
1391
|
#### Response
|
|
1550
1392
|
|
|
1551
|
-
```
|
|
1393
|
+
```
|
|
1552
1394
|
{
|
|
1553
1395
|
"data": [ ... ]
|
|
1554
1396
|
}
|
|
@@ -1556,7 +1398,7 @@ Retrieve all upgrade path configurations for a product.
|
|
|
1556
1398
|
|
|
1557
1399
|
#### Example
|
|
1558
1400
|
|
|
1559
|
-
```
|
|
1401
|
+
```
|
|
1560
1402
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/upgrade-paths" \
|
|
1561
1403
|
-u "username:app_password"
|
|
1562
1404
|
```
|
|
@@ -1565,18 +1407,17 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/upgrade-pat
|
|
|
1565
1407
|
|
|
1566
1408
|
### Save Upgrade Path
|
|
1567
1409
|
|
|
1568
|
-
|
|
1410
|
+
POST `/fluent-cart/v2/products/{id}/upgrade-path`
|
|
1569
1411
|
|
|
1570
1412
|
Create a new upgrade path for a product.
|
|
1571
1413
|
|
|
1572
|
-
**Permission:** `products/edit`
|
|
1573
|
-
|
|
1574
|
-
**Request Class:** `UpgradePathSettingRequest`
|
|
1414
|
+
- **Permission:** `products/edit`
|
|
1415
|
+
- **Request Class:** `UpgradePathSettingRequest`
|
|
1575
1416
|
|
|
1576
1417
|
#### Parameters
|
|
1577
1418
|
|
|
1578
1419
|
| Parameter | Type | Location | Required | Description |
|
|
1579
|
-
|
|
1420
|
+
| --- | --- | --- | --- | --- |
|
|
1580
1421
|
| `id` | integer | path | Yes | The product ID |
|
|
1581
1422
|
| `from_variant` | integer | body | Yes | Source variation ID (must exist in `fct_product_variations`) |
|
|
1582
1423
|
| `to_variants` | array | body | Yes | Array of target variation IDs (each must exist in `fct_product_variations`) |
|
|
@@ -1587,7 +1428,7 @@ Create a new upgrade path for a product.
|
|
|
1587
1428
|
|
|
1588
1429
|
#### Response
|
|
1589
1430
|
|
|
1590
|
-
```
|
|
1431
|
+
```
|
|
1591
1432
|
{
|
|
1592
1433
|
"message": "Settings saved successfully"
|
|
1593
1434
|
}
|
|
@@ -1595,7 +1436,7 @@ Create a new upgrade path for a product.
|
|
|
1595
1436
|
|
|
1596
1437
|
#### Example
|
|
1597
1438
|
|
|
1598
|
-
```
|
|
1439
|
+
```
|
|
1599
1440
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/upgrade-path" \
|
|
1600
1441
|
-u "username:app_password" \
|
|
1601
1442
|
-H "Content-Type: application/json" \
|
|
@@ -1610,18 +1451,17 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/upgrade-pa
|
|
|
1610
1451
|
|
|
1611
1452
|
### Update Upgrade Path
|
|
1612
1453
|
|
|
1613
|
-
|
|
1454
|
+
POST `/fluent-cart/v2/products/upgrade-path/{id}/update`
|
|
1614
1455
|
|
|
1615
1456
|
Update an existing upgrade path.
|
|
1616
1457
|
|
|
1617
|
-
**Permission:** `products/edit`
|
|
1618
|
-
|
|
1619
|
-
**Request Class:** `UpgradePathSettingRequest`
|
|
1458
|
+
- **Permission:** `products/edit`
|
|
1459
|
+
- **Request Class:** `UpgradePathSettingRequest`
|
|
1620
1460
|
|
|
1621
1461
|
#### Parameters
|
|
1622
1462
|
|
|
1623
1463
|
| Parameter | Type | Location | Required | Description |
|
|
1624
|
-
|
|
1464
|
+
| --- | --- | --- | --- | --- |
|
|
1625
1465
|
| `id` | integer | path | Yes | The upgrade path ID |
|
|
1626
1466
|
| `from_variant` | integer | body | Yes | Source variation ID |
|
|
1627
1467
|
| `to_variants` | array | body | Yes | Array of target variation IDs |
|
|
@@ -1632,7 +1472,7 @@ Update an existing upgrade path.
|
|
|
1632
1472
|
|
|
1633
1473
|
#### Response
|
|
1634
1474
|
|
|
1635
|
-
```
|
|
1475
|
+
```
|
|
1636
1476
|
{
|
|
1637
1477
|
"message": "Settings updated successfully"
|
|
1638
1478
|
}
|
|
@@ -1640,7 +1480,7 @@ Update an existing upgrade path.
|
|
|
1640
1480
|
|
|
1641
1481
|
#### Example
|
|
1642
1482
|
|
|
1643
|
-
```
|
|
1483
|
+
```
|
|
1644
1484
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/upgrade-path/10/update" \
|
|
1645
1485
|
-u "username:app_password" \
|
|
1646
1486
|
-H "Content-Type: application/json" \
|
|
@@ -1655,21 +1495,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/upgrade-path/1
|
|
|
1655
1495
|
|
|
1656
1496
|
### Delete Upgrade Path
|
|
1657
1497
|
|
|
1658
|
-
|
|
1498
|
+
DELETE `/fluent-cart/v2/products/upgrade-path/{id}/delete`
|
|
1659
1499
|
|
|
1660
1500
|
Delete an upgrade path.
|
|
1661
1501
|
|
|
1662
|
-
**Permission:** `products/delete`
|
|
1502
|
+
- **Permission:** `products/delete`
|
|
1663
1503
|
|
|
1664
1504
|
#### Parameters
|
|
1665
1505
|
|
|
1666
1506
|
| Parameter | Type | Location | Required | Description |
|
|
1667
|
-
|
|
1507
|
+
| --- | --- | --- | --- | --- |
|
|
1668
1508
|
| `id` | integer | path | Yes | The upgrade path ID |
|
|
1669
1509
|
|
|
1670
1510
|
#### Response
|
|
1671
1511
|
|
|
1672
|
-
```
|
|
1512
|
+
```
|
|
1673
1513
|
{
|
|
1674
1514
|
"message": "Path deleted successfully"
|
|
1675
1515
|
}
|
|
@@ -1677,7 +1517,7 @@ Delete an upgrade path.
|
|
|
1677
1517
|
|
|
1678
1518
|
#### Example
|
|
1679
1519
|
|
|
1680
|
-
```
|
|
1520
|
+
```
|
|
1681
1521
|
curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/upgrade-path/10/delete" \
|
|
1682
1522
|
-u "username:app_password"
|
|
1683
1523
|
```
|
|
@@ -1686,22 +1526,22 @@ curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/upgrade-path
|
|
|
1686
1526
|
|
|
1687
1527
|
### Get Variation Upgrade Paths
|
|
1688
1528
|
|
|
1689
|
-
|
|
1529
|
+
GET `/fluent-cart/v2/products/variation/{variantId}/upgrade-paths`
|
|
1690
1530
|
|
|
1691
1531
|
Retrieve available upgrade paths for a specific variation (used in customer-facing upgrade flows).
|
|
1692
1532
|
|
|
1693
|
-
**Permission:** `products/view`
|
|
1533
|
+
- **Permission:** `products/view`
|
|
1694
1534
|
|
|
1695
1535
|
#### Parameters
|
|
1696
1536
|
|
|
1697
1537
|
| Parameter | Type | Location | Required | Description |
|
|
1698
|
-
|
|
1538
|
+
| --- | --- | --- | --- | --- |
|
|
1699
1539
|
| `variantId` | integer | path | Yes | The variation ID |
|
|
1700
1540
|
| `params.order_hash` | string | query | Yes | The order hash to determine applicable upgrades |
|
|
1701
1541
|
|
|
1702
1542
|
#### Response
|
|
1703
1543
|
|
|
1704
|
-
```
|
|
1544
|
+
```
|
|
1705
1545
|
{
|
|
1706
1546
|
"upgradePaths": [ ... ]
|
|
1707
1547
|
}
|
|
@@ -1709,7 +1549,7 @@ Retrieve available upgrade paths for a specific variation (used in customer-faci
|
|
|
1709
1549
|
|
|
1710
1550
|
#### Example
|
|
1711
1551
|
|
|
1712
|
-
```
|
|
1552
|
+
```
|
|
1713
1553
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/variation/456/upgrade-paths?params[order_hash]=abc123" \
|
|
1714
1554
|
-u "username:app_password"
|
|
1715
1555
|
```
|
|
@@ -1718,92 +1558,24 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/variation/456/u
|
|
|
1718
1558
|
|
|
1719
1559
|
## Tax & Shipping Classes
|
|
1720
1560
|
|
|
1721
|
-
### Set Product Tax Exemption
|
|
1722
|
-
|
|
1723
|
-
`POST /fluent-cart/v2/products/{postId}/tax-exempt`
|
|
1724
|
-
|
|
1725
|
-
Set the tax-exempt flag and tax class for an **entire product** — stored on the product detail, not per-variant.
|
|
1726
|
-
|
|
1727
|
-
If `tax_class` is omitted, the product's existing tax class (or `standard`) is kept. The **resolved tax class ID** is stored on the product, not the slug.
|
|
1728
|
-
|
|
1729
|
-
**Permission:** `products/edit`
|
|
1730
|
-
|
|
1731
|
-
#### Parameters
|
|
1732
|
-
|
|
1733
|
-
| Parameter | Type | Location | Required | Description |
|
|
1734
|
-
|-----------|------|----------|----------|-------------|
|
|
1735
|
-
| `postId` | integer | path | Yes | Product post ID |
|
|
1736
|
-
| `tax_exempt` | string | body | No | `yes` or `no`. Defaults to `no` |
|
|
1737
|
-
| `tax_class` | string | body | No | Slug of an existing tax class. Defaults to the current class, or `standard` |
|
|
1738
|
-
|
|
1739
|
-
#### Response
|
|
1740
|
-
|
|
1741
|
-
```json
|
|
1742
|
-
{ "message": "Product is now tax exempt", "tax_exempt": "yes", "tax_class": 1, "tax_class_slug": "standard" }
|
|
1743
|
-
```
|
|
1744
|
-
|
|
1745
|
-
#### Example
|
|
1746
|
-
|
|
1747
|
-
```bash
|
|
1748
|
-
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/tax-exempt" \
|
|
1749
|
-
-u "username:app_password" \
|
|
1750
|
-
-H "Content-Type: application/json" \
|
|
1751
|
-
-d '{"tax_exempt":"yes","tax_class":"standard"}'
|
|
1752
|
-
```
|
|
1753
|
-
|
|
1754
|
-
---
|
|
1755
|
-
|
|
1756
|
-
### Set Variant Tax Exemption
|
|
1757
|
-
|
|
1758
|
-
`POST /fluent-cart/v2/products/variants/{variantId}/tax-exempt`
|
|
1759
|
-
|
|
1760
|
-
Set the tax-exempt flag and tax class for a **single variant**. If `tax_class` is omitted, the variant's existing class (or `standard` if none is set) is kept. The supplied tax class must already exist.
|
|
1761
|
-
|
|
1762
|
-
**Permission:** `products/edit`
|
|
1763
|
-
|
|
1764
|
-
#### Parameters
|
|
1765
|
-
|
|
1766
|
-
| Parameter | Type | Location | Required | Description |
|
|
1767
|
-
|-----------|------|----------|----------|-------------|
|
|
1768
|
-
| `variantId` | integer | path | Yes | Product variation ID |
|
|
1769
|
-
| `tax_exempt` | string | body | No | `yes` or `no`. Defaults to `no` |
|
|
1770
|
-
| `tax_class` | string | body | No | Slug of an existing tax class. Defaults to the current class, or `standard` |
|
|
1771
|
-
|
|
1772
|
-
#### Response
|
|
1773
|
-
|
|
1774
|
-
```json
|
|
1775
|
-
{ "message": "Variation is now tax exempt", "tax_exempt": "yes", "tax_class": "standard", "tax_class_slug": "standard" }
|
|
1776
|
-
```
|
|
1777
|
-
|
|
1778
|
-
#### Example
|
|
1779
|
-
|
|
1780
|
-
```bash
|
|
1781
|
-
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants/456/tax-exempt" \
|
|
1782
|
-
-u "username:app_password" \
|
|
1783
|
-
-H "Content-Type: application/json" \
|
|
1784
|
-
-d '{"tax_exempt":"yes"}'
|
|
1785
|
-
```
|
|
1786
|
-
|
|
1787
|
-
---
|
|
1788
|
-
|
|
1789
1561
|
### Update Tax Class
|
|
1790
1562
|
|
|
1791
|
-
|
|
1563
|
+
POST `/fluent-cart/v2/products/{postId}/tax-class`
|
|
1792
1564
|
|
|
1793
1565
|
Assign a tax class to a product.
|
|
1794
1566
|
|
|
1795
|
-
**Permission:** `products/edit`
|
|
1567
|
+
- **Permission:** `products/edit`
|
|
1796
1568
|
|
|
1797
1569
|
#### Parameters
|
|
1798
1570
|
|
|
1799
1571
|
| Parameter | Type | Location | Required | Description |
|
|
1800
|
-
|
|
1572
|
+
| --- | --- | --- | --- | --- |
|
|
1801
1573
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1802
1574
|
| `tax_class` | integer | body | Yes | Tax class ID |
|
|
1803
1575
|
|
|
1804
1576
|
#### Response
|
|
1805
1577
|
|
|
1806
|
-
```
|
|
1578
|
+
```
|
|
1807
1579
|
{
|
|
1808
1580
|
"message": "Tax Class updated successfully"
|
|
1809
1581
|
}
|
|
@@ -1811,7 +1583,7 @@ Assign a tax class to a product.
|
|
|
1811
1583
|
|
|
1812
1584
|
#### Example
|
|
1813
1585
|
|
|
1814
|
-
```
|
|
1586
|
+
```
|
|
1815
1587
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/tax-class" \
|
|
1816
1588
|
-u "username:app_password" \
|
|
1817
1589
|
-H "Content-Type: application/json" \
|
|
@@ -1822,21 +1594,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/tax-class"
|
|
|
1822
1594
|
|
|
1823
1595
|
### Remove Tax Class
|
|
1824
1596
|
|
|
1825
|
-
|
|
1597
|
+
POST `/fluent-cart/v2/products/{postId}/tax-class/remove`
|
|
1826
1598
|
|
|
1827
1599
|
Remove the assigned tax class from a product.
|
|
1828
1600
|
|
|
1829
|
-
**Permission:** `products/edit`
|
|
1601
|
+
- **Permission:** `products/edit`
|
|
1830
1602
|
|
|
1831
1603
|
#### Parameters
|
|
1832
1604
|
|
|
1833
1605
|
| Parameter | Type | Location | Required | Description |
|
|
1834
|
-
|
|
1606
|
+
| --- | --- | --- | --- | --- |
|
|
1835
1607
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1836
1608
|
|
|
1837
1609
|
#### Response
|
|
1838
1610
|
|
|
1839
|
-
```
|
|
1611
|
+
```
|
|
1840
1612
|
{
|
|
1841
1613
|
"message": "Tax Class removed successfully"
|
|
1842
1614
|
}
|
|
@@ -1844,7 +1616,7 @@ Remove the assigned tax class from a product.
|
|
|
1844
1616
|
|
|
1845
1617
|
#### Example
|
|
1846
1618
|
|
|
1847
|
-
```
|
|
1619
|
+
```
|
|
1848
1620
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/tax-class/remove" \
|
|
1849
1621
|
-u "username:app_password"
|
|
1850
1622
|
```
|
|
@@ -1853,22 +1625,22 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/tax-class/
|
|
|
1853
1625
|
|
|
1854
1626
|
### Update Shipping Class
|
|
1855
1627
|
|
|
1856
|
-
|
|
1628
|
+
POST `/fluent-cart/v2/products/{postId}/shipping-class`
|
|
1857
1629
|
|
|
1858
1630
|
Assign a shipping class to a product.
|
|
1859
1631
|
|
|
1860
|
-
**Permission:** `products/edit`
|
|
1632
|
+
- **Permission:** `products/edit`
|
|
1861
1633
|
|
|
1862
1634
|
#### Parameters
|
|
1863
1635
|
|
|
1864
1636
|
| Parameter | Type | Location | Required | Description |
|
|
1865
|
-
|
|
1637
|
+
| --- | --- | --- | --- | --- |
|
|
1866
1638
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1867
1639
|
| `shipping_class` | integer | body | Yes | Shipping class ID |
|
|
1868
1640
|
|
|
1869
1641
|
#### Response
|
|
1870
1642
|
|
|
1871
|
-
```
|
|
1643
|
+
```
|
|
1872
1644
|
{
|
|
1873
1645
|
"message": "Shipping Class updated successfully"
|
|
1874
1646
|
}
|
|
@@ -1876,7 +1648,7 @@ Assign a shipping class to a product.
|
|
|
1876
1648
|
|
|
1877
1649
|
#### Example
|
|
1878
1650
|
|
|
1879
|
-
```
|
|
1651
|
+
```
|
|
1880
1652
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/shipping-class" \
|
|
1881
1653
|
-u "username:app_password" \
|
|
1882
1654
|
-H "Content-Type: application/json" \
|
|
@@ -1887,21 +1659,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/shipping-c
|
|
|
1887
1659
|
|
|
1888
1660
|
### Remove Shipping Class
|
|
1889
1661
|
|
|
1890
|
-
|
|
1662
|
+
POST `/fluent-cart/v2/products/{postId}/shipping-class/remove`
|
|
1891
1663
|
|
|
1892
1664
|
Remove the assigned shipping class from a product.
|
|
1893
1665
|
|
|
1894
|
-
**Permission:** `products/edit`
|
|
1666
|
+
- **Permission:** `products/edit`
|
|
1895
1667
|
|
|
1896
1668
|
#### Parameters
|
|
1897
1669
|
|
|
1898
1670
|
| Parameter | Type | Location | Required | Description |
|
|
1899
|
-
|
|
1671
|
+
| --- | --- | --- | --- | --- |
|
|
1900
1672
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1901
1673
|
|
|
1902
1674
|
#### Response
|
|
1903
1675
|
|
|
1904
|
-
```
|
|
1676
|
+
```
|
|
1905
1677
|
{
|
|
1906
1678
|
"message": "Shipping Class removed successfully"
|
|
1907
1679
|
}
|
|
@@ -1909,7 +1681,7 @@ Remove the assigned shipping class from a product.
|
|
|
1909
1681
|
|
|
1910
1682
|
#### Example
|
|
1911
1683
|
|
|
1912
|
-
```
|
|
1684
|
+
```
|
|
1913
1685
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/shipping-class/remove" \
|
|
1914
1686
|
-u "username:app_password"
|
|
1915
1687
|
```
|
|
@@ -1920,16 +1692,16 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/shipping-c
|
|
|
1920
1692
|
|
|
1921
1693
|
### Update Inventory
|
|
1922
1694
|
|
|
1923
|
-
|
|
1695
|
+
PUT `/fluent-cart/v2/products/{postId}/update-inventory/{variantId}`
|
|
1924
1696
|
|
|
1925
1697
|
Update stock levels for a specific variant. Automatically updates stock status and product-level availability.
|
|
1926
1698
|
|
|
1927
|
-
**Permission:** `products/edit`
|
|
1699
|
+
- **Permission:** `products/edit`
|
|
1928
1700
|
|
|
1929
1701
|
#### Parameters
|
|
1930
1702
|
|
|
1931
1703
|
| Parameter | Type | Location | Required | Description |
|
|
1932
|
-
|
|
1704
|
+
| --- | --- | --- | --- | --- |
|
|
1933
1705
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1934
1706
|
| `variantId` | integer | path | Yes | The variant ID to update |
|
|
1935
1707
|
| `total_stock` | integer | body | Yes | Total stock quantity |
|
|
@@ -1937,7 +1709,7 @@ Update stock levels for a specific variant. Automatically updates stock status a
|
|
|
1937
1709
|
|
|
1938
1710
|
#### Response
|
|
1939
1711
|
|
|
1940
|
-
```
|
|
1712
|
+
```
|
|
1941
1713
|
{
|
|
1942
1714
|
"message": "Inventory updated successfully"
|
|
1943
1715
|
}
|
|
@@ -1945,7 +1717,7 @@ Update stock levels for a specific variant. Automatically updates stock status a
|
|
|
1945
1717
|
|
|
1946
1718
|
#### Example
|
|
1947
1719
|
|
|
1948
|
-
```
|
|
1720
|
+
```
|
|
1949
1721
|
curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/123/update-inventory/456" \
|
|
1950
1722
|
-u "username:app_password" \
|
|
1951
1723
|
-H "Content-Type: application/json" \
|
|
@@ -1959,22 +1731,22 @@ curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/123/update-inve
|
|
|
1959
1731
|
|
|
1960
1732
|
### Update Manage Stock Setting
|
|
1961
1733
|
|
|
1962
|
-
|
|
1734
|
+
PUT `/fluent-cart/v2/products/{postId}/update-manage-stock`
|
|
1963
1735
|
|
|
1964
1736
|
Enable or disable stock management for a product and all its variants.
|
|
1965
1737
|
|
|
1966
|
-
**Permission:** `products/edit`
|
|
1738
|
+
- **Permission:** `products/edit`
|
|
1967
1739
|
|
|
1968
1740
|
#### Parameters
|
|
1969
1741
|
|
|
1970
1742
|
| Parameter | Type | Location | Required | Description |
|
|
1971
|
-
|
|
1743
|
+
| --- | --- | --- | --- | --- |
|
|
1972
1744
|
| `postId` | integer | path | Yes | The product post ID |
|
|
1973
1745
|
| `manage_stock` | integer | body | Yes | `1` to enable, `0` to disable stock management |
|
|
1974
1746
|
|
|
1975
1747
|
#### Response
|
|
1976
1748
|
|
|
1977
|
-
```
|
|
1749
|
+
```
|
|
1978
1750
|
{
|
|
1979
1751
|
"message": "Manage stock updated successfully"
|
|
1980
1752
|
}
|
|
@@ -1982,7 +1754,7 @@ Enable or disable stock management for a product and all its variants.
|
|
|
1982
1754
|
|
|
1983
1755
|
#### Example
|
|
1984
1756
|
|
|
1985
|
-
```
|
|
1757
|
+
```
|
|
1986
1758
|
curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/123/update-manage-stock" \
|
|
1987
1759
|
-u "username:app_password" \
|
|
1988
1760
|
-H "Content-Type: application/json" \
|
|
@@ -1995,18 +1767,17 @@ curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/123/update-mana
|
|
|
1995
1767
|
|
|
1996
1768
|
### Sync Downloadable Files
|
|
1997
1769
|
|
|
1998
|
-
|
|
1770
|
+
POST `/fluent-cart/v2/products/{postId}/sync-downloadable-files`
|
|
1999
1771
|
|
|
2000
1772
|
Attach multiple downloadable files to a product. Automatically enables the `manage_downloadable` flag.
|
|
2001
1773
|
|
|
2002
|
-
**Permission:** `products/edit`
|
|
2003
|
-
|
|
2004
|
-
**Validation Class:** `ProductDownloadableBulkFileRequest`
|
|
1774
|
+
- **Permission:** `products/edit`
|
|
1775
|
+
- **Validation Class:** `ProductDownloadableBulkFileRequest`
|
|
2005
1776
|
|
|
2006
1777
|
#### Parameters
|
|
2007
1778
|
|
|
2008
1779
|
| Parameter | Type | Location | Required | Description |
|
|
2009
|
-
|
|
1780
|
+
| --- | --- | --- | --- | --- |
|
|
2010
1781
|
| `postId` | integer | path | Yes | The product post ID |
|
|
2011
1782
|
| `downloadable_files` | array | body | Yes | Array of downloadable file objects |
|
|
2012
1783
|
| `downloadable_files.*.title` | string | body | Yes | File title (max 160 chars) |
|
|
@@ -2024,7 +1795,7 @@ Attach multiple downloadable files to a product. Automatically enables the `mana
|
|
|
2024
1795
|
|
|
2025
1796
|
#### Response
|
|
2026
1797
|
|
|
2027
|
-
```
|
|
1798
|
+
```
|
|
2028
1799
|
{
|
|
2029
1800
|
"downloadable_files": [
|
|
2030
1801
|
{
|
|
@@ -2042,7 +1813,7 @@ Attach multiple downloadable files to a product. Automatically enables the `mana
|
|
|
2042
1813
|
|
|
2043
1814
|
#### Example
|
|
2044
1815
|
|
|
2045
|
-
```
|
|
1816
|
+
```
|
|
2046
1817
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/sync-downloadable-files" \
|
|
2047
1818
|
-u "username:app_password" \
|
|
2048
1819
|
-H "Content-Type: application/json" \
|
|
@@ -2070,18 +1841,17 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/sync-downl
|
|
|
2070
1841
|
|
|
2071
1842
|
### Update Downloadable File
|
|
2072
1843
|
|
|
2073
|
-
|
|
1844
|
+
PUT `/fluent-cart/v2/products/{downloadableId}/update`
|
|
2074
1845
|
|
|
2075
1846
|
Update an existing downloadable file record.
|
|
2076
1847
|
|
|
2077
|
-
**Permission:** `products/edit`
|
|
2078
|
-
|
|
2079
|
-
**Validation Class:** `ProductDownloadableFileRequest`
|
|
1848
|
+
- **Permission:** `products/edit`
|
|
1849
|
+
- **Validation Class:** `ProductDownloadableFileRequest`
|
|
2080
1850
|
|
|
2081
1851
|
#### Parameters
|
|
2082
1852
|
|
|
2083
1853
|
| Parameter | Type | Location | Required | Description |
|
|
2084
|
-
|
|
1854
|
+
| --- | --- | --- | --- | --- |
|
|
2085
1855
|
| `downloadableId` | integer | path | Yes | The downloadable file ID |
|
|
2086
1856
|
| `title` | string | body | Yes | File title (max 100 chars) |
|
|
2087
1857
|
| `type` | string | body | Yes | File type (max 100 chars) |
|
|
@@ -2095,7 +1865,7 @@ Update an existing downloadable file record.
|
|
|
2095
1865
|
|
|
2096
1866
|
#### Response
|
|
2097
1867
|
|
|
2098
|
-
```
|
|
1868
|
+
```
|
|
2099
1869
|
{
|
|
2100
1870
|
"message": "Product downloadable files updated successfully"
|
|
2101
1871
|
}
|
|
@@ -2103,7 +1873,7 @@ Update an existing downloadable file record.
|
|
|
2103
1873
|
|
|
2104
1874
|
#### Example
|
|
2105
1875
|
|
|
2106
|
-
```
|
|
1876
|
+
```
|
|
2107
1877
|
curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/789/update" \
|
|
2108
1878
|
-u "username:app_password" \
|
|
2109
1879
|
-H "Content-Type: application/json" \
|
|
@@ -2123,21 +1893,21 @@ curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/789/update" \
|
|
|
2123
1893
|
|
|
2124
1894
|
### Delete Downloadable File
|
|
2125
1895
|
|
|
2126
|
-
|
|
1896
|
+
DELETE `/fluent-cart/v2/products/{downloadableId}/delete`
|
|
2127
1897
|
|
|
2128
1898
|
Delete a downloadable file record.
|
|
2129
1899
|
|
|
2130
|
-
**Permission:** `products/delete`
|
|
1900
|
+
- **Permission:** `products/delete`
|
|
2131
1901
|
|
|
2132
1902
|
#### Parameters
|
|
2133
1903
|
|
|
2134
1904
|
| Parameter | Type | Location | Required | Description |
|
|
2135
|
-
|
|
1905
|
+
| --- | --- | --- | --- | --- |
|
|
2136
1906
|
| `downloadableId` | integer | path | Yes | The downloadable file ID |
|
|
2137
1907
|
|
|
2138
1908
|
#### Response
|
|
2139
1909
|
|
|
2140
|
-
```
|
|
1910
|
+
```
|
|
2141
1911
|
{
|
|
2142
1912
|
"message": "File deleted successfully"
|
|
2143
1913
|
}
|
|
@@ -2145,7 +1915,7 @@ Delete a downloadable file record.
|
|
|
2145
1915
|
|
|
2146
1916
|
#### Example
|
|
2147
1917
|
|
|
2148
|
-
```
|
|
1918
|
+
```
|
|
2149
1919
|
curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/789/delete" \
|
|
2150
1920
|
-u "username:app_password"
|
|
2151
1921
|
```
|
|
@@ -2154,21 +1924,21 @@ curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/789/delete"
|
|
|
2154
1924
|
|
|
2155
1925
|
### Get Downloadable URL
|
|
2156
1926
|
|
|
2157
|
-
|
|
1927
|
+
GET `/fluent-cart/v2/products/getDownloadableUrl/{downloadableId}`
|
|
2158
1928
|
|
|
2159
1929
|
Generate a temporary download URL for a downloadable file (valid for 7 days).
|
|
2160
1930
|
|
|
2161
|
-
**Permission:** `products/view`
|
|
1931
|
+
- **Permission:** `products/view`
|
|
2162
1932
|
|
|
2163
1933
|
#### Parameters
|
|
2164
1934
|
|
|
2165
1935
|
| Parameter | Type | Location | Required | Description |
|
|
2166
|
-
|
|
1936
|
+
| --- | --- | --- | --- | --- |
|
|
2167
1937
|
| `downloadableId` | integer | path | Yes | The downloadable file ID |
|
|
2168
1938
|
|
|
2169
1939
|
#### Response
|
|
2170
1940
|
|
|
2171
|
-
```
|
|
1941
|
+
```
|
|
2172
1942
|
{
|
|
2173
1943
|
"url": "https://example.com/fluent-cart/download?token=..."
|
|
2174
1944
|
}
|
|
@@ -2176,7 +1946,7 @@ Generate a temporary download URL for a downloadable file (valid for 7 days).
|
|
|
2176
1946
|
|
|
2177
1947
|
#### Example
|
|
2178
1948
|
|
|
2179
|
-
```
|
|
1949
|
+
```
|
|
2180
1950
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/getDownloadableUrl/789" \
|
|
2181
1951
|
-u "username:app_password"
|
|
2182
1952
|
```
|
|
@@ -2187,21 +1957,21 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/getDownloadable
|
|
|
2187
1957
|
|
|
2188
1958
|
### List Product Variations
|
|
2189
1959
|
|
|
2190
|
-
|
|
1960
|
+
GET `/fluent-cart/v2/products/variants`
|
|
2191
1961
|
|
|
2192
1962
|
Retrieve a list of product variations.
|
|
2193
1963
|
|
|
2194
|
-
**Permission:** `products/view`
|
|
1964
|
+
- **Permission:** `products/view`
|
|
2195
1965
|
|
|
2196
1966
|
#### Parameters
|
|
2197
1967
|
|
|
2198
1968
|
| Parameter | Type | Location | Required | Description |
|
|
2199
|
-
|
|
1969
|
+
| --- | --- | --- | --- | --- |
|
|
2200
1970
|
| `params` | object | query | No | Query parameters for filtering variations |
|
|
2201
1971
|
|
|
2202
1972
|
#### Response
|
|
2203
1973
|
|
|
2204
|
-
```
|
|
1974
|
+
```
|
|
2205
1975
|
{
|
|
2206
1976
|
"variants": [ ... ]
|
|
2207
1977
|
}
|
|
@@ -2209,7 +1979,7 @@ Retrieve a list of product variations.
|
|
|
2209
1979
|
|
|
2210
1980
|
#### Example
|
|
2211
1981
|
|
|
2212
|
-
```
|
|
1982
|
+
```
|
|
2213
1983
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/variants" \
|
|
2214
1984
|
-u "username:app_password"
|
|
2215
1985
|
```
|
|
@@ -2218,18 +1988,17 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/variants" \
|
|
|
2218
1988
|
|
|
2219
1989
|
### Create Variation
|
|
2220
1990
|
|
|
2221
|
-
|
|
1991
|
+
POST `/fluent-cart/v2/products/variants`
|
|
2222
1992
|
|
|
2223
1993
|
Create a new product variation.
|
|
2224
1994
|
|
|
2225
|
-
**Permission:** `products/create`
|
|
2226
|
-
|
|
2227
|
-
**Request Class:** `ProductVariationRequest`
|
|
1995
|
+
- **Permission:** `products/create`
|
|
1996
|
+
- **Request Class:** `ProductVariationRequest`
|
|
2228
1997
|
|
|
2229
1998
|
#### Parameters
|
|
2230
1999
|
|
|
2231
2000
|
| Parameter | Type | Location | Required | Description |
|
|
2232
|
-
|
|
2001
|
+
| --- | --- | --- | --- | --- |
|
|
2233
2002
|
| `variants.post_id` | integer | body | Yes | Parent product ID |
|
|
2234
2003
|
| `variants.variation_title` | string | body | Yes | Variation title (max 200 chars) |
|
|
2235
2004
|
| `variants.sku` | string | body | No | SKU (max 30 chars, must be unique) |
|
|
@@ -2259,7 +2028,7 @@ Create a new product variation.
|
|
|
2259
2028
|
|
|
2260
2029
|
#### Response
|
|
2261
2030
|
|
|
2262
|
-
```
|
|
2031
|
+
```
|
|
2263
2032
|
{
|
|
2264
2033
|
"variant": {
|
|
2265
2034
|
"id": 460,
|
|
@@ -2275,7 +2044,7 @@ Create a new product variation.
|
|
|
2275
2044
|
|
|
2276
2045
|
#### Example
|
|
2277
2046
|
|
|
2278
|
-
```
|
|
2047
|
+
```
|
|
2279
2048
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants" \
|
|
2280
2049
|
-u "username:app_password" \
|
|
2281
2050
|
-H "Content-Type: application/json" \
|
|
@@ -2301,25 +2070,24 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants" \
|
|
|
2301
2070
|
|
|
2302
2071
|
### Update Variation
|
|
2303
2072
|
|
|
2304
|
-
|
|
2073
|
+
POST `/fluent-cart/v2/products/variants/{variantId}`
|
|
2305
2074
|
|
|
2306
2075
|
Update an existing product variation.
|
|
2307
2076
|
|
|
2308
|
-
**Permission:** `products/edit`
|
|
2309
|
-
|
|
2310
|
-
**Request Class:** `ProductVariationRequest`
|
|
2077
|
+
- **Permission:** `products/edit`
|
|
2078
|
+
- **Request Class:** `ProductVariationRequest`
|
|
2311
2079
|
|
|
2312
2080
|
#### Parameters
|
|
2313
2081
|
|
|
2314
2082
|
| Parameter | Type | Location | Required | Description |
|
|
2315
|
-
|
|
2083
|
+
| --- | --- | --- | --- | --- |
|
|
2316
2084
|
| `variantId` | integer | path | Yes | The variation ID to update |
|
|
2317
2085
|
|
|
2318
|
-
All body parameters are the same as Create Variation.
|
|
2086
|
+
All body parameters are the same as [Create Variation](#create-variation).
|
|
2319
2087
|
|
|
2320
2088
|
#### Response
|
|
2321
2089
|
|
|
2322
|
-
```
|
|
2090
|
+
```
|
|
2323
2091
|
{
|
|
2324
2092
|
"variant": { ... },
|
|
2325
2093
|
"message": "Variation updated successfully"
|
|
@@ -2328,7 +2096,7 @@ All body parameters are the same as Create Variation.
|
|
|
2328
2096
|
|
|
2329
2097
|
#### Example
|
|
2330
2098
|
|
|
2331
|
-
```
|
|
2099
|
+
```
|
|
2332
2100
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants/460" \
|
|
2333
2101
|
-u "username:app_password" \
|
|
2334
2102
|
-H "Content-Type: application/json" \
|
|
@@ -2354,21 +2122,21 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants/460"
|
|
|
2354
2122
|
|
|
2355
2123
|
### Delete Variation
|
|
2356
2124
|
|
|
2357
|
-
|
|
2125
|
+
DELETE `/fluent-cart/v2/products/variants/{variantId}`
|
|
2358
2126
|
|
|
2359
2127
|
Delete a product variation.
|
|
2360
2128
|
|
|
2361
|
-
**Permission:** `products/delete`
|
|
2129
|
+
- **Permission:** `products/delete`
|
|
2362
2130
|
|
|
2363
2131
|
#### Parameters
|
|
2364
2132
|
|
|
2365
2133
|
| Parameter | Type | Location | Required | Description |
|
|
2366
|
-
|
|
2134
|
+
| --- | --- | --- | --- | --- |
|
|
2367
2135
|
| `variantId` | integer | path | Yes | The variation ID to delete |
|
|
2368
2136
|
|
|
2369
2137
|
#### Response
|
|
2370
2138
|
|
|
2371
|
-
```
|
|
2139
|
+
```
|
|
2372
2140
|
{
|
|
2373
2141
|
"message": "Variation deleted successfully"
|
|
2374
2142
|
}
|
|
@@ -2376,7 +2144,7 @@ Delete a product variation.
|
|
|
2376
2144
|
|
|
2377
2145
|
#### Example
|
|
2378
2146
|
|
|
2379
|
-
```
|
|
2147
|
+
```
|
|
2380
2148
|
curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/variants/460" \
|
|
2381
2149
|
-u "username:app_password"
|
|
2382
2150
|
```
|
|
@@ -2385,16 +2153,16 @@ curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/variants/460
|
|
|
2385
2153
|
|
|
2386
2154
|
### Set Variation Media
|
|
2387
2155
|
|
|
2388
|
-
|
|
2156
|
+
POST `/fluent-cart/v2/products/variants/{variantId}/setMedia`
|
|
2389
2157
|
|
|
2390
2158
|
Set media/images for a variation.
|
|
2391
2159
|
|
|
2392
|
-
**Permission:** `products/edit`
|
|
2160
|
+
- **Permission:** `products/edit`
|
|
2393
2161
|
|
|
2394
2162
|
#### Parameters
|
|
2395
2163
|
|
|
2396
2164
|
| Parameter | Type | Location | Required | Description |
|
|
2397
|
-
|
|
2165
|
+
| --- | --- | --- | --- | --- |
|
|
2398
2166
|
| `variantId` | integer | path | Yes | The variation ID |
|
|
2399
2167
|
| `media` | array | body | Yes | Array of media objects |
|
|
2400
2168
|
| `media.*.id` | integer | body | Yes | WordPress attachment ID |
|
|
@@ -2403,7 +2171,7 @@ Set media/images for a variation.
|
|
|
2403
2171
|
|
|
2404
2172
|
#### Response
|
|
2405
2173
|
|
|
2406
|
-
```
|
|
2174
|
+
```
|
|
2407
2175
|
{
|
|
2408
2176
|
"message": "Media set successfully"
|
|
2409
2177
|
}
|
|
@@ -2411,7 +2179,7 @@ Set media/images for a variation.
|
|
|
2411
2179
|
|
|
2412
2180
|
#### Example
|
|
2413
2181
|
|
|
2414
|
-
```
|
|
2182
|
+
```
|
|
2415
2183
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants/460/setMedia" \
|
|
2416
2184
|
-u "username:app_password" \
|
|
2417
2185
|
-H "Content-Type: application/json" \
|
|
@@ -2430,22 +2198,22 @@ curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/variants/460/s
|
|
|
2430
2198
|
|
|
2431
2199
|
### Update Variation Pricing Table
|
|
2432
2200
|
|
|
2433
|
-
|
|
2201
|
+
PUT `/fluent-cart/v2/products/variants/{variantId}/pricing-table`
|
|
2434
2202
|
|
|
2435
2203
|
Update the pricing table description for a variation.
|
|
2436
2204
|
|
|
2437
|
-
**Permission:** `products/edit`
|
|
2205
|
+
- **Permission:** `products/edit`
|
|
2438
2206
|
|
|
2439
2207
|
#### Parameters
|
|
2440
2208
|
|
|
2441
2209
|
| Parameter | Type | Location | Required | Description |
|
|
2442
|
-
|
|
2210
|
+
| --- | --- | --- | --- | --- |
|
|
2443
2211
|
| `variantId` | integer | path | Yes | The variation ID |
|
|
2444
2212
|
| `description` | string | body | Yes | Pricing table description text (newlines preserved) |
|
|
2445
2213
|
|
|
2446
2214
|
#### Response
|
|
2447
2215
|
|
|
2448
|
-
```
|
|
2216
|
+
```
|
|
2449
2217
|
{
|
|
2450
2218
|
"message": "Pricing table updated successfully"
|
|
2451
2219
|
}
|
|
@@ -2453,7 +2221,7 @@ Update the pricing table description for a variation.
|
|
|
2453
2221
|
|
|
2454
2222
|
#### Example
|
|
2455
2223
|
|
|
2456
|
-
```
|
|
2224
|
+
```
|
|
2457
2225
|
curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/variants/460/pricing-table" \
|
|
2458
2226
|
-u "username:app_password" \
|
|
2459
2227
|
-H "Content-Type: application/json" \
|
|
@@ -2468,23 +2236,24 @@ curl -X PUT "https://example.com/wp-json/fluent-cart/v2/products/variants/460/pr
|
|
|
2468
2236
|
|
|
2469
2237
|
### List All Variants
|
|
2470
2238
|
|
|
2471
|
-
|
|
2239
|
+
GET `/fluent-cart/v2/variants`
|
|
2472
2240
|
|
|
2473
2241
|
Retrieve all product variations across all products (separate route group using `VariantController`).
|
|
2474
2242
|
|
|
2475
|
-
**Permission:** `products/view`
|
|
2476
|
-
|
|
2477
|
-
**Policy:** `ProductPolicy`
|
|
2243
|
+
- **Permission:** `products/view`
|
|
2244
|
+
- **Policy:** `ProductPolicy`
|
|
2478
2245
|
|
|
2479
2246
|
#### Parameters
|
|
2480
2247
|
|
|
2481
2248
|
| Parameter | Type | Location | Required | Description |
|
|
2482
|
-
|
|
2249
|
+
| --- | --- | --- | --- | --- |
|
|
2483
2250
|
| `params` | object | query | No | Query parameters for filtering |
|
|
2484
2251
|
|
|
2485
2252
|
#### Response
|
|
2486
2253
|
|
|
2487
|
-
|
|
2254
|
+
Returns an array of all product variation objects.
|
|
2255
|
+
|
|
2256
|
+
```
|
|
2488
2257
|
[
|
|
2489
2258
|
{
|
|
2490
2259
|
"id": 456,
|
|
@@ -2501,7 +2270,7 @@ Retrieve all product variations across all products (separate route group using
|
|
|
2501
2270
|
|
|
2502
2271
|
#### Example
|
|
2503
2272
|
|
|
2504
|
-
```
|
|
2273
|
+
```
|
|
2505
2274
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/variants" \
|
|
2506
2275
|
-u "username:app_password"
|
|
2507
2276
|
```
|
|
@@ -2512,21 +2281,21 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/variants" \
|
|
|
2512
2281
|
|
|
2513
2282
|
### Get Product Integration Feeds
|
|
2514
2283
|
|
|
2515
|
-
|
|
2284
|
+
GET `/fluent-cart/v2/products/{productId}/integrations`
|
|
2516
2285
|
|
|
2517
2286
|
Retrieve all integration feeds configured for a product, along with available integrations.
|
|
2518
2287
|
|
|
2519
|
-
**Permission:** `products/view`
|
|
2288
|
+
- **Permission:** `products/view`
|
|
2520
2289
|
|
|
2521
2290
|
#### Parameters
|
|
2522
2291
|
|
|
2523
2292
|
| Parameter | Type | Location | Required | Description |
|
|
2524
|
-
|
|
2293
|
+
| --- | --- | --- | --- | --- |
|
|
2525
2294
|
| `productId` | integer | path | Yes | The product ID |
|
|
2526
2295
|
|
|
2527
2296
|
#### Response
|
|
2528
2297
|
|
|
2529
|
-
```
|
|
2298
|
+
```
|
|
2530
2299
|
{
|
|
2531
2300
|
"feeds": [
|
|
2532
2301
|
{
|
|
@@ -2552,7 +2321,7 @@ Retrieve all integration feeds configured for a product, along with available in
|
|
|
2552
2321
|
|
|
2553
2322
|
#### Example
|
|
2554
2323
|
|
|
2555
|
-
```
|
|
2324
|
+
```
|
|
2556
2325
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/integrations" \
|
|
2557
2326
|
-u "username:app_password"
|
|
2558
2327
|
```
|
|
@@ -2561,23 +2330,23 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/integration
|
|
|
2561
2330
|
|
|
2562
2331
|
### Get Product Integration Settings
|
|
2563
2332
|
|
|
2564
|
-
|
|
2333
|
+
GET `/fluent-cart/v2/products/{product_id}/integrations/{integration_name}/settings`
|
|
2565
2334
|
|
|
2566
2335
|
Retrieve settings for a specific integration type on a product. Returns the integration form configuration, existing settings, and product variations.
|
|
2567
2336
|
|
|
2568
|
-
**Permission:** `products/view`
|
|
2337
|
+
- **Permission:** `products/view`
|
|
2569
2338
|
|
|
2570
2339
|
#### Parameters
|
|
2571
2340
|
|
|
2572
2341
|
| Parameter | Type | Location | Required | Description |
|
|
2573
|
-
|
|
2342
|
+
| --- | --- | --- | --- | --- |
|
|
2574
2343
|
| `product_id` | integer | path | Yes | The product ID |
|
|
2575
2344
|
| `integration_name` | string | path | Yes | Integration provider name (e.g., `fluentcrm`) |
|
|
2576
2345
|
| `integration_id` | integer | query | No | Existing integration feed ID to load for editing |
|
|
2577
2346
|
|
|
2578
2347
|
#### Response
|
|
2579
2348
|
|
|
2580
|
-
```
|
|
2349
|
+
```
|
|
2581
2350
|
{
|
|
2582
2351
|
"settings": {
|
|
2583
2352
|
"conditional_variation_ids": [],
|
|
@@ -2596,7 +2365,7 @@ Retrieve settings for a specific integration type on a product. Returns the inte
|
|
|
2596
2365
|
|
|
2597
2366
|
#### Example
|
|
2598
2367
|
|
|
2599
|
-
```
|
|
2368
|
+
```
|
|
2600
2369
|
curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/integrations/fluentcrm/settings" \
|
|
2601
2370
|
-u "username:app_password"
|
|
2602
2371
|
```
|
|
@@ -2605,16 +2374,16 @@ curl -X GET "https://example.com/wp-json/fluent-cart/v2/products/123/integration
|
|
|
2605
2374
|
|
|
2606
2375
|
### Save Product Integration
|
|
2607
2376
|
|
|
2608
|
-
|
|
2377
|
+
POST `/fluent-cart/v2/products/{product_id}/integrations`
|
|
2609
2378
|
|
|
2610
2379
|
Create or update an integration feed for a product.
|
|
2611
2380
|
|
|
2612
|
-
**Permission:** `products/edit`
|
|
2381
|
+
- **Permission:** `products/edit`
|
|
2613
2382
|
|
|
2614
2383
|
#### Parameters
|
|
2615
2384
|
|
|
2616
2385
|
| Parameter | Type | Location | Required | Description |
|
|
2617
|
-
|
|
2386
|
+
| --- | --- | --- | --- | --- |
|
|
2618
2387
|
| `product_id` | integer | path | Yes | The product ID |
|
|
2619
2388
|
| `integration_name` | string | body | Yes | Integration provider name |
|
|
2620
2389
|
| `integration_id` | integer | body | No | Existing feed ID (for updates) |
|
|
@@ -2622,76 +2391,95 @@ Create or update an integration feed for a product.
|
|
|
2622
2391
|
|
|
2623
2392
|
#### Response
|
|
2624
2393
|
|
|
2625
|
-
```
|
|
2394
|
+
```
|
|
2626
2395
|
{
|
|
2627
2396
|
"message": "Integration has been successfully saved",
|
|
2628
|
-
"
|
|
2397
|
+
"integration_id": 10,
|
|
2398
|
+
"integration_name": "fluentcrm",
|
|
2399
|
+
"created": true,
|
|
2400
|
+
"feedData": { ... }
|
|
2629
2401
|
}
|
|
2630
2402
|
```
|
|
2631
2403
|
|
|
2632
2404
|
#### Example
|
|
2633
2405
|
|
|
2634
|
-
```
|
|
2406
|
+
```
|
|
2635
2407
|
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/integrations" \
|
|
2636
2408
|
-u "username:app_password" \
|
|
2637
2409
|
-H "Content-Type: application/json" \
|
|
2638
2410
|
-d '{
|
|
2639
2411
|
"integration_name": "fluentcrm",
|
|
2640
|
-
"integration": "{\"list_id\":
|
|
2412
|
+
"integration": "{\"name\":\"Add to List\",\"list_id\":1,\"enabled\":\"yes\"}"
|
|
2641
2413
|
}'
|
|
2642
2414
|
```
|
|
2643
2415
|
|
|
2644
2416
|
---
|
|
2645
2417
|
|
|
2646
|
-
###
|
|
2418
|
+
### Delete Product Integration
|
|
2647
2419
|
|
|
2648
|
-
|
|
2420
|
+
DELETE `/fluent-cart/v2/products/{product_id}/integrations/{integration_id}`
|
|
2649
2421
|
|
|
2650
|
-
|
|
2422
|
+
Delete a product integration feed.
|
|
2651
2423
|
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2424
|
+
- **Permission:** `products/delete`
|
|
2425
|
+
|
|
2426
|
+
#### Parameters
|
|
2427
|
+
|
|
2428
|
+
| Parameter | Type | Location | Required | Description |
|
|
2429
|
+
| --- | --- | --- | --- | --- |
|
|
2430
|
+
| `product_id` | integer | path | Yes | The product ID |
|
|
2431
|
+
| `integration_id` | integer | path | Yes | The integration feed ID to delete |
|
|
2432
|
+
|
|
2433
|
+
#### Response
|
|
2434
|
+
|
|
2435
|
+
```
|
|
2436
|
+
{
|
|
2437
|
+
"message": "Integration deleted successfully"
|
|
2438
|
+
}
|
|
2663
2439
|
```
|
|
2664
2440
|
|
|
2665
|
-
|
|
2441
|
+
#### Example
|
|
2442
|
+
|
|
2443
|
+
```
|
|
2444
|
+
curl -X DELETE "https://example.com/wp-json/fluent-cart/v2/products/123/integrations/10" \
|
|
2445
|
+
-u "username:app_password"
|
|
2446
|
+
```
|
|
2666
2447
|
|
|
2667
2448
|
---
|
|
2668
2449
|
|
|
2669
|
-
###
|
|
2450
|
+
### Change Integration Status
|
|
2670
2451
|
|
|
2671
|
-
|
|
2452
|
+
POST `/fluent-cart/v2/products/{product_id}/integrations/feed/change-status`
|
|
2672
2453
|
|
|
2673
|
-
|
|
2454
|
+
Enable or disable a product integration feed.
|
|
2674
2455
|
|
|
2675
|
-
**Permission:** `products/
|
|
2456
|
+
- **Permission:** `products/edit`
|
|
2676
2457
|
|
|
2677
2458
|
#### Parameters
|
|
2678
2459
|
|
|
2679
2460
|
| Parameter | Type | Location | Required | Description |
|
|
2680
|
-
|
|
2461
|
+
| --- | --- | --- | --- | --- |
|
|
2681
2462
|
| `product_id` | integer | path | Yes | The product ID |
|
|
2682
|
-
| `
|
|
2463
|
+
| `notification_id` | integer | body | Yes | The integration feed ID |
|
|
2464
|
+
| `status` | string | body | Yes | `yes` to enable, `no` to disable |
|
|
2683
2465
|
|
|
2684
2466
|
#### Response
|
|
2685
2467
|
|
|
2686
|
-
```
|
|
2468
|
+
```
|
|
2687
2469
|
{
|
|
2688
|
-
"message": "Integration has been
|
|
2470
|
+
"message": "Integration status has been updated"
|
|
2689
2471
|
}
|
|
2690
2472
|
```
|
|
2691
2473
|
|
|
2692
2474
|
#### Example
|
|
2693
2475
|
|
|
2694
|
-
```
|
|
2695
|
-
curl -X
|
|
2696
|
-
-u "username:app_password"
|
|
2476
|
+
```
|
|
2477
|
+
curl -X POST "https://example.com/wp-json/fluent-cart/v2/products/123/integrations/feed/change-status" \
|
|
2478
|
+
-u "username:app_password" \
|
|
2479
|
+
-H "Content-Type: application/json" \
|
|
2480
|
+
-d '{
|
|
2481
|
+
"product_id": 123,
|
|
2482
|
+
"notification_id": 10,
|
|
2483
|
+
"status": "yes"
|
|
2484
|
+
}'
|
|
2697
2485
|
```
|