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

Photo Mockup → Webhook: Update Endpoint

AI-generated

Summary

Update an existing Photo Mockup webhook endpoint by changing its URL, description, enabled status, subscribed events, or event naming convention.

Inputs

  • Webhook Endpoint ID (required) — ID of the webhook endpoint to update, obtained from the Webhook: List Endpoints operation.
  • Events — Optional list of event types that the webhook endpoint will receive. Leaving empty subscribes to all events including future ones.
  • Update Fields — Collection of fields to update including Description (label), Enabled (active status), Endpoint URL (new HTTPS URL), and Event Naming (either 'current' for new photo_mockup.* event names or 'legacy' for older 2d_* names).

Output shape

a single JSON object representing the updated webhook endpoint details

Returns the JSON response from the SudoMock API showing the updated properties of the webhook endpoint. Errors during update are returned unless continueOnFail is enabled, in which case error details appear per item.

Links

Discussion