Dukan icon

Dukan

Interact with the Dukan API

Store Coupon → Get By Code

AI-generated

Summary

Retrieve details of a specific store coupon by its coupon code from the Dukan API.

Inputs

  • Coupon Code (required) — The coupon code to look up.
  • Force Custom Auth Header — Optionally use a custom API key from this node instead of the configured Dukan credentials.
  • Custom API Key — API key to send when Force Custom Auth Header is enabled.
  • Force Custom Base URL — Optionally use a custom Base URL from this node instead of the Base URL in the credentials.
  • Custom Base URL — Base URL to use for API requests instead of the Base URL from the credentials (excluding the /v1/external suffix).
  • Request Options — Additional HTTP request options including batching, ignoring SSL issues, proxy, and timeout.

Output shape

a single store coupon's detailed data object

Returns full coupon details as received from the API, or an error if the coupon code is not found or request fails.

Examples

Example 1: Getting coupon details by code

Set 'Coupon Code' to the desired coupon code string. Optionally override API authentication or base URL settings as needed.

Links

Discussion