Update Company Profile
put
/appstore/publisher/v1/profile
Update the company (partner) profile details.
Request
Supported Media Types
- application/xml
- application/json
Provide the body with required information.
Root Schema : CompanyProfile
Type:
Show Source
object
-
action(optional):
string
-
city(optional):
string
-
contactDetails(optional):
object ContactDetails
-
country(optional):
object Item
-
description(optional):
string
-
domicile(optional):
string
-
founded(optional):
string
-
isMspEnabled(optional):
boolean
-
logoURL(optional):
string
-
name(optional):
string
-
opnLevel(optional):
object Item
-
opnNumber(optional):
string
-
packageConfigurations(optional):
object PackageConfigurations
-
partnerDetails(optional):
object PartnerDetails
-
partnerMode(optional):
object Item
-
partnerPortalOptions(optional):
object PartnerPortalOptions
-
products(optional):
array products
-
publisherType(optional):
array publisherType
-
size(optional):
object Item
-
state(optional):
string
Nested Schema : PackageConfigurations
Type:
Show Source
object
-
enableDownloadablePackage(optional):
boolean
Default Value:
false
-
enablePackageCreation(optional):
boolean
Default Value:
false
-
pkgTestInstallMandatory(optional):
boolean
Default Value:
false
Nested Schema : PartnerPortalOptions
Type:
Show Source
object
-
enableAutoApproval(optional):
boolean
Default Value:
false
-
enableAutoPublish(optional):
boolean
Default Value:
false
-
enableDevInstanceRequest(optional):
boolean
Default Value:
false
-
enablePrivateListing(optional):
boolean
Default Value:
false
-
enableReport(optional):
boolean
Default Value:
false
Response
Supported Media Types
- application/json;qs=1
- application/xml;qs=.5
200 Response
Successful Operation
400 Response
Invalid Parameter Value/Bad Request
401 Response
Not Authorized
500 Response
System Error
Examples
The following example updates details of an company by submitting a PUT request on the REST resource using cURL.
cURL Example
curl -X PUT -H "X-Oracle-UserId: partner-email" -H "Authorization: Bearer Access-token" "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/profile"
Request Header
X-Oracle-UserId: fname.lname@oracle.com Authorization: Bearer Access-token
Request Body
{ "description": "Description from REST API", "size": { "code": "ONE_TO_FIFTY" }, "founded": "2016", "city": "London", "state": "Westminster", "country": { "code": "United Kingdom" }, "contactDetails": { "website": "https://www.john.com", "phone": "0044-744-040-8543", "contactEmail": "contact@john.com", "notificationEmail": "notification@john.com", "additionalDetails": { "twitterURL": "https://twitter.com/john", "facebookURL": "https://www.facebook.com/john", "linkedInURL": "https://www.linkedin.com/john" } } }
HTTP Status Code:
200 OK
JSON Response:
{ "message": "Company profile successfully updated" }Back to Top