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

# CheckoutTreePublishResult

> The outcome of `checkoutTreePublish`.

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

**checkoutTree** `[CheckoutTree](/docs/api-reference/v3/reference/checkout/checkout-tree)`

The tree.

**fields**

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

When it was saved.

**definition** `[CheckoutTreeDefinition!](/docs/api-reference/v3/reference/checkout/checkout-tree-definition)` *required*

Its steps and edges.

**fields**

**edges** `[\[CheckoutTreeEdge!\]!](/docs/api-reference/v3/pagination)` *required*

Its edges, in port order.

**steps** `[\[CheckoutTreeStep!\]!](/docs/api-reference/v3/reference/checkout/checkout-tree-step)` *required*

Its steps.

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

The tree's id.

**live** `Boolean!` *required*

Whether shoppers see this tree now.

**script** `String!` *required*

The tree as CheckoutTreeScript. To change it, open a workspace with `workspaceCreate(resourceType: CHECKOUT_TREE)`.

**diagnostics** `[\[CheckoutTreeDiagnostic!\]!](/docs/api-reference/v3/reference/checkout/checkout-tree-diagnostic)` *required*

Why an INVALID publish was refused.

**fields**

**blocks** `[CheckoutTreeDiagnosticBlocks!](/docs/api-reference/v3/reference/checkout/checkout-tree-diagnostic-blocks)` *required*

What it stops.

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

A stable code, such as CT0105. Read `diagnostics/<code>` in `checkoutTreeCatalog`.

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

What is wrong.

**stepId** `String`

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

**revision** `String!` *required*

The store's checkout tree revision now.

**risks** `[\[CheckoutTreeRisk!\]!](/docs/api-reference/v3/reference/checkout/checkout-tree-risk)` *required*

The consequences of publishing this tree.

**fields**

**code** `[CheckoutTreeRiskCode!](/docs/api-reference/v3/reference/checkout/checkout-tree-risk-code)` *required*

What kind of consequence.

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

What happens.

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

The A/B tests it concerns.

**status** `[CheckoutTreePublishStatus!](/docs/api-reference/v3/reference/checkout/checkout-tree-publish-status)` *required*

What happened.

**synced** `Boolean`

On PUBLISHED, whether Shopify has the config this tree needs (true when there is nothing to push, such as while checkout rates are off); null otherwise.


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