Create а coupon collection
Request body which must comply to the following JSON Schema:
{
"required" : [ "defaultCoupon", "name" ],
"type" : "object",
"properties" : {
"name" : {
"type" : "string",
"description" : "Name of the coupons collection",
"example" : "10%OFF"
},
"defaultCoupon" : {
"type" : "string",
"description" : "Default coupons collection name",
"example" : "Winter"
},
"expirationDate" : {
"type" : "string",
"description" : "Specify an expiration date for the coupon collection in RFC3339 format. Use null to remove the expiration date.",
"format" : "date-time",
"example" : "2022-01-02T00:00:00Z"
},
"remainingDaysAlert" : {
"type" : "integer",
"description" : "Send a notification alert (email) when the remaining days until the expiration date are equal or fall bellow this number. Use null to disable alerts.",
"example" : 5
},
"remainingCouponsAlert" : {
"type" : "integer",
"description" : "Send a notification alert (email) when the remaining coupons count is equal or fall bellow this number. Use null to disable alerts.",
"example" : 5
}
}
}Specify how the response should be mapped to the table output. The following formats are available:
Raw Response: Returns the raw response in a single row with the following columns:
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension Brevo from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!