To configure and customize your service plugin, you need to provide important details in the plugin.json
configuration file.
If you created your service plugin extension with the CLI, required fields are automatically populated for you.
Required. Base URI where the endpoints are called.
Wix appends the endpoint path to the base URI. For example, to call the Get Eligible Triggers endpoint at https://my-discount-app.com/v1/getEligibleTriggers
, the base URI you provide here is https://my-discount-app.com/
.
Lists all custom triggers provided by your service plugin integration.
This method is automatically called by Wix eCommerce to populate the custom minimum requirements section of an automatic discount.