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": "654e8851-aa09-456e-901b-fab8985389a7",
  "CategoryId": "sample string 2",
  "SettingId": "c562d4e0-98f5-4194-a4e6-24a7aa1ab934",
  "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-05-06T12:51:34.1689676+00:00",
  "IsEndDate": true,
  "EndDateTime": "2026-05-06T12:51:34.1689676+00:00",
  "ShopifyShopName": "sample string 10",
  "CreatedTimeStamp": "2026-05-06T12:51:34.1689676+00:00",
  "UpdatedTimeStamp": "2026-05-06T12:51:34.1689676+00:00",
  "IsDateTimeDriven": true
}

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>654e8851-aa09-456e-901b-fab8985389a7</CategoryDiscountId>
  <CategoryFullName>sample string 5</CategoryFullName>
  <CategoryId>sample string 2</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <CategoryProductIdList>sample string 9</CategoryProductIdList>
  <CreatedTimeStamp>2026-05-06T12:51:34.1689676+00:00</CreatedTimeStamp>
  <EndDateTime>2026-05-06T12:51:34.1689676+00:00</EndDateTime>
  <IsDateTimeDriven>true</IsDateTimeDriven>
  <IsEndDate>true</IsEndDate>
  <SettingId>c562d4e0-98f5-4194-a4e6-24a7aa1ab934</SettingId>
  <ShopifyShopName>sample string 10</ShopifyShopName>
  <StartDateTime>2026-05-06T12:51:34.1689676+00:00</StartDateTime>
  <TenantId>sample string 3</TenantId>
  <UpdatedTimeStamp>2026-05-06T12:51:34.1689676+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": "98fa914d-eccf-460a-b8cf-98015da462fc",
  "CategoryId": "sample string 2",
  "SettingId": "9b3ea0e8-20dc-4ed5-a38e-fdcc72178b6b",
  "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-05-06T12:51:34.1846028+00:00",
  "IsEndDate": true,
  "EndDateTime": "2026-05-06T12:51:34.1846028+00:00",
  "ShopifyShopName": "sample string 10",
  "CreatedTimeStamp": "2026-05-06T12:51:34.1846028+00:00",
  "UpdatedTimeStamp": "2026-05-06T12:51:34.1846028+00:00",
  "IsDateTimeDriven": true
}

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>98fa914d-eccf-460a-b8cf-98015da462fc</CategoryDiscountId>
  <CategoryFullName>sample string 5</CategoryFullName>
  <CategoryId>sample string 2</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <CategoryProductIdList>sample string 9</CategoryProductIdList>
  <CreatedTimeStamp>2026-05-06T12:51:34.1846028+00:00</CreatedTimeStamp>
  <EndDateTime>2026-05-06T12:51:34.1846028+00:00</EndDateTime>
  <IsDateTimeDriven>true</IsDateTimeDriven>
  <IsEndDate>true</IsEndDate>
  <SettingId>9b3ea0e8-20dc-4ed5-a38e-fdcc72178b6b</SettingId>
  <ShopifyShopName>sample string 10</ShopifyShopName>
  <StartDateTime>2026-05-06T12:51:34.1846028+00:00</StartDateTime>
  <TenantId>sample string 3</TenantId>
  <UpdatedTimeStamp>2026-05-06T12:51:34.1846028+00:00</UpdatedTimeStamp>
</CategoryDiscount>