Sitecore OrderCloud Documentation

docs

Portal login

Generate variants.

POST

/products/{productID}/variants/generate

201

Roles

At least one of the roles below is required to access this endpoint.

FullAccessProductAdmin

Parameters

NameTypeDescriptionPossible Values
productIDRequiredstringID of the product.---
overwriteExistingbooleanOverwrite existing of the product.---

Response Body

PropertyTypeFormatMax LengthPossible Values
OwnerIDstring---------

DefaultPriceScheduleIDstring---------

AutoForwardboolean---------

IDstring---100 characters---
ParentIDstring---------

IsParentboolean---------

IsBundleRead Onlyboolean---------

Namestring---100 characters---
Descriptionstring---2000 characters---
QuantityMultiplierintegerint32------

ShipWeightnumberfloat------
ShipHeightnumberfloat------
ShipWidthnumberfloat------
ShipLengthnumberfloat------
Activeboolean---------

SpecCountRead Onlyintegerint32------

VariantCountRead Onlyintegerint32------

ShipFromAddressIDstring---------

Inventoryobject---------
DefaultSupplierIDstring---------

AllSuppliersCanSellboolean---------

Returnableboolean---------
xpobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore