Skip to main content

setPublicationCustomAttribute

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

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

Arguments​

setPublicationCustomAttribute.attribute ● AttributeInput! non-null input​

The key and the value to be set.

setPublicationCustomAttribute.publicationId ● ID! non-null scalar​

ID of the publication to modify.

Type​

SetPublicationCustomAttributePayload object​

Response for the setCustomAttribute mutation.