Unarchiving a customer is not possible using the Stigg app UI. It can be done using Stigg’s API.
When a customer is unarchived:
- They reappear in the Stigg app UI.
- They are returned by the Stigg API and SDKs.
- Their entitlements are recalculated.
The customer’s PII (name and email address) that was nullified upon archiving is not restored.
Using the GraphQL API
mutation UnarchiveCustomer($input: UnarchiveCustomerInput!) {
unarchiveCustomer(input: $input) {
customerId
name
email
}
}
{
"input": {
"customerId": "customer-123"
}
}
Using the REST API
POST /api/v1/customers/{id}/unarchive