Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WC Settings API #27363

Open
WPprodigy opened this issue Mar 3, 2018 · 1 comment
Open

WC Settings API #27363

WPprodigy opened this issue Mar 3, 2018 · 1 comment
Labels
focus: rest api Issues related to WooCommerce REST API. focus: settings Issues related to managing settings. plugin: woocommerce Issues related to the WooCommerce Core plugin. priority: normal The issue/PR is of normal priority—not many people are affected or there’s a workaround, etc. team: Proton WC Core development and maintenance type: enhancement The issue is a request for an enhancement.

Comments

@WPprodigy
Copy link
Member

Settings API

Currently, WC settings are declared for each individual settings page first, then some are added to the API using filters.

This is a proposal to reverse that, and declare all the settings first for the REST API.

Goal:

Create a full settings API for WooCommerce that contains all of the core settings.

Along with the benefits listed below, this also helps prevent the current problem of moving settings causing un-intended API changes: #18669

Future Use:

  1. The settings endpoints can then power the settings screens in WC core.

  2. Plugins can add settings to these screens through the API, allowing plugins to maintain a single settings codebase for both WP Admin and Store on .com.

  3. Create a settings importer/exporter: Import/Export all shop settings #13089

TODO:

Design/create the Schema

@claudiosanches claudiosanches transferred this issue from woocommerce/wc-api-dev Oct 4, 2019
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label type: feature request to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@vedanshujain vedanshujain transferred this issue from woocommerce/woocommerce-rest-api Aug 17, 2020
@vedanshujain vedanshujain added type: enhancement The issue is a request for an enhancement. focus: rest api Issues related to WooCommerce REST API. labels Aug 17, 2020
@ObliviousHarmony ObliviousHarmony added the plugin: woocommerce Issues related to the WooCommerce Core plugin. label Feb 21, 2022
@rrennick rrennick added focus: settings Issues related to managing settings. team: Proton WC Core development and maintenance labels Oct 31, 2023
@barryhughes barryhughes added the priority: normal The issue/PR is of normal priority—not many people are affected or there’s a workaround, etc. label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus: rest api Issues related to WooCommerce REST API. focus: settings Issues related to managing settings. plugin: woocommerce Issues related to the WooCommerce Core plugin. priority: normal The issue/PR is of normal priority—not many people are affected or there’s a workaround, etc. team: Proton WC Core development and maintenance type: enhancement The issue is a request for an enhancement.
Projects
Status: Core enhancements
Development

No branches or pull requests

5 participants