Skip to main content

setPublicationCustomAttribute

Set the value of a single custom attribute of a publication.

setPublicationCustomAttribute(
publicationId: ID!
attribute: AttributeInput!
): SetPublicationCustomAttributePayload!

Arguments

setPublicationCustomAttribute.publicationId ● ID! non-null scalar

ID of the publication to modify.

setPublicationCustomAttribute.attribute ● AttributeInput! non-null input

The key and the value to be set.

Type

SetPublicationCustomAttributePayload object

Response for the setCustomAttribute mutation.