# OrderedProduct

### Fields

#### asset ([Asset](https://developer.firmhouse.com/graphql-api/api-reference/objects/asset))

The asset currently linked to this ordered product.

#### createdAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

The time when the ordered product was created

#### graceCancellationEndsAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

The time when the grace cancellation period ends

#### id ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)

ID to identify the ordered product with

#### interval ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The amount of time in units between shipments of this order

#### intervalUnitOfMeasure ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The time measure for interval units

#### maximumCommitmentEndsAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

The time when the maximum commitment period ends

#### metadata ([JSON](https://developer.firmhouse.com/graphql-api/api-reference/objects/json))

Metadata makes it possible to store additional information on objects.

#### minimumCommitmentEndsAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

The time when the minimum commitment period ends

#### plan ([Plan](https://developer.firmhouse.com/graphql-api/api-reference/objects/plan))

If added as part of a plan, this will be the reference.

#### priceExcludingTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The price of the product for this subscription excluding tax in cents

#### priceIncludingTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The price of the product for this subscription including tax in cents

#### product ([Product](https://developer.firmhouse.com/graphql-api/api-reference/objects/product)!)

The associated product record for this order line

#### productId ([ID](https://developer.firmhouse.com/graphql-api/api-reference/objects/id)!)

The ID of the associated product record

#### quantity ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The amount ordered for this product

#### recurring ([Boolean](https://developer.firmhouse.com/graphql-api/api-reference/objects/boolean)!)

Whether this product will get shipped or charged recurringly.

#### shipmentDate ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

The next date on which a new order should get initiated

#### status ([OrderedProductStatus](https://developer.firmhouse.com/graphql-api/api-reference/objects/ordered-product-status)!)

#### subscription ([Subscription](https://developer.firmhouse.com/graphql-api/api-reference/objects/subscription))

The associated product record for this ordered product

#### title ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))

Name of the product

#### totalAmountExcludingTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The total amount based on the unit price \* quantity excluding tax, in cents

#### totalAmountIncludingTaxCents ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The total amount based on the unit price \* quantity including tax, in cents

#### totalOrdered ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))

The total amount that the customer has ordered of this product upto now

#### updatedAt ([ISO8601DateTime](https://developer.firmhouse.com/graphql-api/api-reference/objects/iso-8601-date-time))

The time when the ordered product was updated

#### versions ([VersionConnection](https://developer.firmhouse.com/graphql-api/api-reference/objects/version-connection))

Version history (audit log) of this ordered product.

| Argument                                                                                    | Description                                                             |
| ------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| after ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string))  | Returns the elements in the list that come after the specified cursor.  |
| before ([String](https://developer.firmhouse.com/graphql-api/api-reference/objects/string)) | Returns the elements in the list that come before the specified cursor. |
| first ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))        | Returns the first *n* elements from the list.                           |
| last ([Int](https://developer.firmhouse.com/graphql-api/api-reference/objects/int))         | Returns the last *n* elements from the list.                            |
