Skip to content

Won't update variation meta #17

@d3v-null

Description

@d3v-null

Hi,
I'm having a problem with this plugin where updating a simple product works fine with the api call:

- endpoint: products/<simple_product_id> 
- data: {'custom_meta': {'field':'value'} }

However this doesn't work with product variations, for example if i have a variable product, which has a number of variations whose properties change regularly and I need to update those variations without deleting and re-creating them every time I update them, I want to be able to do this:

- endpoint: products/<variation_id> (not the id of the parent product but the ID of the variation
- data: {'custom_meta': {'field':'value'} }

However this just doesn't work on Variations, it just ignores it.

I also can't obtain the meta of a product variation through this plugin, only the meta of the variable product which is it's parent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions