---
title: OrderCreateFreeShippingDiscountCodeAttributesInput - GraphQL Admin
description: The input fields for a free shipping discount code to apply to an order.
api_version: 2026-10
source_url:
  html: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderCreateFreeShippingDiscountCodeAttributesInput
  md: >-
    https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderCreateFreeShippingDiscountCodeAttributesInput.md
api_name: admin
api_type: graphql
type: input-object
---

# Order​Create​Free​Shipping​Discount​Code​Attributes​Input

input\_object

The input fields for a free shipping discount code to apply to an order.

## Fields

* code

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

  non-null

  The discount code that was entered at checkout.

***

## Input objects using this input

* [Order​Create​Discount​Code​Input.freeShippingDiscountCode](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderCreateDiscountCodeInput#fields-freeShippingDiscountCode)

  INPUT OBJECT

  The input fields for a discount code to apply to an order. Only one type of discount can be applied to an order.

***

## Map

### Input objects using this input

* [Order​Create​Discount​Code​Input.freeShippingDiscountCode](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderCreateDiscountCodeInput#fields-freeShippingDiscountCode)
