PUT api2/subscriptions/{subID}/users/{id}.json
Update subscription user by id
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
subID |
subscription ID |
integer |
Required |
id |
subscription users ID |
integer |
Required |
Body Parameters
subscription user infos
api_rootName | Description | Type | Additional information |
---|---|---|---|
entry | Subscriptions |
None. |
Request Format
{ "entry": { "customer": { "id": 1, "group_member_of": [ { "id": 1, "organisation": "sample string 2", "email": "sample string 3", "expire_at": "2025-02-05T10:39:13.8674976+01:00", "group_id": 1, "valid": true, "created_at": "2025-02-05T10:39:13.8674976+01:00", "confirmed": true, "disabled": true, "invited": true, "custom_data_1": "sample string 4", "authentication": 64, "allowed_concurrent_users": 1, "monthly_cost": 1, "account_type": 64 }, { "id": 1, "organisation": "sample string 2", "email": "sample string 3", "expire_at": "2025-02-05T10:39:13.8674976+01:00", "group_id": 1, "valid": true, "created_at": "2025-02-05T10:39:13.8674976+01:00", "confirmed": true, "disabled": true, "invited": true, "custom_data_1": "sample string 4", "authentication": 64, "allowed_concurrent_users": 1, "monthly_cost": 1, "account_type": 64 } ], "language": "en", "country": null, "country_name": null, "country_code": null, "default": true, "province_code": null, "province": null, "name": "sample string 10 sample string 11", "created_at": "2025-02-05T10:39:13.8831223+01:00", "first_name": "sample string 10", "last_name": "sample string 11", "company": "sample string 12", "address1": "sample string 13", "address2": "sample string 14", "zip": "sample string 15", "city": "sample string 16", "email": "sample string 17", "phone": "sample string 18", "password": "sample string 19", "comment": "sample string 20", "title": 1, "token": "sample string 21", "password_option": 64, "player_refresh_token": "sample string 22", "player_token_expires": "2025-02-05T10:39:13.8831223+01:00", "modified_by": 1 }, "model_id": 1, "state": 1, "order_customer_id": 1, "creation_date": "2025-02-05T10:39:13.8831223+01:00", "last_billing": "2025-02-05T10:39:13.8831223+01:00", "cancelation_date": "2025-02-05T10:39:13.8831223+01:00", "account_end_at": "2025-02-05T10:39:13.8831223+01:00", "last_success": "2025-02-05T10:39:13.8831223+01:00", "order_id": 1, "initial_runtime": 1, "initial_runtime_mode": 1, "checkout_guid": "sample string 2" } }
Response Information
Resource Description
updated subscription user
api_rootName | Description | Type | Additional information |
---|---|---|---|
entry | Subscriptions |
None. |
Response Format
{ "entry": { "id": 1, "customer": { "id": 1, "group_member_of": [ { "id": 1, "organisation": "sample string 2", "email": "sample string 3", "expire_at": "2025-02-05T10:39:14.1331175+01:00", "group_id": 1, "valid": true, "created_at": "2025-02-05T10:39:14.1331175+01:00", "confirmed": true, "disabled": true, "invited": true, "custom_data_1": "sample string 4", "authentication": 64, "allowed_concurrent_users": 1, "monthly_cost": 1, "account_type": 64 }, { "id": 1, "organisation": "sample string 2", "email": "sample string 3", "expire_at": "2025-02-05T10:39:14.1331175+01:00", "group_id": 1, "valid": true, "created_at": "2025-02-05T10:39:14.1331175+01:00", "confirmed": true, "disabled": true, "invited": true, "custom_data_1": "sample string 4", "authentication": 64, "allowed_concurrent_users": 1, "monthly_cost": 1, "account_type": 64 } ], "language": "en", "country": null, "country_name": null, "country_code": null, "default": true, "province_code": null, "province": null, "name": "sample string 10 sample string 11", "created_at": "2025-02-05T10:39:14.1331175+01:00", "first_name": "sample string 10", "last_name": "sample string 11", "company": "sample string 12", "address1": "sample string 13", "address2": "sample string 14", "zip": "sample string 15", "city": "sample string 16", "email": "sample string 17", "phone": "sample string 18", "password": "sample string 19", "comment": "sample string 20", "title": 1, "token": "sample string 21", "password_option": 64, "player_refresh_token": "sample string 22", "player_token_expires": "2025-02-05T10:39:14.1331175+01:00", "modified_by": 1 }, "model_id": 1, "state": 1, "order_customer_id": 1, "creation_date": "2025-02-05T10:39:14.1331175+01:00", "last_billing": "2025-02-05T10:39:14.1331175+01:00", "cancelation_date": "2025-02-05T10:39:14.1331175+01:00", "account_end_at": "2025-02-05T10:39:14.1331175+01:00", "last_success": "2025-02-05T10:39:14.1331175+01:00", "order_id": 1, "initial_runtime": 1, "initial_runtime_mode": 1, "checkout_guid": "sample string 2" } }