Skip to main content
POST
/
memberships
/
cp
/
api
/
product-swaps-by-variant-groups
Get product swap options by variant
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.

Body

application/json
variantQuantityList
object[]

Response

200 - */*

OK

variantId
integer<int64>
quantity
integer<int32>
title
string
image
string
productTitle
string
productId
string
sellingPlanId
string