Delete Product

delete
Delete Product

https://api.payant.ng/products/:reference_code
Request
Response
Path Parameters
optional
string
‚Äč
200: OK
{
"status": "success",
"message": "Product deleted successfully."
}

Request

curl https://api.payant.ng/products/1 \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-X DELETE

Response

{
"status": "success",
"message": "Product deleted successfully."
}