> For the complete documentation index, see [llms.txt](https://developer.firmhouse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.firmhouse.com/graphql-api/api-reference/objects/create-ordered-product-v-2-input.md).

# CreateOrderedProductV2Input

### Fields

#### clientMutationId ([String](/graphql-api/api-reference/objects/string.md))

A unique identifier for the client performing the mutation.

#### metadata ([JSON](/graphql-api/api-reference/objects/json.md))

Metadata that can be used by developers to store additional information on objects.

#### id ([ID](/graphql-api/api-reference/objects/id.md))

ID of this ordered product. This will be ignored on create action.

#### productId ([ID](/graphql-api/api-reference/objects/id.md))

ID for the related product. When replacing a product, this is the replacement product.

#### quantity ([Int](/graphql-api/api-reference/objects/int.md))

The quantity for this ordered product.

#### customPriceCents ([Int](/graphql-api/api-reference/objects/int.md))

A custom price in cents for this ordered product. If left blank, the default product price will be used, with the plan discount applied when a plan is present.

#### shipmentDate ([ISO8601Date](/graphql-api/api-reference/objects/iso-8601-date.md))

The next date on which a new order should get initiated

#### interval ([Int](/graphql-api/api-reference/objects/int.md))

The amount of time in units between shipments of this order

#### intervalUnitOfMeasureType ([OrderedProductIntervalUnitOfMeasure](/graphql-api/api-reference/objects/ordered-product-interval-unit-of-measure.md))

The time measure for interval units

#### status ([OrderedProductStatus](/graphql-api/api-reference/objects/ordered-product-status.md))

The status of the ordered product

#### minimumCommitmentEndsAt ([ISO8601Date](/graphql-api/api-reference/objects/iso-8601-date.md))

The date at which the minimum commitment ends for this product

#### maximumCommitmentEndsAt ([ISO8601Date](/graphql-api/api-reference/objects/iso-8601-date.md))

The date at which the maximum commitment ends for this product

#### ensureNewRecord ([Boolean](/graphql-api/api-reference/objects/boolean.md))

#### subscriptionId ([ID](/graphql-api/api-reference/objects/id.md))

ID of the subscription to create this OrderedProduct for. Required if authenticated via a project access token

#### sku ([String](/graphql-api/api-reference/objects/string.md))

Use this field to look up the associated product based on SKU.

#### slug ([String](/graphql-api/api-reference/objects/string.md))

Use this field to look up the associated product based on slug.

#### shopifyVariantId ([ID](/graphql-api/api-reference/objects/id.md))

Use this field to look up the associated product based on Shopify Variant ID.

#### skipPlanGroupCheck ([Boolean](/graphql-api/api-reference/objects/boolean.md))

When true, allows adding a product that is outside the subscription's current plan group.

#### orderedProductType ([OrderedProductTypes](/graphql-api/api-reference/objects/ordered-product-types.md))

Type of ordered product.
