INPUT_OBJECT

CreateMarketingTextInput

Autogenerated input type of CreateMarketingText

link GraphQL Schema definition

  • input CreateMarketingTextInput {
  • # A unique identifier for the client performing the mutation.
  • clientMutationId: String
  • workId: Int
  • # Version of the text for public viewing
  • externalTextMarkdown: String!
  • # Version of the text for internal use only
  • internalTextMarkdown: String
  • # Alternative version of the public text e.g. in American, not UK, English
  • alternateExternalTextMarkdown: String
  • # Where the review appeared e.g. The Guardian
  • publicationName: String
  • # The location of the review on the internet
  • reviewUrl: String
  • # Ensures the text will only appear in ONIX 2.1 feeds
  • onix2Only: Boolean
  • productIds: [Int!]
  • # The type of marketing text, derived from a curated selection of the ONIX text
  • # variant codes
  • variant: MarketingTextVariant
  • # The language of the marketing text, not the work
  • onixLanguageCode: ONIXLanguageCode
  • # Use to flag that the content is only suitable for some audiences. This text will
  • # be included in your ONIX 3.0 feeds, along with its target audience information,
  • # if it is a type of text allowed in ONIX 2.1.
  • # Texts with audience restrictions will not be sent in ONIX 2.1 (because content
  • # restrictions cannot be expressed in that version of ONIX).
  • onixContentAudienceCodes: [ONIXContentAudienceCode!]
  • # The date from which the text can be used
  • fromDate: ISO8601Date
  • # The date until which the text can be used
  • untilDate: ISO8601Date
  • # When the review was first published
  • datePublished: ISO8601Date
  • # When the review is embargoed until
  • dateReleased: ISO8601Date
  • # The publisher of the review e.g. The Guardian
  • publisherId: Int
  • # The person who wrote the review
  • reviewerId: Int
  • # The system or in-house approval status
  • approvalStatus: ApprovalStatus
  • }

link Require by