Skip to main content
PATCH

Authorizations

x-api-key
string
header
required

API key with sm_ prefix. Get your key at https://sudomock.com/dashboard/api-keys

Path Parameters

uuid
string
required

Mockup UUID

Minimum string length: 36

Body

application/json

Update request for PATCH /api/v1/psd-mockups/{uuid}

name
string | null

New mockup name

Required string length: 1 - 255
colors
MockupColour · object[] | null

The colours this mockup answers to by name. Replaces the whole list, so send every colour you want to keep. Send [] to clear it.

Maximum array length: 96

Response

200 - application/json

Successful Response

The ingested mockup with every layer you can address in a render. specification

data
UploadResponseData · object
required

Response data

success
boolean
default:true

Success status

message
string
default:""

Optional message about the operation

warnings
UploadWarning · object[] | null

Non-fatal advisories about this upload (e.g. hidden smart object layers that are not exposed for personalization). Omitted when none.