Skip to main content

Printcart Webhook

You can use webhook subscriptions to receive notifications about particular events in a shop. After you've subscribed to a webhook topic, your app can execute code immediately after specific events occur in shops that have your app installed, instead of having to make API calls periodically to check their status.

For example, you can rely on a webhook to trigger an action in your app when a new product or order arrives.By using webhooks, you can make fewer API calls overall, which makes sure that your apps are more efficient and update quickly.

For more information on how to create a webhook and the data returned by the event topic, refer to the Webhook API and the Webhook event topic

Verify the signature

Verify the signature for each webhook to check that it was sent by Printcart, you need to add a valid webhook secret that is unique to your app and doesn't change.

info

base64_encode(sid:secret) is a formula for encoding the sid and secret values into a secret string that is used to authenticate webhooks.

The sid and secret values represent a specific store on Printcart, and this key pair is generated when you create a new store. You can find the key pair in the Settings section of your Printcart Dashboard.

For security reasons, you should not publicly share the sid and secret key pair information anywhere.

The Webhook subscription object

Properties

callback_url

Destination URI to which the webhook subscription should send the POST request when an event occurs.

created_at

Date and time when the webhook subscription was created. The API returns this value in

event

Event that triggers the webhook.

id

Unique identifier string for webhook registration.

topic

Topic for webhook registration

updated_at

Date and time when the webhook subscription was updated. The API returns this value in

Webhook event topics

Designs

Occurs whenever a design is created.

Resource: Design

