Skip to content

Instantly share code, notes, and snippets.

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