---
title: >-
  New fields for custom attributes added to subscription contracts - Shopify
  developer changelog
description: >-
  Shopify’s developer changelog documents all changes to Shopify’s platform.
  Find the latest news and learn about new platform opportunities.
source_url:
  html: >-
    https://shopify.dev/changelog/new-fields-for-custom-attributes-added-to-subscription-contracts
  md: >-
    https://shopify.dev/changelog/new-fields-for-custom-attributes-added-to-subscription-contracts.md
metadata:
  effectiveApiVersion: 2022-04
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: New
    handle: new
  indicatesActionRequired: false
  createdAt: '2022-01-31T16:06:44-05:00'
  postedAt: '2022-04-01T00:00:00-04:00'
  updatedAt: '2024-12-13T17:24:33-05:00'
  effectiveAt: '2022-04-01T00:00:00-04:00'
---

April 1, 2022

Tags:

* API
* 2022-04

# New fields for custom attributes added to subscription contracts

As of the 2022-04 version of the Admin GraphQL API, the `customAttributes` field will be present on the `SubscriptionContract`, `SubscriptionDraft`, and `SubscriptionDraftIndex` objects. Those new fields correspond to the existing field of the same name on the `Order` object.

This allows you to update a subscription contract draft with new custom attributes. Those attributes will be copied over to new orders created from that subscription contract.

Learn more about [`SubscriptionContract`](https://shopify.dev/api/admin-graphql/unstable/objects/SubscriptionContract) and [`subscriptionDraftUpdate`](https://shopify.dev/api/admin-graphql/unstable/mutations/subscriptionDraftUpdate) on Shopify.dev.
