Rename a vendor category
Changes the name of a vendor category and returns it. Name is the only thing a vendor category carries. Requires the vendor_categories:write permission.
Authorization
AuthorizationstringrequiredBearer token — Send your API token in the Authorization header as Bearer <token>. Requests without a valid token are rejected with 401 Unauthorized.
Path parameters
vendorCategoryIdstringrequiredThe category to rename. A Snowflake id, sent as a decimal string.
example: 1829110384726355968
Body
application/json
namestringrequiredThe new category name. Between 1 and 150 characters.
Response
200 · The renamed category.
idstringrequiredThe category.
namestringrequiredThe category name.