PUT Catlog/Attribute/Save?id={id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

AttributeMasterViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

StoreId

integer

None.

Name

string

None.

Description

string

None.

DisplayOrder

integer

None.

Published

boolean

None.

ModifiedBy

string

None.

ModifiedDate

date

None.

PredefinedProductAttributes

Collection of PredefinedProductAttributeViewModel

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "StoreId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "DisplayOrder": 4,
  "Published": true,
  "ModifiedBy": "sample string 6",
  "ModifiedDate": "2025-04-26T16:28:20.2203269+01:00",
  "PredefinedProductAttributes": [
    {
      "Id": 1,
      "StoreId": 1,
      "AttributeMasterId": 2,
      "AttributeName": "sample string 3",
      "Name": "sample string 4",
      "PriceAdjustment": 5.0,
      "IsUsePercentage": true,
      "IsPreSelected": true,
      "DisplayOrder": 8,
      "Published": true,
      "ModifiedBy": "sample string 10",
      "ModifiedDate": "2025-04-26T16:28:20.2203269+01:00"
    },
    {
      "Id": 1,
      "StoreId": 1,
      "AttributeMasterId": 2,
      "AttributeName": "sample string 3",
      "Name": "sample string 4",
      "PriceAdjustment": 5.0,
      "IsUsePercentage": true,
      "IsPreSelected": true,
      "DisplayOrder": 8,
      "Published": true,
      "ModifiedBy": "sample string 10",
      "ModifiedDate": "2025-04-26T16:28:20.2203269+01:00"
    }
  ]
}

application/xml, text/xml

Sample:
<AttributeMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ECommerce.Service.Catalog.ViewModel">
  <Description>sample string 3</Description>
  <DisplayOrder>4</DisplayOrder>
  <Id>1</Id>
  <ModifiedBy>sample string 6</ModifiedBy>
  <ModifiedDate>2025-04-26T16:28:20.2203269+01:00</ModifiedDate>
  <Name>sample string 2</Name>
  <PredefinedProductAttributes>
    <PredefinedProductAttributeViewModel>
      <AttributeMasterId>2</AttributeMasterId>
      <AttributeName>sample string 3</AttributeName>
      <DisplayOrder>8</DisplayOrder>
      <Id>1</Id>
      <IsPreSelected>true</IsPreSelected>
      <IsUsePercentage>true</IsUsePercentage>
      <ModifiedBy>sample string 10</ModifiedBy>
      <ModifiedDate>2025-04-26T16:28:20.2203269+01:00</ModifiedDate>
      <Name>sample string 4</Name>
      <PriceAdjustment>5</PriceAdjustment>
      <Published>true</Published>
      <StoreId>1</StoreId>
    </PredefinedProductAttributeViewModel>
    <PredefinedProductAttributeViewModel>
      <AttributeMasterId>2</AttributeMasterId>
      <AttributeName>sample string 3</AttributeName>
      <DisplayOrder>8</DisplayOrder>
      <Id>1</Id>
      <IsPreSelected>true</IsPreSelected>
      <IsUsePercentage>true</IsUsePercentage>
      <ModifiedBy>sample string 10</ModifiedBy>
      <ModifiedDate>2025-04-26T16:28:20.2203269+01:00</ModifiedDate>
      <Name>sample string 4</Name>
      <PriceAdjustment>5</PriceAdjustment>
      <Published>true</Published>
      <StoreId>1</StoreId>
    </PredefinedProductAttributeViewModel>
  </PredefinedProductAttributes>
  <Published>true</Published>
  <StoreId>1</StoreId>
</AttributeMasterViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.