- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
retrievePricePreference - Pricing Module Reference
This documentation provides a reference to the retrievePricePreference
method. This belongs to the Pricing Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
This method is used to retrieve a price preference by its ID.
Example#
A simple example that retrieves a price preference by its ID:
Parameters#
id
stringThe ID of the price preference to retrieve.
The configurations determining how the price preference is retrieved. Its properties, such as select
or relations
, accept the
attributes or relations associated with a price preference.
select
or relations
, accept the
attributes or relations associated with a price preference.Returns#
Promise
Promise<PricePreferenceDTO>The retrieved price preference.
Promise
Promise<PricePreferenceDTO>Was this page helpful?