Method: accounts.customers.orders.patch

Updates existing customer [Order]. An order update can involve options like: - updating renewal settings. - updating commitment settings. - updating seat counts for seat-based subscriptions.

This api does not support updating offer_id. Please use orders.create to place order with updated offer_id.

An order update is a long running operation and results in updates to entitlements as a result of fulfillment.

HTTP request

PATCH https://cloudchannel.googleapis.com/v1alpha1/{name=accounts/*/customers/*/orders/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the order to update. The name takes the format: 'accounts/{account_id}/customers/{customer_id}/orders/{orderId}'

Query parameters

Parameters
updateMask

string (FieldMask format)

The update mask that applies to the resource. For the FieldMask definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask

A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Order.

Response body

If successful, the response body contains an 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.

Try it!