Skip to main content

PolicyInput

Fields required to create or update a policy.

input PolicyInput {
slug: String
title: String
contentHtml: String
isPublished: Boolean
publicationDate: String
seo: SeoInput
seller: ID
}

Fields​

PolicyInput.slug ● String scalar​

Policy internal name.

PolicyInput.title ● String scalar​

Policy title.

PolicyInput.contentHtml ● String scalar​

Policy content (HTML).

PolicyInput.isPublished ● Boolean scalar​

Determines if the policy is visible in the storefront.

PolicyInput.publicationDate ● String scalar​

Publication date. ISO 8601 standard.

PolicyInput.seo ● SeoInput input​

Search engine optimization fields.

PolicyInput.seller ● ID scalar​

Seller that owns this policy. If omitted, defaults to the calling seller user's own seller; MPO staff may omit it to create a marketplace-level policy.

Member Of​

policyCreate mutation ● policyUpdate mutation

Was this page helpful?