-
Notifications
You must be signed in to change notification settings - Fork 66
Sale_Active
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
###active
Use to return all of the active recurring lineitems on a sale.
####Arguments
- array Array
- Array containing
sale_id
parameter in key => value pair.
####Returns
Returns an Array or JSON depending on your format specification.
####Example Usage:
Twocheckout::username('APIuser1817037');
Twocheckout::password('APIpass1817037');
$args = array(
'sale_id' => 4837737864
);
$result = Twocheckout_Sale::active($args);
####Example Response:
Array
(
[response_code] => OK
[response_message] => Array
(
[0] => 4837725749
)
)
Please feel free to contact 2Checkout directly for assistance with your integration.