Update one associated discount list
patch
/fscmRestApi/resources/11.13.18.05/pricingStrategies/{PricingStrategyId}/child/associatedDiscountLists/{PricingStrategyDetailId}
Request
Path Parameters
-
PricingStrategyDetailId(required): integer(int64)
Value that uniquely identifies the pricing strategy detail.
-
PricingStrategyId(required): integer(int64)
Value that uniquely identifies the pricing strategy.
Header Parameters
-
Metadata-Context:
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".
-
REST-Framework-Version:
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
- application/json
Root Schema : schema
Type:
Show Source
object-
AssociationEndDate: string
(date-time)
Title:
End DateDate when the association of the discount list to the pricing strategy becomes inactive. -
AssociationStartDate: string
(date-time)
Title:
Start DateDate when the association of the discount list to the pricing strategy becomes active. -
DFF: array
Flexfields for Associated Discount Lists
Title:
Flexfields for Associated Discount ListsThe Flexfields for Associated Discount Lists resource associates descriptive flexfield segments and their values with a pricing strategy detail. -
discountLists: array
Discount Lists
Title:
Discount ListsThe Discount Lists resource manages discounts of products and services.
Nested Schema : Flexfields for Associated Discount Lists
Type:
arrayTitle:
Flexfields for Associated Discount ListsThe Flexfields for Associated Discount Lists resource associates descriptive flexfield segments and their values with a pricing strategy detail.
Show Source
Nested Schema : Discount Lists
Type:
arrayTitle:
Discount ListsThe Discount Lists resource manages discounts of products and services.
Show Source
Nested Schema : schema
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:150Descriptive flexfield context name for the pricing strategy header. -
__FLEX_Context_DisplayValue: string
Title:
Context Value
Nested Schema : pricingStrategies-associatedDiscountLists-discountLists-item-patch-request
Type:
Show Source
object-
DiscountListId: integer
(int64)
Value that uniquely identifies the discount list.
-
EndDate: string
(date-time)
Date when the discount list becomes inactive.
-
StartDate: string
(date-time)
Date when the discount list becomes active.
Response
Supported Media Types
- application/json
Default Response
The following table describes the default response for this task.
Headers
-
Metadata-Context:
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".
-
REST-Framework-Version:
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.
Root Schema : pricingStrategies-associatedDiscountLists-item-response
Type:
Show Source
object-
AssociationEndDate: string
(date-time)
Title:
End DateDate when the association of the discount list to the pricing strategy becomes inactive. -
AssociationPrecedence: integer
Precedence of the association of the discount list to the pricing strategy.
-
AssociationStartDate: string
(date-time)
Title:
Start DateDate when the association of the discount list to the pricing strategy becomes active. -
BusinessUnit: string
Read Only:
trueName of the business unit. -
BusinessUnitId: integer
(int64)
Read Only:
trueValue that uniquely identifies the business unit. -
CreatedBy: string
Read Only:
trueMaximum Length:64User who created the record. -
CreationDate: string
(date-time)
Read Only:
trueDate and time when the user created the record. -
Currency: string
Read Only:
trueCurrency that the price list uses. -
CurrencyCode: string
Read Only:
trueMaximum Length:15Abbreviation that identifies the currency of the discount list. -
Description: string
Read Only:
trueMaximum Length:1000Description of the discount list. -
DFF: array
Flexfields for Associated Discount Lists
Title:
Flexfields for Associated Discount ListsThe Flexfields for Associated Discount Lists resource associates descriptive flexfield segments and their values with a pricing strategy detail. -
DiscountListId: integer
(int64)
Value that uniquely identifies the discount list.
-
DiscountListName: string
Name of the discount list.
-
discountLists: array
Discount Lists
Title:
Discount ListsThe Discount Lists resource manages discounts of products and services. -
EndDate: string
(date-time)
Read Only:
trueDate when the discount list becomes inactive. -
LastUpdateDate: string
(date-time)
Read Only:
trueDate and time when the user most recently updated the record. -
LastUpdatedBy: string
Read Only:
trueMaximum Length:64User who most recently updated the record. -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PricingStrategyDetailId: integer
(int64)
Value that uniquely identifies the pricing strategy detail.
-
PricingStrategyId: integer
(int64)
Read Only:
trueValue that uniquely identifies the pricing strategy. -
StartDate: string
(date-time)
Read Only:
trueDate when the discount list becomes active. -
Status: string
Read Only:
trueStatus that indicates whether this discount list is approved. -
StatusCode: string
Title:
StatusRead Only:trueMaximum Length:30Abbreviation that identifies the approval status of the discount list.
Nested Schema : Flexfields for Associated Discount Lists
Type:
arrayTitle:
Flexfields for Associated Discount ListsThe Flexfields for Associated Discount Lists resource associates descriptive flexfield segments and their values with a pricing strategy detail.
Show Source
Nested Schema : Discount Lists
Type:
arrayTitle:
Discount ListsThe Discount Lists resource manages discounts of products and services.
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : pricingStrategies-associatedDiscountLists-DFF-item-response
Type:
Show Source
object-
__FLEX_Context: string
Title:
Context ValueMaximum Length:150Descriptive flexfield context name for the pricing strategy header. -
__FLEX_Context_DisplayValue: string
Title:
Context Value -
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
PricingStrategyDetailId: integer
(int64)
Value that uniquely identifies the pricing strategy detail to which the descriptive flexfields belong.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Nested Schema : link
Type:
Show Source
object-
href: string
Title:
hyperlink referenceThe URI to the related resource. -
kind: string
Title:
kindAllowed Values:[ "collection", "item", "describe", "other" ]The kind of the related resource. -
name: string
Title:
nameThe name of the link to the related resource. -
properties: object
properties
-
rel: string
Title:
relationAllowed Values:[ "self", "lov", "parent", "canonical", "child", "enclosure", "action", "custom" ]The name of the relation to the resource instance. Example: self.
Nested Schema : properties
Type:
Show Source
object-
changeIndicator: string
Change indicator or the ETag value of the resource instance.
Nested Schema : pricingStrategies-associatedDiscountLists-discountLists-item-response
Type:
Show Source
object-
DiscountListId: integer
(int64)
Value that uniquely identifies the discount list.
-
DiscountListName: string
Maximum Length:
80Name of the discount list. -
EndDate: string
(date-time)
Date when the discount list becomes inactive.
-
links: array
Links
Title:
LinksThe link relations associated with the resource instance. -
StartDate: string
(date-time)
Date when the discount list becomes active.
Nested Schema : Links
Type:
arrayTitle:
LinksThe link relations associated with the resource instance.
Show Source
Links
- DFF
-
Parameters:
- PricingStrategyDetailId:
$request.path.PricingStrategyDetailId - PricingStrategyId:
$request.path.PricingStrategyId
The Flexfields for Associated Discount Lists resource associates descriptive flexfield segments and their values with a pricing strategy detail. - PricingStrategyDetailId:
- discountLists
-
Parameters:
- PricingStrategyDetailId:
$request.path.PricingStrategyDetailId - PricingStrategyId:
$request.path.PricingStrategyId
The Discount Lists resource manages discounts of products and services. - PricingStrategyDetailId:
Examples
This example describes how to update an associated discount list.
Example cURL Command
Use the following cURL command to submit a request on the REST resource.
curl -X PATCH -u "username:password" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -d 'request payload' "https://servername/fscmRestApi/resources/version/pricingStrategies/PricingStrategyId/child/associatedDiscountLists/PricingStrategyDetailId"
Example Request Body
The following example includes the contents of the request body in JSON format. You replace the request payload in the cURL command with the contents of the Example Request Body. The request payload specifies attribute values that the command will use in the record that it updates.
{
"AssociationEndDate": "2025-12-03T02:56:00+00:00"
}
Example Response Body
The following example includes the contents of the response body in JSON format:
{
"PricingStrategyDetailId": 300100195449164,
"PricingStrategyId": 300100195448908,
"DiscountListName": "Corporate Discount List",
"DiscountListId": 300100071623855,
"Description": "Corporate Discount List with all adjustments",
"BusinessUnit": "Vision Operations",
"BusinessUnitId": 204,
"Currency": "US Dollar",
"CurrencyCode": "USD",
"Status": "Approved",
"StatusCode": "APPROVED",
"StartDate": "2019-01-01T09:00:00+00:00",
"EndDate": null,
"AssociationStartDate": "2019-12-03T02:56:00+00:00",
"AssociationEndDate": "2025-12-03T02:56:00+00:00",
"AssociationPrecedence": 1,
"CreationDate": "2020-02-18T08:43:42+00:00",
"CreatedBy": "PRICING_MGR_OPERATIONS",
"LastUpdateDate": "2020-02-18T08:43:43.031+00:00",
"LastUpdatedBy": "PRICING_MGR_OPERATIONS"
}