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: string
ID of the external application data. In the form "{serverType}-{applicationName}".
Root Schema : updateExternalServiceData_request
Type:
Show Source
object
-
serviceData(optional):
object serviceData
Actual external service data.
Nested Schema : serviceData
Type:
object
Actual external service data.
Show Source
-
applicationId(optional):
string
The Facebook application ID of the merchant. (Facebook only)
-
host(optional):
string
The host name of the recommendations host. (Recommendations only)
-
name(optional):
string
The non-localized name of the service, such as "Facebook" or "Recommendations"
-
port(optional):
integer
The port of the recommendations server. (Recommentations only)
-
tenantId(optional):
string
The tenant ID of the merchant. (Recommendations only)
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : updateExternalServiceData_response
Type:
Show Source
object
-
id(optional):
string
The ID of the external application data. In the form "{serverType}-{applicationName}".
-
serverType(optional):
string
The server type. Typically "production" (storefront) or "publishing" (admin).
-
serviceData(optional):
object serviceData
The actual data being stored.
Nested Schema : serviceData
Type:
object
The actual data being stored.
Show Source
-
applicationId(optional):
string
The Facebook application ID of the merchant. (Facebook only)
-
displayName(optional):
string
The localized display name of the application.
-
host(optional):
string
The host name of the recommendations host. (Recommendations only)
-
name(optional):
string
The non-localized name of the service, such as "Facebook" or "Recommendations".
-
port(optional):
integer
The port of the recommendations server. (Recommentations only)
-
tenantId(optional):
string
The tenant ID of the merchant. (Recommendations only)
Example Response (application/json)
{
"serverType":"production",
"serviceData":{
"port":123,
"displayName":"Oracle Recommendations",
"host":"myHost",
"name":"Recommendations",
"tenantId":"foo"
},
"id":"production-Recommendations"
}
Default Response
The error response
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code