PUT
Create or update up to 50 files in one versioned batch.

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.

Path Parameters

theme_id
string
required

Body

application/json
files
object[]
required
Maximum array length: 50

Response

Batch processed. Per-file failures are in data.user_errors; check it even on 200.

success
boolean
required
message
string
data
object
meta
object