Tenant Onboarding and agent install

Hi,
We are a small msp provider with approx 350+ customers each have their own tenant managed by us.
We want to create a python script for automation task. To simplify.
1) Create Customer (tenant)
2) Assign services/offerings/application as per our standard rule (which doesn't change)
3) activate the user via setting the password
4) Generate Agent token from inside the customer tenant and use that for agent installation script.
Currently we are able to
1) Login with admin than fetch partnet_tenant_id f'{base_url}/idp/token
2) Create customer - url = f'{datacenter_url}/api/2/tenants'
payload = json.dumps({
"name": "API001",
"parent_id": partner_tenant_id,
"kind": "customer"
})
#GET customer_tenant_id from output.
3)Get offerings from existing production tenant f'{datacenter_url}/api/2/tenants/{tenant_id}/offering_items',
4) Set the offering. Now here is the issue.
5) Activate the account with password (yet not done)
We are unable to get the proper result for setting the exact configuration as the existing tenant / customer.
How we can achieve that ?
We observed that the Services -> Cyber Protect -> Protection per workload/per gigabyte doesn't get selected.
How to select per gigabyte from protection ?
Also how I can copy the offerings/application/services to new customer from previous working sample customer
Best regards,
Ivaylo Tsvetkov | API Platform Senior Support Engineer
Information provided AS-IS with no warranty of any kind.
To contact support, please follow http://www.acronis.com/en-us/support