Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ProductAttributeController

API reference for ProductAttributeController in Vendr, the eCommerce solution for Umbraco v8+

ProductAttributeController

public class ProductAttributeController : VendrAuthorizedJsonControllerBase

Inheritance

Namespace

Constructors

ProductAttributeController

public ProductAttributeController(UmbracoControllerContext vendrContext, 
    IStoreService storeService, IProductAttributeService productAttributeService, 
    IUnitOfWorkProvider uowProvider)

Methods

CreateProductAttribute

public ProductAttributeEditDto CreateProductAttribute(Guid storeId)

CreateProductAttributePreset

public ProductAttributePresetEditDto CreateProductAttributePreset(Guid storeId)

DeleteProductAttribute

public HttpResponseMessage DeleteProductAttribute(Guid productAttributeId)

DeleteProductAttributePreset

public HttpResponseMessage DeleteProductAttributePreset(Guid productAttributePresetId)

GetProductAttribute

public ProductAttributeEditDto GetProductAttribute(Guid productAttributeId)

GetProductAttributePreset

public ProductAttributePresetEditDto GetProductAttributePreset(Guid productAttributePresetId)

GetProductAttributePresets

public IEnumerable<ProductAttributePresetBasicDto> GetProductAttributePresets(Guid storeId)

GetProductAttributePresetsWithAllowedAttributes

public IEnumerable<ProductAttributePresetDto> GetProductAttributePresetsWithAllowedAttributes(
    Guid storeId)

GetProductAttributes

public IEnumerable<ProductAttributeBasicDto> GetProductAttributes(Guid storeId)

GetProductAttributesWithValues

public IEnumerable<ProductAttributeDto> GetProductAttributesWithValues(Guid storeId)

SaveProductAttribute

public ProductAttributeEditDto SaveProductAttribute(ProductAttributeSaveDto productAttribute)

SaveProductAttributePreset

public ProductAttributePresetEditDto SaveProductAttributePreset(
    ProductAttributePresetSaveDto productAttributePreset)

Edit this page on GitHub

Site + logo design © 2021 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.