PlaygroundPartner
Add a website
POST
Add a domain to a customer.
website is reduced to the main domain in lower case, as on create. Data only starts
arriving once the tracking code with this customer's account_id runs on the domain.
Note: This endpoint is rate-limited to 30 requests per minute.
APIKeyHeaderheader
Authorization<token>account_id*Account IdAccount id of the customer, from create-customer or the customer list
application/json- body
website*WebsiteDomain or full URL; stored as the main domain in lower case
All domains of the customer, the new one included
application/json- response
account_id*Account IdAccount id of the customer
websites*array<string>All domains of the customer after the change
Example Request
curl -X POST 'https://hub.webmetic.de/partner/customers/string/websites' \ -H 'Content-Type: application/json' \ -d '{ "website": "nordhafen-anlagenbau.at"}'Example Response
{ "account_id": "q4nx7h", "websites": [ "nordhafen-anlagenbau.de", "nordhafen-anlagenbau.at" ]}