Billing

Add a new order

post/api/store/{groupId}/{productId}/order

Request

  • Base URL: https://nodesty.com
  • URL: https://nodesty.com/api/store/{groupId}/{productId}/order
  • Auth: API key in header Authorization

Path parameters

groupIdstring required
Example:14

Group ID

productIdstring required
Example:197

Product ID

Request body

billingCycle'Monthly' | 'Quarterly' | 'Semi-Annually' | 'Annually'

Billing cycle

domainstring nullable

Domain name for the web/mail hosting order

optionsobject nullable

Configuration options

promoCodestring nullable

Promo code

Example request

{
  "domain": "example.com",
  "options": {
    "10": 80
  },
  "promoCode": "PROMOCODE"
}

Response

The new invoice ID

invoiceIdinteger

Invoice ID for the new order

Changes

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable

    • breaking

      the request property became not nullable