Waiting for engine...
Skip to main content

listingCategoryUpdate

Updates the specified Listing category

The listingCategoryUpdate mutation accepts the following input: categoryId categoryName icon

The categoryId is a required field. If the categoryId is not specified an error is thrown. The specified category can be updated only if it exists. categoryName is an optional field. Specify this field only if you want to update the category Name. If the icon for category is not available, you can use the default category icon available here: https://drive.google.com/file/d/1-Zh9epp20fRDRgmPwp_DGR7SUFAIL4Of/view?usp=sharing

An example of the request is as follows:

mutation($fileUpload: Upload) {
listingCategoryUpdate(input: {
categoryId: "36ee0e28-f442-2083-c5c7-7b5c7719ed71"
icon:$fileUpload
})
}

listingCategoryUpdate(
input: ListingCategoryUpdateInput!
): Boolean

Arguments

listingCategoryUpdate.input ● ListingCategoryUpdateInput! non-null input platform

Type

Boolean scalar miscellaneous

The Boolean scalar type represents true or false.

On this Page