---
title: Subscriptions API update - 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/subscriptions-api-update'
  md: 'https://shopify.dev/changelog/subscriptions-api-update.md'
metadata:
  effectiveApiVersion: 2021-01
  affectedApi: []
  primaryTag:
    displayName: API
    handle: api
  secondaryTag:
    displayName: Update
    handle: update
  indicatesActionRequired: false
  createdAt: '2020-11-12T08:33:25-05:00'
  postedAt: '2020-11-26T00:00:00-05:00'
  updatedAt: '2024-12-13T17:24:31-05:00'
  effectiveAt: '2020-11-26T00:00:00-05:00'
---

November 26, 2020

Tags:

* API
* 2021-01

# Subscriptions API update

The following Subscription API resources received updates:

* Descriptions updated for [`SellingPlanAnchor.day`](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplananchor).
* Added the `pricingPolicy` field to [`SubscriptionLine`](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionline) and [`SubscriptionLineInput`](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionlineinput).
* Added `createdAt` and `completedAt` `DateTime` fields to [`SubscriptionBillingAttempt`](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptionbillingattempt).
* Added `nextBillingDate` to [`SubscriptionDraftInput`](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondraftinput) allowing the `nextBillingDate` to be batched with other changes.
* Added the `expiresSoon` field to [`CustomerCreditCard`](https://shopify.dev/docs/admin-api/graphql/reference/customers/customercreditcard).
* Removed `DELIVERY` from [`SellingPlanRecurringDeliveryPolicyIntent`](https://shopify.dev/docs/admin-api/graphql/reference/products-and-collections/sellingplanrecurringdeliverypolicyintent).
* The [`subscriptionDraftLineUpdate`](https://shopify.dev/docs/admin-api/graphql/reference/orders/subscriptiondraftlineupdate) mutation now accepts partial input. Unspecified fields retain their previous value.
* Added the [`customer_payment_methods/revoke`](https://shopify.dev/docs/admin-api/rest/reference/events/webhook#list-of-supported-webhook-events-and-topics-2021-0) webhook.
* Added the `admin_graphql_api_id` attribute to [`customer_payment_methods/*`](https://shopify.dev/docs/admin-api/rest/reference/events/webhook#list-of-supported-webhook-events-and-topics-2021-01). Manually building the resource ID is no longer required.
