Nexlogiq WooCommerce icon

Nexlogiq WooCommerce

Consume WooCommerce API (Nexlogiq Edition)

Product → Get

AI-generated

Summary

Retrieve details of a specific WooCommerce product by its product ID from the specified store.

Inputs

  • Store URL (required) — The URL of the WooCommerce store to access.
  • Consumer Key (required) — API consumer key for authenticating with the WooCommerce store.
  • Consumer Secret (required) — API consumer secret for authenticating with the WooCommerce store.
  • Product ID (required) — The ID of the product to retrieve from the WooCommerce store.

Output shape

A single JSON object representing the product's details as returned by the WooCommerce API.

Requires a valid product ID to return product details. Throws an error if the product ID is missing or invalid.

Examples

Example 1: Get a product by ID

Specify store URL, consumer key, consumer secret, and the product ID to fetch the product details.

Links

Discussion