Created
June 8, 2021 12:59
-
-
Save somewherewarm-snippets/2dffd3a5b72c2490ebc88b98c13ed335 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" | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment