This request will move an existing MVNO account from one customer to another.
| URL | https://api.telecomx.dk/mvno/ACCOUNT_ID/move | ||
|---|---|---|---|
| Method | GET | ||
| Access level | ADMIN. | ||
| Param | ACCOUNT_ID | Id of the MVNO account (24 hex-char string) | |
| Query | newCustomer | String | ID of the customer the MVNO account should be moved to |
https://api.telecomx.dk/mvno/1234567890ABCD1234567890?newCustomer=2234567890ABCD1234567890
| JSON Object | ||
|---|---|---|
| success | Boolean | Indicates whether the MVNO account was moved successfully. Always true |
{ "success": true }
| Error code | Message | Description |
|---|---|---|
| 404 | newCustomer | Customer not found |
| 404 | id | Not found |
| 404 | ratePlan | Rate plan not found |
| 422 | ratePlan | The new customer's reseller does not have the same product |
| 409 | state | MVNO account is under deletion |
| 500 | internal_error | <Unspecified> |