Last active
July 28, 2021 13:37
-
-
Save somewherewarm-snippets/7d67ad205f4195793676bc448a8815f0 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://somewherewarm.test/support/wp-json/wc/v3/orders/68 \ | |
-u consumer_key:consumer_secret \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"gift_cards": [ | |
{ | |
"code": "XXXX-XXXX-XXXX-XXXX", | |
"amount": 30 | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment