PUT api/Product

Request Information

URI Parameters

None.

Body Parameters

ProductInsertUpdateRequestModel
NameDescriptionTypeAdditional information
ProductID

integer

None.

ProductName

string

Required

CollectionID

integer

Required

CategoryID

integer

None.

SubCategoryID

integer

None.

ProductType

integer

Required

Quantity

integer

Required

ProductGroupID

integer

None.

Description

string

Required

ProductFileUrl

string

None.

ProductThumbUrl

string

None.

CompressedImageFileUrl

string

None.

CompressedThumbFileUrl

string

None.

BlockchainNetworkID

integer

Required

IsUnlockableContent

boolean

Required

UnlockableContent

string

None.

IsExplicitSensitiveContent

boolean

Required

IsEnableLazyMinting

boolean

Required

IsFreezeMetadata

boolean

Required

IsCreatedByCustomer

integer

None.

MetaTitle

string

None.

MetaDescription

string

None.

ProductProperty

Collection of ProductPropertyRequestModel

None.

ProductLevel

Collection of ProductLevelRequestModel

None.

ProductStat

Collection of ProductStatsRequestModel

None.

IsFeatured

integer

None.

IsEdition

integer

None.

EditionNumber

string

None.

ProductBoosts

Collection of ProductBoostsRequestModel

None.

ProductDates

Collection of ProductDatesRequestModel

None.

CreatorFee

Collection of ProductCreatorFeeRequestModel

None.

Request Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "productID": 1,
  "productName": "sample string 1",
  "collectionID": 2,
  "categoryID": 1,
  "subCategoryID": 1,
  "productType": 3,
  "quantity": 4,
  "productGroupID": 1,
  "description": "sample string 5",
  "productFileUrl": "sample string 6",
  "productThumbUrl": "sample string 7",
  "compressedImageFileUrl": "sample string 8",
  "compressedThumbFileUrl": "sample string 9",
  "blockchainNetworkID": 10,
  "isUnlockableContent": true,
  "unlockableContent": "sample string 12",
  "isExplicitSensitiveContent": true,
  "isEnableLazyMinting": true,
  "isFreezeMetadata": true,
  "isCreatedByCustomer": 1,
  "metaTitle": "sample string 16",
  "metaDescription": "sample string 17",
  "productProperty": [
    {
      "traitTypeID": 1,
      "propertyName": "sample string 2",
      "propertyValue": "sample string 3"
    },
    {
      "traitTypeID": 1,
      "propertyName": "sample string 2",
      "propertyValue": "sample string 3"
    }
  ],
  "productLevel": [
    {
      "traitTypeID": 1,
      "levelName": "sample string 2",
      "minValue": 3,
      "maxValue": 4
    },
    {
      "traitTypeID": 1,
      "levelName": "sample string 2",
      "minValue": 3,
      "maxValue": 4
    }
  ],
  "productStat": [
    {
      "traitTypeID": 1,
      "statName": "sample string 2",
      "minValue": 3,
      "maxValue": 4
    },
    {
      "traitTypeID": 1,
      "statName": "sample string 2",
      "minValue": 3,
      "maxValue": 4
    }
  ],
  "isFeatured": 1,
  "isEdition": 1,
  "editionNumber": "sample string 18",
  "productBoosts": [
    {
      "name": "sample string 1",
      "type": 1,
      "parcentageValue": 1,
      "minValue": 1,
      "maxValue": 1
    },
    {
      "name": "sample string 1",
      "type": 1,
      "parcentageValue": 1,
      "minValue": 1,
      "maxValue": 1
    }
  ],
  "productDates": [
    {
      "name": "sample string 1",
      "dateValue": "2026-11-29T14:01:24.8888129+00:00"
    },
    {
      "name": "sample string 1",
      "dateValue": "2026-11-29T14:01:24.8888129+00:00"
    }
  ],
  "creatorFee": [
    {
      "earningWalletAddress": "sample string 1",
      "earningPercentage": 2.0
    },
    {
      "earningWalletAddress": "sample string 1",
      "earningPercentage": 2.0
    }
  ]
}

application/xml, text/xml

