cURL
curl --request DELETE \ --url https://api.yuvexpay.com/v1/products/{productId} \ --header 'Authorization: Bearer <token>'
{ "message": "<string>" }
Soft-delete a product by setting it as inactive. The product data is preserved but it can no longer be used in new payments.
API access token obtained from POST /oauth/token. Include as Authorization: Bearer {token}.
Authorization: Bearer {token}
The product ID.
Product deactivated.