Update a pricing unit

View as Markdown
Updates the display name of a pricing unit. The code is immutable after creation.

Authentication

AuthorizationBearer
API key obtained from the Grant dashboard

Path parameters

idstringRequiredformat: "cuid"

Request

This endpoint expects an object.
namestring or nullOptional
Optional display name. Set to null or an empty string to clear it. The code is immutable after creation.

Response

Pricing unit updated
successboolean
pricing_unitobject
request_idstring

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error