Sample:
<ProductInsertUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel">
  <BlockchainNetworkID>10</BlockchainNetworkID>
  <CategoryID>1</CategoryID>
  <CollectionID>2</CollectionID>
  <CompressedImageFileUrl>sample string 8</CompressedImageFileUrl>
  <CompressedThumbFileUrl>sample string 9</CompressedThumbFileUrl>
  <CreatorFee>
    <ProductCreatorFeeRequestModel>
      <EarningPercentage>2</EarningPercentage>
      <EarningWalletAddress>sample string 1</EarningWalletAddress>
    </ProductCreatorFeeRequestModel>
    <ProductCreatorFeeRequestModel>
      <EarningPercentage>2</EarningPercentage>
      <EarningWalletAddress>sample string 1</EarningWalletAddress>
    </ProductCreatorFeeRequestModel>
  </CreatorFee>
  <Description>sample string 5</Description>
  <EditionNumber>sample string 18</EditionNumber>
  <IsCreatedByCustomer>1</IsCreatedByCustomer>
  <IsEdition>1</IsEdition>
  <IsEnableLazyMinting>true</IsEnableLazyMinting>
  <IsExplicitSensitiveContent>true</IsExplicitSensitiveContent>
  <IsFeatured>1</IsFeatured>
  <IsFreezeMetadata>true</IsFreezeMetadata>
  <IsUnlockableContent>true</IsUnlockableContent>
  <MetaDescription>sample string 17</MetaDescription>
  <MetaTitle>sample string 16</MetaTitle>
  <ProductBoosts>
    <ProductBoostsRequestModel>
      <MaxValue>1</MaxValue>
      <MinValue>1</MinValue>
      <Name>sample string 1</Name>
      <ParcentageValue>1</ParcentageValue>
      <Type>1</Type>
    </ProductBoostsRequestModel>
    <ProductBoostsRequestModel>
      <MaxValue>1</MaxValue>
      <MinValue>1</MinValue>
      <Name>sample string 1</Name>
      <ParcentageValue>1</ParcentageValue>
      <Type>1</Type>
    </ProductBoostsRequestModel>
  </ProductBoosts>
  <ProductDates>
    <ProductDatesRequestModel>
      <DateValue>2026-11-29T14:01:24.8888129+00:00</DateValue>
      <Name>sample string 1</Name>
    </ProductDatesRequestModel>
    <ProductDatesRequestModel>
      <DateValue>2026-11-29T14:01:24.8888129+00:00</DateValue>
      <Name>sample string 1</Name>
    </ProductDatesRequestModel>
  </ProductDates>
  <ProductFileUrl>sample string 6</ProductFileUrl>
  <ProductGroupID>1</ProductGroupID>
  <ProductID>1</ProductID>
  <ProductLevel>
    <ProductLevelRequestModel>
      <LevelName>sample string 2</LevelName>
      <MaxValue>4</MaxValue>
      <MinValue>3</MinValue>
      <TraitTypeID>1</TraitTypeID>
    </ProductLevelRequestModel>
    <ProductLevelRequestModel>
      <LevelName>sample string 2</LevelName>
      <MaxValue>4</MaxValue>
      <MinValue>3</MinValue>
      <TraitTypeID>1</TraitTypeID>
    </ProductLevelRequestModel>
  </ProductLevel>
  <ProductName>sample string 1</ProductName>
  <ProductProperty>
    <ProductPropertyRequestModel>
      <PropertyName>sample string 2</PropertyName>
      <PropertyValue>sample string 3</PropertyValue>
      <TraitTypeID>1</TraitTypeID>
    </ProductPropertyRequestModel>
    <ProductPropertyRequestModel>
      <PropertyName>sample string 2</PropertyName>
      <PropertyValue>sample string 3</PropertyValue>
      <TraitTypeID>1</TraitTypeID>
    </ProductPropertyRequestModel>
  </ProductProperty>
  <ProductStat>
    <ProductStatsRequestModel>
      <MaxValue>4</MaxValue>
      <MinValue>3</MinValue>
      <StatName>sample string 2</StatName>
      <TraitTypeID>1</TraitTypeID>
    </ProductStatsRequestModel>
    <ProductStatsRequestModel>
      <MaxValue>4</MaxValue>
      <MinValue>3</MinValue>
      <StatName>sample string 2</StatName>
      <TraitTypeID>1</TraitTypeID>
    </ProductStatsRequestModel>
  </ProductStat>
  <ProductThumbUrl>sample string 7</ProductThumbUrl>
  <ProductType>3</ProductType>
  <Quantity>4</Quantity>
  <SubCategoryID>1</SubCategoryID>
  <UnlockableContent>sample string 12</UnlockableContent>
</ProductInsertUpdateRequestModel>

multipart/form-data

