Skip to main content
DELETE
/
v1
/
products
/
{productId}
Deactivate a product
curl --request DELETE \
  --url https://api.yuvexpay.com/v1/products/{productId} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

YuvexPay API key. Include as Authorization: Bearer ypk_<env>_<kid>_<secret> where <env> is test (sandbox) or live (production). Create and manage keys in the dashboard under Settings > API Keys.

Path Parameters

productId
string<uuid>
required

The product ID.

Response

Product deactivated.

message
string