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

# PostPurchaseFlowStep

> One step of the post-purchase flow.

**id** `String!` *required*

The step's id. Publishing gives every step a new one.

**segment** `[PostPurchaseSegment](/docs/api-reference/v3/reference/checkout/post-purchase-segment)`

Which orders a SEGMENT step matches.

**fields**

**blocks** `[\[PostPurchaseSegmentBlock!\]!](/docs/api-reference/v3/reference/checkout/post-purchase-segment-block)` *required*

Its blocks.

**fields**

**conditions** `[\[PostPurchaseSegmentCondition!\]!](/docs/api-reference/v3/reference/checkout/post-purchase-segment-condition)` *required*

Its conditions.

**conjunction** `[PostPurchaseSegmentConjunction!](/docs/api-reference/v3/reference/checkout/post-purchase-segment-conjunction)` *required*

How its conditions join.

**conjunction** `[PostPurchaseSegmentConjunction!](/docs/api-reference/v3/reference/checkout/post-purchase-segment-conjunction)` *required*

How its blocks join.

**split** `[PostPurchaseFlowSplit](/docs/api-reference/v3/reference/checkout/post-purchase-flow-split)`

A SPLIT step's A/B test.

**fields**

**description** `String`

What it tests.

**id** `ID!` *required*

The test's id.

**name** `String!` *required*

Its name.

**treatments** `[\[PostPurchaseAbTestTreatment!\]!](/docs/api-reference/v3/reference/checkout/post-purchase-ab-test-treatment)` *required*

Its arms, control first.

**fields**

**id** `ID!` *required*

The treatment's id.

**name** `String!` *required*

Its name.

**weight** `Int!` *required*

Its share of orders, as a percentage of the test.

**title** `String`

A SEGMENT step's name.

**type** `[PostPurchaseFlowStepType!](/docs/api-reference/v3/reference/checkout/post-purchase-flow-step-type)` *required*

What the step does.

**upsellPage** `[UpsellPage](/docs/api-reference/v3/reference/checkout/upsell-page)`

A PAGE step's page. Null on the others, and when the page was deleted.

**fields**

**banner** `[UpsellPageBanner!](/docs/api-reference/v3/reference/checkout/upsell-page-banner)` *required*

Its banner.

**fields**

**show** `Boolean!` *required*

Whether the banner shows.

**supportingText** `String!` *required*

The text under the title.

**supportingTextSize** `[UpsellPageTextSize!](/docs/api-reference/v3/reference/checkout/upsell-page-text-size)` *required*

The supporting text's size.

**title** `String!` *required*

Its title.

**titleSize** `[UpsellPageTextSize!](/docs/api-reference/v3/reference/checkout/upsell-page-text-size)` *required*

The title's size.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When it was created.

**excludedProductTags** `[String!]!` *required*

Tags that keep a product out of recommendations.

**id** `ID!` *required*

The page's id.

**inUse** `Boolean!` *required*

Whether the live flow or a live checkout experience uses it. Changing a page in use takes `confirmLiveChange`, and it can't be deleted.

**locked** `Boolean!` *required*

Whether post-purchase is locked for the store, which refuses writes.

**name** `String!` *required*

The merchant-facing name.

**products** `[\[UpsellPageProduct!\]!](/docs/api-reference/v3/reference/checkout/upsell-page-product)` *required*

The products it offers, one to four.

**fields**

**allowQuantitySelection** `Boolean!` *required*

Whether the shopper can pick a quantity.

**collectionId** `String`

The numeric Shopify collection id, for COLLECTION.

**customDescription** `String`

A description to show instead of the product's own.

**discountAmount** `String!` *required*

The discount, as a decimal string.

**discountType** `[UpsellPageDiscountType!](/docs/api-reference/v3/reference/checkout/upsell-page-discount-type)` *required*

What `discountAmount` means.

**featuredVariantId** `String`

The variant whose image is featured, for MANUAL.

**productId** `String`

The Shopify product GID, for MANUAL.

**showCompareAtPrice** `Boolean!` *required*

Whether the compare-at price shows.

**showDescription** `Boolean!` *required*

Whether a description shows.

**showIfAlreadyInCart** `Boolean!` *required*

Whether it's offered when already in the order.

**source** `[UpsellPageProductSource!](/docs/api-reference/v3/reference/checkout/upsell-page-product-source)` *required*

How the product is picked.

**variantIds** `[String!]`

The Shopify variant GIDs on offer, for MANUAL.

**timer** `[UpsellPageTimer!](/docs/api-reference/v3/reference/checkout/upsell-page-timer)` *required*

Its countdown timer.

**fields**

**minutes** `Int!` *required*

How long it counts down, in minutes.

**show** `Boolean!` *required*

Whether the timer shows.

**status** `[UpsellPageTimerStatus!](/docs/api-reference/v3/reference/checkout/upsell-page-timer-status)` *required*

Its banner style.

**supportingText** `String!` *required*

The text beside the countdown.

**supportingTextSize** `[UpsellPageTextSize!](/docs/api-reference/v3/reference/checkout/upsell-page-text-size)` *required*

The supporting text's size.

**textColor** `[UpsellPageTimerColor!](/docs/api-reference/v3/reference/checkout/upsell-page-timer-color)` *required*

The countdown's color.

**textSize** `[UpsellPageTextSize!](/docs/api-reference/v3/reference/checkout/upsell-page-text-size)` *required*

The countdown's size.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When it last changed.


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