Retrieves available product swap/substitution options for specified variant IDs, allowing customers to exchange subscription items.
curl --request POST \
--url https://www.myshop.com/apps/memberships/cp/api/product-swaps-by-variant-groups \
--header 'Content-Type: application/json' \
--data '
{
"variantQuantityList": [
{
"variantId": 123,
"quantity": 123,
"title": "<string>",
"image": "<string>",
"productTitle": "<string>",
"productId": "<string>",
"sellingPlanId": "<string>"
}
]
}
'[
[
{
"variantId": 123,
"quantity": 123,
"title": "<string>",
"image": "<string>",
"productTitle": "<string>",
"productId": "<string>",
"sellingPlanId": "<string>"
}
]
]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.
curl --request POST \
--url https://www.myshop.com/apps/memberships/cp/api/product-swaps-by-variant-groups \
--header 'Content-Type: application/json' \
--data '
{
"variantQuantityList": [
{
"variantId": 123,
"quantity": 123,
"title": "<string>",
"image": "<string>",
"productTitle": "<string>",
"productId": "<string>",
"sellingPlanId": "<string>"
}
]
}
'[
[
{
"variantId": 123,
"quantity": 123,
"title": "<string>",
"image": "<string>",
"productTitle": "<string>",
"productId": "<string>",
"sellingPlanId": "<string>"
}
]
]