Support » Plugin: WooCommerce » Coupons API in WooCommerce

  • artsakhisarmenia


    We have two different WooCommerce installation, in the first the coupons are directly under woocommerce, in the second the coupons are under marketing (in Dashboard).

    The API call in the second installation brings an error:
    curl https://blabla/wp-json/wc/v3/coupons -u ck_blabla:cs_blabla

    {“code”:”woocommerce_rest_cannot_view”,”message”:”Entschuldigung, es k\u00f6nnen keine Ressourcen aufgelistet werden.”,”data”:{“status”:403}}

    This means that the resource is available, but I am missing the privileges to access it.

    Could maybe help solving this problem?

Viewing 1 replies (of 1 total)
  • Plugin Support 3 Sons Development – a11n


    Hi @artsakhisarmenia,

    The location of coupons within the admin has changed. If you’re getting a forbidden error, you may want to take a look at the permissions assigned to your user. There are plugins here at that you can use to edit/view user role permissions.

    What happens if you try to load the URL directly?


    The only thing that really changed was the menu location. The direct URL remained the same.

    Let us know what you find out.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.