Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
curl -X PUT https://example.com/wp-json/wc/v2/products/133 \
-u consumer_key:consumer_secret \
-H "Content-Type: application/json" \
-d '{
"composite_components": [
{
"id": "123456789",
"delete": true
}
]
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment