Create a subscription with a monetary discount The URL for this webservice is POST: /rest/{client}/subscriptions Specific fields for a monetary discount: To submit a monetary discount and the value of the discount it is necessary to use extraPayDiscount: ParameterDescription extraPayDiscount *currencyCodeCurrency code for discount (only in use for renewal) *discountdiscount It is also possible to transfer a discount with a voucher code within the subscription. Voucher details and the voucher code can be transferred by using an order attribute. Here, the total paid amount results from “totalPaidAmount” amount and the “discount”. Example Subscription order paid by voucher Example for the scenario: Subscription order paid by voucher For example, a customer’s total order will be £795, and they pay £700 by direct debit and £95 by voucher. “totalPaidAmount” : 700.00 “extraPayDiscount” “discount” : 95.00 { "promotionSource" : "WEBSHOP", "offerCode" : "BAR1", "publication" : "00000100", "edition" : "00000100", "mixType" : "01", "quantity" : "1", "customerPurchaseOrderType" : "I", "issueNumberFrom" : "000006880", "paymentMethod" : "E", "totalPaidCurrencyCode" : "GBP", "totalPaidAmount" : 700.00, "extraPayDiscount" : { "discount" : 95, "currencyCode" : "GBP" }, "priceListType" : "01", "fixedPriceListAndCurrencyCode" : true, "externalOrderNumber" : "93-2", "inputOffice" : "IMM-INPUT", "inputDate" : "2017-04-19", "inputUser" : "SYS-RFC", "saveInSystem" : true, "matriculatedTo" : "2019-01-20", "saveInSystem" : true, "postAtOnce" : false, "dsbEPaymentGuid" : "ac5f2111-d2ff-402e-b760-5d4e67d19b6f", "subscriptionRenewal" : { "automaticRenewal" : false }, "bpRelations" : [ { "role" : "AG", "bp" : {…} }], "orderAttribute" : [ { "type": DISCOU", "value": "HappyEaster" }] } This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.OKMore information