Merge and delete a customer

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

SecurityAPI Key: SecretApiKey or HTTP: 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.

delete
/customers/{id}
Request samples
$service = new \Rebilly\Sdk\CoreService($client);
$service->customers()->merge('customerId', 'targetCustomerId');
Responses

204

Customer is merged and deleted.

401

Unauthorized access. Invalid credentials used.

403

Access forbidden.

404

Resource not found.

Response samples
application/json
{ "status": 401, "type": "http://example.com", "title": "string", "detail": "string", "instance": "string" }