POST api/CategoryLevelDiscount

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
package
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "CategoryDiscountId": "2f5ee8be-6574-4351-a50b-34ad767c8c08",
  "CategoryId": "sample string 2",
  "SettingId": "fd2354c7-9ea6-47d6-921e-a57cd9725ce5",
  "TenantId": "sample string 3",
  "CategoryName": "sample string 4",
  "CategoryFullName": "sample string 5",
  "CategoryAdjustmentType": "sample string 6",
  "CategoryAdjustmentValueType": "sample string 7",
  "CategoryAdjustmentValue": "sample string 8",
  "CategoryProductIdList": "sample string 9",
  "CategoryAdjustmentStatus": true,
  "StartDateTime": "2026-03-21T21:06:40.760628+00:00",
  "IsEndDate": true,
  "EndDateTime": "2026-03-21T21:06:40.760628+00:00",
  "ShopifyShopName": "sample string 10",
  "CreatedTimeStamp": "2026-03-21T21:06:40.760628+00:00",
  "UpdatedTimeStamp": "2026-03-21T21:06:40.760628+00:00"
}

application/xml, text/xml

Sample:
<CategoryDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EdgeSettings.DAL">
  <CategoryAdjustmentStatus>true</CategoryAdjustmentStatus>
  <CategoryAdjustmentType>sample string 6</CategoryAdjustmentType>
  <CategoryAdjustmentValue>sample string 8</CategoryAdjustmentValue>
  <CategoryAdjustmentValueType>sample string 7</CategoryAdjustmentValueType>
  <CategoryDiscountId>2f5ee8be-6574-4351-a50b-34ad767c8c08</CategoryDiscountId>
  <CategoryFullName>sample string 5</CategoryFullName>
  <CategoryId>sample string 2</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <CategoryProductIdList>sample string 9</CategoryProductIdList>
  <CreatedTimeStamp>2026-03-21T21:06:40.760628+00:00</CreatedTimeStamp>
  <EndDateTime>2026-03-21T21:06:40.760628+00:00</EndDateTime>
  <IsEndDate>true</IsEndDate>
  <SettingId>fd2354c7-9ea6-47d6-921e-a57cd9725ce5</SettingId>
  <ShopifyShopName>sample string 10</ShopifyShopName>
  <StartDateTime>2026-03-21T21:06:40.760628+00:00</StartDateTime>
  <TenantId>sample string 3</TenantId>
  <UpdatedTimeStamp>2026-03-21T21:06:40.760628+00:00</UpdatedTimeStamp>
</CategoryDiscount>

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 'CategoryDiscount'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "CategoryDiscountId": "50b21427-f330-4c7e-839d-df4e3bbf7d07",
  "CategoryId": "sample string 2",
  "SettingId": "9d751957-9f3f-432c-ae3e-3f7a04521d56",
  "TenantId": "sample string 3",
  "CategoryName": "sample string 4",
  "CategoryFullName": "sample string 5",
  "CategoryAdjustmentType": "sample string 6",
  "CategoryAdjustmentValueType": "sample string 7",
  "CategoryAdjustmentValue": "sample string 8",
  "CategoryProductIdList": "sample string 9",
  "CategoryAdjustmentStatus": true,
  "StartDateTime": "2026-03-21T21:06:40.9012902+00:00",
  "IsEndDate": true,
  "EndDateTime": "2026-03-21T21:06:40.9012902+00:00",
  "ShopifyShopName": "sample string 10",
  "CreatedTimeStamp": "2026-03-21T21:06:40.9012902+00:00",
  "UpdatedTimeStamp": "2026-03-21T21:06:40.9012902+00:00"
}

application/xml, text/xml

Sample:
<CategoryDiscount xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EdgeSettings.DAL">
  <CategoryAdjustmentStatus>true</CategoryAdjustmentStatus>
  <CategoryAdjustmentType>sample string 6</CategoryAdjustmentType>
  <CategoryAdjustmentValue>sample string 8</CategoryAdjustmentValue>
  <CategoryAdjustmentValueType>sample string 7</CategoryAdjustmentValueType>
  <CategoryDiscountId>50b21427-f330-4c7e-839d-df4e3bbf7d07</CategoryDiscountId>
  <CategoryFullName>sample string 5</CategoryFullName>
  <CategoryId>sample string 2</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <CategoryProductIdList>sample string 9</CategoryProductIdList>
  <CreatedTimeStamp>2026-03-21T21:06:40.9012902+00:00</CreatedTimeStamp>
  <EndDateTime>2026-03-21T21:06:40.9012902+00:00</EndDateTime>
  <IsEndDate>true</IsEndDate>
  <SettingId>9d751957-9f3f-432c-ae3e-3f7a04521d56</SettingId>
  <ShopifyShopName>sample string 10</ShopifyShopName>
  <StartDateTime>2026-03-21T21:06:40.9012902+00:00</StartDateTime>
  <TenantId>sample string 3</TenantId>
  <UpdatedTimeStamp>2026-03-21T21:06:40.9012902+00:00</UpdatedTimeStamp>
</CategoryDiscount>