Re-include an Excluded Customer

DELETE https://api.chartmogul.com/v1/excluded_customers/{CUSTOMER_UUID}

Removes the specified customer from your account's exclude list, so they can be imported again.

curl -X DELETE "https://api.chartmogul.com/v1/excluded_customers/cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034" \
     -u YOUR_API_KEY:
ChartMogul::ExcludedCustomer.reinclude!("cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034")
ChartMogul.ExcludedCustomer.reinclude(
  config,
  "cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034"
);
ChartMogul\ExcludedCustomer::reinclude("cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034")
api.ReincludeCustomer("cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034")
chartmogul.ExcludedCustomer.reinclude(
  config, uuid="cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034"
)
{
  "customer_uuid": "cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034",
  "status": "reimporting"
}
#<ChartMogul::ReincludedCustomer:0x00007f8283502c48
  @customer_uuid="cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034",
  @status="reimporting"
>
{
  customer_uuid: "cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034",
  status: "reimporting"
}
class ChartMogul\ReincludedCustomer (2) {
  protected $customer_uuid => string(40) "cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034"
  protected $status => string(11) "reimporting"
}
(*chartmogul.ReincludedCustomer)(0x14000206900)({
  CustomerUUID: (string) (len=40) "cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034",
  Status: (string) (len=11) "reimporting"
})
<ReincludedCustomer{
  customer_uuid="cus_ee325d54-7ab4-421b-cdb2-eb6b9e546034",
  status="reimporting"
}>

Path parameters

customer_uuid string required
The ChartMogul UUID of the excluded customer, as returned by List Excluded Customers. Removes all of the customer's entries from the exclude list.

Response

The request responds with 202 Accepted and the following data:

customer_uuid
The ChartMogul UUID of the customer that was re-included.
status
What happens next. reimporting means ChartMogul started importing the customer again from at least one of their data sources. manual_reimport_required means none of their data sources can reimport automatically (for example, an Import API data source), so you need to send the customer's data again.

If the customer isn't on the exclude list, the request responds with 404 Not Found.