Dukan icon

Dukan

Interact with the Dukan API

Product → Get One Product

AI-generated

Summary

Retrieve detailed information about a single product from the Dukan API using its MongoDB ObjectId.

Inputs

  • Product ID (required) — The MongoDB ObjectId of the product to retrieve.
  • Force Custom Auth Header — When enabled, uses a provided custom API key instead of the default credentials.
  • Custom API Key — The API key to use if Force Custom Auth Header is enabled.
  • Force Custom Base URL — When enabled, overrides the base URL from the credentials with a custom URL for this request.
  • Custom Base URL — The custom base URL (excluding the /v1/external suffix) to use for API requests if Force Custom Base URL is enabled.
  • Request Options — Advanced HTTP request options such as batching, proxy, SSL certificate handling, and timeout.

Output shape

a single product record object with detailed fields as returned by the Dukan API.

The operation returns the product data that corresponds exactly to the specified Product ID. Authentication and base URL can be overridden per request using the optional parameters. Request options like timeout, proxy, or SSL validation affect the network request.

Examples

Example 1: Retrieve a product by its MongoDB ObjectId

Set the Product ID field with the target product's ObjectId. Use default credentials unless specific custom authentication or base URL are necessary.

Links

Discussion