{
"data": {
"id": "cce4dc71-6757-4a1c-a259-6b66a4304c14",
"note": "Design example note",
"status": "processing",
"side": {
"type": null,
"id": "c5661a1e-8147-4dc3-8600-00fdc81ed14b",
"name": "Side Example",
"ratio": 72,
"dimension_unit": "cm",
"status": "publish",
"design_area": {
"width": 50,
"height": 50,
"top": 50,
"left": 50
},
"show_cut_line": true,
"cut_line_margin": {
"x": 50.5,
"y": 50.5
},
"show_safe_zone": true,
"safe_zone_margin": {
"x": 50.5,
"y": 50.5
},
"side_image_size": {
"width": 50,
"height": 50
},
"side_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"bg_type": "image",
"bg_color_value": "red",
"img_overlay": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"background_included": true,
"show_overlay": true,
"include_overlay": true,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"product": {
"id": "962af342-a2c9-4665-bb5d-cb208258d958",
"name": "product example",
"dynamic_side": 500,
"viewport_width": 500,
"viewport_height": 500,
"scale": 500,
"dpi": 500,
"dimension_unit": "inch",
"status": "publish",
"allowed_file_types": ["jpg", "png", "ai", "pdf"],
"max_file_upload": 500,
"min_jpg_dpi": 500,
"enable_design": false,
"enable_upload": true,
"upload_max_filesize": null,
"integration_product_id": null,
"product_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"project": {
"id": "4419934f-8e1b-4cf0-b432-01ef9258a812",
"name": "project example",
"status": "processing",
"note": "project example note",
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"preview_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"design_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"original_side": {
"id": "c5661a1e-8147-4dc3-8600-00fdc81ed14b",
"name": "Side Example",
"scale": 72,
"dimension_unit": "cm",
"status": "publish",
"design_area": {
"width": 50,
"height": 50,
"top": 50,
"left": 50
},
"show_cut_line": true,
"cut_line_margin": {
"x": 50.5,
"y": 50.5
},
"show_safe_zone": true,
"safe_zone_margin": {
"x": 50.5,
"y": 50.5
},
"side_image_size": {
"width": 50,
"height": 50
},
"side_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"product": {
"id": "962af342-a2c9-4665-bb5d-cb208258d958",
"name": "product example",
"dynamic_side": 500,
"viewport_width": 500,
"viewport_height": 500,
"scale": 500,
"dpi": 500,
"dimension_unit": "inch",
"status": "publish",
"allowed_file_types": ["jpg", "png", "ai", "pdf"],
"max_file_upload": 500,
"min_jpg_dpi": 500,
"enable_design": false,
"enable_upload": true,
"upload_max_filesize": null,
"integration_product_id": null,
"product_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"bg_type": "image",
"bg_color_value": "red",
"img_overlay": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"background_included": true,
"show_overlay": true,
"include_overlay": true,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"original_output_options": {
"dpi": 500,
"dimension_unit": "inch"
},
"viewport": {
"width": 50.5,
"height": 50.5
},
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z",
"layers": [
{
"top": 38.9832354205,
"left": 329.6631024663,
"text": "Heading",
"width": 158,
"height": 47.46,
"originX": "left",
"originY": "top",
"fontSize": 42,
"minWidth": 20,
"fontStyle": "normal",
"textAlign": "left",
"underline": "false,",
"fontFamily": "Roboto",
"fontWeight": "normal"
}
]
},
"message": "Created successfully"
}
Products

Occurs whenever a product is created.

Resource: Product

  {
"data": {
{
"id": "f95fxxx-6cc1-4f24-8a60-e1be1242xxx",
"name": "Custom Product",
"status": "publish",
"dynamic_side": false,
"viewport_width": null,
"viewport_height": null,
"scale": null,
"dpi": 72,
"allowed_file_types": [
"jpg",
"png"
],
"max_file_upload": 1,
"min_jpg_dpi": 96,
"dimension_unit": "cm",
"enable_design": false,
"enable_upload": false,
"upload_max_filesize": 50,
"integration_product_id": null,
"product_image": {
"id": "0c49xxxx-d2ca-4aec-9cc1-ded6221xxxxx",
"name": "example-image.jpg",
"url": "https://dcisb67tbokpv.cloudfront.net/images/f95fxxx-6cc1-4f24-8a60-e1be1242xxx/dbYExswRzxihgbka1sbn7mTOmdA6TqSLYDxxxxxx.jpg",
"thumbnails": null,
"alt": null,
"width": 600,
"height": 600,
"created_at": "2023-03-12T09:20:03.000000Z",
"updated_at": "2023-03-12T09:20:03.000000Z"
},
"created_at": "2023-03-12T09:20:18.000000Z",
"updated_at": "2023-03-12T09:20:58.000000Z"
}
},
"message": "Created successfully",
}
Projects

Occurs whenever a project is created.

Resource: Project

{
"data": {
"id": "4419934f-8e1b-4cf0-b432-01ef9258a812",
"name": "project example",
"status": "processing",
"note": "project example note",
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"message": "Created successfully"
}
Sides

Occurs whenever a side is created.

Resource: Side

{
"data": {
"id": "c5661a1e-8147-4dc3-8600-00fdc81ed14b",
"name": "Side Example",
"scale": 72,
"dimension_unit": "cm",
"status": "publish",
"design_area": {
"width": 50,
"height": 50,
"top": 50,
"left": 50
},
"show_cut_line": true,
"cut_line_margin": {
"x": 50.5,
"y": 50.5
},
"show_safe_zone": true,
"safe_zone_margin": {
"x": 50.5,
"y": 50.5
},
"side_image_size": {
"width": 50,
"height": 50
},
"side_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"product": {
"id": "962af342-a2c9-4665-bb5d-cb208258d958",
"name": "product example",
"dynamic_side": 500,
"viewport_width": 500,
"viewport_height": 500,
"scale": 500,
"dpi": 500,
"dimension_unit": "inch",
"status": "publish",
"allowed_file_types": ["jpg", "png", "ai", "pdf"],
"max_file_upload": 500,
"min_jpg_dpi": 500,
"enable_design": false,
"enable_upload": true,
"upload_max_filesize": null,
"integration_product_id": null,
"product_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"bg_type": "image",
"bg_color_value": "red",
"img_overlay": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"background_included": true,
"show_overlay": true,
"include_overlay": true,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"message": "Created successfully"
}
Templates

Occurs whenever a template is created.

Resource: Template

{
"data": {
"id": "cce4dc71-6757-4a1c-a259-6b66a4304c14",
"note": "Template example note",
"side": {
"type": null,
"id": "c5661a1e-8147-4dc3-8600-00fdc81ed14b",
"name": "Side Example",
"ratio": 72,
"dimension_unit": "cm",
"status": "publish",
"design_area": {
"width": 50,
"height": 50,
"top": 50,
"left": 50
},
"show_cut_line": true,
"cut_line_margin": {
"x": 50.5,
"y": 50.5
},
"show_safe_zone": true,
"safe_zone_margin": {
"x": 50.5,
"y": 50.5
},
"side_image_size": {
"width": 50,
"height": 50
},
"side_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"bg_type": "image",
"bg_color_value": "red",
"img_overlay": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"background_included": true,
"show_overlay": true,
"include_overlay": true,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"product": {
"id": "962af342-a2c9-4665-bb5d-cb208258d958",
"name": "product example",
"dynamic_side": 500,
"viewport_width": 500,
"viewport_height": 500,
"scale": 500,
"dpi": 500,
"dimension_unit": "inch",
"status": "publish",
"allowed_file_types": ["jpg", "png", "ai", "pdf"],
"max_file_upload": 500,
"min_jpg_dpi": 500,
"enable_design": false,
"enable_upload": true,
"upload_max_filesize": null,
"integration_product_id": null,
"product_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"project": {
"id": "4419934f-8e1b-4cf0-b432-01ef9258a812",
"name": "project example",
"status": "processing",
"note": "project example note",
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"preview_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"template_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"original_side": {
"id": "c5661a1e-8147-4dc3-8600-00fdc81ed14b",
"name": "Side Example",
"scale": 72,
"dimension_unit": "cm",
"status": "publish",
"design_area": {
"width": 50,
"height": 50,
"top": 50,
"left": 50
},
"show_cut_line": true,
"cut_line_margin": {
"x": 50.5,
"y": 50.5
},
"show_safe_zone": true,
"safe_zone_margin": {
"x": 50.5,
"y": 50.5
},
"side_image_size": {
"width": 50,
"height": 50
},
"side_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"product": {
"id": "962af342-a2c9-4665-bb5d-cb208258d958",
"name": "product example",
"dynamic_side": 500,
"viewport_width": 500,
"viewport_height": 500,
"scale": 500,
"dpi": 500,
"dimension_unit": "inch",
"status": "publish",
"allowed_file_types": ["jpg", "png", "ai", "pdf"],
"max_file_upload": 500,
"min_jpg_dpi": 500,
"enable_design": false,
"enable_upload": true,
"upload_max_filesize": null,
"integration_product_id": null,
"product_image": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"bg_type": "image",
"bg_color_value": "red",
"img_overlay": {
"id": "e8304b84-a015-3bd4-a7d3-7a978f465df2",
"name": "Image example",
"url": "https://files.printcart.com/images/19f99961-edac-455e-b407-aa6aa80ec862/0V34SX2YcE31B3zZ0xcm5dFbN1fGUdZc9GRIlxvP.jpg",
"thumbnails": {
"small": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_small.webp",
"medium": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_medium.webp",
"custom": "https://files.printcart.com/image-thumbnail/e24d-dezj-408a-a247-4012a09b3/G0Ujj8ICRFDacEL0zj6Zq983Q818Z1X_custom.webp"
},
"alt": "Image example",
"width": 500,
"height": 500,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"background_included": true,
"show_overlay": true,
"include_overlay": true,
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"original_output_options": {
"dpi": 500,
"dimension_unit": "inch"
},
"viewport": {
"width": 50.5,
"height": 50.5
},
"layers": [
{
"top": 38.9832354205,
"left": 329.6631024663,
"text": "Heading",
"width": 158,
"height": 47.46,
"originX": "left",
"originY": "top",
"fontSize": 42,
"minWidth": 20,
"fontStyle": "normal",
"textAlign": "left",
"underline": "false,",
"fontFamily": "Roboto",
"fontWeight": "normal"
}
],
"created_at": "2021-11-16T08:26:30.000000Z",
"updated_at": "2021-11-16T08:26:30.000000Z"
},
"message": "Created successfully"
}