> For the complete documentation index, see [llms.txt](https://docs.driffle.com/driffle-seller-api-legacy/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.driffle.com/driffle-seller-api-legacy/reference/automate-pricing.md).

# Automate Pricing

The Automate Pricing feature allows sellers to automatically adjust their offer prices based on market conditions and competitor pricing. This feature is available through three main API endpoints:   [Create a new offer](/driffle-seller-api-legacy/reference/api-reference/offers-auction/create-a-new-offer.md),  [Update Offer](/driffle-seller-api-legacy/reference/api-reference/offers-auction/update-offer.md) and [Update Offer Price](/driffle-seller-api-legacy/reference/api-reference/offers-auction/update-offer-price.md).

### Feature Description <a href="#feature-description" id="feature-description"></a>

Automate Pricing enables sellers to:

* Set price limits (lower and upper bounds)
* Define price change factors and intervals
* Automatically adjust prices based on market conditions
* Enable/disable automation for individual offers

#### How This Feature Works&#x20;

Let’s understand how **Automate Pricing** works with a simple example:

**Example Scenario:**\
You lists a product priced at **€10.00** and wants the system to adjust the price automatically based on competitors.

**Configuration:**

```json
{
  "lowerPriceLimit": 8.00,
  "upperPriceLimit": 12.00,
  "priceChangeFactor": 0.02,
  "priceChangeInterval": 300,
  "automatePriceStatus": "enable"
}
```

**Explanation:**

* Your price will **never go below €8.00** or **above €12.00**.
* Every **5 minutes (300 seconds)**, the system checks **current market prices** for the same product.
* **If competitors drop their prices**, the system reduces your price by **€0.02** until either:
  * It becomes the **lowest among all active offers**, or&#x20;
  * It reaches your **lower price limit**, **ensuring you maximize your profit**.
* **If competitors increase their prices**, the system raises your price by **€0.02**&#x20;
  * **Keep your offer as the lowest in the market** to remain competitive.
  * **Increase your price toward your upper limit**, **maximizing your profit**.
* The automation continues automatically as long as `"automatePriceStatus": "enable"`.
* You can **stop price automation anytime** by setting `"automatePriceStatus": "disable"`.

For more details, check out our [Quick Guide Video](https://www.youtube.com/watch?v=E25vD55TA_M).

**AutomatePriceOptions Parameters**

| Parameter             | Type   | Required | Description                                   | Constraints                                                   |
| --------------------- | ------ | -------- | --------------------------------------------- | ------------------------------------------------------------- |
| `lowerPriceLimit`     | number | Yes      | Minimum price the offer can reach             | 0.1 ≤ value < 3000                                            |
| `upperPriceLimit`     | number | Yes      | Maximum price the offer can reach             | 0.1 ≤ value < 3000, must be > lowerPriceLimit                 |
| `priceChangeFactor`   | number | Yes      | Factor by which price changes (€)             | 0.01 ≤ value ≤ 500                                            |
| `priceChangeInterval` | number | Yes      | Time interval between price changes (seconds) | Must be one of: `300`, `900,` `1800`, `3600`, `7200`, `14400` |
| `automatePriceStatus` | string | Yes      | Enable or disable automation                  | `enable` or `disable` (default: `enable`)                     |

### Validation Rules <a href="#validation-rules" id="validation-rules"></a>

#### Price Limits <a href="#price-limits" id="price-limits"></a>

* `lowerPriceLimit`: Must be between 0.1 and 3000 (exclusive)
* `upperPriceLimit`: Must be between 0.1 and 3000 (exclusive)
* `upperPriceLimit` must be greater than `lowerPriceLimit`

#### Price Change Factor <a href="#price-change-factor" id="price-change-factor"></a>

* Must be between €0.01 and €500 (inclusive)&#x20;
* Suggested values: `€0.01`,  `€0.02`,  `€0.03`
* Represents the percentage by which price can change

#### Price Change Interval <a href="#price-change-interval" id="price-change-interval"></a>

* Must be one of the following values (in seconds):
  * `300` (5 minutes)
  * `900` (15 minutes)
  * `1800` (30 minutes)
  * `3600` (1 hour)
  * `7200` (2 hours)
  * `14400` (4 hours)

#### Automate Price Status <a href="#automate-price-status" id="automate-price-status"></a>

* Must be either `enable` or  `disable`&#x20;
