Module Items Attribute Options API
Create, Update and Delete Module Items Attribute Options via the public API endpoint.
POST Module Item Attribute Options Create
Creates a new Attribute Option based on the provided data.
/api/v2/admin/module-items/attributes/{attributeId}/options
Data / Response:
{
"Name": "string",
"Image": "string",
"OptionPrices": [
{
"Value": 0,
"CurrencyCountry": "string",
"Currency": "string",
"CountryAbbriviation": "string"
}
]
}
{
"Id": 0,
"Name": "string",
"Image": "string",
"OptionPrices": [
{
"Value": 0,
"CurrencyCountry": "string",
"Currency": "string",
"CountryAbbriviation": "string"
}
]
}
PUT Module Item Attribute Options Order
Updates the sort order of a single Attribute based on the ID passed in the endpoint URL and data provided.
/api/v2/admin/module-items/attributes/{id}/attributes-options-order
Data / Response:
[
"string"
]
{
"Name": "string",
"Image": "string",
"OptionPrices": [
{
"Value": 0,
"CurrencyCountry": "string",
"Currency": "string",
"CountryAbbriviation": "string"
}
]
}
PUT Module Item Attribute Options Update
Updates a single Attribute Option based on the ID passed in the endpoint URL and data provided.
/api/v2/admin/module-items/attributes/options/{id}
Data / Response:
{
"Name": "string",
"Image": "string",
"OptionPrices": [
{
"Value": 0,
"CurrencyCountry": "string",
"Currency": "string",
"CountryAbbriviation": "string"
}
]
}
Status 204
DELETE Module Item Attribute Options Delete
Deletes a single Attribute Option based on the ID passed in the endpoint URL.
/api/v2/admin/module-items/attributes/options/{id}
Data / Response:
N/A
Status 204
