AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

ResolveCustomer is 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 CustomerIdentifier along with the CustomerAWSAccountId and ProductCode.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ResolveCustomerAsync.

Namespace: Amazon.AWSMarketplaceMetering
Assembly: AWSSDK.AWSMarketplaceMetering.dll
Version: 3.x.y.z

Syntax

C#
public abstract ResolveCustomerResponse ResolveCustomer(
         ResolveCustomerRequest request
)

Parameters

request
Type: Amazon.AWSMarketplaceMetering.Model.ResolveCustomerRequest

Container for the necessary parameters to execute the ResolveCustomer service method.

Return Value


The response from the ResolveCustomer service method, as returned by AWSMarketplaceMetering.

Exceptions

ExceptionCondition
DisabledApiException The API is disabled in the Region.
ExpiredTokenException The submitted registration token has expired. This can happen if the buyer's browser takes too long to redirect to your page, the buyer has resubmitted the registration token, or your application has held on to the registration token for too long. Your SaaS registration website should redeem this token as soon as it is submitted by the buyer's browser.
InternalServiceErrorException An internal error has occurred. Retry your request. If the problem persists, post a message with details on the AWS forums.
InvalidTokenException Registration token is invalid.
ThrottlingException The calls to the API are throttled.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also