Skip to main content

Input fields

address : RichAddressInput

Pass an address to set it, null to clear it, or omit it to leave it unchanged. Mutually exclusive with useSameAddressAsBilling.

opportunityNumber : String! required

The unique number of the opportunity to update.

useSameAddressAsBilling : Boolean

Use the lead's billing address. If no billing address exists, the opportunity address is cleared. Mutually exclusive with address.

The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.

Example

{ "address": RichAddressInput, "opportunityNumber": "cold-north-person-save-number", "useSameAddressAsBilling": true }