Skip to main content
POST
cURL
Add an existing plan to a plan group with optional sort order.

Authorizations

x-api-key
string
header
required

Headers

Idempotency-Key
string

Unique key used to safely retry this write for 24 hours without applying it twice.

Required string length: 1 - 200
Commet-Version
string
default:2026-08-27

API version used by this reference. Send this header to select this contract explicitly.

Path Parameters

id
string
required

Body

application/json
planId
string
required
Minimum string length: 1
sortOrder
integer
Required range: 0 <= x <= 9007199254740991

Response

Success

success
boolean
required
object
string
required
Allowed value: "plan_group_membership"
livemode
boolean
required