Retrieve a specific offer
Note
The Cloud Partner Portal APIs are integrated with and will continue working in Partner Center. The transition introduces small changes. Review the changes listed in Cloud Partner Portal API Reference to ensure your code continues working after transitioning to Partner Center. CPP APIs should only be used for existing products that were already integrated before transition to Partner Center; new products should use Partner Center submission APIs.
Retrieves the specified offer within the publisher namespace.
You can also retrieve a particular version of the offer, or retrieve the offer in draft, view, or production slots. If a slot isn't specified, the default is draft
. Attempting to retrieve an offer that hasn't been previewed or published will result in a 404 Not Found
error.
Warning
The secret values for secret type fields will not be retrieved by this API.
GET https://cloudpartner.azure.com/api/publishers/<publisherId>/offers/<offerId>?api-version=2017-10-3
URI parameters
Name | Description | Data type |
---|---|---|
publisherID | ID of the publisher; for example, Contoso | String |
offerID | Guid that uniquely identifies the offer. | String |
version | Version of the offer being retrieved. By default, the latest offer version is retrieved. | Integer |
slotID | The slot from which the offer is to be retrieved, can be one of: - Draft (default) retrieves the offer version currently in draft. - Preview retrieves the offer version currently in preview. - Production retrieves the offer version currently in production. |
enum |
api-version | Latest version of API | Date |
Header
Name | Value |
---|---|
Content-Type | application/json |
Authorization | Bearer YOUR_TOKEN |