Update a subscription product

patch

/crmRestApi/resources/11.13.18.05/subscriptionProducts/{SubscriptionProductPuid}

Request

Path Parameters
Header Parameters
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Supported Media Types
Request Body - application/json ()
Root Schema : schema
Type: object
Show Source
Nested Schema : Associated Assets
Type: array
Title: Associated Assets
The associated assets resource is used to view, create, update, and delete the assets linked to a subscription product of subscription type.
Show Source
Nested Schema : Bill Lines
Type: array
Title: Bill Lines
The bill lines resource is used to view, create, update, and delete the subscription bill line details, such as charge period, date bill from, date billed to, amount, recurring flag, invoice text, usage quantity, and usage flags.
Show Source
Nested Schema : Charges
Type: array
Title: Charges
The charges resource is used to view, create, update, and delete the subscription charge details, such as charge name, charge definition, price type, price periodicity, and tiered flag.
Show Source
Nested Schema : Covered Levels
Type: array
Title: Covered Levels
The covered levels resource is used to create, view, update, or delete the subscription covered levels details, such as subscription ID, subscription product ID, covered asset and its associated details.
Show Source
Nested Schema : Credit Cards
Type: array
Title: Credit Cards
The credit cards resource is used to view, create, and update the credit cards associated with a subscription.
Show Source
Nested Schema : Descriptive Flexfields
Type: array
Title: Descriptive Flexfields
The descriptive flexfields resource is used to view, create, update, and delete a descriptive flexfield.
Show Source
Nested Schema : Subscription Entitlement Plan Commitments
Type: array
Title: Subscription Entitlement Plan Commitments
The subscription entitlement plan commitments resource is used to create a negotiated entitlement plan based on commitments. These records can be created only for those balance codes which have the commitments flag enabled.
Show Source
Nested Schema : Subscription Entitlement Plan Details
Type: array
Title: Subscription Entitlement Plan Details
The subscription entitlement plan details resource is used to view, create, update, and delete an entitlement plan detail.
Show Source
Nested Schema : Subscription Entitlement Plan Estimates
Type: array
Title: Subscription Entitlement Plan Estimates
The subscription entitlement plan estimates resource is used to create a negotiated entitlement plan based on estimates. These records can be created only for those balance codes which have the estimates flag enabled.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The relationships resource is used to view, create, update, and delete the subscription product relationships details, such as relationship type, source subscription product PUID, and target subscription product PUID.
Show Source
Nested Schema : Sales Credits
Type: array
Title: Sales Credits
The sales credits resource to view, create, update, and delete the sales credits defined for a subscription or a subscription product.
Show Source
Nested Schema : Service Resources
Type: array
Title: Service Resources
The service resources resouce is used to view, create, update, and delete the service identifier for a subscription product.
Show Source
Nested Schema : subscriptionProducts-associatedAsset-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-billLines-item-patch-request
Type: object
Show Source
Nested Schema : Bill Adjustments
Type: array
Title: Bill Adjustments
The bill adjustments resource is used to view, create, update, and delete the subscription bill adjustment details, such as adjustment name, adjustment value, adjustment type, reason, and effectivity.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : subscriptionProducts-charges-item-patch-request
Type: object
Show Source
Nested Schema : Adjustments
Type: array
Title: Adjustments
The adjustments resource is used to view, create, update, and delete the subscription charge adjustment details, such as adjustment name, adjustment type, adjustment value, adjustment reason, and effectivity.
Show Source
Nested Schema : Charge Milestone Events
Type: array
Title: Charge Milestone Events
The charge milestone events resource is used to view, create, update, and delete the milestone events associated with a charge of a subscription.
Show Source
Nested Schema : Charge Tiers
Type: array
Title: Charge Tiers
The charge tiers resource is used to view, create, update, and delete the subscription charge tier details, such as tier from, tier to, and list price.
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : subscriptionProducts-charges-chargeMilestoneEvents-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-charges-chargeTiers-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-item-patch-request
Type: object
Show Source
Nested Schema : Bill Lines
Type: array
Title: Bill Lines
The bill lines resource is used to view, create, update, and delete the subscription bill line details, such as charge period, date bill from, date billed to, amount, recurring flag, invoice text, usage quantity, and usage flags.
Show Source
Nested Schema : Charges
Type: array
Title: Charges
The charges resource is used to view, create, update, and delete the subscription charge details, such as charge name, charge definition, price type, price periodicity, and tiered flag.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The relationships resource is used to view, create, update, and delete the subscription product relationships details, such as relationship type, source subscription product PUID, and target subscription product PUID.
Show Source
Nested Schema : subscriptionProducts-coveredLevels-billLines-item-patch-request
Type: object
Show Source
Nested Schema : Bill Adjustments
Type: array
Title: Bill Adjustments
The bill adjustments resource is used to view, create, update, and delete the subscription bill adjustment details, such as adjustment name, adjustment value, adjustment type, reason, and effectivity.
Show Source
Nested Schema : subscriptionProducts-coveredLevels-billLines-billAdjustments-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-item-patch-request
Type: object
Show Source
Nested Schema : Adjustments
Type: array
Title: Adjustments
The adjustments resource is used to view, create, update, and delete the subscription charge adjustment details, such as adjustment name, adjustment type, adjustment value, adjustment reason, and effectivity.
Show Source
Nested Schema : Charge Milestone Events
Type: array
Title: Charge Milestone Events
The charge milestone events resource is used to view, create, update, and delete the milestone events associated with a charge of a subscription.
Show Source
Nested Schema : Charge Tiers
Type: array
Title: Charge Tiers
The charge tiers resource is used to view, create, update, and delete the subscription charge tier details, such as tier from, tier to, and list price.
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-adjustments-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-chargeMilestoneEvents-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-chargeTiers-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-relationships-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : subscriptionProducts-flexFields-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-negotiatedEntitlementPlanCommitments-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-negotiatedEntitlementPlanDetails-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-negotiatedEntitlementPlanEstimates-item-patch-request
Type: object
Show Source
Nested Schema : subscriptionProducts-relationships-item-patch-request
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Nested Schema : schema
Type: object
Show Source
Back to Top

