Actions32
- Analytics Actions
- Batch Actions
- Customer Actions
- Order Actions
- Product Actions
- Purchase Actions
- Raw Request Actions
- System Actions
- Vendor Actions
- WhatsApp Actions
Product → Get Product
AI-generatedSummary
Fetches a single product from a VitePOS site through the VitePOS Bridge REST API (vtab/v1), using its product record ID.
Inputs
- Product ID (required) — ID of the product to retrieve. It is inserted into the request path as GET /wp-json/vtab/v1/products/{id}. The same field is also used by Update Product.
Output shape
One JSON item per input item. It holds the bridge API's product response fields, plus a leading human-readable response string such as "Product 123 loaded."
If the API response already contains a
responsekey, or isn't an object, the original is placed underrawinstead. If the API returns status/success false,responsecarries its message. With Continue On Fail enabled, a failed item outputs{ error: message }. Requests authenticate with the viteposBridgeApi credential, and the site URL comes from that credential.
Examples
Example 1: Look up a product by ID that came from an earlier step, such as a webhook or a product list.
Resource: Product; Operation: Get Product; Product ID: {{ $json.product_id }}
Example 2: Check a product's current details before updating it.
Resource: Product; Operation: Get Product; Product ID: 42, then feed the output to an IF or Update Product node.