-
Notifications
You must be signed in to change notification settings - Fork 17
Product_Delete
Craig Christenson edited this page Oct 26, 2012
·
1 revision
You must specify your API username and password using the twocheckout.Api.credentials
method before calling a method in this class.
##Method
###delete
Use to delete an existing product.
####Arguments
- None
- Must be called on a Product instance
####Returns
Returns a Python object.
####Example Usage:
twocheckout.Api.credentials({'username':'APIuser1817037', 'password':'APIpass1817037'})
params = {
'product_id': 4774467881
}
product = twocheckout.Product.find(params)
result = product.delete();
print result
####Example Response:
{
u'response_code': u'OK',
u'response_message': u'Product successfully deleted.'
}
Please feel free to contact 2Checkout directly for assistance with your integration.