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

# orderLookupUpdate

> Update the store's Shopify order-lookup embed styling and behavior, creating it with defaults if none exists yet. Omitted fields keep their current values.

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

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

## Arguments

**input** `[OrderLookupUpdateInput!](/docs/api-reference/v3/reference/marketing/order-lookup-update-input)` *required*

The order-lookup settings to change.

**fields**

**allowTrackingCodeOnlyAccess** `Boolean`

Whether visitors with a tracking code can open a limited tracking page without entering an email address or ZIP code.

**backgroundColor** `String`

Background CSS color of the embed container (for example `#FFFFFF`).

**backgroundImageUrl** `String`

HTTPS URL of the background image (at most 2048 characters). Pass null or an empty string to remove it.

**bodyFontFamily** `String`

Font family for form labels, inputs, and buttons. Pass null or an empty string to inherit the store's brand-kit body font.

**buttonOverride** `[OrderLookupButtonOverrideInput](/docs/api-reference/v3/reference/marketing/order-lookup-button-override-input)`

Submit button style overrides.

**fields**

**backgroundColor** `String`

Button background CSS color. Pass null or an empty string to clear it.

**border** `[OrderLookupOverrideBorderInput](/docs/api-reference/v3/reference/marketing/order-lookup-override-border-input)`

Button border styling.

**enabled** `Boolean`

Whether button style overrides apply instead of the store's brand kit.

**font** `[OrderLookupOverrideFontInput](/docs/api-reference/v3/reference/marketing/order-lookup-override-font-input)`

Button label font styling.

**paddingPx** `Int`

Button inner padding in pixels (0 through 32).

**textColor** `String`

Button label CSS color.

**buttonText** `String`

Label shown on the submit button.

**cardBackgroundColor** `String`

Background CSS color of the lookup card (for example `#FFFFFF`).

**cardBorderColor** `String`

Border CSS color of the lookup card (for example `#D6D6D6`).

**cardBorderRadius** `Int`

Corner radius of the lookup card in pixels (0 through 32).

**cardBorderWidth** `Int`

Border width of the lookup card in pixels (0 through 16).

**cardShadowEnabled** `Boolean`

Whether the lookup card displays a drop shadow.

**customCss** `String`

Custom CSS applied inside the embed's shadow root (at most 20480 characters, with balanced braces). Available targets: order-lookup-background, order-lookup-card, order-lookup-title, order-lookup-required-note, order-lookup-field-email, order-lookup-field-order, order-lookup-label, order-lookup-input, order-lookup-button, order-lookup-error. Pass null or an empty string to remove it.

**emailLabel** `String`

Label above the email or ZIP code input.

**emailPlaceholder** `String`

Placeholder inside the email or ZIP code input.

**inputOverride** `[OrderLookupInputOverrideInput](/docs/api-reference/v3/reference/marketing/order-lookup-input-override-input)`

Form input style overrides.

**fields**

**backgroundColor** `String`

Input background CSS color. Pass null or an empty string to clear it.

**border** `[OrderLookupOverrideBorderInput](/docs/api-reference/v3/reference/marketing/order-lookup-override-border-input)`

Input border styling.

**enabled** `Boolean`

Whether input style overrides apply instead of the store's brand kit.

**errorColor** `String`

Input error CSS color.

**font** `[OrderLookupOverrideFontInput](/docs/api-reference/v3/reference/marketing/order-lookup-override-font-input)`

Input text font styling.

**paddingPx** `Int`

Input inner padding in pixels (0 through 32).

**textColor** `String`

Input text CSS color.

**minPageHeightPx** `Int`

Minimum height of the embed in pixels (0 through 8000). Pass null or 0 to clear and size to content.

**orderLabel** `String`

Label above the order or tracking number input.

**orderPlaceholder** `String`

Placeholder inside the order or tracking number input.

**titleColor** `String`

CSS color of the heading, labels, and required-fields note (for example `#0F172A`).

**titleFontFamily** `String`

Font family for the heading. Pass null or an empty string to inherit the store's brand-kit header font.

**titleText** `String`

Heading text shown above the form. Pass an empty string to hide the heading.

## Returns

**orderLookupUpdate** `[OrderLookup!](/docs/api-reference/v3/reference/marketing/order-lookup)` *required*

The store's embedded Shopify order-lookup form configuration.

**fields**

**allowTrackingCodeOnlyAccess** `Boolean!` *required*

Whether visitors with a tracking code can open a limited tracking page without entering an email address or ZIP code.

**backgroundColor** `String!` *required*

Background CSS color of the embed container (for example `#FFFFFF`).

**backgroundImageUrl** `String`

HTTPS URL of the background image, or null when none is set.

**bodyFontFamily** `String`

