Associating each domain with its end client

API & DocumentationWhat You Can Automate·· 7 views· 3 min read

In short: when you resell, every domain sits in your own account. To know whose each one is, especially when the renewal comes round, associate it with your end client: on the reseller page in Meu Interweb, or through the API. It is a label for you, with the client's name. The domain reseller page lists it as the first thing to sort out before you sell.

In Meu Interweb

1 Open the reseller page and go to Your services and clients.
2 You will find the domains and services in your account, with the due date, the renewal price and any unpaid invoice.
3 Type the end client's name next to each domain. To remove the label, clear the name.

The same page counts how many services have no end client and how many are due in the next 30 days. It is the quickest way to see what is still unassociated and what you need to bill a client for before renewing.

Through the API

If your clients already live in your own system, associate them at registration time. PUT /v1/reseller/customers/{type}/{id} saves the label, with type set to domain or service and the id from GET /v1/domains. The name can be up to 80 characters; an empty name removes the label. It needs reseller:write.

curl https://api.interweb.co.mz/v1/reseller/customers/domain/913 -X PUT \
-H "Authorization: Bearer $INTERWEB_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "João Fernandes"}'

GET /v1/reseller/customers, with reseller:read, lists the labelled domains and services, in pages. Filter with type and search, for example to see everything that belongs to one client. Each row has the domain, the status and the customer_name.

These operations are only for active Reseller Program members. Other accounts get 403 reseller_program_required.

The label does not change the registrant. It is there to organise your portfolio: it does not create an account for the client or change the domain contacts. The domain stays in your account and is renewed from your credit. Changing the contacts and the registrant is not in the API yet; it is done in Meu Interweb. See changing who owns a domain.
Always use the same name for the same client, ideally the one in your billing system. That way a search for that name returns all of their domains, and at renewal you know straight away who to invoice.

Keep your clients' domains organised from the very first registration. The domain reseller page covers the rest worth knowing.

See the domain reseller page

SEE ALSO

The API for resellers and agencies: account, reseller programs and what the API does not cover

Who owns a domain: the registry and the registrant

Changing who owns a domain: a contact update or a change of registrant, and what to expect

Domain renewal: deadlines, reminders and what you lose

Resellers and agencies: a new client's domain, DNS and mailboxes through the API, step by step

RECOMMENDED PRODUCT

Register your .co.mz domain

Secure your company name before someone else registers it. from $62.53/yr

Search a domain
Was this answer helpful? Your answer helps us improve this article.