Customer Migrations Guide: Supply Point Import
This page documents the reference information for the APIs for importing supply points for network distribution
Overview
Use this endpoint to validate a supply point payload.
Schema
Responses
The following responses may be returned from the API.
| Status code | Description |
|---|---|
200 - OK |
If the payload is valid, a |
400 - Bad Request |
If there are validation errors a {
"supply_point": {
"identifier": [
"123456789 is not a valid supply point identifier."
]
}
} |
Payloads
Example payload
{
"payload": {
"import_supplier": "TEST_SUPPLIER",
"supply_point": {
"identifier": "4001248530",
"supply_type": "ELECTRICITY_DISTRIBUTION",
"substation": "123456789",
"critical_load": false
},
"accounts": [
{
"account_type": "DOMESTIC_THIRD_PARTY_BILLED",
"customer_at_supply_address_from_date": "2024-01-01",
"customers": [
{
"title": "Mr",
"given_name": "Mickey",
"family_name": "Mouse",
"email": "mrmickey@waltdisney.com",
"mobile": "0488008221",
"landline": "+61280082213",
"salutation": "Hi",
"account_roles": [
"ADMIN"
],
"postal_address": {
"administrative_area": "NSW",
"country": "AU",
"delivery_point_identifier": "",
"dependent_locality": "",
"locality": "MOREE",
"postal_code": "2400",
"sorting_code": "",
"street_address": "",
"structured_street_address": {
"postal_delivery_number_value": "111",
"postal_delivery_type": "PO BOX"
}
}
}
],
"outage_contact": {
"title": "Mr",
"given_name": "Mickey",
"family_name": "Mouse",
"suffix": "XYZ",
"name_type": "AKA",
"phone_1": {
"number": "0400123123",
"service_type": "MOBILE_VOICE",
"prefix": "+61"
},
"phone_2": {
"number": "0400321321",
"service_type": "MOBILE_VOICE",
"prefix": ""
},
"email_address": "mrmickey1@waltdisney.com",
"postal_address": {
"administrative_area": "NSW",
"country": "AU",
"locality": "ANY",
"postal_code": "3070",
"delivery_point_identifier": "51234568",
"structured_street_address": {
"house_number_1": "11",
"building_or_property_name": "",
"flat_or_unit_number": "1",
"flat_or_unit_type": "U",
"street_name": "Queen's",
"street_type": "RD"
}
}
}
}
]
}
}Overview
Use this endpoint to create a supply point and associated objects.
Schema
Responses
The following responses may be returned from the API.
| Status code | Description |
|---|---|
201 - Created |
If the payload is valid, and supply point creation has been scheduled, a |
400 - Bad Request |
If there are validation errors, a {
"non_field_errors": {
"detail": "The import process with the supply point identifier 123456789 has already been imported.",
"code": "supply_point_import_process_already_imported"
},
"supply_point_identifier": "123456789"
} |
Payloads
Example payload
{
"payload": {
"import_supplier": "TEST_SUPPLIER",
"supply_point": {
"identifier": "4001248530",
"supply_type": "ELECTRICITY_DISTRIBUTION",
"substation": "123456789",
"critical_load": false
},
"accounts": [
{
"account_type": "DOMESTIC_THIRD_PARTY_BILLED",
"customer_at_supply_address_from_date": "2024-01-01",
"customers": [
{
"title": "Mr",
"given_name": "Mickey",
"family_name": "Mouse",
"email": "mrmickey@waltdisney.com",
"mobile": "0488008221",
"landline": "+61280082213",
"salutation": "Hi",
"account_roles": [
"ADMIN"
],
"postal_address": {
"administrative_area": "NSW",
"country": "AU",
"delivery_point_identifier": "",
"dependent_locality": "",
"locality": "MOREE",
"postal_code": "2400",
"sorting_code": "",
"street_address": "",
"structured_street_address": {
"postal_delivery_number_value": "111",
"postal_delivery_type": "PO BOX"
}
}
}
],
"outage_contact": {
"title": "Mr",
"given_name": "Mickey",
"family_name": "Mouse",
"suffix": "XYZ",
"name_type": "AKA",
"phone_1": {
"number": "0400123123",
"service_type": "MOBILE_VOICE",
"prefix": "+61"
},
"phone_2": {
"number": "0400321321",
"service_type": "MOBILE_VOICE",
"prefix": ""
},
"email_address": "mrmickey1@waltdisney.com",
"postal_address": {
"administrative_area": "NSW",
"country": "AU",
"locality": "ANY",
"postal_code": "3070",
"delivery_point_identifier": "51234568",
"structured_street_address": {
"house_number_1": "11",
"building_or_property_name": "",
"flat_or_unit_number": "1",
"flat_or_unit_type": "U",
"street_name": "Queen's",
"street_type": "RD"
}
}
}
}
]
}
}Overview
Use this endpoint to retrieve the current status of a supply point import.
Responses
The following responses may be returned from the API.
| Status code | Description |
|---|---|
200 - OK |
If the supply point import process exists, a For example when there is no error in processing: {
"status": "IN_PROGRESS | PENDING | CANCELLED | DRY_RUN_SUCCEEDED | PROCESSED",
"kraken_identifier": null,
"created_at": "2025-10-07T09:00:21.179194+02:00",
"modified_at": "2025-10-07T09:06:38.078396+02:00",
"latest_error": null
}For example when the import process is processed we have an internal kraken id: {
"status": "PROCESSED",
"kraken_identifier": "INTERNAL-KRAKEN-IDENTIFIER",
"created_at": "2025-10-07T09:00:21.179194+02:00",
"modified_at": "2025-10-07T09:06:38.078396+02:00",
"latest_error": null
}For example when there is an error in processing: {
"status": "ERRORED | DRY_RUN_ERRORED",
"kraken_identifier": null,
"created_at": "2025-10-07T09:00:21.179194+02:00",
"modified_at": "2025-10-07T09:06:38.078396+02:00",
"latest_error": {
"code": "some_error_code",
"detail": "A detailed error message",
"domain": "account_import"
}
} |
404 - Not Found | If there is not a matching import process: {
"detail": "The requested resource was not found.",
"code": "not_found"
} |