Created
June 8, 2021 12:58
-
-
Save somewherewarm-snippets/ecd801ffb16e296b1b11c59603bda279 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X PUT 'https://example.com/wp-json/wc/v3/gift-cards/177' \ | |
-u consumer_key:consumer_secret \ | |
-H 'Content-Type: application/json' \ | |
--data-raw '{ | |
"meta_data": [ | |
{ | |
"key": "sample key 1", | |
"value": "this is the updated value" | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment