Cloud Commerce Partner Procurement API
Partner API for the Cloud Commerce Procurement Service.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Partner API for the Cloud Commerce Procurement Service.
Endpoints 10
providers.entitlements
- POSTApproves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state
/v1/:name:approveApproves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to approve the creation… - GETGets a requested Entitlement resource.
/v1/:nameGets a requested Entitlement resource. - PATCHUpdates an existing Entitlement.
/v1/:name?updateMask=stringUpdates an existing Entitlement. - POSTRejects an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state
/v1/:name:rejectRejects an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state. This method is invoked by the provider to reject the creation… - POSTApproves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state
/v1/:name:approvePlanChangeApproves an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to… - GETLists Entitlements for which the provider has read access.
/v1/:parent/entitlements?filter=string&pageSize=0&pageToken=stringLists Entitlements for which the provider has read access. - POSTRejects an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state
/v1/:name:rejectPlanChangeRejects an entitlement plan change that is in the EntitlementState.ENTITLEMENT_PENDING_PLAN_CHANGE_APPROVAL state. This method is invoked by the provider to… - POSTRequests suspension of an active Entitlement
/v1/:name:suspendRequests suspension of an active Entitlement. This is not yet supported.
providers.accounts
- GETLists Accounts that the provider has access to.
/v1/:parent/accounts?pageSize=0&pageToken=stringLists Accounts that the provider has access to. - POSTResets an Account and cancels all associated Entitlements
/v1/:name:resetResets an Account and cancels all associated Entitlements. Partner can only reset accounts they own rather than customer accounts.
API details
- Base URL
https://cloudcommerceprocurement.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 10 operations on 9 pathsPOST 6GET 3PATCH 1
- Main resources
- providers.entitlements 8providers.accounts 2
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Cloud Commerce Partner Procurement API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Cloud Commerce Partner Procurement API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Approves an entitlement that is in the EntitlementState.ENTITLEMENT_ACTIVATION_REQUESTED state” (POST /v1/:name:approve), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Cloud Commerce Partner Procurement API?
Partner API for the Cloud Commerce Procurement Service. It is listed under E-commerce and has 10 endpoints.
Who publishes the Cloud Commerce Partner Procurement API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Cloud Commerce Partner Procurement API?
Requests go to https://cloudcommerceprocurement.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Cloud Commerce Partner Procurement API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Cloud Commerce Partner Procurement API have?
10 operations on 9 paths (6 POST, 3 GET, 1 PATCH). The largest groups are providers.entitlements, providers.accounts.
Is forking the Cloud Commerce Partner Procurement API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.