docs: added guide on how to get product variant prices (#8282)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-07-26 10:09:41 +03:00
1 parent 639ecdfd74
commit ebd290b531
5 files changed
+125 -6

No files matched your search

@@ -60,7 +60,7 @@ Both prices are returned in an object along with the following properties:
{
name: "calculated_amount",
type: "`number`",
description: "The amount of the calculated price, or `null` if there isn't a calculated price."
description: "The amount of the calculated price, or `null` if there isn't a calculated price. This is the amount shown to the customer."
},
{
name: "is_original_price_price_list",
@@ -70,7 +70,7 @@ Both prices are returned in an object along with the following properties:
{
name: "original_amount",
type: "`number`",
description: "The amount of the original price, or `null` if there isn't an original price."
description: "The amount of the original price, or `null` if there isn't an original price. This amount is useful to compare with the `calculated_amount`, such as to check for discounted value."
},
{
name: "currency_code",
@@ -105,7 +105,7 @@ Both prices are returned in an object along with the following properties:
{
name: "price_list_type",
type: "`string`",
description: "The price list's type."
description: "The price list's type. For example, `sale`."
},
{
name: "min_quantity",
@@ -137,7 +137,7 @@ Both prices are returned in an object along with the following properties:
{
name: "price_list_type",
type: "`string`",
description: "The price list's type."
description: "The price list's type. For example, `sale`."
},
{
name: "min_quantity",