Title: Orders public in rest api
Last modified: March 2, 2020

---

# Orders public in rest api

 *  Resolved [dplatzer](https://wordpress.org/support/users/dplatzer/)
 * (@dplatzer)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/orders-public-in-rest-api/)
 * With this plugin activated everone can query all your order including every detail
   via the rest api (wp-json/wc-analytics/orders)
 * this is a terrible privacy issue!!!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Luke Cavanagh](https://wordpress.org/support/users/lukefiretoss/)
 * (@lukefiretoss)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/orders-public-in-rest-api/#post-12513850)
 * It should return
 * `{"code":"woocommerce_rest_cannot_view","message":"Sorry, you cannot list resources.","
   data":{"status":401}}`
    -  This reply was modified 6 years, 1 month ago by [Luke Cavanagh](https://wordpress.org/support/users/lukefiretoss/).
      Reason: clarify wording
 *  [Jeff Stieler](https://wordpress.org/support/users/jeffstieler/)
 * (@jeffstieler)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/orders-public-in-rest-api/#post-12517526)
 * Thanks for following up here [@lukefiretoss](https://wordpress.org/support/users/lukefiretoss/).
 * [@dplatzer](https://wordpress.org/support/users/dplatzer/) – are you able to 
   access Orders via the `wc-analytics/orders` endpoint without authenticating, 
   or with a user that doesn’t have the `read_private_posts` capability for the `
   shop_order` post type?
 * Thanks.
 *  Plugin Support [Nicola Mustone](https://wordpress.org/support/users/nicolamustone/)
 * (@nicolamustone)
 * Automattic Happiness Engineer
 * [6 years ago](https://wordpress.org/support/topic/orders-public-in-rest-api/#post-12615846)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Orders public in rest api’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-admin_b298d1.svg)
 * [WooCommerce Admin](https://wordpress.org/plugins/woocommerce-admin/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-admin/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-admin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-admin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-admin/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Nicola Mustone](https://wordpress.org/support/users/nicolamustone/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/orders-public-in-rest-api/#post-12615846)
 * Status: resolved