Last active
July 28, 2021 14:04
-
-
Save somewherewarm-snippets/95104305da0d4822dfa9308a15602d33 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": 0 | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment