FlxpointAPI Help CenterBeta

Save Product Alternatives

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

Use this when you want to create 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

Bodyapplication/json
array[integer]
integer

Example request

post/product/variant/{variantId}/alternatives
curl -X POST "https://api.flxpoint.com/product/variant/{variantId}/alternatives" \
  -H "Accept: application/json" \
  -H "X-API-TOKEN: YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '[
         0
       ]'
Example body ยท application/json
[
  0
]

Responses

200OK

No schema documented for this status.

OpenAPI fragment
{
  "post": {
    "summary": "Save Product Alternatives",
    "parameters": [],
    "requestBody": {
      "content": {
        "application/json": {
          "schema": {
            "type": "array",
            "uniqueItems": true,
            "items": {
              "type": "integer"
            }
          }
        }
      }
    },
    "responses": {
      "200": {
        "description": "OK"
      }
    }
  }
}
Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight