Sitecore OrderCloud Documentation

docs

Portal login

Create or update a spec option.

PUT

/specs/{specID}/options/{optionID}

200

Roles

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

FullAccessProductAdmin

Parameters

NameTypeDescriptionPossible Values
specIDRequiredstringID of the spec.---
optionIDRequiredstringID of the option.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
ValueRequiredstring---2000 characters---
ListOrderintegerint32------
IsOpenTextboolean---------
PriceMarkupTypestring------NoMarkup, AmountPerQuantity, AmountTotal, Percentage

PriceMarkupnumberfloat------
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
Valuestring---2000 characters---
ListOrderintegerint32------
IsOpenTextboolean---------
PriceMarkupTypestring------NoMarkup, AmountPerQuantity, AmountTotal, Percentage

PriceMarkupnumberfloat------
xpobject---------

Create or update a spec option.

PUT

/specs/{specID}/options/{optionID}

200

Roles

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

FullAccessProductAdmin

Parameters

NameTypeDescriptionPossible Values
specIDRequiredstringID of the spec.---
optionIDRequiredstringID of the option.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
ValueRequiredstring---2000 characters---
ListOrderintegerint32------
IsOpenTextboolean---------
PriceMarkupTypestring------NoMarkup, AmountPerQuantity, AmountTotal, Percentage

PriceMarkupnumberfloat------
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
Valuestring---2000 characters---
ListOrderintegerint32------
IsOpenTextboolean---------
PriceMarkupTypestring------NoMarkup, AmountPerQuantity, AmountTotal, Percentage

PriceMarkupnumberfloat------
xpobject---------
Sitecore Logo

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

Contact Us
Privacy Policy
Sitecore