FlxpointAPI Help CenterBeta

Get Product Alternatives

gethttps://api.flxpoint.com/product/variant/{variantId}/alternatives

Use this when you want to pull product data through the API.

🔑 X-API-TOKEN⏱ 2 req/sToken: Account · Source · Channel

This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.

Request

Example request

get/product/variant/{variantId}/alternatives
curl -X GET "https://api.flxpoint.com/product/variant/{variantId}/alternatives" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN"

Responses

200OKapplication/json
array[AlternateVariant]
idinteger
skustring
titlestring
quantityinteger
costnumber
pricenumber
imagestring
parentIdinteger
Example response
[
  {
    "id": 0,
    "sku": "string",
    "title": "string",
    "quantity": 0,
    "cost": 0,
    "price": 0,
    "image": "string",
    "parentId": 0
  }
]
401Unauthorized

No schema documented for this status.

404Not Found

No schema documented for this status.

OpenAPI fragment
{
  "get": {
    "summary": "Get Product Alternatives",
    "parameters": [],
    "responses": {
      "200": {
        "description": "OK",
        "content": {
          "application/json": {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/AlternateVariant"
              }
            }
          }
        }
      },
      "401": {
        "description": "Unauthorized"
      },
      "404": {
        "description": "Not Found"
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight