SudoMock icon

SudoMock

Generate PSD mockups, photo mockups and product videos for Print-on-Demand automation. Upload PSDs, turn product photos into mockups, render with your designs, render videos, run renders asynchronously, track jobs, and manage webhooks.

Actions229

PSD Mockup → Photo Mockup: Set Print Areas

AI-generated

Summary

Replace or clear the saved print area quadrilaterals for a specific photo mockup identified by its UUID, updating the coordinates of the print areas via the SudoMock API.

Inputs

  • Mockup UUID (required) — UUID of the photo mockup to set print areas for.
  • Print Areas — List of quadrilaterals defining print areas, each specified by four points with X and Y coordinates. An empty list clears the print areas, letting the API determine renderability without saved areas.

Output shape

a single response object containing the API's result of updating print areas for the specified photo mockup

The response is returned as the JSON body from the HTTP PUT request to the SudoMock API's /photo-mockups/{mockupUuid}/print-areas endpoint. Errors in updating will throw exceptions.

Links

Discussion