Skip to main content
DELETE
/
merchant
/
price
/
delete
{
  "success": false,
  "error": {
    "status": 404,
    "code": "PRICE_NOT_FOUND",
    "message": "Price not found"
  },
  "data": null
}
Delete a price from a product.
priceId
string
required
Price ID to delete
success
boolean
Indicates if the request was successful
data
object
Deletion result

Example Request

curl -X DELETE https://api.transaction.gg/merchant/price/delete \
  -H "Authorization: Bearer jwt_token" \
  -H "Content-Type: application/json" \
  -d '{
    "priceId": "price_i62wKFQ8sGnLxQ5G"
  }'

Example Response

{
  "success": true,
  "data": {
    "deleted": true,
    "priceId": "price_i62wKFQ8sGnLxQ5G"
  }
}

Error Responses

{
  "success": false,
  "error": {
    "status": 404,
    "code": "PRICE_NOT_FOUND",
    "message": "Price not found"
  },
  "data": null
}