> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ShippingMethodPriceConstraints

> Bounds a shipping method's sold price must stay within.

<ResponseField name="absoluteMinimumPrice" type="Float">
  Floor applied after the relative bound: the effective minimum is the greater of this and the referenced price plus `byAtLeast`. Present only on 'RELATIVE\_TO\_OTHER\_RATE\_TABLE' constraints, and omitted when unset.
</ResponseField>

<ResponseField name="byAtLeast" type={<a href="/docs/api-reference/v3/reference/checkout/shipping-method-price-inequality">ShippingMethodPriceInequality</a>}>
  How far above the referenced method's price this method must sit. Present only on 'RELATIVE\_TO\_OTHER\_RATE\_TABLE' constraints, and omitted when unset.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type="Float">
      Absolute amount of the bound. Omitted when unset.
    </ResponseField>

    <ResponseField name="percentage" type="Float">
      Percentage form of the bound. Omitted when unset.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="byAtMost" type={<a href="/docs/api-reference/v3/reference/checkout/shipping-method-price-inequality">ShippingMethodPriceInequality</a>}>
  How far above the referenced method's price this method may sit. Present only on 'RELATIVE\_TO\_OTHER\_RATE\_TABLE' constraints, and omitted when unset.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type="Float">
      Absolute amount of the bound. Omitted when unset.
    </ResponseField>

    <ResponseField name="percentage" type="Float">
      Percentage form of the bound. Omitted when unset.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="currency" type="String!" required>
  Currency all bounds are expressed in.
</ResponseField>

<ResponseField name="kind" type={<a href="/docs/api-reference/v3/reference/checkout/shipping-method-price-constraint-kind">ShippingMethodPriceConstraintKind!</a>} required>
  How the bounds are expressed: 'DEFAULT' bounds the price absolutely, 'RELATIVE\_TO\_OTHER\_RATE\_TABLE' bounds it against another shipping method's price.
</ResponseField>

<ResponseField name="marginAtLeast" type={<a href="/docs/api-reference/v3/reference/checkout/shipping-method-price-inequality">ShippingMethodPriceInequality</a>}>
  Suggested lower margin bound. Omitted when no lower margin bound is set.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type="Float">
      Absolute amount of the bound. Omitted when unset.
    </ResponseField>

    <ResponseField name="percentage" type="Float">
      Percentage form of the bound. Omitted when unset.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="marginAtMost" type={<a href="/docs/api-reference/v3/reference/checkout/shipping-method-price-inequality">ShippingMethodPriceInequality</a>}>
  Suggested upper margin bound. Omitted when no upper margin bound is set.

  <Expandable title="fields" lazyRender>
    <ResponseField name="amount" type="Float">
      Absolute amount of the bound. Omitted when unset.
    </ResponseField>

    <ResponseField name="percentage" type="Float">
      Percentage form of the bound. Omitted when unset.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="maxPrice" type="Float">
  Highest price this method may be sold at. Present only on 'DEFAULT' constraints, and omitted when no upper bound is set.
</ResponseField>

<ResponseField name="minPrice" type="Float">
  Lowest price this method may be sold at. Present only on 'DEFAULT' constraints, and omitted when no lower bound is set.
</ResponseField>

<ResponseField name="relativeToMethodId" type="ID">
  ID of the shipping method this method's price is bounded against. Matches the `id` of another method in this same response. Present only on 'RELATIVE\_TO\_OTHER\_RATE\_TABLE' constraints.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.