updateExternalServiceData
put
/ccadmin/v1/merchant/{id}
Update External Service Data. Update data for a single external service.
Request
Supported Media Types
- application/json
Path Parameters
- id
-
Type:
stringRequired:trueID of the external application data. In the form "{serverType}-{applicationName}".
Body Parameter
Root Schema : updateExternalServiceData_request
- serviceData
-
Type:
objectserviceDataAdditional Properties Allowed:Actual external service data.
Nested Schema : serviceData
Type:
objectActual external service data.
- applicationId
-
Type:
stringThe Facebook application ID of the merchant. (Facebook only) - host
-
Type:
stringThe host name of the recommendations host. (Recommendations only) - name
-
Type:
stringThe non-localized name of the service, such as "Facebook" or "Recommendations" - port
-
Type:
integerThe port of the recommendations server. (Recommentations only) - tenantId
-
Type:
stringThe tenant ID of the merchant. (Recommendations only)
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : updateExternalServiceData_response
- id
-
Type:
stringThe ID of the external application data. In the form "{serverType}-{applicationName}". - serverType
-
Type:
stringThe server type. Typically "production" (storefront) or "publishing" (admin). - serviceData
-
Type:
objectserviceDataAdditional Properties Allowed:The actual data being stored.
Nested Schema : serviceData
Type:
objectThe actual data being stored.
- applicationId
-
Type:
stringThe Facebook application ID of the merchant. (Facebook only) - displayName
-
Type:
stringThe localized display name of the application. - host
-
Type:
stringThe host name of the recommendations host. (Recommendations only) - name
-
Type:
stringThe non-localized name of the service, such as "Facebook" or "Recommendations". - port
-
Type:
integerThe port of the recommendations server. (Recommentations only) - tenantId
-
Type:
stringThe tenant ID of the merchant. (Recommendations only)
Example application/json
{
"serverType":"production",
"serviceData":{
"port":123,
"displayName":"Oracle Recommendations",
"host":"myHost",
"name":"Recommendations",
"tenantId":"foo"
},
"id":"production-Recommendations"
}
Default Response
The error response
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
{
"serverType": "production",
"serviceData": {
"port": 123,
"displayName": "Oracle Recommendations",
"host": "myHost",
"name": "Recommendations",
"tenantId": "foo"
},
"id": "production-Recommendations"
}