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.
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
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
.
ResolveCustomer
, see
ResolveCustomer code example in the AWS Marketplace Seller Guide.
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
public abstract ResolveCustomerResponse ResolveCustomer( ResolveCustomerRequest request )
Container for the necessary parameters to execute the ResolveCustomer service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5