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

# PostPurchaseFlowCheck

> What publishing a post-purchase flow would do.

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

**diagnostics** `[\[PostPurchaseFlowDiagnostic!\]!](/docs/api-reference/v3/reference/checkout/post-purchase-flow-diagnostic)` *required*

Problems in the flow.

**fields**

**blocks** `[PostPurchaseFlowDiagnosticBlocks!](/docs/api-reference/v3/reference/checkout/post-purchase-flow-diagnostic-blocks)` *required*

What it stops.

**code** `String!` *required*

A stable code.

**message** `String!` *required*

What is wrong.

**stepId** `String`

The step it is on; null for the flow as a whole.

**risks** `[\[PostPurchaseFlowRisk!\]!](/docs/api-reference/v3/reference/checkout/post-purchase-flow-risk)` *required*

The consequences of publishing it. Empty while a diagnostic blocks it.

**fields**

**code** `[PostPurchaseFlowRiskCode!](/docs/api-reference/v3/reference/checkout/post-purchase-flow-risk-code)` *required*

What kind of consequence.

**message** `String!` *required*

What happens.

**splitIds** `[String!]!` *required*

The stored A/B tests it concerns.


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