Update Product
Path Parameters
productId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
name?string|null
slug?string|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/v1/products/string" \ -H "Content-Type: application/json" \ -d '{}'{ "duration": 0, "id": "string", "name": "string", "projectId": "string", "slug": "string", "type": "subscription"}{ "_tag": "Api/SdkValidationError", "message": "string"}{ "_tag": "Api/AuthenticationError", "cause": "string", "message": "string"}{ "_tag": "Api/ActionForbiddenError", "message": "string"}{ "_tag": "Api/ProductNotFoundError", "message": "string"}{ "_tag": "Api/ProductSlugAlreadyExistsError", "slug": "string"}{ "_tag": "Api/ProductServiceError", "cause": "string"}