Actions37
- Orders Actions
- Offers Actions
- Products Actions
- Inventory Actions
- Messages Actions
- Shipping Actions
- Promotions Actions
- Returns Actions
Orders → Accept Order
AI-generatedOverview
This node operation accepts pending order lines in the Superpharm marketplace. It is used to confirm and accept specific lines within an order, typically after reviewing the order details. This is useful in scenarios where a seller needs to acknowledge and approve parts of an order before processing further steps like shipping or invoicing.
Use Case Examples
- Accepting specific lines of a customer's order after verifying stock availability.
- Confirming partial acceptance of an order when some items are out of stock.
Properties
| Name | Meaning |
|---|---|
| Credentials | Select the Superpharm API credentials to authenticate the request. |
| Order ID | The unique identifier of the order to accept lines for. |
| Order Lines Data | A JSON array specifying which order lines to accept and their acceptance status. |
| Query Options | Optional parameters for filtering, pagination, sorting, locale, and shop context. |
| Advanced Options | Additional options such as returning the full API response, handling rate limiting, and request timeout. |
Output
JSON
json- The response from the Superpharm API after accepting the order lines. This can be either the full response or the parsed data depending on the 'Return Full Response' option.
Dependencies
- Superpharm API credentials for authentication
- SyncaService for API interaction
Troubleshooting
- Ensure the 'Order ID' is correct and corresponds to an existing order.
- Validate the 'Order Lines Data' JSON format and content to match expected API schema.
- Check API credentials are valid and have necessary permissions.
- If rate limiting errors occur, verify if 'Handle Rate Limiting' is enabled to retry automatically.
- Timeout errors can be mitigated by increasing the 'Request Timeout' value in advanced options.
Links
- Synca Superpharm API Documentation - Official documentation for the Synca Superpharm integration.