Optional
Readonly
channelSet this field if this Price is only valid for the referenced ProductDistribution
Channel.
Optional
Readonly
countrySet this field if this Price is only valid for the specified country.
Optional
Readonly
customCustom Fields for the Price.
Optional
Readonly
customerSet this field if this Price is only valid for the referenced CustomerGroup.
Optional
Readonly
discountedSet this field to add a DiscountedPrice from an external service.
Otherwise, Composable Commerce sets this field automatically if at least one [ProductDiscount](ctp:api:type:ProductDiscount) applies.
The DiscountedPrice must reference a ProductDiscount with:
* The `isActive` flag set to `true`.
* A [ProductDiscountValue](ctp:api:type:ProductDiscountValueExternal) of type `external`.
* A `predicate` that matches the [ProductVariant](ctp:api:type:ProductVariant) the Price is referenced from.
Optional
Readonly
keyUser-defined identifier for the Price. It must be unique per ProductVariant.
Optional
Readonly
tiersSet this field to specify different Prices for certain LineItem quantities.
If `discounted` is set, the tiered Price is ignored for a Product Variant.
Optional
Readonly
validSet this field if this Price is only valid from the specified date and time. Must be at least 1 ms earlier than validUntil
.
Optional
Readonly
validSet this field if this Price is only valid until the specified date and time. Must be at least 1 ms later than validFrom
. Prices that are no longer valid are not automatically removed, but they can be removed if necessary.
Readonly
valueMoney value of this Price.
The draft representation for prices to be embedded into ProductVariantDrafts when the ProductPriceMode is
Embedded
. For theStandalone
ProductPriceMode use StandalonePriceDraft.