> ## 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.

# ShippingMethodPriceConstraintsInput

> Bounds the final price this method may be sold at, after every other pricing rule has run. Omit to leave the method's existing constraint untouched; send one to replace it outright. There is no way to clear a constraint through this API.

<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`. 'RELATIVE\_TO\_OTHER\_RATE\_TABLE' constraints only.
</ResponseField>

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

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

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

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

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

    <ResponseField name="percentage" type="Float">
      Percentage form of the bound. Omit 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-input">ShippingMethodPriceInequalityInput</a>}>
  Suggested lower margin bound. Omit when there is none.

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

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

<ResponseField name="marginAtMost" type={<a href="/docs/api-reference/v3/reference/checkout/shipping-method-price-inequality-input">ShippingMethodPriceInequalityInput</a>}>
  Suggested upper margin bound. Omit when there is none.

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

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

<ResponseField name="maxPrice" type="Float">
  Highest price this method may be sold at. 'DEFAULT' constraints only.
</ResponseField>

<ResponseField name="minPrice" type="Float">
  Lowest price this method may be sold at. 'DEFAULT' constraints only.
</ResponseField>

<ResponseField name="relativeToMethodId" type="ID">
  ID of the shipping method this method's price is bounded against, from the same checkout experience. Required for, and only valid on, 'RELATIVE\_TO\_OTHER\_RATE\_TABLE' constraints.
</ResponseField>


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