Content > Content Models > contentModels
Commerce APIContentContent ModelscontentModels
contentModels
GET:content_models.json

Description

Get all or specific content models.

This is a typical bulk get endpoint.

Permission bit: "content_models.read"

Topic: Content Models

Arguments

ids: [String!]

List of content model ids. See also: Unique Identifiers

Example: ["co_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

[ContentModel!]

Preview (typescript)

Loading module