POST api/Wishlist

Request Information

URI Parameters

None.

Body Parameters

Wishlist
NameDescriptionTypeAdditional information
Id

integer

None.

WishlistName

string

None.

CustomerId

integer

None.

ProductId

integer

None.

ProductList

Collection of Product

None.

ProductName

string

None.

IsActive

boolean

None.

CreatedBy

string

None.

CreatedDate

date

None.

UpdatedBy

string

None.

UpdatedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "WishlistName": "sample string 2",
  "CustomerId": 1,
  "ProductId": 1,
  "ProductList": [
    {
      "ProductId": 1,
      "ProductName": "sample string 2",
      "ProductCode": "sample string 3",
      "Productdeletedflag": true,
      "IsDeliveryFree": 1,
      "SKUCode": "sample string 4",
      "UPCCode": "sample string 5",
      "HSNCode": 1,
      "BrandId": 1,
      "Description": "sample string 6",
      "Specification": "sample string 7",
      "ProductImage": "sample string 8",
      "Image2": "sample string 9",
      "Image3": "sample string 10",
      "Image4": "sample string 11",
      "Image5": "sample string 12",
      "MainCategoryId": 1,
      "ProductCategoryId": 1,
      "ProductSubCategoryId": 1,
      "BuyerLimit": 1,
      "Size": 1,
      "Unit": 1,
      "Color": 1,
      "YoutubeLink": "sample string 13",
      "Guarantee": "sample string 14",
      "AverageRating": 1.0,
      "IsActive": true,
      "CreatedBy": "sample string 15",
      "CreatedDate": "2026-10-06T22:46:52.647343+05:30",
      "UpdatedBy": "sample string 16",
      "UpdatedDate": "2026-10-06T22:46:52.647343+05:30",
      "Price": {
        "Id": 1,
        "ProductId": 1,
        "ProductCode": "sample string 2",
        "BasePrice": 1.0,
        "SalePrice": 1.0,
        "WebPrice": 1.0,
        "DiscountPercent": 1.0,
        "DiscountPrice": 1.0,
        "SGSTPercent": 1.0,
        "SGST": 1.0,
        "IGSTPercent": 1.0,
        "IGST": 1.0,
        "OtherTax": 1.0,
        "IsActive": true,
        "CreatedBy": "sample string 3",
        "CreatedDate": "2026-10-06T22:46:52.647343+05:30",
        "UpdatedBy": "sample string 4",
        "UpdatedDate": "2026-10-06T22:46:52.647343+05:30"
      }
    },
    {
      "ProductId": 1,
      "ProductName": "sample string 2",
      "ProductCode": "sample string 3",
      "Productdeletedflag": true,
      "IsDeliveryFree": 1,
      "SKUCode": "sample string 4",
      "UPCCode": "sample string 5",
      "HSNCode": 1,
      "BrandId": 1,
      "Description": "sample string 6",
      "Specification": "sample string 7",
      "ProductImage": "sample string 8",
      "Image2": "sample string 9",
      "Image3": "sample string 10",
      "Image4": "sample string 11",
      "Image5": "sample string 12",
      "MainCategoryId": 1,
      "ProductCategoryId": 1,
      "ProductSubCategoryId": 1,
      "BuyerLimit": 1,
      "Size": 1,
      "Unit": 1,
      "Color": 1,
      "YoutubeLink": "sample string 13",
      "Guarantee": "sample string 14",
      "AverageRating": 1.0,
      "IsActive": true,
      "CreatedBy": "sample string 15",
      "CreatedDate": "2026-10-06T22:46:52.647343+05:30",
      "UpdatedBy": "sample string 16",
      "UpdatedDate": "2026-10-06T22:46:52.647343+05:30",
      "Price": {
        "Id": 1,
        "ProductId": 1,
        "ProductCode": "sample string 2",
        "BasePrice": 1.0,
        "SalePrice": 1.0,
        "WebPrice": 1.0,
        "DiscountPercent": 1.0,
        "DiscountPrice": 1.0,
        "SGSTPercent": 1.0,
        "SGST": 1.0,
        "IGSTPercent": 1.0,
        "IGST": 1.0,
        "OtherTax": 1.0,
        "IsActive": true,
        "CreatedBy": "sample string 3",
        "CreatedDate": "2026-10-06T22:46:52.647343+05:30",
        "UpdatedBy": "sample string 4",
        "UpdatedDate": "2026-10-06T22:46:52.647343+05:30"
      }
    }
  ],
  "ProductName": "sample string 3",
  "IsActive": true,
  "CreatedBy": "sample string 4",
  "CreatedDate": "2026-10-06T22:46:52.6478811+05:30",
  "UpdatedBy": "sample string 5",
  "UpdatedDate": "2026-10-06T22:46:52.6484203+05:30"
}

application/xml, text/xml

