v1

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

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

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