Niecio Posted June 17, 2020 Share Posted June 17, 2020 Hello, Has anyone encountered a problem in granting resource permissions by configuring the API key? Some options are not active: search - PUT, POST, DELETE stock_availables - POST, DELETE stock_movements - PUT, POST, DELETE stocks - PUT, POST, DELETE supply_order_details - PUT, POST, DELETE supply_order_histories - PUT, POST, DELETE supply_order_receipt_histories - PUT, POST, DELETE supply_order_states - PUT, POST, DELETE supply_orders - PUT, POST, DELETE warehouse_product_locations - PUT, POST, DELETE warehouses - DELETE Addition, screen in the attachment. All these permissions are needed to synchronize inventory levels with crm to the sales system. If anyone knows what may be the cause, or how to solve the problem of giving permissions that are not active I will be very grateful for every tip. Thank you in advance and best regards. Link to comment Share on other sites More sharing options...
Frostvik Posted October 12, 2020 Share Posted October 12, 2020 Same problem. Does anyone have a sollution to this? Tried to deactivate advanced stock- same result. Please help. Link to comment Share on other sites More sharing options...
prus Posted January 31, 2024 Share Posted January 31, 2024 Hi, i don't know what cause it but quick solve is to remove this strings from file classes/webservice/WebServiceRequest.php: , 'forbidden_method' => array('PUT', 'POST', 'DELETE') , 'forbidden_method' => array('POST', 'DELETE') 'forbidden_method' => array('DELETE')) so it will look like this: but the problem can be also related to this: https://www.prestashop.com/forums/topic/616367-function-mcrypt_encrypt-is-deprecated-in-classesrijndaelphp-on-line-51/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now