PUT api/Customer/PutSubscription?orgId={orgId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| orgId | globally unique identifier |
Required |
Body Parameters
AccountSubscriptionModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Plan | string |
None. |
|
| PlanCode | string |
None. |
|
| ZohoId | string |
None. |
|
| From | date |
None. |
|
| MainPlans | Collection of AccountSubscriptionAddonModel |
None. |
|
| Addons | Collection of AccountSubscriptionAddonModel |
None. |
|
| Support | AccountSupport |
None. |
|
| Additionals | Collection of AccountLineItemModel |
None. |
|
| Expiry | date |
None. |
|
| HasPaid | boolean |
None. |
|
| IsTrial | boolean |
None. |
|
| Cost | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Plan": "sample string 1",
"PlanCode": "sample string 2",
"ZohoId": "sample string 3",
"From": "2025-10-24T08:41:18.8575558+00:00",
"MainPlans": [
{
"Cost": 1.0,
"Quantity": 1,
"From": "2025-10-24T08:41:18.8575558+00:00",
"Expiry": "2025-10-24T08:41:18.8575558+00:00",
"Description": "sample string 4",
"AddonCode": "sample string 5",
"Category": "sample string 6",
"Plan": "sample string 7",
"IsCustomDataSource": true
},
{
"Cost": 1.0,
"Quantity": 1,
"From": "2025-10-24T08:41:18.8575558+00:00",
"Expiry": "2025-10-24T08:41:18.8575558+00:00",
"Description": "sample string 4",
"AddonCode": "sample string 5",
"Category": "sample string 6",
"Plan": "sample string 7",
"IsCustomDataSource": true
}
],
"Addons": [
{
"Cost": 1.0,
"Quantity": 1,
"From": "2025-10-24T08:41:18.8575558+00:00",
"Expiry": "2025-10-24T08:41:18.8575558+00:00",
"Description": "sample string 4",
"AddonCode": "sample string 5",
"Category": "sample string 6",
"Plan": "sample string 7",
"IsCustomDataSource": true
},
{
"Cost": 1.0,
"Quantity": 1,
"From": "2025-10-24T08:41:18.8575558+00:00",
"Expiry": "2025-10-24T08:41:18.8575558+00:00",
"Description": "sample string 4",
"AddonCode": "sample string 5",
"Category": "sample string 6",
"Plan": "sample string 7",
"IsCustomDataSource": true
}
],
"Support": {
"Hours": 1,
"Cost": 1.0,
"From": "2025-10-24T08:41:18.8575558+00:00",
"Expiry": "2025-10-24T08:41:18.8575558+00:00"
},
"Additionals": [
{
"Title": "sample string 1",
"Description": "sample string 2",
"Cost": 1.0,
"From": "2025-10-24T08:41:18.8731228+00:00"
},
{
"Title": "sample string 1",
"Description": "sample string 2",
"Cost": 1.0,
"From": "2025-10-24T08:41:18.8731228+00:00"
}
],
"Expiry": "2025-10-24T08:41:18.8731228+00:00",
"HasPaid": true,
"IsTrial": true,
"Cost": 1.0
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |