Skip to main content

CreateContentRequestInput

Input for submitting a content request: a seller's proposal to create or update a product.

input CreateContentRequestInput {
id: ID!
resourceType: String!
operation: String!
payload: JSON!
}

Fields

CreateContentRequestInput.id ● ID! non-null scalar

Caller-supplied identifier (UUID). Doubles as the idempotency key: retrying with the same id will not create a duplicate.

CreateContentRequestInput.resourceType ● String! non-null scalar

The type of resource the request targets. Currently only "product" is supported.

CreateContentRequestInput.operation ● String! non-null scalar

The requested operation: "create" or "update".

CreateContentRequestInput.payload ● JSON! non-null scalar

The product payload of the proposal (free-form JSON). Must include at least "ean" and "product_name". The seller is derived from the authenticated token, not supplied here.

Member Of

createContentRequest mutation