Related API: This extension modifies the Get Price List operation.
| Action Type | Embedded |
|---|---|
| Full Action ID | embedded.commerce.catalog.storefront.products.getPriceListHierachy |
| Runs multiple custom functions? | No |
JavaScript File Structure
Action files share the following basic structure:callback—This argument follows the established JavaScript callback pattern: it takes an error as the first argument (or null if there is no error) and a result as the second argument (if required).
context—This argument provides the function access to relevant objects and methods that interface with Kibo eCommerce.
Context: PriceList
The methods and objects documented here are available to this action through the use of thecontext argument.
Microservice OperationThis action corresponds to the microservice that gets a price list.
Get
context.get.priceListHierarchy()
Returns an array of the current price list hierarchy based on the context.
Example:
Context Objects Available to All Actions
apiContext
Accesses Kibo eCommerce tenant information.
Example:
configuration
Receives a JSON response that contains information about the configuration data set in the Action Management JSON editor.
Example:

