Payment Terms Group
Create payment terms group
This endpoint is only available as early access version and will introduce breaking changes without further notice or versioning.
PaymentTermsGroups can be used to group customers with identical payment terms such as different discounts, payment targets, and free postage options. For more details about the group feature have a look at our <a href="https://help.xentral.com/hc/en-us/articles/360016722000-Groups">handbook article</a>.
post/api/v1/paymentTermsGroups
Request
- Base URLhttps://xentral.xentral.biz
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"key": "DISCOUNT_10-5",
"name": "Customer Discount 10.5%",
"comment": "Customers in this group get 10.5% discount on all orders. And free shipping if the order value is at least 99.99 EUR.",
"paymentTerms": {
"basicDiscount": 5.5,
"paymentTargetDays": 30,
"earlyPaymentDiscount": {
"value": 2.1,
"paymentTargetDays": 7
},
"postageFreeFrom": 99.99
},
"project": {
"id": "1"
},
"category": {
"id": "789"
}
}Response
Resource successfully created response
Changes
No recorded changes to this operation across all 2 revisions of this API.