Skip to main content
PUT

Authorizations

x-api-key
string
header
required

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

Path Parameters

mockup_id
string
required

Id of the photo mockup whose print areas are replaced.

Body

application/json

Replace a mockup's printable areas in the supplied order.

print_areas
PhotoMockupPrintAreaInput · object[]
required

Up to eight printable areas; array order becomes sort order. An empty array saves the mockup without bounded placement zones.

Maximum array length: 8

Response

200 - application/json

Successful Response

data
PhotoMockupPrintAreasUpdateData · object
required

The mockup and the printable areas it carries after the replacement.

success
boolean
default:true

Always true on a successful response.