Actions65
- Order Actions
- Product Actions
- Store Shipping Account Actions
- Delivery Companies API Actions
- Team User Actions
- Store Actions
- State Actions
- Stop Desk Actions
- City Or Municipality Actions
- Store Client Actions
- Store Coupon Actions
- Store Pro Stock Actions
Store Pro Stock → Update
AI-generatedSummary
Update a Store Pro Stock variable identified by its stock_variable_id with specified fields such as SKU, image URL, whitelist settings, and deletion status.
Inputs
- stock_variable_id (required) — The MongoDB ObjectId of the stock variable to update.
- useJson — Set to true to provide update payload as raw JSON object string rather than individual fields.
- json — JSON string representing the update data. Valid optional fields include sku (string), image_url (string), limitAllowedStoresWhiteList (boolean), allowedStoresWhiteList (array of ObjectId strings), and isDeleted (boolean). Only applies if useJson is true.
- additionalFields — Collection of optional fields to update when useJson is false, including sku, image_url, limitAllowedStoresWhiteList, allowedStoresWhiteList (JSON array string), and isDeleted.
- forceCustomAuth — Whether to override configured credentials and use a custom API key specified in this node for authentication.
- customApiKey — Custom API key to use for authentication if forceCustomAuth is true.
- forceCustomBaseUrl — Whether to override the base URL from credentials and use a custom base URL specified in this node.
- customBaseUrl — Custom Base URL to use for the API request if forceCustomBaseUrl is true; should exclude the '/v1/external' suffix.
Output shape
a single updated stock variable record as returned by the Dukan API
Input data can be sent either as parsed JSON payload (if useJson is true) or constructed from individual additionalFields parameters. The node supports optional batching and request options like proxy, timeout, and SSL validation control. Authentication and base URL can be overridden per node execution when needed.