v1

latestSwagger 2.0BeezUP2026-07-13254876845.8 KB
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

offerIdinteger required

The offer id based on /offers. Not a free offer of course.

storeCountinteger required

The store count you want to have in your contract.

couponDiscountCodestring

The coupon discount code

couponOfferCodestring guid

Your special coupon offer identifier

billingPeriodInMonthinteger required

Can be null. The billing period in month based on /billingPeriods

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"
          }
        }
      }
    }
  }
}