-
Notifications
You must be signed in to change notification settings - Fork 16
Sale_Ship
Jacob McConnell edited this page Jun 10, 2014
·
2 revisions
You must specify your API username and password using the Twocheckout.apiusername & Twocheckout.apipassword class variables before calling a method in this class.
##Method
###ship
Use to mark a sale as shipped.
####Arguments
- hash Parameters
- Hash containing mark_shipped parameters. Parameters -> API Mark Shipped
####Returns
Returns a TwocheckoutResponse object.
####Example Usage:
Sale sale = TwocheckoutSale.retrieve("4831096515");
HashMap<String, String> params = new HashMap<String, String>();
params.put("tracking_number", "test");
TwocheckoutResponse result = sale.ship(params);####Example Response (toJson):
{
"response_code" : "OK",
"response_message" : "Sale marked shipped."
}Please feel free to contact 2Checkout directly for assistance with your integration.