Archive
Archive a customer
v1.customers.archive(CustomerArchiveParams**kwargs) -> dataIDCustomerArchiveResponse
post/v1/customers/archive
Archive a customer Note: any alerts associated with the customer will not be triggered.
Parameters
idstr
formatuuid
Returns
CustomerArchiveResponseclass
from metronome import Metronome
client = Metronome(
bearer_token="My Bearer Token",
)
response = client.v1.customers.archive(
id="8deed800-1b7a-495d-a207-6c52bac54dc9",
)
print(response.data)
200 Example
{
"data": {
"id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"
}
}