Response

Supported Media Types

Default Response

The following table describes the default response for this task.
Headers
  • If the REST API supports runtime customizations, the shape of the service may change during runtime. The REST client may isolate itself from these changes or choose to interact with the latest version of the API by specifying this header. For example: Metadata-Context:sandbox="TrackEmployeeFeature".
  • The protocol version between a REST client and service. If the client does not specify this header in the request the server will pick a default version for the API.
Body ()
Root Schema : subscriptionProducts-item-response
Type: object
Show Source
Nested Schema : Associated Assets
Type: array
Title: Associated Assets
The associated assets resource is used to view, create, update, and delete the assets linked to a subscription product of subscription type.
Show Source
Nested Schema : Bill Lines
Type: array
Title: Bill Lines
The bill lines resource is used to view, create, update, and delete the subscription bill line details, such as charge period, date bill from, date billed to, amount, recurring flag, invoice text, usage quantity, and usage flags.
Show Source
Nested Schema : Charges
Type: array
Title: Charges
The charges resource is used to view, create, update, and delete the subscription charge details, such as charge name, charge definition, price type, price periodicity, and tiered flag.
Show Source
Nested Schema : Covered Levels
Type: array
Title: Covered Levels
The covered levels resource is used to create, view, update, or delete the subscription covered levels details, such as subscription ID, subscription product ID, covered asset and its associated details.
Show Source
Nested Schema : Credit Cards
Type: array
Title: Credit Cards
The credit cards resource is used to view, create, and update the credit cards associated with a subscription.
Show Source
Nested Schema : Descriptive Flexfields
Type: array
Title: Descriptive Flexfields
The descriptive flexfields resource is used to view, create, update, and delete a descriptive flexfield.
Show Source
Nested Schema : Subscription Entitlement Plan Commitments
Type: array
Title: Subscription Entitlement Plan Commitments
The subscription entitlement plan commitments resource is used to create a negotiated entitlement plan based on commitments. These records can be created only for those balance codes which have the commitments flag enabled.
Show Source
Nested Schema : Subscription Entitlement Plan Details
Type: array
Title: Subscription Entitlement Plan Details
The subscription entitlement plan details resource is used to view, create, update, and delete an entitlement plan detail.
Show Source
Nested Schema : Subscription Entitlement Plan Estimates
Type: array
Title: Subscription Entitlement Plan Estimates
The subscription entitlement plan estimates resource is used to create a negotiated entitlement plan based on estimates. These records can be created only for those balance codes which have the estimates flag enabled.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The relationships resource is used to view, create, update, and delete the subscription product relationships details, such as relationship type, source subscription product PUID, and target subscription product PUID.
Show Source
Nested Schema : Sales Credits
Type: array
Title: Sales Credits
The sales credits resource to view, create, update, and delete the sales credits defined for a subscription or a subscription product.
Show Source
Nested Schema : Service Resources
Type: array
Title: Service Resources
The service resources resouce is used to view, create, update, and delete the service identifier for a subscription product.
Show Source
Nested Schema : subscriptionProducts-associatedAsset-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-billLines-item-response
Type: object
Show Source
Nested Schema : Bill Adjustments
Type: array
Title: Bill Adjustments
The bill adjustments resource is used to view, create, update, and delete the subscription bill adjustment details, such as adjustment name, adjustment value, adjustment type, reason, and effectivity.
Show Source
Nested Schema : subscriptionProducts-billLines-billAdjustments-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-charges-item-response
Type: object
Show Source
Nested Schema : Adjustments
Type: array
Title: Adjustments
The adjustments resource is used to view, create, update, and delete the subscription charge adjustment details, such as adjustment name, adjustment type, adjustment value, adjustment reason, and effectivity.
Show Source
Nested Schema : Charge Milestone Events
Type: array
Title: Charge Milestone Events
The charge milestone events resource is used to view, create, update, and delete the milestone events associated with a charge of a subscription.
Show Source
Nested Schema : Charge Tiers
Type: array
Title: Charge Tiers
The charge tiers resource is used to view, create, update, and delete the subscription charge tier details, such as tier from, tier to, and list price.
Show Source
Nested Schema : subscriptionProducts-charges-adjustments-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-charges-chargeMilestoneEvents-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-charges-chargeTiers-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-item-response
Type: object
Show Source
Nested Schema : Bill Lines
Type: array
Title: Bill Lines
The bill lines resource is used to view, create, update, and delete the subscription bill line details, such as charge period, date bill from, date billed to, amount, recurring flag, invoice text, usage quantity, and usage flags.
Show Source
Nested Schema : Charges
Type: array
Title: Charges
The charges resource is used to view, create, update, and delete the subscription charge details, such as charge name, charge definition, price type, price periodicity, and tiered flag.
Show Source
Nested Schema : Relationships
Type: array
Title: Relationships
The relationships resource is used to view, create, update, and delete the subscription product relationships details, such as relationship type, source subscription product PUID, and target subscription product PUID.
Show Source
Nested Schema : subscriptionProducts-coveredLevels-billLines-item-response
Type: object
Show Source
Nested Schema : Bill Adjustments
Type: array
Title: Bill Adjustments
The bill adjustments resource is used to view, create, update, and delete the subscription bill adjustment details, such as adjustment name, adjustment value, adjustment type, reason, and effectivity.
Show Source
Nested Schema : subscriptionProducts-coveredLevels-billLines-billAdjustments-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-item-response
Type: object
Show Source
Nested Schema : Adjustments
Type: array
Title: Adjustments
The adjustments resource is used to view, create, update, and delete the subscription charge adjustment details, such as adjustment name, adjustment type, adjustment value, adjustment reason, and effectivity.
Show Source
Nested Schema : Charge Milestone Events
Type: array
Title: Charge Milestone Events
The charge milestone events resource is used to view, create, update, and delete the milestone events associated with a charge of a subscription.
Show Source
Nested Schema : Charge Tiers
Type: array
Title: Charge Tiers
The charge tiers resource is used to view, create, update, and delete the subscription charge tier details, such as tier from, tier to, and list price.
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-adjustments-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-chargeMilestoneEvents-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-charges-chargeTiers-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-coveredLevels-relationships-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-creditCards-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-flexFields-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-negotiatedEntitlementPlanCommitments-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-negotiatedEntitlementPlanDetails-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-negotiatedEntitlementPlanEstimates-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-relationships-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-salesCredits-item-response
Type: object
Show Source
Nested Schema : subscriptionProducts-serviceResources-item-response
Type: object
Show Source
Back to Top

