# Adjustments

Adjustments are arbitrary objects that can be used to change the total amount of an order by any value, either greater or lower than zero.

To add an adjustment to an order, you first need to create the adjustment and then create a line item that references it.

Unless you set the `distribute_discount` attribute to `false` (default is `true`) at the single adjustment level, negative adjustment amounts are distributed as discounts on all the [taxable items](/core-api-reference/orders.md#taxable-items) of the order based on the ratio between the line item amount and the sum of the amounts of all the line items involved.

{% hint style="info" %}
For negative adjustment amounts to be effective, they must be added to an order that already has a total amount greater than zero (i.e. after having added one or more line items of type `skus` and/or `bundles`).
{% endhint %}

{% hint style="warning" %}
Negative adjustment amounts are applied **before** any kind of [promotion](/core-api-reference/promotions.md) and/or [gift cards](/core-api-reference/gift_cards.md) used to pay for the associated order (e.g. if you add an adjustment that brings the total order amount to zero, no promotion will have any effect).
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.commercelayer.io/core-api-reference/adjustments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
