Product document for one slug — the frontend's read model; all prices are Woo-computed display values.
const url = 'https://wp.si.nutrisslim.com/wp-json/nf/v1/products/example';const options = {method: 'GET', headers: {'X-NF-Key': '<X-NF-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://wp.si.nutrisslim.com/wp-json/nf/v1/products/example \ --header 'X-NF-Key: <X-NF-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Responses
Section titled “Responses”OK
object
WooCommerce product type, e.g. simple, variable, nutrisslim
Money envelope (ADR-017): integer minor units plus a currency descriptor, never a float and never a formatted string. Amounts are tax-inclusive display values - WooCommerce computes money, the frontend only formats it (Invariant 2).
object
The currency descriptor half of the money envelope (ADR-017). Stated once per pricing block; every amount alongside it is an integer in this currency’s minor units.
object
ISO 4217 code, e.g. EUR, HUF.
Decimal places the minor unit has - EUR 2, HUF 0. Nothing may assume 100 minor units per currency unit.
The regular unit price - before any sale price and before any tier discount - tax inclusive, in currency.minor_unit units. 1290 with EUR/2 is 12.90 EUR. For a bundle it is the rows at their regular prices.
The quantity-1 discounted unit price, tax inclusive, same units as regular; null when no discount applies to a single unit - a bundle (type nutrisslim) whose tier-1 percentage is 0, or any other product not on a Woo sale.
object
Quantity-tier pricing (ADR-017): every amount is an integer in currency.minor_unit units, tax inclusive. tiers always carries the quantity-1 row; the quantity-2 row is present only when a tier-2 discount percentage is stored on the product, and the quantity-3 row only when tier 3 is stored - a tier that is not configured is omitted rather than repeating tier 1’s numbers.
object
The currency descriptor half of the money envelope (ADR-017). Stated once per pricing block; every amount alongside it is an integer in this currency’s minor units.
object
ISO 4217 code, e.g. EUR, HUF.
Decimal places the minor unit has - EUR 2, HUF 0. Nothing may assume 100 minor units per currency unit.
object
The discounted unit price for this tier, tax inclusive.
Unit x quantity.
The regular unit price (before sale and tier), tax inclusive - same for every tier.
Regular_unit x quantity.
The percentage applied at this tier; 0 when no discount applies.
The bundle’s fixed composition when type is nutrisslim; null for every other product type.
object
object
Example
{ "stock_status": "instock", "pricing": { "tiers": [ { "quantity": 1 } ] }}Missing or invalid X-NF-Key.
object
Examplegenerated
{ "code": "example", "message": "example"}Not found.
object
Examplegenerated
{ "code": "example", "message": "example"}