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": "39be0afc-af98-439e-af86-8a4a0d227a68",
  "CategoryId": "sample string 2",
  "SettingId": "34246c1b-cec5-46ff-9aff-c69867b3cfd0",
  "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-08-04T21:56:11.1174206+00:00",
  "IsEndDate": true,
  "EndDateTime": "2026-08-04T21:56:11.1174206+00:00",
  "ShopifyShopName": "sample string 10",
  "CreatedTimeStamp": "2026-08-04T21:56:11.1174206+00:00",
  "UpdatedTimeStamp": "2026-08-04T21:56:11.1174206+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>39be0afc-af98-439e-af86-8a4a0d227a68</CategoryDiscountId>
  <CategoryFullName>sample string 5</CategoryFullName>
  <CategoryId>sample string 2</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <CategoryProductIdList>sample string 9</CategoryProductIdList>
  <CreatedTimeStamp>2026-08-04T21:56:11.1174206+00:00</CreatedTimeStamp>
  <EndDateTime>2026-08-04T21:56:11.1174206+00:00</EndDateTime>
  <IsDateTimeDriven>true</IsDateTimeDriven>
  <IsEndDate>true</IsEndDate>
  <SettingId>34246c1b-cec5-46ff-9aff-c69867b3cfd0</SettingId>
  <ShopifyShopName>sample string 10</ShopifyShopName>
  <StartDateTime>2026-08-04T21:56:11.1174206+00:00</StartDateTime>
  <TenantId>sample string 3</TenantId>
  <UpdatedTimeStamp>2026-08-04T21:56:11.1174206+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": "af47294b-b311-4f6e-a31f-0804ee6f7ab6",
  "CategoryId": "sample string 2",
  "SettingId": "0c1d1245-629e-40dd-9e0c-11842cc60c22",
  "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-08-04T21:56:11.1330508+00:00",
  "IsEndDate": true,
  "EndDateTime": "2026-08-04T21:56:11.1330508+00:00",
  "ShopifyShopName": "sample string 10",
  "CreatedTimeStamp": "2026-08-04T21:56:11.1330508+00:00",
  "UpdatedTimeStamp": "2026-08-04T21:56:11.1330508+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>af47294b-b311-4f6e-a31f-0804ee6f7ab6</CategoryDiscountId>
  <CategoryFullName>sample string 5</CategoryFullName>
  <CategoryId>sample string 2</CategoryId>
  <CategoryName>sample string 4</CategoryName>
  <CategoryProductIdList>sample string 9</CategoryProductIdList>
  <CreatedTimeStamp>2026-08-04T21:56:11.1330508+00:00</CreatedTimeStamp>
  <EndDateTime>2026-08-04T21:56:11.1330508+00:00</EndDateTime>
  <IsDateTimeDriven>true</IsDateTimeDriven>
  <IsEndDate>true</IsEndDate>
  <SettingId>0c1d1245-629e-40dd-9e0c-11842cc60c22</SettingId>
  <ShopifyShopName>sample string 10</ShopifyShopName>
  <StartDateTime>2026-08-04T21:56:11.1330508+00:00</StartDateTime>
  <TenantId>sample string 3</TenantId>
  <UpdatedTimeStamp>2026-08-04T21:56:11.1330508+00:00</UpdatedTimeStamp>
</CategoryDiscount>