-
Notifications
You must be signed in to change notification settings - Fork 16
Option_Delete
Craig edited this page Oct 26, 2012
·
1 revision
You must specify your API username and password using the Twocheckout.apiusername & Twocheckout.apipassword class variables before calling a method in this class.
##Method
###delete
Use to delete an existing option.
####Arguments
- None
####Returns
Returns a TwocheckoutResponse object.
####Example Usage:
ProductOption option = TwocheckoutOption.retrieve(option_id);
TwocheckoutResponse result = option.delete();####Example Response (toJson):
{
"response_code" : "OK",
"response_message" : "Option deleted successfully"
}Please feel free to contact 2Checkout directly for assistance with your integration.