Created
June 26, 2024 13:13
-
-
Save somewherewarm-snippets/b2fc4344ab6d42698d1585fe9822bea8 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-product-add-ons/v2/global-add-ons/123 \ | |
-u customer_key:customer_secret \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"fields": [ | |
{ | |
"id": 1719406272 | |
}, | |
{ | |
"id": 1719406273 | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment