Previous
const response = await method .entities('ent_TYHMaRJUUeJ7U') .attributes .create();
New
const response = await method .entities('ent_TYHMaRJUUeJ7U') .attributes .create({ attributes: [ "credit_health_credit_card_usage", "credit_health_derogatory_marks", "credit_health_hard_inquiries", "credit_health_soft_inquiries", "credit_health_total_accounts", "credit_health_credit_age", "credit_health_payment_history", "credit_health_open_accounts", "credit_health_entity_delinquent" ] });
const response = await method .entities('ent_TYHMaRJUUeJ7U') .subscriptions .create('credit_score');
const response = await method .entities('ent_TYHMaRJUUeJ7U') .subscriptions .create({ enroll: 'credit_score', });
const response = await method .entities('ent_TYHMaRJUUeJ7U') .subscriptions .create({ enroll: 'attribute', payload: { attributes: { requested_attributes: [ 'credit_health_credit_card_usage', 'credit_health_derogatory_marks' ] } } });
method-node
method-python