---
title: SubscriptionAnchor - Customer API
description: Represents a subscription anchor.
api_version: 2026-01
api_name: customer
type: union
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/customer/latest/unions/SubscriptionAnchor'
  md: 'https://shopify.dev/docs/api/customer/latest/unions/SubscriptionAnchor.md'
---

# Subscription​Anchor

union

Represents a subscription anchor.

## Possible types

* [Subscription​Month​Day​Anchor](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionMonthDayAnchor)

  OBJECT

  Represents an anchor specifying a day of the month.

  * day​Of​Month

    [Int!](https://shopify.dev/docs/api/customer/latest/scalars/Int)

    non-null

    Day of the month (1-31).

* [Subscription​Week​Day​Anchor](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionWeekDayAnchor)

  OBJECT

  Represents an anchor specifying a day of the week.

  * day​Of​Week

    [Int!](https://shopify.dev/docs/api/customer/latest/scalars/Int)

    non-null

    Day of the week (1-7, where 1 is Monday).

* [Subscription​Year​Day​Anchor](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionYearDayAnchor)

  OBJECT

  Represents an anchor specifying a specific day and month of the year.

  * day​Of​Month

    [Int!](https://shopify.dev/docs/api/customer/latest/scalars/Int)

    non-null

    Day of the month (1-31). Specifies the exact day within the given month.

  * month

    [Int!](https://shopify.dev/docs/api/customer/latest/scalars/Int)

    non-null

    Month of the year (1-12). Specifies the month in which the day occurs.

***

## Fields with this union

* [Subscription​Billing​Policy.anchors](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionBillingPolicy#field-SubscriptionBillingPolicy.fields.anchors)

  OBJECT

  The billing policy of a subscription.

* [Subscription​Delivery​Policy.anchors](https://shopify.dev/docs/api/customer/latest/objects/SubscriptionDeliveryPolicy#field-SubscriptionDeliveryPolicy.fields.anchors)

  OBJECT

  The delivery policy of a subscription.

***

```graphql
union SubscriptionAnchor = SubscriptionMonthDayAnchor | SubscriptionWeekDayAnchor | SubscriptionYearDayAnchor
```
