Skip to content
Select theme
Light
Dark
Auto
Select language
English
فارسی

Posts

Object

A post on the shop’s page on kaladan.shop.

Its photos go through the platform’s file and media services, as a product’s do. A post publishes only when every photo is READY: a page with a grey square on it is worse than a post that waits a few seconds.

ID!

No description.

Version!

No description.

String!

Plain text with line breaks, at most 2,200 characters. A URL in it stays text and is never made a link.

PostStatus!

No description.

[Image!]!

The photos, in order: one to ten to publish, and a draft may have none. Each carries its own status; a post waits until all are READY.

[Product!]!

The products it shows, in order, at most five. A tag is a reference, not a promise: a product taken off the showcase stays tagged here and is not drawn on kaladan.shop, and a deleted product’s tag is dropped.

Boolean!

Whether it is kept at the top of the page. At most three are.

DateTime

When it was featured. Null when it isn’t.

DateTime

When it was first published. Kept through hiding and publishing again: it is the post’s place on the page.

String

Why the platform took it down, in its own words. Null unless REMOVED. Shown to the shop, never to a reader.

URL

Where it is on kaladan.shop while it is published. Null otherwise.

StaffMember

Who created it.

DateTime!

No description.

DateTime!

No description.

Object

A page of posts.

[PostEdge!]!

No description.

[Post!]!

No description.

PageInfo!

No description.

Int

How many match across every page — when this page is the whole result. Null otherwise: the service behind this list does not count, and a number made up here would be a wrong one that looks right.

Object

What postDelete returns.

ID

No description.

[UserError!]!

No description.

Object

One post in a page of them.

String!

No description.

Post!

No description.

Input

Narrows a list of posts.

[PostStatus!]

Only posts in these states. Omitted, every state.

Boolean

Only featured posts, or only the rest. Omitted, both.

Input

What a post is made of. Partial on update: an omitted field is left alone, and a list sent replaces that list whole.

String

At most 2,200 characters.

[PostMediaInput!]

The photos, in order, at most ten. Each entry keeps a photo already on this post or adds a new one from a staged upload.

[ID!]

The products it shows, in order, at most five, each once.

Input

One photo in a post’s list: exactly one of mediaId and stagedUploadId.

ID

A photo already on this post, kept in this place.

ID

A new photo: the staged upload its bytes were PUT to (stagedUploadsCreate).

String

What a screen reader says, at most 512 characters.

Object

What the post mutations return.

Post

No description.

[UserError!]!

No description.

Enum

Where a post is in its life.

ValueMeaning
DRAFTBeing written. Seen by the shop only.
PUBLISHEDOn the page.
HIDDENTaken down by the shop, which can publish it again.
REMOVEDTaken down by the platform. The shop can’t edit, publish or feature it, only delete it.