A client to Cloud Commerce Consumer Procurement API
The interfaces provided are listed below, along with usage samples.
ConsumerProcurementServiceClient
Service Description: ConsumerProcurementService allows customers to make purchases of products
served by the Cloud Commerce platform.
When purchases are made, the
ConsumerProcurementService
programs the appropriate backends, including both Google's own infrastructure, as well as
third-party systems, and to enable billing setup for charging for the procured item.
Sample for ConsumerProcurementServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.// It will require modifications to work:// - It may require correct/in-range values for request initialization.// - It may require specifying regional endpoints when creating the service client as shown in// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_librarytry(ConsumerProcurementServiceClientconsumerProcurementServiceClient=ConsumerProcurementServiceClient.create()){Stringname="name3373707";Orderresponse=consumerProcurementServiceClient.getOrder(name);}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]