Update Application

put

/appstore/publisher/v1/applications/{listingVersionId}

Update the Application listing. Only applications in a NEW or REJECTED state can be updated. To update a listing that is published, a new version of the listing must be created.

Request

Supported Media Types
Path Parameters
Body ()
Unique identifier of an application for which information is to be updated.
Root Schema : AppListing
Type: object
Show Source
Nested Schema : AdditionalInfo
Type: object
Show Source
Nested Schema : Banner
Type: object
Show Source
Nested Schema : Item
Type: object
Show Source
Nested Schema : DownloadInfo
Type: object
Show Source
Nested Schema : Icon
Type: object
Show Source
Nested Schema : languages
Type: array
Show Source
Nested Schema : markets
Type: array
Show Source
Nested Schema : ListingPreInstallNote
Type: object
Show Source
Nested Schema : PricingDetails
Type: object
Show Source
Nested Schema : products
Type: array
Show Source
Nested Schema : Progress
Type: object
Show Source
Nested Schema : recommededServiceIntegrators
Type: array
Show Source
Nested Schema : regions
Type: array
Show Source
Nested Schema : relatedDocuments
Type: array
Show Source
Nested Schema : screenShots
Type: array
Show Source
Nested Schema : SupportInfo
Type: object
Show Source
Nested Schema : supportingDocuments
Type: array
Show Source
Nested Schema : ListingVersion
Type: object
Show Source
Nested Schema : market
Type: object
Show Source
Nested Schema : billToCountries
Type: array
The list of countries of customer
Show Source
Nested Schema : UploadData
Type: object
Show Source
Nested Schema : product
Type: object
Show Source
Nested Schema : categories
Type: array
Show Source
Nested Schema : filters
Type: array
Show Source
Nested Schema : ProductFilter
Type: object
Show Source
Nested Schema : values
Type: array
Show Source
Nested Schema : Region
Type: object
Show Source
Nested Schema : countries
Type: array
Show Source
Nested Schema : RelatedDocs
Type: object
Show Source
Nested Schema : UploadFile
Type: object
Show Source
Nested Schema : InputStream
Type: object
Nested Schema : ScreenShots
Type: object
Show Source
Nested Schema : contacts
Type: array
Show Source
Nested Schema : SupportContact
Type: object
Show Source
Nested Schema : SupportingDocs
Type: object
Show Source
Back to Top

Response

Supported Media Types

200 Response

Successful Operation
Body ()
Root Schema : acknowledgement
Type: object
Show Source

400 Response

Bad Request

401 Response

Not Authorized

500 Response

System Error
Back to Top

Examples

The following example updates an application belonging to a partner and shows the new listingVersionId, by submitting a PUT request on the REST resource using cURL.

cURL Example

curl -X PUT -H "X-Oracle-UserId: partner-email" -H "Content-Type: application/json" -H "Authorization: Bearer Access-token" -d JSON-data-as-shown-in-following-example "https://ocm-apis.cloud.oracle.com/appstore/publisher/v1/applications/3189560"

Request Header

X-Oracle-UserId: fname.lname@oracle.com 
Authorization: Bearer Access-token 
Content-Type: application/json

Request Body

   {   
    "name": "REST API Test App01",
    "languages": [
        {
            "code": "en_US"
        },
        {
            "code": "da_DK"
        }
    ],
    "products": [
        {
            "code": "sales",
            "categories": [
                {
                    "code": "SALES_METHODOLOGIES"
                }
            ],
            "filters": [
                {
                    "code": "Category",
                    "values": [
                        {
                            "code": "Category"
                        }
                    ]
                }
            ]
        }
    ],
    "deviceType": {
        "code": "BROWSER"
    },
    "demoURL": "https://www.youtube.com/watch?v=Re4UA6_sD1E",
    "additionalInfo": {
        "vanityURL": "https://cloudmarketplace-stage.oracle.com/marketplace/app/vanityurlsample1testjan112",
        "vanityURLSuffix": "vanityurlsample1testjan112"
    },
    "pricing": {
        "type": "PAID",
        "description": "This ain't no free stuff"
    },
    "downloadInfo": {
      "type": "URL",
      "value": "www.anyGetappURL.com/myapp"
     },
    "shortDescription": "Updated short description",
    "longDescription": "Updated long description via PUT",
    "usageInformation": "Updated usage information via PUT",
    "tags": "Fusion CRM",
    "tagLine": "Sales Training Software | Sales Enablement",
    "versionDetails": {
        "versionNumber": "1.0v",
        "description": "beta version",
        "releaseDate": "2013-06-30T07:00:00.000Z"
    },
    "systemRequirements": "Initial Release",
    "recommededServiceIntegrators": [
        {
            "name": "Recommended Services 1"
        },
        {
            "name": "Reocmmended Services 2"
        }
    ],
    "support": {
        "contacts": [
            {
                "name": "Technical Support",
                "phone": "1-908-679-0000",
                "email": "fname.lname@oracle.com",
                "subject": "Updated test subject via PUT"
            }
        ],
        "links": [
            {
                "name": "Test Listing Link",
                "url": "https://www.oracle.com"
            }
        ]
    }
}

HTTP Status Code:

200 OK

JSON Response:

{
    "message":"Listing was updated successfully.",
    "entityId":"8422402",
    "name":"REST API Test App01"
}
Back to Top