python-magento icon indicating copy to clipboard operation
python-magento copied to clipboard

correct use of "create(self, product_type, attribute_set_id, sku, data)"

Open Gabriel712 opened this issue 3 years ago • 0 comments

Specifications

  • Version: 1.9
  • Platform: Linux
  • Subsystem: Linux Lite

Hello, good morning!

I can currently use the API normally. But I didn't understand how this function works.

data is a dictionary, but in what format? {"sku":0, } . . .

I tried to copy a data from other product.


xmlrpc.client.Fault: <Fault 102: 'Invalid data given. Details in error message.'> xmlrpc.client.Fault: <Fault 105: 'Product attribute set is not existed'>

Thanks!

Gabriel712 avatar Mar 25 '21 20:03 Gabriel712