Hello,
I’m a beginner and I need your help to create a Woocommerce client from my application.
Here is the documentation and I don’t understand where to put the info (cURL, user keys) in the API Connector Bubble.
If someone could help me by looking at his screen.
Thanks for your help!
curl -X POST https://example.com/wp-json/wc/v3/customers
-u consumer_key:consumer_secret
-H “Content-Type: application/json”
-d ‘{
“email”: “john.doe@example.com”,
“first_name”: “John”,
“last_name”: “Doe”,
“username”: “john.doe”,
“billing”: {
“first_name”: “John”,
“last_name”: “Doe”,
“company”: “”,
“address_1”: “969 Market”,
“address_2”: “”,
“city”: “San Francisco”,
“state”: “CA”,
“postcode”: “94103”,
“country”: “US”,
“email”: “john.doe@example.com”,
“phone”: “(555) 555-5555”
},
“shipping”: {
“first_name”: “John”,
“last_name”: “Doe”,
“company”: “”,
“address_1”: “969 Market”,
“address_2”: “”,
“city”: “San Francisco”,
“state”: “CA”,
“postcode”: “94103”,
“country”: “US”
}
}’
