Znode

POST promotions

Creates a new promotion.

Request Information

» Parameters

Name Description Additional information
model The model of the promotion.

Define this parameter in the request body.

Request Body Formats

Sample:
	{
  "AccountId": 1,
  "AddOnValueId": 1,
  "CatalogId": 1,
  "CategoryId": 1,
  "CouponCode": "sample string 1",
  "CouponQuantityAvailable": 1,
  "Custom1": "sample string 2",
  "Custom2": "sample string 3",
  "Custom3": "sample string 4",
  "Description": "sample string 5",
  "Discount": 6.0,
  "DiscountedProductId": 1,
  "DiscountedProductQuantity": 1.0,
  "DisplayOrder": 7,
  "EnableCouponUrl": true,
  "EndDate": "2018-12-09T18:32:22.886262-08:00",
  "ExternalId": "sample string 9",
  "HasCoupon": true,
  "ManufacturerId": 1,
  "MinimumOrderAmount": 1.0,
  "Name": "sample string 11",
  "PortalId": 1,
  "ProfileId": 1,
  "PromoCode": "sample string 12",
  "PromotionId": 13,
  "PromotionMessage": "sample string 14",
  "PromotionType": {
    "$id": "2",
    "ClassName": "sample string 1",
    "ClassType": "sample string 2",
    "Description": "sample string 3",
    "IsActive": true,
    "Name": "sample string 5",
    "PromotionTypeId": 6,
    "UserType": "sample string 7"
  },
  "StoreName": "sample string 15",
  "Profile": "sample string 16",
  "PromotionTypeId": 17,
  "RequiredProductId": 1,
  "RequiredProductMinimumQuantity": 1.0,
  "SkuId": 1,
  "StartDate": "2018-12-09T18:32:22.886262-08:00",
  "IsCouponAllowedWithOtherCoupons": true
}