Merge and delete a customer

Merges one duplicate customer to another target customer and deletes the former.

SecuritySecretApiKey or JWT
Request
path Parameters
id
required
string <= 50 characters ^[@~\-\.\w]+$

ID of the resource.

query Parameters
targetCustomerId
required
string

ID of the customer that you want to delete. This field is used to obtain the customer's data.

Responses
204

Customer is merged and deleted.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

delete/customers/{id}
Request samples
$service = new Rebilly\Sdk\CoreService($client);
$service->customers()->merge('customerId', 'targetCustomerId');
Response samples
application/json
{
  • "status": 401,
  • "title": "string",
  • "detail": "string",
  • "instance": "string"
}