Content > Content Blocks > contentBlocks
Commerce APIContentContent BlockscontentBlocks
contentBlocks
GET:content_blocks.json

Description

Get specific content blocks.

This is a typical bulk get endpoint.

Permission bit: "content_blocks.read"

Topic: Content Blocks

Arguments

ids: [String!]!

List of content block ids. See also: Unique Identifiers

Example: ["bl_EQzGqWoY"]


loose: Boolean

When asking for multiple items, allow returning less than was asked (in case some are missing)


shop_id: String!

Unique shop identifier. See also: Unique Identifiers

Example: "sh_EQzGqWoY"


Result

[ContentBlock!]

Preview (typescript)

Loading module