def cancel_order_reference(
      amazon_order_reference_id,
      cancelation_reason: nil,
      merchant_id: @merchant_id,
      mws_auth_token: nil
    )

      parameters = {
        'Action' => 'CancelOrderReference',
        'SellerId' => merchant_id,
        'AmazonOrderReferenceId' => amazon_order_reference_id
      }

      optional = {
        'CancelationReason' => cancelation_reason,
        'MWSAuthToken' => mws_auth_token
      }

      operation(parameters, optional)
    end
def cancel_order_reference(
      amazon_order_reference_id,
      cancelation_reason: nil,
      merchant_id: @merchant_id,
      mws_auth_token: nil
    )

      parameters = {
        'Action' => 'CancelOrderReference',
        'SellerId' => merchant_id,
        'AmazonOrderReferenceId' => amazon_order_reference_id
      }

      optional = {
        'CancelationReason' => cancelation_reason,
        'MWSAuthToken' => mws_auth_token
      }

      operation(parameters, optional)
    end
def cancel_order_reference ( amazon_order_reference_id , cancelation_reason : nil , merchant_id : @merchant_id , mws_auth_token : nil ) parameters = { 'Action' => 'CancelOrderReference' , 'SellerId' => merchant_id , 'AmazonOrderReferenceId' => amazon_order_reference_id } optional = { 'CancelationReason' => cancelation_reason , 'MWSAuthToken' => mws_auth_token } operation ( parameters , optional ) end
Cancels a previously confirmed order reference
 @see https://pay.amazon.com/documentation/apireference/201751630#201751990
 @param amazon_order_reference_id [String]
 @optional cancelation_reason [String]
 @optional merchant_id [String]
 @optional mws_auth_token [String]
Cancels a previously confirmed order reference