Font family for form labels, inputs, and buttons. Null uses the store's brand-kit body font.

**buttonOverride** `[OrderLookupButtonOverride](/docs/api-reference/v3/reference/marketing/order-lookup-button-override)`

Submit button style overrides. Null when no override has been configured.

**fields**

**backgroundColor** `String`

Button background CSS color. Null keeps the brand-kit default.

**border** `[OrderLookupOverrideBorder!](/docs/api-reference/v3/reference/marketing/order-lookup-override-border)` *required*

Button border styling.

**fields**

**cornerRadiusPx** `Int!` *required*

Corner radius in pixels.

**stroke** `[OrderLookupStroke!](/docs/api-reference/v3/reference/marketing/order-lookup-stroke)` *required*

Border stroke.

**enabled** `Boolean!` *required*

Whether button style overrides apply instead of the store's brand kit.

**font** `[OrderLookupOverrideFont!](/docs/api-reference/v3/reference/marketing/order-lookup-override-font)` *required*

Button label font styling.

**fields**

**fontFamily** `String!` *required*

Font family.

**fontSizePx** `Int!` *required*

Font size in pixels.

**fontWeight** `[OrderLookupFontWeight!](/docs/api-reference/v3/reference/marketing/order-lookup-font-weight)` *required*

Font weight.

**paddingPx** `Int!` *required*

Button inner padding in pixels.

**textColor** `String!` *required*

Button label CSS color.

**buttonText** `String!` *required*

Label shown on the submit button.

**cardBackgroundColor** `String!` *required*

Background CSS color of the lookup card (for example `#FFFFFF`).

**cardBorderColor** `String!` *required*

Border CSS color of the lookup card (for example `#D6D6D6`).

**cardBorderRadius** `Int!` *required*

Corner radius of the lookup card in pixels.

**cardBorderWidth** `Int!` *required*

Border width of the lookup card in pixels.

**cardShadowEnabled** `Boolean!` *required*

Whether the lookup card displays a drop shadow.

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

When the order lookup embed was created.

**customCss** `String!` *required*

Custom CSS applied inside the embed's shadow root. Empty when none is set.

**emailLabel** `String!` *required*

Label above the email or ZIP code input.

**emailPlaceholder** `String!` *required*

Placeholder inside the email or ZIP code input.

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

The id of this order lookup embed.

**inputOverride** `[OrderLookupInputOverride](/docs/api-reference/v3/reference/marketing/order-lookup-input-override)`

Form input style overrides. Null when no override has been configured.

**fields**

**backgroundColor** `String`

Input background CSS color. Null keeps the brand-kit default.

**border** `[OrderLookupOverrideBorder!](/docs/api-reference/v3/reference/marketing/order-lookup-override-border)` *required*

Input border styling.

**fields**

**cornerRadiusPx** `Int!` *required*

Corner radius in pixels.

**stroke** `[OrderLookupStroke!](/docs/api-reference/v3/reference/marketing/order-lookup-stroke)` *required*

Border stroke.

**enabled** `Boolean!` *required*

Whether input style overrides apply instead of the store's brand kit.

**errorColor** `String!` *required*

Input error CSS color.

**font** `[OrderLookupOverrideFont!](/docs/api-reference/v3/reference/marketing/order-lookup-override-font)` *required*

Input text font styling.

**fields**

**fontFamily** `String!` *required*

Font family.

**fontSizePx** `Int!` *required*

Font size in pixels.

**fontWeight** `[OrderLookupFontWeight!](/docs/api-reference/v3/reference/marketing/order-lookup-font-weight)` *required*

Font weight.

**paddingPx** `Int!` *required*

Input inner padding in pixels.

**textColor** `String!` *required*

Input text CSS color.

**legacyId** `String!` *required*

Mongo ObjectId from the merchant app.

**minPageHeightPx** `Int`

Minimum height of the embed in pixels (0 through 8000). Null or 0 sizes the embed to its content.

**orderLabel** `String!` *required*

Label above the order or tracking number input.

**orderPlaceholder** `String!` *required*

Placeholder inside the order or tracking number input.

**titleColor** `String!` *required*

CSS color of the heading, labels, and required-fields note (for example `#0F172A`).

**titleFontFamily** `String`

Font family for the heading. Null uses the store's brand-kit header font.

**titleText** `String!` *required*

Heading text shown above the form. Empty hides the heading.

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

When the order lookup embed was last updated.

## Example

```graphql theme={null}
mutation {
  orderLookupUpdate(input: { ... }) {
    allowTrackingCodeOnlyAccess
    backgroundColor
    backgroundImageUrl
    bodyFontFamily
    buttonText
    cardBackgroundColor
    cardBorderColor
    cardBorderRadius
    # ...
  }
}
```


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