-
Notifications
You must be signed in to change notification settings - Fork 16
Product_Delete
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
###delete
Use to delete an existing product.
####Arguments
- None
- Updates by passing your product object's properties. Parameters -> API Delete Product
####Returns
Returns a TwocheckoutResponse object.
####Example Usage:
Product product = TwocheckoutProduct.retrieve(product_id);
TwocheckoutResponse result = product.delete();####Example Response (toJson):
{
"response_code" : "OK",
"response_message" : "Product successfully deleted."
}Please feel free to contact 2Checkout directly for assistance with your integration.