Last active
June 17, 2020 10:39
-
-
Save somewherewarm-snippets/53140de4c552dee1effbfdcd84db4d63 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/v1/products/133 \ | |
-u consumer_key:consumer_secret \ | |
-H "Content-Type: application/json" \ | |
-d '{ | |
"bundled_items": [ | |
{ | |
"bundled_item_id": 70, | |
"product_id" : 35, | |
"quantity_max": 10, | |
"title": "Flying Ninja Posters" | |
} | |
] | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment