Terms and conditions
Accept terms and conditions¶
PUT https://api.discover.swiss/test/b2bmarket/v1/orders/{orderNumber}/terms/{termCode}
General info:
- term list is created by the server, based on the products in the order
- all terms must be accepted to initialize the next step "payment"
- the terms must be part of the order-request
- the property termDocument contains a link to the terms
Example input
{
"accepted": "true",
"termCode": "ZHT-AGB|ZHT-DPP"
}
For possible errors and hints how to solve them see the list of the order validation messages in the reference section.