Skip to content

REST API: Update store settings route not found #1192

@rashedripon

Description

@rashedripon

Describe the bug
There is no endpoint available to update the store settings via REST API. The documentation also does not include the PUT method: https://wedevsofficial.github.io/dokan/#update-settings

To Reproduce
Steps to reproduce the behavior:

  1. Make a PUT request using this endpoint: /wp-json/dokan/v1/settings
  2. The result is like this:
    { "code": "rest_no_route", "message": "No route was found matching the URL and request method.", "data": { "status": 404 } }

Expected behavior
REST API endpoint should update the information in the store settings.

Reported Here
https://wordpress.org/support/topic/rest-no-route-in-put-settings/

Environment (please complete the following information):
Dokan Version: 3.2.5
Dokan Pro Version: 3.2.3
WooCommerce Version: 5.2.2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions