---
title: CheckoutAndAccountsConfigurationBrandingObjectFit - GraphQL Admin
description: Possible values for object fit.
api_version: 2026-04
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutAndAccountsConfigurationBrandingObjectFit
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutAndAccountsConfigurationBrandingObjectFit.md
api_name: admin
api_type: graphql
type: enum
metadata:
  domain: admin
---

# Checkout​And​Accounts​Configuration​Branding​Object​Fit

enum

Possible values for object fit.

## Valid values

* CONTAIN

  The Contain value for fit. The image is scaled to maintain its aspect ratio while fitting within the containing box. The entire image is made to fill the box, while preserving its aspect ratio, so the image will be "letterboxed" if its aspect ratio does not match the aspect ratio of the box. This is the default value.

* COVER

  The Cover value for fit. The image is sized to maintain its aspect ratio while filling the entire containing box. If the image's aspect ratio does not match the aspect ratio of the containing box, then the object will be clipped to fit.

***

## Fields

* [Checkout​And​Accounts​Configuration​Branding​Merchandise​Thumbnail.fit](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnail#field-CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnail.fields.fit)

  OBJECT

  The merchandise thumbnails customizations.

* [Checkout​And​Accounts​Configuration​Branding​Merchandise​Thumbnail​Input.fit](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailInput#fields-fit)

  INPUT OBJECT

  The input fields for customizing the merchandise thumbnails.

***

## Map

### Fields with this enum

* [Checkout​And​Accounts​Configuration​Branding​Merchandise​Thumbnail.fit](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnail#field-CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnail.fields.fit)

### Inputs with this enum

* [Checkout​And​Accounts​Configuration​Branding​Merchandise​Thumbnail​Input.fit](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CheckoutAndAccountsConfigurationBrandingMerchandiseThumbnailInput#fields-fit)
