Customer - Contracts
Get offer pricing
Get the offer pricing then you can create your contract with the same request parameters. /v2/user/customer/contracts
post/v2/user/customer/offers
Request body
Example request
{
"couponDiscountCode": "I-LOVE-BEEZUP",
"couponOfferCode": "04efc310-bc25-4710-a83a-faf200284fe5"
}Response
Get the offer proposal considering your current contract
Example response
{
"content": {
"previousFixPeriodInvoiceProrataInfo": {
"invoiceNumber": "B1234",
"contractId": "8a7fbdec-9e71-472e-9974-27d5c1d57cf8",
"fixedPeriodEndDate": "2017-05-01",
"fixedPeriodStartDate": "2017-04-01"
},
"contractCommitmentInfo": {
"commitmentCalculatedFinishDate": "2017-06-02",
"newContractStartDate": "2017-05-01T13:02:24",
"offerName": "Premium",
"currentContractId": "dce56457-aa23-478d-8d76-b56eb9be799f",
"commercialUserId": "0ddc2b79-10fe-4071-8161-42faa897082f",
"model": "BLABLA",
"currentContractTerminationDate": "2017-06-02",
"couponOfferCode": "04efc310-bc25-4710-a83a-faf200284fe5",
"commercialCreatorUserId": "6e07814d-26a9-494b-91b2-e5ed0b9aba8c"
},
"contractDiscountInfo": {
"promotionalCodeValidity": "Valid",
"couponDiscountCode": "I-LOVE-BEEZUP"
},
"contractMoneyInfo": {
"currencyCode": "EUR"
},
"contractTerminationReason": "I'm crazy, I want to leave your splendid service..."
},
"links": {
"createContract": {
"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"
}
}
}
}
}
}