Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Gabriel712 opened this issue Mar 25, 2021 · 0 comments

Comments

@Gabriel712
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant