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

# shippingAiExperienceResults

> One checkout experience's AI shipping results per shipping method: checkouts by shipping price and shipping margin by order value, as lifetime totals since it launched. Expensive: it runs warehouse queries. Null if the checkout experience doesn't exist.

**Required scopes:** [`checkout_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-checkout_read)

**Store must have one of:** `CHECKOUT_OPTIMIZATION`

## Arguments

**checkoutExperienceId** `ID!` *required*

The checkout experience's id.

## Returns

**shippingAiExperienceResults** `[ShippingAiExperienceResults](/docs/api-reference/v3/reference/checkout/shipping-ai-experience-results)`

One checkout experience's AI shipping results per shipping method, as lifetime totals since it launched.

**fields**

**methods** `[\[ShippingAiMethodResults!\]!](/docs/api-reference/v3/reference/checkout/shipping-ai-method-results)` *required*

One entry per shipping method with data, ordered by `shippingMethodId`.

**fields**

**checkoutsByShippingPrice** `[\[ShippingAiPriceBucket!\]!](/docs/api-reference/v3/reference/checkout/shipping-ai-price-bucket)` *required*

Successful shipping prices: checkouts per price bucket.

**fields**

**checkouts** `Float!` *required*

Checkouts at a shipping price in this bucket.

**shippingPrice** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

The lower edge of the price bucket.

**marginByOrderValue** `[\[ShippingAiMarginPoint!\]!](/docs/api-reference/v3/reference/checkout/shipping-ai-margin-point)` *required*

Shipping margin by cart value.

**fields**

**orderValue** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

The order value.

**shippingMargin** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

The shipping margin at this order value.

**name** `String`

The method's merchant-facing name. Null when the method no longer exists on the experience.

**shippingMethodId** `ID!` *required*

The shipping method's id, the same id `checkoutExperience` returns for its methods.

## Example

```graphql theme={null}
query {
  shippingAiExperienceResults(checkoutExperienceId: "...")
}
```


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