curl --request POST \
--url https://spark.test.woodcore.co/api/v2/clients/{clientId}/activate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"activationDate": "1 Jan 2021"
}
'{}curl --request POST \
--url https://spark.test.woodcore.co/api/v2/clients/{clientId}/activate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"activationDate": "1 Jan 2021"
}
'{}_isActive:true is not passed in the request body of customer creation.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
"1"
"1 Jan 2021"
{}
The response is of type object.