Znode

GET promotiontypes/{promotionTypeId}

Gets a promotion type.

Request Information

» Parameters

Name Description Additional information
promotionTypeId The ID of the promotion type.

Define this parameter in the request URI.

Response Information

» Response Body Formats

If this endpoint supports expands, they will be included in the sample response body below. However, please note that expands are NOT included in the response body by default. Expands are only included in the response body if they came through as part of the request.

Sample:
	{
  "PromotionType": {
    "ClassName": "ZnodeCartPromotionAmountOffProduct",
    "ClassType": "CART",
    "Description": "Applies an amount off a product for an order; affects the shopping cart.",
    "IsActive": true,
    "Name": "Amount Off Product",
    "PromotionTypeId": 6,
    "UserType": null
  },
  "ErrorCode": null,
  "ErrorMessage": null,
  "HasError": false
}