REST API DEL method not allowed

LucaCalabrese
New Member
1 0 0

Hello I am using a private app in order to manipulate my products, and every method works fine except for "DEL"

i need to delete a variant after creeating one, I use:

DEL "....../admin/api/2021-10/products/'PRODUCTID/variants/ VARIANTID.json" 

and I get the usual 405 method not allowed response, POST and GET works fine.

 

What should I do?

 

Replies 2 (2)
SergioSanchez
New Member
1 0 0

I have the same problem Luca. Anyone can help us?

danpamfil
New Member
2 0 0

Try with 'DELETE' instead of 'DEL'.