Upsert product
products.writeAlphaAlpha: This endpoint is available only to approved API integrations and may change without notice.
Creates or updates an external OMS product by external_id. Included variants are independently upserted by their external_id; variants omitted from a request are left unchanged. Set active to false to disable a product or variant while retaining its history.
api.superfiliate.com/api/v1/productsBody parametersapplication/json
sourcestringrequiredStable source/provider key for this external catalog
external_idstringrequiredStable product identifier in the external OMS
titlestringrequiredProduct display name
urlstringrequiredHTTP(S) URL for the external product
html_descriptionstring | nullOptional HTML. Omit to preserve the current value; send null to clear it.
image_urlstringrequiredHTTP(S) URL for product image
activebooleanDefaults to
truefor a new productVariants to create or update. Omitted variants remain unchanged.
external_idstringrequiredStable variant identifier
titlestringrequiredVariant display name
skustring | nullOmit to preserve the current value; send null to clear it.
image_urlstring | nullURL for image.
pricestring | nullOptional decimal price in the authenticated shop's configured currency
activebooleanDefaults to
truefor a new variantThe options for this resource.
namestringrequiredHuman-readable name for this resource.
valuestringrequiredThe value for this resource.
Responses
Product upserted
idintegersourcestringThe source for this resource.
external_idstring | nullIdentifier for the related external.
titlestringThe title for this resource.
urlstringURL for url.
html_descriptionstring | nullThe html description for this resource.
image_urlstring | nullURL for image.
activebooleanThe active for this resource.
The variants for this resource.
idintegerexternal_idstringIdentifier for the related external.
titlestringThe title for this resource.
skustring | nullThe sku for this resource.
image_urlstring | nullURL for image.
pricestring | nullPrice in the authenticated shop's configured currency.
activebooleanThe active for this resource.
The options for this resource.
namestringHuman-readable name for this resource.
valuestringThe value for this resource.