api:customer:billing-customer-remove
Table of Contents
API : Billing Customer Remove
Introduction
This request will remove a billing customer from a customer.
Request
| URL | https://api.telecomx.dk/customer/CUSTOMER_ID/billingcustomer/BILLING_CUSTOMER_ID | ||
|---|---|---|---|
| Method | DELETE | ||
| Access level | ADMIN. | ||
| Param | CUSTOMER_ID | Id of customer (24 hex-char string). | |
| BILLING_CUSTOMER_ID | Id of billing customer (24 hex-char string). | ||
Response
The response will be the newly created address, if no errors occurred.
| Json object | ||
|---|---|---|
| success | Boolean | Indicates whether the billing customer was successfully added or not |
Note that properties holding no value may be omitted from the object.
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | customer | Customer id not found in URI |
| 400 | billing_customer | Billing customer not found in body of request |
| 403 | access_denied | Insufficient access level |
| 422 | multiple | Multiple errors (the inner property holds an array of errors this request generated, which can be any of the errors below) |
| 500 | internal_error | <Unspecified> |
api/customer/billing-customer-remove.txt · Last modified: 2021/03/10 15:34 by Joakim Andersen