MenuClose

JSON API Plugin

The JSON API plugin lets developers access and update your website data using JSON. It also supports webhooks, which trigger actions in other systems when specific events happen on your website.

How to add the plugin

  1. Click E-commerce in the left menu.
  2. Scroll down to the Plugins section and find JSONAPI.
  3. Click the + button to add the plugin, then confirm the addition.

Plugin settings

Open the plugin settings to configure and enable the API. The page shows your API ID and API Key.

  • Authorised User: the user the API acts as.
  • Developer Name: the name of the person building against the API.
  • Developer Email: how to contact the developer.
  • Webhook Error Email: where webhook error messages are sent.
  • Developer Notes: space for your own notes about the connection.
  • OAuth Applications: list the Client IDs and Redirect URIs for apps that connect with OAuth.

How responses work

If a request fails to authenticate, the API returns an error message in JSON. For most GET requests with a primary ID, a single JSON object is returned, otherwise an array is returned. An empty array means no match was found.

How to remove the plugin

Open the plugin settings and click the red Remove Plugin button at the bottom of the page.

Index Previous Next