-
Notifications
You must be signed in to change notification settings - Fork 69
Sale_Ship
Jacob McConnell edited this page Jun 10, 2014
·
2 revisions
The Twocheckout_Sale class provides methods to retrieve and update sales and will return an Array or JSON response depending on your format specification.
##Method
###ship
Use to mark a sale as shipped.
####Arguments
- array Array
- Array containing mark_shipped parameters in key => value pairs. Parameters -> API Mark Shipped
####Returns
Returns an Array or JSON depending on your format specification.
####Example Usage:
Twocheckout::username('APIuser1817037');
Twocheckout::password('APIpass1817037');
$args = array(
'sale_id' => 4750124492,
'tracking_number' => 'qwerty0987654321'
);
$result = Twocheckout_Sale::ship($args);
####Example Response:
Array
(
[response_code] => OK
[response_message] => Sale marked shipped.
)
Please feel free to contact 2Checkout directly for assistance with your integration.