Skip to main content
PUT
Remove products or variants from a subscription group

Headers

X-API-Key
string
required

API Key for authentication

Path Parameters

id
integer<int64>
required

Subscription group ID (numeric ID)

Query Parameters

productIds
string

Comma-separated list of product IDs to remove. Use numeric IDs without gid:// prefix.

Pattern: ^\d+(,\d+)*$
variantIds
string

Comma-separated list of variant IDs to remove. Use numeric IDs without gid:// prefix.

Pattern: ^\d+(,\d+)*$
collectionId
integer<int64>

Shopify collection ID. When provided, removes all products from this collection (up to 5000 products). This is in addition to any explicitly specified productIds/variantIds.

deleteAllProductsAndVariants
boolean

Set to true to delete all products and their variants. Defaults to false.

api_key
string

API Key (Deprecated - Use X-API-Key header instead)

Response

Products/variants successfully removed from subscription group

accessoryProductIds
string
deleteProducts
object
groupName
string
id
integer<int64>
productCount
integer<int64>
productId
string
productIds
string
productVariantCount
integer<int64>
subscriptionPlans
object[]
translations
string
updateProducts
object
variantIds
string