Move Customer/Patient

Prev Next
Put
/platform/v3/api/cdm/client/{client_id}/customer/{ccid}/move/{product_group_id}

This API moves a Customer or Patient from one product group to another product group within the same client.

Header parameters
xx-relay-api-key
stringRequired

Contains the API key needed.

Path parameters
client_id
stringRequired

Client ID

Minimum1
ccid
stringRequired

Uniquely identifies a Customer or Patient.

Max length100
ExampleBAK-11984-007
product_group_id
stringRequired

The product group for a Customer or Patient.

Max length100
Exampledefault
Responses
200

OK - Customer or Patient was successfully moved to a new Product Group.

object

Example message success details.

message
string
Max length100
ExampleCustomer {ccid} moved to product-group-test-2 for client {client_id}.
400

Invalid request

401

Unauthorized

404

Not Found - The requested resource was not found. Please verify the route parameter.

409

Conflict - Indicates the request could not be processed. A common reason is when attempting to create a new Journey object, but the ID already exists in the system.

500

An unexpected server error occurred. The response body should contain additional information related to the server error. Please retry your request.}