Sample:
<Wishlist xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models.DbEntities">
  <CreatedBy>sample string 4</CreatedBy>
  <CreatedDate>2026-10-06T22:46:52.6478811+05:30</CreatedDate>
  <CustomerId>1</CustomerId>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <ProductId>1</ProductId>
  <ProductList>
    <Product>
      <AverageRating>1</AverageRating>
      <BrandId>1</BrandId>
      <BuyerLimit>1</BuyerLimit>
      <Color>1</Color>
      <CreatedBy>sample string 15</CreatedBy>
      <CreatedDate>2026-10-06T22:46:52.647343+05:30</CreatedDate>
      <Description>sample string 6</Description>
      <Guarantee>sample string 14</Guarantee>
      <HSNCode>1</HSNCode>
      <Image2>sample string 9</Image2>
      <Image3>sample string 10</Image3>
      <Image4>sample string 11</Image4>
      <Image5>sample string 12</Image5>
      <IsActive>true</IsActive>
      <IsDeliveryFree>1</IsDeliveryFree>
      <MainCategoryId>1</MainCategoryId>
      <Price>
        <BasePrice>1</BasePrice>
        <CreatedBy>sample string 3</CreatedBy>
        <CreatedDate>2026-10-06T22:46:52.647343+05:30</CreatedDate>
        <DiscountPercent>1</DiscountPercent>
        <DiscountPrice>1</DiscountPrice>
        <IGST>1</IGST>
        <IGSTPercent>1</IGSTPercent>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <OtherTax>1</OtherTax>
        <ProductCode>sample string 2</ProductCode>
        <ProductId>1</ProductId>
        <SGST>1</SGST>
        <SGSTPercent>1</SGSTPercent>
        <SalePrice>1</SalePrice>
        <UpdatedBy>sample string 4</UpdatedBy>
        <UpdatedDate>2026-10-06T22:46:52.647343+05:30</UpdatedDate>
        <WebPrice>1</WebPrice>
      </Price>
      <ProductCategoryId>1</ProductCategoryId>
      <ProductCode>sample string 3</ProductCode>
      <ProductId>1</ProductId>
      <ProductImage>sample string 8</ProductImage>
      <ProductName>sample string 2</ProductName>
      <ProductSubCategoryId>1</ProductSubCategoryId>
      <Productdeletedflag>true</Productdeletedflag>
      <SKUCode>sample string 4</SKUCode>
      <Size>1</Size>
      <Specification>sample string 7</Specification>
      <UPCCode>sample string 5</UPCCode>
      <Unit>1</Unit>
      <UpdatedBy>sample string 16</UpdatedBy>
      <UpdatedDate>2026-10-06T22:46:52.647343+05:30</UpdatedDate>
      <YoutubeLink>sample string 13</YoutubeLink>
    </Product>
    <Product>
      <AverageRating>1</AverageRating>
      <BrandId>1</BrandId>
      <BuyerLimit>1</BuyerLimit>
      <Color>1</Color>
      <CreatedBy>sample string 15</CreatedBy>
      <CreatedDate>2026-10-06T22:46:52.647343+05:30</CreatedDate>
      <Description>sample string 6</Description>
      <Guarantee>sample string 14</Guarantee>
      <HSNCode>1</HSNCode>
      <Image2>sample string 9</Image2>
      <Image3>sample string 10</Image3>
      <Image4>sample string 11</Image4>
      <Image5>sample string 12</Image5>
      <IsActive>true</IsActive>
      <IsDeliveryFree>1</IsDeliveryFree>
      <MainCategoryId>1</MainCategoryId>
      <Price>
        <BasePrice>1</BasePrice>
        <CreatedBy>sample string 3</CreatedBy>
        <CreatedDate>2026-10-06T22:46:52.647343+05:30</CreatedDate>
        <DiscountPercent>1</DiscountPercent>
        <DiscountPrice>1</DiscountPrice>
        <IGST>1</IGST>
        <IGSTPercent>1</IGSTPercent>
        <Id>1</Id>
        <IsActive>true</IsActive>
        <OtherTax>1</OtherTax>
        <ProductCode>sample string 2</ProductCode>
        <ProductId>1</ProductId>
        <SGST>1</SGST>
        <SGSTPercent>1</SGSTPercent>
        <SalePrice>1</SalePrice>
        <UpdatedBy>sample string 4</UpdatedBy>
        <UpdatedDate>2026-10-06T22:46:52.647343+05:30</UpdatedDate>
        <WebPrice>1</WebPrice>
      </Price>
      <ProductCategoryId>1</ProductCategoryId>
      <ProductCode>sample string 3</ProductCode>
      <ProductId>1</ProductId>
      <ProductImage>sample string 8</ProductImage>
      <ProductName>sample string 2</ProductName>
      <ProductSubCategoryId>1</ProductSubCategoryId>
      <Productdeletedflag>true</Productdeletedflag>
      <SKUCode>sample string 4</SKUCode>
      <Size>1</Size>
      <Specification>sample string 7</Specification>
      <UPCCode>sample string 5</UPCCode>
      <Unit>1</Unit>
      <UpdatedBy>sample string 16</UpdatedBy>
      <UpdatedDate>2026-10-06T22:46:52.647343+05:30</UpdatedDate>
      <YoutubeLink>sample string 13</YoutubeLink>
    </Product>
  </ProductList>
  <ProductName>sample string 3</ProductName>
  <UpdatedBy>sample string 5</UpdatedBy>
  <UpdatedDate>2026-10-06T22:46:52.6484203+05:30</UpdatedDate>
  <WishlistName>sample string 2</WishlistName>
</Wishlist>

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.