Save Product Alternatives
post
https://api.flxpoint.com/product/variant/{variantId}/alternativesUse 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
Body
application/jsonarray[integer]
integer
Example request
post
/product/variant/{variantId}/alternativescurl -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