Examples

The following example shows how to update a subscription by submitting a PATCH request on the REST resource using cURL.

cURL Command

curl -u <username:password> \ -X PATCH -d @example_request_payload.json https://servername.fa.us2.oraclecloud.com/crmRestApi/resources/11.13.18.05/subscriptions/GP-5678

Example of Request Body

The following example shows the contents of the request body in JSON format.

{
    "EndDate": "2019-12-25"
}

Example of Response Body

The following example shows the contents of the response body in JSON format.

{
    "SubscriptionId": 300100177254423,
    "SubscriptionNumber": "GP-5678",
    "BusinessUnitId": 204,
    "BusinessUnitName": "Vision Operations",
    "LegalEntityId": 204,
    "LegalEntityName": "Vision Operations",
    "SubscriptionProfileId": 300100172161473,
    "SubscriptionProfileName": "zOSS_SP_ServiceStartActual_Advance_Month",
    "PrimaryPartyId": 1001,
    "PrimaryPartyName": "A T & T SOLUTIONS INC",
    "PricedOnDate": "2019-06-04T00:00:00+00:00",
    "PricingStrategyId": null,
    "PricingStrategyExplanation": null,
    "PricingSegment": null,
    "PricingSegmentExplanation": null,
    "SegmentExplanationMessage": null,
    "Currency": "USD",
    "CurrencyName": "US Dollar",
    "CurrencyConversionRate": null,
    "CurrencyConversionRateType": null,
    "CurrencyConversionRateDate": null,
    "StartDate": "2019-01-01",
    "Duration": 359,
    "Period": "DY",
    "EndDate": "2019-12-25",
    "DefinitionOrganizationId": 204,
    "PartialPeriodType": "ORA_ACTUAL",
    "PartialPeriodStart": "ORA_SERVICE",
    "CloseReason": null,
    "ClosedDate": null,
    "CloseCreditMethod": null,
    "ApprovalNote": null,
    "CancelReason": null,
    "CanceledDate": null,
    "ApprovedDate": null,
    "RenewedDate": null,
    "ShortDescription": null,
    "Description": null,
    "Status": "ORA_DRAFT",
    "UserStatus": null,
    "BillService": "ORA_BILL",
    "BillServiceName": "Bill",
    "InvoicingRuleId": -2,
    "InvoicingRuleName": "Advance Invoice",
    "BillingDateCode": "ORA_PERIOD_START",
    "BillingDateName": "Period start",
    "BillOnDay": null,
    "BillingOffsetDays": null,
    "BillingFrequency": "0zG",
    "BillingFrequencyName": "MONTH",
    "AccountingRuleId": 300100033038413,
    "AccountingRuleName": "3 Months, Deferred",
    "TransactionTypeName": "ORA_OSS_Invoice",
    "BillingSystem": null,
    "SubscriptionInvoiceText": "[$Item Name]: [$Charge Name] [$Bill from Date]-[$Bill to Date]",
    "CoverageInvoiceText": null,
    "BillToAccountId": 1001,
    "BillToAccountNumber": "1001",
    "BillToAccountDescription": "A T & T SOLUTIONS INC",
    "BillToSiteUseId": 1006,
    "BillToAddress": "32 Ave of the Americas,NEW YORK, NY 10013",
    "ShipToParty": null,
    "ShipToPartyName": null,
    "ShipToPartySiteId": null,
    "ShipToSite": null,
    "PaymentMethod": null,
    "PaymentMethodName": null,
    "PONumber": null,
    "WireNumber": null,
    "PaymentTermsId": 1064,
    "PaymentTermsName": "Immediate",
    "TaxClassificationCode": null,
    "TaxClassificationMeaning": null,
    "ExemptCertificateNumber": null,
    "ExemptReason": null,
    "ExemptReasonMeaning": null,
    "TaxExemptionHandling": "S",
    "TaxExemptionHandlingName": "Standard",
    "DocumentFiscalClassification": null,
    "CustomerAcceptance": null,
    "InternalApproval": "REQUIRED",
    "LayoutTemplate": null,
    "CommunicationChannel": null,
    "PrimarySalesPerson": null,
    "NegotiationLanguage": null,
    "QuoteToContactId": null,
    "EnableRenewalRemindersFlag": null,
    "RenewalProcess": null,
    "DaysBeforeExpiry": null,
    "QuoteToCcEmail": null,
    "RenewalPricingMethodUsed": null,
    "RenewalProcessUsed": null,
    "PriceAdjustmentPercentUsed": null,
    "DaysBeforeExpiryUsed": null,
    "AssigneeId": null,
    "AssigneeType": null,
    "TotalContractValue": null,
    "EstimatedTax": null,
    "CreditedAmount": null,
    "ClosedAmount": null,
    "CanceledAmount": null,
    "InvoicedAmount": null,
    "SourceSystem": null,
    "SourceKey": null,
    "SourceNumber": null,
    "RenewalTemplateId": null,
    "NotificationTemplateId": null,
    "RenewalSubscriptionProfileId": null,
    "DefaultLanguage": null,
    "GenerateBillingSchedule": null,
    "TransactionType": "ORA_SUBSCRIPTION",
    "PricingSystem": "ORA_FUSION",
    "PricingError": null,
    "CorpCurrencyCode": "USD",
    "CurcyConvRateType": "Corporate",
    "RenewalCustomerAcceptance": null,
    "RenewalInternalApproval": null,
    "RenewalPriceAdjustmentBasis": null,
    "RenewalPriceAdjustmentPercent": null,
    "RenewalPriceAdjustmentType": null,
    "AttachmentEntityName": "OSS_DOC_SUBSCRIPTION_AGREEMENT",
    "AttachmentEntityName1": "OSS_DOC_SUPPORTING_DOCUMENTS",
    "CreatedBy": "CONMGR",
    "CreationDate": "2019-06-04T04:25:03+00:00",
    "LastUpdatedBy": "CONMGR",
    "LastUpdateDate": "2019-06-04T04:29:14+00:00",
    "LastUpdateLogin": "8A5689BEEA6839CBE05322EAF40A0656",
    ...
}
Back to Top