---
title: "POST /v1/{+name}:changeOffer"
method: POST
path: "/v1/{+name}:changeOffer"
tags: ["accounts"]
---

# POST /v1/{+name}:changeOffer

`POST /v1/{+name}:changeOffer`

Updates the Offer for an existing customer entitlement. An entitlement update is a long-running operation and it updates the entitlement as a result of fulfillment. Possible error codes: * PERMISSION_DENIED: The customer doesn't belong to the reseller. * INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: Offer or Entitlement resource not found. * INTERNAL: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. * UNKNOWN: Any non-user error related to a technical issue in the backend. Contact Cloud Channel support. Return value: The ID of a long-running operation. To get the results of the operation, call the GetOperation method of CloudChannelOperationsService. The Operation metadata will contain an instance of OperationMetadata.

## Path parameters

- `name` string, required

## Request body

- GoogleCloudChannelV1ChangeOfferRequest — Request message for CloudChannelService.ChangeOffer.
  - `requestId` string — Optional. You can specify an optional unique request ID, and if you need to retry your request, the server will know to ignore the request if it's complete. For example, you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if it received the original operation with the same request ID. If it did, it will ignore the second request. The request ID must be a valid [UUID](https://tools.ietf.org/html/rfc4122) with the exception that zero UUID is not supported (`00000000-0000-0000-0000-000000000000`).
  - `billingAccount` string — Optional. The billing account resource name that is used to pay for this entitlement when setting up billing on a trial subscription. This field is only relevant for multi-currency accounts. It should be left empty for single currency accounts.
  - `parameters` GoogleCloudChannelV1Parameter[] — Optional. Parameters needed to purchase the Offer. To view the available Parameters refer to the Offer.parameter_definitions from the desired offer.
    - `name` string — Name of the parameter.
    - `value` GoogleCloudChannelV1Value — Data type and value of a parameter.
      - `stringValue` string — Represents a string value.
      - `doubleValue` number, double — Represents a double value.
      - `protoValue` object — Represents an 'Any' proto value.
      - `int64Value` string, int64 — Represents an int64 value.
      - `boolValue` boolean — Represents a boolean value.
    - `editable` boolean — Output only. Specifies whether this parameter is allowed to be changed. For example, for a Google Workspace Business Starter entitlement in commitment plan, num_units is editable when entitlement is active.
  - `offer` string — Required. New Offer. Format: accounts/{account_id}/offers/{offer_id}.
  - `priceReferenceId` string — Optional. Price reference ID for the offer. Only for offers that require additional price information. Used to guarantee that the pricing is consistent between quoting the offer and placing the order.
  - `purchaseOrderId` string — Optional. Purchase order id provided by the reseller.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/cloudchannel.md) · [All operations](https://skmtc.net/google/apis/cloudchannel/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/cloudchannel/revisions/7477d1d5f236/schema)
