- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Creates Order
on behalf of a customer. Orders can be initiated based on a valid reseller offerId. An order creation is a long running operation. When an order succeeds, entitlements are created as a result of fulfillment. For SaaS, an order fulfillment typically results in a billing subscription being created. For IaaS offer, an order fulfillment typically results in a billing container being created that can be used for consumption billing.
HTTP request
POST https://cloudchannel.googleapis.com/v1alpha1/{parent=accounts/*/customers/*}/orders
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
The resource name of reseller's customer account in which to create the order. Parent takes the format: 'accounts/{account_id}/customers/{customer_id}' |
Query parameters
Parameters | |
---|---|
enableDelegatedAdmin |
If true, grants delegated admin rights to channel partner for fulfilled entitlements. Required to be true for G Suite order placements. |
channelPartnerId |
Cloud identity ID of a channel partner who will be the distributor authorized reseller (DAR) for the customer's entitlement. A DAR should have accepted an invitation from the top-level distributor, sent by calling |
Request body
The request body contains an instance of Order
.
Response body
If successful, the response body contains a newly created instance of Operation
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/apps.order
https://www.googleapis.com/auth/userinfo.email
For more information, see the Authentication Overview.