Skip to main content
POST
Activate pending property changes

Authorizations

Authorization
string
header
required

Sign in with the existing Occtoo Studio identity and selected organization.

Headers

If-Match
string

The card definition's ETag from your last read, quoted as returned (e.g. "3"). 428: missing; 400: not one strong quoted ETag; 412: stale, read the card definition again and retry.

Path Parameters

cardId
string
required

Raw id of the card definition (e.g. products).

Response

Accepted

Shapes the entries of one or more sources into cards: picks source properties as card properties and sets the data type each exposes.

id
string
required

Raw id of the card definition (e.g. products). Use with /v1/card-definitions/{cardId}.

name
string
required

Name of the card definition, shown in Studio.

description
null | string
required

Free-text note about the card definition.

tags
string[]
required

Labels for grouping and filtering card definitions.

status
enum<string>
required

State of the card definition. See CardDefinitionStatus.

Available options:
Draft,
Active,
Updating,
Archived,
Archiving,
PendingChanges
etag
required

Version of the card definition. Send it quoted in If-Match (e.g. "3").

displayOptions
object
required

Card properties that present each card, keyed by role (name, description or image); each value is a card property id.

propertyGroups
object[]
required

Groups that arrange the card definition's card properties in Studio. A card property can be in one group only.

properties
object[]
required

Active card properties. Empty until the first activation completes.

pendingChanges
null | object
required

Saved card property changes that aren't active yet. Null when there are none.

createdAt
string<date-time>
required

When the card definition was created (UTC).

updatedAt
string<date-time>
required

When the card definition last changed (UTC).