Rest API Customers Returns 200 Code but No Customer Data
-
We are building an app in Bubble to connect a WooCommerce cart to Bubble and provide reporting and admin services to woo customers.
The API uses the key and secret, authenticates to the store, returns a 200 response and says there are zero customer records and there are 4 there.{
"body": [],
"error": {
"status_code": 200,
"status_message": "OK",
"body": "\"[]\""
},
"returned_an_error": false,
"headers": {
"server": "nginx",
"date": "Fri, 07 Apr 2023 20:35:49 GMT",
"content-type": "application/json; charset=UTF-8",
"content-length": "2",
"connection": "keep-alive",
"set-cookie": [
"mailpoet_page_view=%7B%22timestamp%22%3A1680899748%7D; expires=Mon, 04-Apr-2033 20:35:48 GMT; Max-Age=315360000; path=/"
],
"x-robots-tag": "noindex",
"link": "https://shop.iwantthat.io/wp-json/; rel=\"https://api.w.org/\"",
"x-content-type-options": "nosniff",
"access-control-expose-headers": "X-WP-Total, X-WP-TotalPages, Link",
"access-control-allow-headers": "Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type",
"expires": "Wed, 11 Jan 1984 05:00:00 GMT",
"cache-control": "no-cache, must-revalidate, max-age=0",
"x-wp-total": "0",
"x-wp-totalpages": "0",
"x-xss-protection": "1; mode=block",
"allow": "GET, POST",
"x-httpd-modphp": "1",
"host-header": "6b7412fb82ca5edfd0917e3957f05d89",
"x-proxy-cache": "MISS",
"x-proxy-cache-info": "0 NC:000000 UP:SKIP_CACHE_NO_CACHE"
}
}The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Rest API Customers Returns 200 Code but No Customer Data’ is closed to new replies.