Skip to content

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

Description

@Gabriel712

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions