An object representing an article-choice option. Every choice option belongs to an ArticleChoice.
Property | Type | Description |
---|---|---|
uid | integer | A unique identifier of the choice option. |
name | object | Name of the choice option, by language. |
price | object | How the price should be affected if the customer selects the option when ordering an article, by currency. A value can be positive or negative and it can also be ommitted in which case selecting this option does not affect the price of the article. This is visible to administrators only. For end users, see choiceOptionPrices in Article. |
weight | number | A numeric value, positive or negative, specifying how the weight of the article is increased or decreased when the customer selects the option when ordering an article. This is visible to administrators only. |
Fetches an article-choice-option object.
Parameter | Description |
---|---|
uid | The unique identifier of an article-choice option. |
query | Which info to return. See Query language. |
ArticleChoiceOption.get(55071624, true)
Fetches the JSON Schema which can be used for client-side validation.
The unique identifier of an article-choice option or null
for a new article-choice option.