Skip to content

Passing categories and attributes #35

@SebastianAlvarez-Matesoft

Description

Hi,
I'm having trouble with product creation. I can't figure out how to pass the categories and the attributes, it keeps showing "rest_invalid_param" error code with message "categories[0] not of type object".
I first thought it should be an object array, but it didn't work. I also tried with a map, but there is no way to make it work.
Could you please give me an example of how should I do it?

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