Skip to content

Add metadata to existing coupon #55

Description

@pbmolini

Hello, I try with the following and I get no errors

@wc_api_client.put("coupons/42", { meta_data: [{ key: "email", value: "email@example.com" }] })

but then nothing changes on the Coupon

@wc_api_client.get("coupons/42")['meta_data']
=> nil

What am I doing wrong?

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