Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save somewherewarm-snippets/b2fc4344ab6d42698d1585fe9822bea8 to your computer and use it in GitHub Desktop.
Save somewherewarm-snippets/b2fc4344ab6d42698d1585fe9822bea8 to your computer and use it in GitHub Desktop.
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