Adds multiple products and/or product variants to an existing subscription group (selling plan group) using a JSON request body. This endpoint is ideal for adding large numbers of products/variants that would exceed URL length limits in the query parameter version.
Advantages over query parameter endpoint:
Behavior:
Authentication: Requires valid X-API-Key header
curl --request POST \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-groups/{id}/bulk-add-products \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"productIds": [
987654321,
987654322,
987654323,
987654324,
987654325
],
"variantIds": []
}
'{}Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API Key for authentication
Subscription group ID (numeric ID)
API Key (Deprecated - Use X-API-Key header instead)
Product and variant IDs to add to the subscription group
Products/variants successfully added
The response is of type object.
curl --request POST \
--url https://subscription-admin.appstle.com/api/external/v2/subscription-groups/{id}/bulk-add-products \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <x-api-key>' \
--data '
{
"productIds": [
987654321,
987654322,
987654323,
987654324,
987654325
],
"variantIds": []
}
'{}