# SubscriptionContract - customer - OBJECT Version: 2024-10 ## Description A Subscription Contract. ### Access Scopes ## Fields * [billingPolicy](/docs/api/customer/2024-10/objects/SubscriptionBillingPolicy): SubscriptionBillingPolicy! - The billing policy associated with the subscription contract. * [createdAt](/docs/api/customer/2024-10/scalars/DateTime): DateTime! - The date and time when the subscription contract was created. * [currencyCode](/docs/api/customer/2024-10/enums/CurrencyCode): CurrencyCode! - The currency used for the subscription contract. * [customAttributes](/docs/api/customer/2024-10/objects/Attribute): Attribute! - A list of custom attributes to be added to the generated orders. * [deliveryMethod](/docs/api/customer/2024-10/unions/SubscriptionDeliveryMethod): SubscriptionDeliveryMethod - The delivery method for each billing of the subscription contract. * [deliveryPolicy](/docs/api/customer/2024-10/objects/SubscriptionDeliveryPolicy): SubscriptionDeliveryPolicy! - The delivery policy associated with the subscription contract. * [deliveryPrice](/docs/api/customer/2024-10/objects/MoneyV2): MoneyV2! - The delivery price for each billing of the subscription contract. * [id](/docs/api/customer/2024-10/scalars/ID): ID! - A globally-unique ID. * [lastBillingAttemptErrorType](/docs/api/customer/2024-10/enums/SubscriptionContractLastBillingErrorType): SubscriptionContractLastBillingErrorType - The last billing error type of the contract. * [lastPaymentStatus](/docs/api/customer/2024-10/enums/SubscriptionContractLastPaymentStatus): SubscriptionContractLastPaymentStatus - The current status of the last payment. * [linesCount](/docs/api/customer/2024-10/objects/Count): Count - The number of lines associated with the subscription contract. * [nextBillingDate](/docs/api/customer/2024-10/scalars/DateTime): DateTime - The next billing date for the subscription contract. * [note](/docs/api/customer/2024-10/scalars/String): String - A note that will be applied to the generated orders. * [originOrder](/docs/api/customer/2024-10/objects/Order): Order - The order from which the contract originated. * [revisionId](/docs/api/customer/2024-10/scalars/UnsignedInt64): UnsignedInt64! - The revision ID of the contract. * [status](/docs/api/customer/2024-10/enums/SubscriptionContractSubscriptionStatus): SubscriptionContractSubscriptionStatus! - The current status of the subscription contract. * [updatedAt](/docs/api/customer/2024-10/scalars/DateTime): DateTime! - The date and time when the subscription contract was updated. ## Connections * [lines](/docs/api/customer/2024-10/connections/SubscriptionLineConnection): SubscriptionLineConnection! * [orders](/docs/api/customer/2024-10/connections/OrderConnection): OrderConnection! * [upcomingBillingCycles](/docs/api/customer/2024-10/connections/SubscriptionBillingCycleConnection): SubscriptionBillingCycleConnection! ## Related queries ## Related mutations * [subscriptionContractActivate](/docs/api/customer/2024-10/mutations/subscriptionContractActivate) Activates a Subscription Contract. * [subscriptionContractCancel](/docs/api/customer/2024-10/mutations/subscriptionContractCancel) Cancels a Subscription Contract. * [subscriptionContractPause](/docs/api/customer/2024-10/mutations/subscriptionContractPause) Pauses a Subscription Contract. * [subscriptionContractSelectDeliveryMethod](/docs/api/customer/2024-10/mutations/subscriptionContractSelectDeliveryMethod) Selects an option from a delivery options result and updates the delivery method on a Subscription Contract. ## Related Unions ## Examples