Sample:
<ProductInsertUpdateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWardsV2.Core.RequestModel"><BlockchainNetworkID>10</BlockchainNetworkID><CategoryID>1</CategoryID><CollectionID>2</CollectionID><CompressedImageFileUrl>sample string 8</CompressedImageFileUrl><CompressedThumbFileUrl>sample string 9</CompressedThumbFileUrl><CreatorFee><ProductCreatorFeeRequestModel><EarningPercentage>2</EarningPercentage><EarningWalletAddress>sample string 1</EarningWalletAddress></ProductCreatorFeeRequestModel><ProductCreatorFeeRequestModel><EarningPercentage>2</EarningPercentage><EarningWalletAddress>sample string 1</EarningWalletAddress></ProductCreatorFeeRequestModel></CreatorFee><Description>sample string 5</Description><EditionNumber>sample string 18</EditionNumber><IsCreatedByCustomer>1</IsCreatedByCustomer><IsEdition>1</IsEdition><IsEnableLazyMinting>true</IsEnableLazyMinting><IsExplicitSensitiveContent>true</IsExplicitSensitiveContent><IsFeatured>1</IsFeatured><IsFreezeMetadata>true</IsFreezeMetadata><IsUnlockableContent>true</IsUnlockableContent><MetaDescription>sample string 17</MetaDescription><MetaTitle>sample string 16</MetaTitle><ProductBoosts><ProductBoostsRequestModel><MaxValue>1</MaxValue><MinValue>1</MinValue><Name>sample string 1</Name><ParcentageValue>1</ParcentageValue><Type>1</Type></ProductBoostsRequestModel><ProductBoostsRequestModel><MaxValue>1</MaxValue><MinValue>1</MinValue><Name>sample string 1</Name><ParcentageValue>1</ParcentageValue><Type>1</Type></ProductBoostsRequestModel></ProductBoosts><ProductDates><ProductDatesRequestModel><DateValue>2026-11-29T14:01:24.8888129+00:00</DateValue><Name>sample string 1</Name></ProductDatesRequestModel><ProductDatesRequestModel><DateValue>2026-11-29T14:01:24.8888129+00:00</DateValue><Name>sample string 1</Name></ProductDatesRequestModel></ProductDates><ProductFileUrl>sample string 6</ProductFileUrl><ProductGroupID>1</ProductGroupID><ProductID>1</ProductID><ProductLevel><ProductLevelRequestModel><LevelName>sample string 2</LevelName><MaxValue>4</MaxValue><MinValue>3</MinValue><TraitTypeID>1</TraitTypeID></ProductLevelRequestModel><ProductLevelRequestModel><LevelName>sample string 2</LevelName><MaxValue>4</MaxValue><MinValue>3</MinValue><TraitTypeID>1</TraitTypeID></ProductLevelRequestModel></ProductLevel><ProductName>sample string 1</ProductName><ProductProperty><ProductPropertyRequestModel><PropertyName>sample string 2</PropertyName><PropertyValue>sample string 3</PropertyValue><TraitTypeID>1</TraitTypeID></ProductPropertyRequestModel><ProductPropertyRequestModel><PropertyName>sample string 2</PropertyName><PropertyValue>sample string 3</PropertyValue><TraitTypeID>1</TraitTypeID></ProductPropertyRequestModel></ProductProperty><ProductStat><ProductStatsRequestModel><MaxValue>4</MaxValue><MinValue>3</MinValue><StatName>sample string 2</StatName><TraitTypeID>1</TraitTypeID></ProductStatsRequestModel><ProductStatsRequestModel><MaxValue>4</MaxValue><MinValue>3</MinValue><StatName>sample string 2</StatName><TraitTypeID>1</TraitTypeID></ProductStatsRequestModel></ProductStat><ProductThumbUrl>sample string 7</ProductThumbUrl><ProductType>3</ProductType><Quantity>4</Quantity><SubCategoryID>1</SubCategoryID><UnlockableContent>sample string 12</UnlockableContent></ProductInsertUpdateRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ProductInsertUpdateRequestModel'.

Response Information

Resource Description

CommonResponseDataModel
NameDescriptionTypeAdditional information
ReturnID

integer

Required

Message

string

Required

Successful

boolean

Required

Code

integer

None.

TotalRecord

integer

None.

Response Formats

application/json, text/json, text/plain, text/html

Sample:
{
  "returnID": 1,
  "message": "sample string 2",
  "successful": true,
  "code": 4,
  "totalRecord": 5
}

application/xml, text/xml

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel">
  <Code>4</Code>
  <Message>sample string 2</Message>
  <ReturnID>1</ReturnID>
  <Successful>true</Successful>
  <TotalRecord>5</TotalRecord>
</CommonResponseDataModel>

multipart/form-data

Sample:
<CommonResponseDataModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NFTWards.Core.DataModel"><Code>4</Code><Message>sample string 2</Message><ReturnID>1</ReturnID><Successful>true</Successful><TotalRecord>5</TotalRecord></CommonResponseDataModel>