{ "success": false, "error": { "status": 404, "code": "PRICE_NOT_FOUND", "message": "Price not found" }, "data": null }
Edit a price
curl -X PATCH https://api.transaction.gg/merchant/price/edit \ -H "Authorization: Bearer jwt_token" \ -H "Content-Type: application/json" \ -d '{ "priceId": "price_i62wKFQ8sGnLxQ5G", "amount": "39.99", "currency": "EUR", "active": true }'
{ "success": true, "data": { "id": "price_i62wKFQ8sGnLxQ5G", "amount": "39.99", "currency": "EUR", "active": true, "updatedAt": "2024-01-01T00:00:00Z" } }