Sitecore OrderCloud Documentation

docs

Portal login

Create a new spec option.

POST

/specs/{specID}/options

201

Description

A Spec can have multiple Options-- for example, if the spec is called 'Color', the options might be 'Blue', 'Red', and 'Green'.

Roles

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

FullAccessProductAdmin

Parameters

NameTypeDescriptionPossible Values
specIDRequiredstringID of the spec.---

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