GET v1/ShopOwners/{shopOwnerId}/ProductPropertyDefinitions

Get all Product Property definitions.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional information
shopOwnerId

The id of the ShopOwner.

integer

Required.

Body Parameters

None.

Response Information

Resource Description

A collection of product property definitions.


Collection of ProductPropertyDefinition
NameDescriptionTypeAdditional information
Id

Gets or sets the identifier.

integer

Required

ShopGroupId

Gets or sets the shop group identifier.

integer

None.

Code

Gets or sets the code.

string

Required

Max length: 50

Caption

Gets or sets the caption.

string

Required

Max length: 50

DataType

Gets the type of the data.

ProductPropertyDataType

Max length: 10

DefaultValue

Gets or sets the default value.

string

Max length: 100

IsRequired

Gets or sets a value indicating whether this instance is required.

boolean

Required

IsHidden

Gets or sets a value indicating whether this instance is hidden.

boolean

Required

IsSystemProperty

Gets a value indicating whether this instance is system property.

boolean

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<ArrayOfProductPropertyDefinition xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductPropertyDefinition>
    <Id>1</Id>
    <ShopGroupId>1</ShopGroupId>
    <Code>sample string 2</Code>
    <Caption>sample string 3</Caption>
    <DefaultValue>sample string 4</DefaultValue>
    <IsRequired>true</IsRequired>
    <IsHidden>true</IsHidden>
  </ProductPropertyDefinition>
  <ProductPropertyDefinition>
    <Id>1</Id>
    <ShopGroupId>1</ShopGroupId>
    <Code>sample string 2</Code>
    <Caption>sample string 3</Caption>
    <DefaultValue>sample string 4</DefaultValue>
    <IsRequired>true</IsRequired>
    <IsHidden>true</IsHidden>
  </ProductPropertyDefinition>
</ArrayOfProductPropertyDefinition>