POST customattributes/create-custom-attributes
Create custom attributes in bulk. Max 50 at one time.
Request Information
URI Parameters
None.
Body Parameters
The custom attributes you wish to create.
Collection of CustomAttributeCreateUpdateModel
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomAttributeName | The custom attributes name. | string | None. |
Request Formats
application/json, text/json
Sample:
[
{
"CustomAttributeName": "Style"
},
{
"CustomAttributeName": "Includes Batteries"
},
{
"CustomAttributeName": "Design"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomAttributeCreateUpdateModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomAttributeCreateUpdateModel>
<CustomAttributeName>Style</CustomAttributeName>
</CustomAttributeCreateUpdateModel>
<CustomAttributeCreateUpdateModel>
<CustomAttributeName>Includes Batteries</CustomAttributeName>
</CustomAttributeCreateUpdateModel>
<CustomAttributeCreateUpdateModel>
<CustomAttributeName>Design</CustomAttributeName>
</CustomAttributeCreateUpdateModel>
</ArrayOfCustomAttributeCreateUpdateModel>
Response Information
Resource Description
Create custom attributes in bulk. Max 50 at one time.
Collection of ObjectNone.
Response Formats
application/json, text/json
Sample:
[
{
"CustomAttributeID": 100,
"CustomAttributeName": "Style"
},
{
"CustomAttributeID": 101,
"CustomAttributeName": "Includes Batteries"
},
{
"CustomAttributeID": 102,
"CustomAttributeName": "Design"
}
]
application/xml, text/xml
Sample:
<ArrayOfCustomAttributeBaseModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CustomAttributeBaseModel>
<CustomAttributeID>100</CustomAttributeID>
<CustomAttributeName>Style</CustomAttributeName>
</CustomAttributeBaseModel>
<CustomAttributeBaseModel>
<CustomAttributeID>101</CustomAttributeID>
<CustomAttributeName>Includes Batteries</CustomAttributeName>
</CustomAttributeBaseModel>
<CustomAttributeBaseModel>
<CustomAttributeID>102</CustomAttributeID>
<CustomAttributeName>Design</CustomAttributeName>
</CustomAttributeBaseModel>
</ArrayOfCustomAttributeBaseModel>