VitePOS Bridge icon

VitePOS Bridge

Use VitePOS automation bridge and analytics APIs

Product → Get Product

AI-generated

Summary

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 response key, or isn't an object, the original is placed under raw instead. If the API returns status/success false, response carries 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.

Links

Discussion