- A predefined OpenAPI schema for Lightspeed
- Authentication through the Lightspeed BaseURL
- The required Lightspeed API endpoint
- A health check configuration
Set up the action
- Go to Actions in Watermelon.
- In the Actions catalog, click Custom action.
- Click Create new Action.
- Fill in the fields below.
General details
Action nameLightspeed Order status Retrieval
DescriptionThis action lets you get status information from your orders and use it in your chatbot when customers ask for it.
BaseURLhttps://api-key:api-secret@api.webshopapp.com/language/
Replace:
api-keywith your Lightspeed API keyapi-secretwith your Lightspeed API secretlanguagewith the language used by your Lightspeed store
Authentication
For Authorization Header, select No auth. No additional authentication fields are required, because the API credentials are included in the BaseURL.Health check
Health check URLhttps://www.yourdomain.com/health_check
Replace this URL with the health check endpoint you want Watermelon to use.
Instruction
You should respond with the following message or a similar variation: Sorry, something went wrong on our end. Can I assist you with anything else? Please let me know how I can help.
Schema
Paste the Lightspeed schema into the Schema field:Example in Watermelon


