---
schema_version: "1"
id: a5aad955634df0c283a17fc7b8f85aedd86f57fb3a2f65f6fcbca12cd3480c3f
title: Commerce Repricing API
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/lwc/components/lightning/commerceRepricingApi/lightning-commerce-repricing-api.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/lightning-commerce-repricing-api.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: aa3b8bf8ff24fafdc5147c073cc8a8d9ffa3a440cadada5f24feaa5682da9efa
products:
  - Lightning Component Reference
---
# Commerce Repricing API

**`lightning/commerceRepricingApi`**

Retrieve pricing and product details for Order Management repricing scenarios using the `lightning/commerceRepricingApi` module. The `lightning/commerceRepricingApi` module requires API version 62.0 or later.

**For Use In**

Lightning Experience, Experience Builder Sites, Salesforce Mobile App

::::::tabset{tabs='[ "Develop", "Specifications" ]'}

:::::tab
The `lightning/commerceRepricingApi` module includes wire adapters to retrieve pricing and product details for Order Management repricing scenarios.

To use the Commerce Repricing API in your component, import the wire adapters in your component's JavaScript file.

```js
import { productDetails, searchProducts } from "lightning/commerceRepricingApi";
```

For this module's specification and examples, see the [Lightning Web Components Developer Guide](https://developer.salesforce.com/docs/platform/lwc/guide/reference-lightning-commerce-repricing-api.html).

:::::

:::::tab
::component-specification{component="commerceRepricingApi" model="lwc" namespace="lightning"}

:::::

::::::
