ConfirmOrderReference
Confirms that the order reference is free of constraints and that all required information has been set on the order reference.
Description
After the order reference is free of constraints and all required information has been set on the order reference, call the ConfirmOrderReference operation. After you call this operation, the order reference is set to the Open state and you can submit authorizations against the order reference.
After you successfully call this operation, you should call the GetOrderReferenceDetails operation to get the remaining buyer information like name and shipping address. Before an order reference is confirmed, only the City, StateOrRegion, PostalCode, and CountryCode elements are returned in the call to GetOrderReferenceDetails.
Note: You can submit authorization requests only when an order reference is in the Open state.
This operation has a maximum request quota of 10 and a restore rate of one request every second in the production environment. It has a maximum request quota of two and a restore rate of one request every two seconds in the sandbox environment. For definitions of throttling terminology and for a complete explanation of throttling, see Throttling: Limits to how often you can submit requests in the Amazon MWS Developer Guide.
Request parameters
For more information about the request parameters that are required for all Amazon MWS operations, see Required request parameters in the Amazon MWS Developer Guide.
Parameter name | Required | Type | Description |
AmazonOrderReferenceId | Yes | xs:string |
The order reference identifier.
This value is retrieved from the Amazon Button widget after the buyer has successfully authenticated with Amazon. |
Response elements
This operation returns only the standard response elements.
Examples
Sample query request
POST /OffAmazonPayments/2013-01-01 HTTP/1.1
Content-Type: x-www-form-urlencoded
Host: mws.amazonservices.com
User-Agent: <Your User Agent Header>
AWSAccessKeyId=AKIAJKYFSJU7PEXAMPLE
&Action=ConfirmOrderReference
&AmazonOrderReferenceId=P01-1234567-1234567
&SellerId=YOUR_SELLER_ID_HERE
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2012-10-03T19%3A01%3A11Z
&Version=2013-01-01
&Signature=CLZOdtJGjAo81IxaLoE7af6HqK0EXAMPLE
Sample response
<ConfirmOrderReferenceResponse
xmlns="https://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01">
<ResponseMetadata>
<RequestId>f42df4b1-8047-11df-8d5c-bf56a38ef3b4</RequestId>
</ResponseMetadata>
</ConfirmOrderReferenceResponse>