Development
  • Guides
  • API Reference
  • API Explorer
  • SDKs
  • Sample apps
  • System status
Support
  • Developer forums
  • Developer blog
  • YouTube
  • X
More
  • Square Home
  • Square Developer
  • App Marketplace
  • Partner with Square
  • Solutions Partner Program
  • Pricing
  • Sales

© 2026 Square, Inc.

  • Developer terms of service
  • Developer Integration and Marketing Agreement
  • Privacy policy
  • Partnerships
  • Sign In
  • Sign In

    Subscriptions

  • Create subscription

  • Bulk swap plan

  • Search subscriptions

  • Retrieve subscription

  • Update subscription

  • Delete subscription action

  • Change billing anchor date

  • Cancel subscription

  • List subscription events

  • Pause subscription

  • Resume subscription

  • Swap plan

  • Webhooks

  • subscription.created

  • subscription.updated

<- Subscriptions API

Subscriptions API

All versions ->

Bulk swap planBeta

POST

 /v2/subscriptions/bulk-swap-plan

Schedules a plan variation change for all active subscriptions under a given plan variation.

For more information, see Swap Subscription Plan Variations.

Permissions:ITEMS_READ, SUBSCRIPTIONS_READ, SUBSCRIPTIONS_WRITE

Guide

Swap the plan of multiple subscriptions

Try in API Explorer
Link to section

Request body

Example code

Link to section

new_plan_variation_id

string

Required

The ID of the new subscription plan variation.

This field is required.

Min Length
1
Link to section

old_plan_variation_id

string

Required

The ID of the plan variation whose subscriptions should be swapped. Active subscriptions using this plan variation will be subscribed to the new plan variation on their next billing day.

Min Length
1
Link to section

location_id

string

Required

The ID of the location to associate with the swapped subscriptions.

Min Length
1
Link to section

Response fields

Link to section

errors

Errors encountered during the request.

Link to section

affected_subscriptions

integer(32-bit)

The number of affected subscriptions.

Link to section

Examples

All versions ->

POST /v2/subscriptions/bulk-swap-plan
curl https://connect.squareup.com/v2/subscriptions/bulk-swap-plan \ -X POST \ -H 'Square-Version: 2026-11-18' \ -H 'Authorization: Bearer ACCESS_TOKEN' \ -H 'Content-Type: application/json' \ -d '{ "new_plan_variation_id": "FQ7CDXXWSLUJRPM3GFJSJGZ7", "old_plan_variation_id": "6JHXF3B2CW3YKHDV4XEM674H", "location_id": "S8GWD5R9QB376" }'

Response JSON

{ "affected_subscriptions": 12 }

Error descriptions

400 Bad request

{ "errors": [ { "code": "CUSTOMER_NOT_FOUND", "category": "INVALID_REQUEST_ERROR" } ] }