Actions37
- Orders Actions
- Offers Actions
- Products Actions
- Inventory Actions
- Messages Actions
- Shipping Actions
- Promotions Actions
- Returns Actions
Promotions → Create Promotion
AI-generatedOverview
This node operation creates a new promotional campaign in the Superpharm Marketplace API. It is useful for marketing teams or e-commerce managers who want to automate the creation of promotions to boost sales or highlight special offers. For example, a user can input JSON data defining the promotion details such as discount rates, applicable products, and campaign duration, and the node will send this data to the Superpharm API to create the promotion.
Use Case Examples
- Creating a seasonal discount campaign for selected products.
- Launching a limited-time promotional offer to increase customer engagement.
Properties
| Name | Meaning |
|---|---|
| Credentials | Select the Superpharm API credentials to use for authentication. |
| Data | JSON data containing the details of the promotion to be created. |
| Query Options | Optional parameters to control pagination, sorting, locale, and shop context for the API request. |
| Advanced Options | Additional options to control the API request behavior such as returning the full response, handling rate limiting, and setting request timeout. |
Output
JSON
json- The JSON response from the Superpharm API after creating the promotion, containing the promotion details or status.
Dependencies
- Superpharm API credentials for authentication
Troubleshooting
- Common issues include invalid or missing credentials, malformed JSON data in the 'Data' property, and network timeouts.
- Error messages from the API will be logged and can include rate limit errors (429), which the node can optionally retry automatically if 'Handle Rate Limiting' is enabled.
- Timeout errors can occur if the request takes longer than the specified 'Request Timeout' value; increasing this value may help.
Links
- Synca Superpharm API Documentation - Official documentation for the Synca Superpharm node and API usage.