GET:content_models.json
Commerce APIGET:content_models.json

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

Query Parameters

ids: Comma-separated array of String, required

List of content model ids. See also: Unique Identifiers

Example: ?ids=co_EQzGqWoY,co_EQzGqWoY


loose: Boolean

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

Example: ?loose=true


shop_id: String, required

Unique shop identifier. See also: Unique Identifiers

Example: ?shop_id=sh_EQzGqWoY

Response Body

Array of ContentModel

Response Body Type

Loading module