Build Product from Inventory Variant
post
https://api.flxpoint.com/product/builder/build/{inventoryVariantId}Use this when you want to create product builder 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.
Create a product from a specified `inventoryVariantId`
Request
Body
application/jsonproductBuilderIdinteger(optional) A specific product builder to use. If null the system default will be used.
mappingTemplateIdinteger(optional) A specific mapping template to use. If null the system default will be used.
Example request
post
/product/builder/build/{inventoryVariantId}curl -X POST "https://api.flxpoint.com/product/builder/build/{inventoryVariantId}" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"productBuilderId": 0,
"mappingTemplateId": 0
}'Example body · application/json
{
"productBuilderId": 0,
"mappingTemplateId": 0
}Responses
200OK - A list of builder responses. This returns a list as a single inventory variant may match to multiple product variants.application/json
array[ProductBuilderBuildResponse]
builtbooleanrequiredrebuiltbooleanrequiredlinkedbooleanrequiredalreadyBuiltAndLinkedbooleanrequiredneedsReviewbooleanrequiredproductVariantIdintegerproductParentIdintegerinventoryVariantIdinteger (int64)requiredissueobjectidinteger (int64)requiredinventoryVariantIdinteger (int64)requiredaccountIdintegerinsertedAtstring (date-time)mappingTemplateIdintegerproductBuilderIdintegermatchedProductVariantIdintegerThe product variant ID that this inventory variant matched with on the basis of a shared GTIN that it will be added as an additional inventory link to.
typestringallowed
mismatchduplicate_sourcesarchivedparent_creationparent_attachmentduplicate_skupending_buildinvalid_upcstatusstringallowed
keepneeds_reviewdiscardmatchTypestringThe ID type that this inventory variant matched against an existing product variant with.
allowed
upcmpneanasinreference_identifiermaster_skuinventory_skumatchValuestringThe ID value that this inventory variant matched against an existing product variant with.
productMatchTypestringThe ID type that was used to match to an existing product variant from an inventory variant. NOTE : This value will be empty for matches made using the legacy matching style.
allowed
upcmpneanasinreference_identifiermaster_skutriggeredLinkRulesarray[ProductBuilderTriggeredLinkRule]The product builder link rules that failed when run against this inventory variant and the existing linked ones.
productBuilderLinkRuleobjectrequiredidintegervalue1stringvalue2stringvalue3stringvalue4stringvalue5stringvalue6stringoutcomeobjectrequiredidintegerhandlestringrequiredallowed
failreviewnamestringtypeobjectrequiredidintegerhandlestringrequiredallowed
cost_basiccost_rangebrands_not_equaltitle_containsmpn_not_upcnamestringinventoryVariantIdsarray[integer (int64)]requiredinteger (int64)
mismatchActionKeepbooleanWhen the issue is of the type `MISMATCH` setting this to true will allow the next build attempt for the inventory variant to occur. Setting this to false will delete the issue.
duplicateSourceActionKeepbooleanWhen the issue is of the type `DUPLICATE_SOURCE` setting this to true will allow the next build attempt for the inventory variant to occur and will remove the existing inventory link from the same source. Setting this to false will delete the issue.
duplicateSourceInventoryVariantIdinteger (int64)The inventory variant ID that is from the same source
archivedActionKeepbooleanWhen the issue is of the type `ARCHIVE` setting this to true will allow the next build attempt for the inventory variant to occur. Setting this to false will delete the issue.
parentCreationActionKeepbooleanWhen the issue is of the type `PARENT_CREATION` setting this to true will allow the next build attempt for the inventory parent & variant to occur. Setting this to false will delete the issue.
parentAttachmentActionKeepbooleanWhen the issue is of the type `PARENT_ATTACHMENT` setting this to true will allow the next build attempt for the inventory variant to occurr. Setting this to false will delete the issue.
duplicateSkuProductVariantIdintegerduplicateUseSkustringWhen the issue is of the type `DUPLICATE_SKU` setting this will cause the next build attempt of the inventory variant to be built with the SKU specified in this property.
generatedVariantSkustringThe variant SKU that was generated by running the inventory variant and all of the other linked inventory variants through the mapping tempmlate.
generatedParentSkustringThe parent SKU that was generated by running the inventory variant and all of the other linked inventory variants through the mapping tempmlate.
parentAttachmentProductParentIdintegerThe ID of the product parent that this inventory variant is pending being attached to.
hasListingsToBuildbooleandefault
falseinternalBuildErrorMessagestringInternal build error message in case product fails to build with any readable message
internalBuildErrorOnstring (date-time)If non-null this is a timestamp indicating that the last build of this issue failed
batchIdstring (uuid)removedDueToStaleMatchbooleanrequiredIf an issue previously arose between an inventory variant and a product variant and either of the values the original match occurred on has changed the issue will be removed and the build will not be attempted.
discardedbooleanrequiredproductToListingBuilderListarray[ProductToListingBuilder]channelIdintegerrequiredproductToListingQueueIdintegerrequiredExample response
[
{
"built": true,
"rebuilt": true,
"linked": true,
"alreadyBuiltAndLinked": true,
"needsReview": true,
"productVariantId": 0,
"productParentId": 0,
"inventoryVariantId": 0,
"issue": {
"id": 0,
"inventoryVariantId": 0,
"accountId": 0,
"insertedAt": "2026-04-20T00:00:00Z",
"mappingTemplateId": 0,
"productBuilderId": 0,
"matchedProductVariantId": 0,
"type": "mismatch",
"status": "keep",
"matchType": "upc",
"matchValue": "string",
"productMatchType": "upc",
"triggeredLinkRules": [
{
"productBuilderLinkRule": null,
"inventoryVariantIds": null
}
],
"mismatchActionKeep": true,
"duplicateSourceActionKeep": true,
"duplicateSourceInventoryVariantId": 0,
"archivedActionKeep": true,
"parentCreationActionKeep": true,
"parentAttachmentActionKeep": true,
"duplicateSkuProductVariantId": 0,
"duplicateUseSku": "string",
"generatedVariantSku": "string",
"generatedParentSku": "string",
"parentAttachmentProductParentId": 0,
"hasListingsToBuild": true,
"internalBuildErrorMessage": "string",
"internalBuildErrorOn": "2026-04-20T00:00:00Z",
"batchId": "string"
},
"removedDueToStaleMatch": true,
"discarded": true,
"productToListingBuilderList": [
{
"channelId": 0,
"productToListingQueueId": 0
}
]
}
]401Unauthorized
No schema documented for this status.
404Not Found
No schema documented for this status.
OpenAPI fragment
{
"post": {
"summary": "Build Product from Inventory Variant",
"description": "Create a product from a specified `inventoryVariantId`",
"parameters": [],
"requestBody": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/InventoryProductBuilderBuildOptions"
}
}
}
},
"responses": {
"200": {
"description": "OK - A list of builder responses. This returns a list as a single inventory variant may match to multiple product variants.",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ProductBuilderBuildResponse"
}
}
}
}
},
"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