PartnerCentralSellingAPI / Client / assign_opportunity
assign_opportunity#
- PartnerCentralSellingAPI.Client.assign_opportunity(**kwargs)#
Enables you to reassign an existing
Opportunity
to another user within your Partner Central account. The specified user receives the opportunity, and it appears on their Partner Central dashboard, allowing them to take necessary actions or proceed with the opportunity.This is useful for distributing opportunities to the appropriate team members or departments within your organization, ensuring that each opportunity is handled by the right person. By default, the opportunity owner is the one who creates it. Currently, there’s no API to enumerate the list of available users.
See also: AWS API Documentation
Request Syntax
response = client.assign_opportunity( Assignee={ 'BusinessTitle': 'string', 'Email': 'string', 'FirstName': 'string', 'LastName': 'string' }, Catalog='string', Identifier='string' )
- Parameters:
Assignee (dict) –
[REQUIRED]
Specifies the user or team member responsible for managing the assigned opportunity. This field identifies the Assignee based on the partner’s internal team structure. Ensure that the email address is associated with a registered user in your Partner Central account.
BusinessTitle (string) – [REQUIRED]
Specifies the business title of the assignee managing the opportunity. This helps clarify the individual’s role and responsibilities within the organization. Use the value
PartnerAccountManager
to update details of the opportunity owner.Email (string) – [REQUIRED]
Provides the email address of the assignee. This email is used for communications and notifications related to the opportunity.
FirstName (string) – [REQUIRED]
Specifies the first name of the assignee managing the opportunity. The system automatically retrieves this value from the user profile by referencing the associated email address.
LastName (string) – [REQUIRED]
Specifies the last name of the assignee managing the opportunity. The system automatically retrieves this value from the user profile by referencing the associated email address.
Catalog (string) –
[REQUIRED]
Specifies the catalog associated with the request. This field takes a string value from a predefined list:
AWS
orSandbox
. The catalog determines which environment the opportunity is assigned in. UseAWS
to assign real opportunities in the Amazon Web Services catalog, andSandbox
for testing in secure, isolated environments.Identifier (string) –
[REQUIRED]
Requires the
Opportunity
’s unique identifier when you want to assign it to another user. Provide the correct identifier so the intended opportunity is reassigned.
- Returns:
None
Exceptions
PartnerCentralSellingAPI.Client.exceptions.ThrottlingException
PartnerCentralSellingAPI.Client.exceptions.AccessDeniedException
PartnerCentralSellingAPI.Client.exceptions.InternalServerException
PartnerCentralSellingAPI.Client.exceptions.ValidationException
PartnerCentralSellingAPI.Client.exceptions.ResourceNotFoundException