Customer - Contracts
Create a new contract
Now you are ready to create your contract. Before that, please ensure that you check the offer with the same request parameterts. /offers
post/v2/user/customer/contracts
Request body
Example request
{
"couponDiscountCode": "I-LOVE-BEEZUP",
"couponOfferCode": "04efc310-bc25-4710-a83a-faf200284fe5"
}Response
New contract has been created. Some warnings can be present in response.
Example response
{
"links": {
"self": {
"href": "/v2/user/customer/contracts",
"method": "POST",
"parameters": {
"request": {
"in": "body",
"type": "object",
"value": {
"offerId": "1",
"storeCount": "1",
"couponDiscountCode": "I-LOVE-BEEZUP",
"couponOfferCode": "04efc310-bc25-4710-a83a-faf200284fe5",
"billingPeriodInMonth": "12"
}
}
}
},
"contracts": {
"href": "/v2/user/customer/contracts",
"method": "GET"
}
}
}