---
title: PreferredRateSelectionInput - GraphQL Admin
description: >-
  The input fields for selecting a preferred shipping rate by carrier and
  service codes.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/PreferredRateSelectionInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/PreferredRateSelectionInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Preferred​Rate​Selection​Input

input\_object

The input fields for selecting a preferred shipping rate by carrier and service codes.

## Fields

* carrier​Code

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The code identifying the carrier for the preferred rate. Examples include `usps`, `ups_shipping`, `dhl_express`, and `canada_post`.

* service​Code

  [String!](https://shopify.dev/docs/api/admin-graphql/latest/scalars/String)

  non-null

  The carrier-defined service code for the preferred rate.

***

## Input objects using this input

* [Shipping​Label​Purchase​Input.preferredRateSelection](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ShippingLabelPurchaseInput#fields-preferredRateSelection)

  INPUT OBJECT

  The input fields for the fulfillment order, shipping date and time, package details, weight, notification setting, and optional rate preference used to purchase a shipping label.

***

## Map

### Input objects using this input

* [Shipping​Label​Purchase​Input.preferredRateSelection](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ShippingLabelPurchaseInput#fields-preferredRateSelection)
