-
Notifications
You must be signed in to change notification settings - Fork 12
Sale_Ship
Jacob McConnell edited this page Jun 6, 2014
·
2 revisions
The SaleService class provides methods to retrieve and update sales.
##Method
###Ship
Use to mark a sale as shipped.
####Arguments
- TwoCheckoutConfig - Set your ApiUsername and ApiPassword.
- SaleShipServiceOptions Object containing mark shipped parameters
####Returns
Returns a TwocheckoutResponse object.
####Example Usage:
var ServiceObject = new SaleService();
var ArgsObject = new SaleShipServiceOptions();
ArgsObject.sale_id = sale_id;
var result = ServiceObject.Ship(ArgsObject);
####Example Response:
{TwoCheckout.TwoCheckoutResponse}
response_code: "OK"
response_message: "Sale marked shipped."
Please feel free to contact 2Checkout directly for assistance with your integration.