MarketplaceMetering / Client / resolve_customer
resolve_customer#
- MarketplaceMetering.Client.resolve_customer(**kwargs)#
- ResolveCustomeris called by a SaaS application during the registration process. When a buyer visits your website during the registration process, the buyer submits a registration token through their browser. The registration token is resolved through this API to obtain a- CustomerIdentifieralong with the- CustomerAWSAccountIdand- ProductCode.- Note- The API needs to called from the seller account id used to publish the SaaS application to successfully resolve the token. - For an example of using - ResolveCustomer, see ResolveCustomer code example in the AWS Marketplace Seller Guide.- See also: AWS API Documentation - Request Syntax- response = client.resolve_customer( RegistrationToken='string' ) - Parameters:
- RegistrationToken (string) – - [REQUIRED] - When a buyer visits your website during the registration process, the buyer submits a registration token through the browser. The registration token is resolved to obtain a - CustomerIdentifieralong with the- CustomerAWSAccountIdand- ProductCode.
- Return type:
- dict 
- Returns:
- Response Syntax- { 'CustomerIdentifier': 'string', 'ProductCode': 'string', 'CustomerAWSAccountId': 'string' } - Response Structure- (dict) – - The result of the - ResolveCustomeroperation. Contains the- CustomerIdentifieralong with the- CustomerAWSAccountIdand- ProductCode.- CustomerIdentifier (string) – - The - CustomerIdentifieris used to identify an individual customer in your application. Calls to- BatchMeterUsagerequire- CustomerIdentifiersfor each- UsageRecord.
- ProductCode (string) – - The product code is returned to confirm that the buyer is registering for your product. Subsequent - BatchMeterUsagecalls should be made using this product code.
- CustomerAWSAccountId (string) – - The - CustomerAWSAccountIdprovides the AWS account ID associated with the- CustomerIdentifierfor the individual customer.
 
 
 - Exceptions- MarketplaceMetering.Client.exceptions.InvalidTokenException
- MarketplaceMetering.Client.exceptions.ExpiredTokenException
- MarketplaceMetering.Client.exceptions.ThrottlingException
- MarketplaceMetering.Client.exceptions.InternalServiceErrorException
- MarketplaceMetering.Client.exceptions.DisabledApiException