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

# personalizedInsertTemplate

> A personalized insert template by id.

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

**Store must have one of:** `OMS`, `WMS`

## Arguments

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

The template's id.

## Returns

**personalizedInsertTemplate** `[PersonalizedInsertTemplate](/docs/api-reference/v3/reference/shipping/personalized-insert-template)`

A personalized insert template from the app's insert designer: the card printed into each package.

**fields**

**blocks** `[\[JSON!\]!](/docs/api-reference/v3/reference/common/json)` *required*

The blocks on the insert, as the designer saves them. Its JSON Schema is in `personalizedInsertTemplateJsonSchema`.

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

When the template was created.

**globalSettings** `[JSON!](/docs/api-reference/v3/reference/common/json)` *required*

Page layout, background and default font, as the designer saves them. Its JSON Schema is in `personalizedInsertTemplateJsonSchema`.

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

The template's id.

**lineItemFilter** `[JSON](/docs/api-reference/v3/reference/common/json)`

The conditions a line item must meet to get a page when `perLineItem` is true; null means every line item. Its JSON Schema is in `personalizedInsertTemplateJsonSchema`.

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

The template's name, unique in the store.

**perLineItem** `Boolean!` *required*

Whether it prints one page per eligible line item instead of one insert per shipment.

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

When the template last changed.

## Example

```graphql theme={null}
query {
  personalizedInsertTemplate(id: "...") {
    blocks
    createdAt
    globalSettings
    id
    lineItemFilter
    name
    perLineItem
    updatedAt
  }
}
```


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