/// <summary>
        /// Creates a new Discount Code.
        /// </summary>
        /// <param name="discountCodeDraft">DiscountCodeDraft</param>
        /// <returns>DiscountCode</returns>
        /// <see href="https://dev.commercetools.com/http-api-projects-discountCodes.html#create-a-discountcode"/>
        public Task <Response <DiscountCode> > CreateDiscountCodeAsync(DiscountCodeDraft discountCodeDraft)
        {
            string payload = JsonConvert.SerializeObject(discountCodeDraft, new JsonSerializerSettings {
                NullValueHandling = NullValueHandling.Ignore
            });

            return(_client.PostAsync <DiscountCode>(ENDPOINT_PREFIX, payload));
        }