Table of Contents

API : Internet Account Change Confirm

Introduction

This request will confirm the change of product on an Internet account.

The change fee is invoiced immediately. If the change date is today, the change is applied right away and the response state is NONE; otherwise the change is scheduled and the state becomes ORDERED.

Request

URL https://api.telecomx.dk/internet/account/ACCOUNT_ID/change/confirm
Method POST
Access level RESELLER_ADMIN or ADMIN.
Params ACCOUNT_ID Id Id of the Internet Access account.
Body feeProduct Id Id of a product to invoice as a change fee.
date Date Date of change.

Query examples

{
  "feeProduct": "650000000000000000000011",
  "date": "2026-09-01T00:00:00.000Z"
}

Response

Property Type Description
state String State of change request: NONE, REQUESTED, ORDERED.
product Id New product customer wishes to change to. null when state is NONE.
by Id Id of employee who requested the change and who will get an e-mail when an offer is available.
date Date If state is REQUESTED - the date of the request. If state is ORDERED - the date the change will happen. null when state is NONE.
feeProduct Id Id of product for fee for change. null when state is NONE.
monthlyCost Number Monthly fee cost (FIBER only, RESELLER_ADMIN/ADMIN only).
monthlyWholesale Number Monthly fee reseller (FIBER only, RESELLER, RESELLER_ADMIN or ADMIN only).
monthlyCustomer Number Monthly fee customer (FIBER only). null when state is NONE.

Example

{
  "state": "ORDERED",
  "product": "650000000000000000000008",
  "by": "650000000000000000000004",
  "date": "2026-09-01T00:00:00.000Z",
  "feeProduct": "650000000000000000000011",
  "monthlyCustomer": null
}

Errors

Error code Message Description
422 <property> Invalid input for the named property - the request body, query or URL parameter failed validation
404 _id Internet account not found
404 changeRequest No pending change request found
404 template Template not found - the e-mail template is missing for a notify recipient; the change is nevertheless confirmed and invoiced
422 product Product not found
422 product Product is not valid for customer
422 product Product(s) is not valid for use
422 changeRequest.product Product not found or invalid for customer
422 changeRequest.feeProduct Product not found or invalid for customer
422 multiple Multiple errors - see inner
403 access_denied Insufficient access level
500 internal_error <Unspecified>