createPriceListGroupActivationRequest

post

/ccadmin/v1/priceListGroups/activationRequest

Create Price List Group Activation Request. Create a new PriceListGroup activation request

Request

Supported Media Types
  • application/json
Body Parameter
Root Schema : createPriceListGroupActivationRequest_request

Response

Supported Media Types
  • application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : createPriceListGroupActivationRequest_response
Nested Schema : activationSummary
Type: object
Activation summary.
Example application/json

{
    "links":[
        {
            "rel":"self",
            "href":"/priceListGroups/activationRequest"
        }
    ],
    "activationSummary":{
        "valid":"true",
        "active":"true"
    },
    "token":"hcXGtYVfjpsKofHzEeUkCTVQSM_10000"
}
Default Response
The error response. The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud: |Error Code|Description| |------------------|------------------| |20302|The price group ID must be a string| |20401|There was an error validating the price group| |20301|The price group ID cannot be null| |20187|The price group could not be found| |20304|There was an error activating the price group| |20303|The price group ID cannot be blank|
Body
Root Schema : errorModel
Type: object
Nested Schema : errors
Type: array
An optional list of errors if multiple errors were encountered
Nested Schema : items
Type: object

Examples

Sample Request:

{"priceListGroupId": "CanadianDollar"}

Sample Response Payload returned by endpoint:

{
  "links": [{
    "rel": "self",
    "href": "/priceListGroups/activationRequest"
  }],
  "activationSummary": {
    "valid": "true",
    "active": "true"
  },
  "token": "hcXGtYVfjpsKofHzEeUkCTVQSM_10000"
}