POST
Create a development theme as a copy of another theme.

Authorizations

X-Agent-Key
string
header
required

Service-account key, format sq_agt_*. Carries least-privilege scopes.

Headers

Idempotency-Key
string
required

Unique per logical operation; identical key+body returns the cached response, different body → 409.

Maximum string length: 200
X-Store-ID
string

Target store; required when the key is bound to multiple stores.

Body

application/json
name
string
required
Example:

"Ingredient section — Sept"

role
enum<string>
required
Available options:
development
from_theme_id
string

Theme to copy. Defaults to the main theme.

Response

OK

success
boolean
required
message
string
data
object
meta
object