Okay
  Public Ticket #3474269
API required when developing local applications
Closed

Comments

  • Kurban started the conversation

    We are starting to develop a mobile application based on the website. The developer will work in FlutterFlow and requires an API to connect the mobile application with the website and specifically the seller’s personal account based on your solution. The mobile application will be developed separately for sellers and for users. The same mobile application that will be developed for sellers must have permission to access all the data of your plugin and for this we need an api or a similar solution so that the application can access the seller’s data. I hope you understand the essence of what I'm talking about and are able to provide a solution to this problem?

  •  2,131
    WebWizards replied

    Hello Kurban,


    In MarketKing, all seller and user data is stored in default WordPress database tables (as user meta data, post meta data, options etc). All data can therefore be accessed with the standard WP REST API.


    For example, for sellers:

    - The store name of the vendor is held in the user meta key: "marketking_store_name"

    - The store URL of the vendor is held in the user meta key: "marketking_store_url"

    - The products of a seller are normal WooCommerce products, with the "post_author" field set to the seller's user ID.


    All data should be accessible with the WP API. If you (or the developer you're working with) find any data that you are not able to access, just let us know and we will provide information.

    Likewise, if you need any specific guidance on a specific feature or data, just let us know,


    Kind regards,

    Stefan