Applications
The Sleekshop API allows you to interact with installed applications through specific API calls. This is useful for extending the functionality of your shop by integrating with third-party applications or custom modules.
Application API Call
This endpoint allows you to send API requests to installed applications. It requires specifying the application name, the request to be performed, and any necessary arguments for the application's API.
Required attributes
- Name
application
- Type
- string
- Description
The name of the application you want to interact with.
- Name
app_request
- Type
- string
- Description
The specific request you want to perform within the application.
- Name
args
- Type
- json-array
- Description
A JSON array containing the arguments you want to pass to the application's API. The structure of this array depends on the application and the specific request being made.
- Name
licence_username
- Type
- string
- Description
Your licence username.
- Name
licence_password
- Type
- string
- Description
Your licence password.
Request
curl https://demo.sleekshop.net/srv/service/ \
-d licence_username='demo_NBSqhrcrhMci15Ir9UWI' \
-d licence_password='s9vmrbwT23B7bmjR4Vmz' \
-d request='application_api_call' \
-d application='brevo' \
-d app_request='send_mail' \
-d args='{"sender_mail":"test@test.de"}'
Response
{
"object": "application_api_call",
"status": "success"
}
Important Notes
Make sure that the application you are trying to communicate with is configured correctly to interact with Sleekshop. Specifically, the application must implement the API endpoint using the correct URL structure. If your installation route is appdomain.de/install.php
, the endpoint URL for the application must be appdomain.de/srv/service/
.