curl --request POST \
--url https://api.print.app/v2/projects/{id}/ops \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ops": [
{
"op": "item.update",
"target": "itm_7f3b",
"content": "Ada King"
}
]
}
'import requests
url = "https://api.print.app/v2/projects/{id}/ops"
payload = { "ops": [
{
"op": "item.update",
"target": "itm_7f3b",
"content": "Ada King"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ops: [{op: 'item.update', target: 'itm_7f3b', content: 'Ada King'}]})
};
fetch('https://api.print.app/v2/projects/{id}/ops', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.print.app/v2/projects/{id}/ops",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ops' => [
[
'op' => 'item.update',
'target' => 'itm_7f3b',
'content' => 'Ada King'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.print.app/v2/projects/{id}/ops"
payload := strings.NewReader("{\n \"ops\": [\n {\n \"op\": \"item.update\",\n \"target\": \"itm_7f3b\",\n \"content\": \"Ada King\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.print.app/v2/projects/{id}/ops")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ops\": [\n {\n \"op\": \"item.update\",\n \"target\": \"itm_7f3b\",\n \"content\": \"Ada King\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.print.app/v2/projects/{id}/ops")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ops\": [\n {\n \"op\": \"item.update\",\n \"target\": \"itm_7f3b\",\n \"content\": \"Ada King\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "ops_result",
"dryRun": true,
"results": [
{
"index": 123,
"op": "<string>",
"ok": true,
"id": "<string>",
"pageId": "<string>",
"ref": "<string>",
"error": "<string>",
"path": "<string>",
"warnings": [
"<string>"
]
}
],
"project": {
"object": "project",
"id": "project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"title": "Business Card",
"status": "submitted",
"product": {
"id": "sku-123",
"ref": "cart-line-7f3a"
},
"userId": "customer-1001",
"userData": {
"id": "customer-1001",
"name": "Jane Doe",
"email": "jane@example.com"
},
"designId": "design_01J8Z9K2M3N4P5Q6R7S8T9V0W1",
"created": "2026-10-17T09:12:03Z",
"modified": "2026-10-17T09:20:41Z",
"pages": [
{
"index": 0,
"previewUrl": "https://d1p81tn8mwpox2.cloudfront.net/?k=s3%3A%2F%2Fapp-print-cdn%2Fcontent_a1.png&size=1000"
},
{
"index": 1,
"previewUrl": "https://d1p81tn8mwpox2.cloudfront.net/?k=s3%3A%2F%2Fapp-print-cdn%2Fcontent_b2.png&size=1000"
}
],
"exports": {
"pdf": "https://pdf.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"png": "https://png.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"jpeg": "https://jpeg.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"tiff": "https://tiff.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b"
}
},
"content": {
"object": "project_content",
"projectId": "project_00507c69-a75c-45c9-875c-6e29a808b4af",
"unit": "mm",
"pages": [
{
"index": 0,
"id": "page_5b1e",
"title": "Front",
"width": 85,
"height": 55,
"bleed": 3,
"safeMargin": 3,
"items": [
{
"id": "itm_7f3b",
"type": "text",
"box": [
6,
22,
73,
10
],
"text": "Ada Lovelace",
"font": "open sans",
"weight": 700,
"size": 14,
"align": "left",
"color": "#1f2a44",
"field": {
"title": "Name"
},
"lock": "field"
}
]
}
]
}
}{
"error": true,
"code": "invalid_request",
"message": "width is required.",
"param": "width",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unauthorized",
"message": "Missing or invalid secret key. Send it as \"Authorization: Bearer sk_…\".",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "account_suspended",
"message": "This account is suspended. Settle the outstanding invoice in the Print.App dashboard.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "not_found",
"message": "Not found.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "folder_not_empty",
"message": "The folder still holds designs. Remove them from it (or delete them) first.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unsupported_media_type",
"message": "Send the request body as JSON, with \"Content-Type: application/json\".",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "ops_failed",
"message": "ops[1] (item.update) failed: no item 'logo'. Nothing was saved.",
"param": "ops",
"requestId": "FZn-uhymjoEEJow=",
"details": [
{
"index": 0,
"op": "text.add",
"ok": true,
"id": "itm_7f3b",
"ref": "name"
},
{
"index": 1,
"op": "item.update",
"ok": false,
"error": "no item 'logo'"
}
]
}{
"message": "Too Many Requests"
}{
"error": true,
"code": "internal_error",
"message": "Something went wrong on our side. Retry the request; if it keeps failing, contact support with the requestId.",
"requestId": "FZn-uhymjoEEJow="
}Edit project page content
Changes what is on a customer’s project’s pages with a batch of design operations, as POST /v2/designs/{id}/ops does for a design: all or nothing, with dryRun to try it first. The project’s PDF and image exports follow the edit; its order state, product and userData don’t change.
A submitted project (added to the cart or ordered) answers 409 project_submitted unless the batch sends allowSubmitted: true: an edit changes what is printed for that order, so check with the merchant first. A mail-merge project answers 409 project_mail_merge: it prints from its mail-merge pages, so open it in the editor with a project URL instead. Accounts on the classic editor answer 409 editor_not_supported.
curl --request POST \
--url https://api.print.app/v2/projects/{id}/ops \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ops": [
{
"op": "item.update",
"target": "itm_7f3b",
"content": "Ada King"
}
]
}
'import requests
url = "https://api.print.app/v2/projects/{id}/ops"
payload = { "ops": [
{
"op": "item.update",
"target": "itm_7f3b",
"content": "Ada King"
}
] }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({ops: [{op: 'item.update', target: 'itm_7f3b', content: 'Ada King'}]})
};
fetch('https://api.print.app/v2/projects/{id}/ops', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.print.app/v2/projects/{id}/ops",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ops' => [
[
'op' => 'item.update',
'target' => 'itm_7f3b',
'content' => 'Ada King'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.print.app/v2/projects/{id}/ops"
payload := strings.NewReader("{\n \"ops\": [\n {\n \"op\": \"item.update\",\n \"target\": \"itm_7f3b\",\n \"content\": \"Ada King\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.print.app/v2/projects/{id}/ops")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"ops\": [\n {\n \"op\": \"item.update\",\n \"target\": \"itm_7f3b\",\n \"content\": \"Ada King\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.print.app/v2/projects/{id}/ops")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ops\": [\n {\n \"op\": \"item.update\",\n \"target\": \"itm_7f3b\",\n \"content\": \"Ada King\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"object": "ops_result",
"dryRun": true,
"results": [
{
"index": 123,
"op": "<string>",
"ok": true,
"id": "<string>",
"pageId": "<string>",
"ref": "<string>",
"error": "<string>",
"path": "<string>",
"warnings": [
"<string>"
]
}
],
"project": {
"object": "project",
"id": "project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"title": "Business Card",
"status": "submitted",
"product": {
"id": "sku-123",
"ref": "cart-line-7f3a"
},
"userId": "customer-1001",
"userData": {
"id": "customer-1001",
"name": "Jane Doe",
"email": "jane@example.com"
},
"designId": "design_01J8Z9K2M3N4P5Q6R7S8T9V0W1",
"created": "2026-10-17T09:12:03Z",
"modified": "2026-10-17T09:20:41Z",
"pages": [
{
"index": 0,
"previewUrl": "https://d1p81tn8mwpox2.cloudfront.net/?k=s3%3A%2F%2Fapp-print-cdn%2Fcontent_a1.png&size=1000"
},
{
"index": 1,
"previewUrl": "https://d1p81tn8mwpox2.cloudfront.net/?k=s3%3A%2F%2Fapp-print-cdn%2Fcontent_b2.png&size=1000"
}
],
"exports": {
"pdf": "https://pdf.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"png": "https://png.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"jpeg": "https://jpeg.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"tiff": "https://tiff.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b"
}
},
"content": {
"object": "project_content",
"projectId": "project_00507c69-a75c-45c9-875c-6e29a808b4af",
"unit": "mm",
"pages": [
{
"index": 0,
"id": "page_5b1e",
"title": "Front",
"width": 85,
"height": 55,
"bleed": 3,
"safeMargin": 3,
"items": [
{
"id": "itm_7f3b",
"type": "text",
"box": [
6,
22,
73,
10
],
"text": "Ada Lovelace",
"font": "open sans",
"weight": 700,
"size": 14,
"align": "left",
"color": "#1f2a44",
"field": {
"title": "Name"
},
"lock": "field"
}
]
}
]
}
}{
"error": true,
"code": "invalid_request",
"message": "width is required.",
"param": "width",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unauthorized",
"message": "Missing or invalid secret key. Send it as \"Authorization: Bearer sk_…\".",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "account_suspended",
"message": "This account is suspended. Settle the outstanding invoice in the Print.App dashboard.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "not_found",
"message": "Not found.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "folder_not_empty",
"message": "The folder still holds designs. Remove them from it (or delete them) first.",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "unsupported_media_type",
"message": "Send the request body as JSON, with \"Content-Type: application/json\".",
"requestId": "FZn-uhymjoEEJow="
}{
"error": true,
"code": "ops_failed",
"message": "ops[1] (item.update) failed: no item 'logo'. Nothing was saved.",
"param": "ops",
"requestId": "FZn-uhymjoEEJow=",
"details": [
{
"index": 0,
"op": "text.add",
"ok": true,
"id": "itm_7f3b",
"ref": "name"
},
{
"index": 1,
"op": "item.update",
"ok": false,
"error": "no item 'logo'"
}
]
}{
"message": "Too Many Requests"
}{
"error": true,
"code": "internal_error",
"message": "Something went wrong on our side. Retry the request; if it keeps failing, contact support with the requestId.",
"requestId": "FZn-uhymjoEEJow="
}Authorizations
A secret key from Print.App admin → Domains → Secret keys, sent as Authorization: Bearer sk_…. Server-side only.
Path Parameters
The projectId.
Body
A batch of design operations on a customer's project, run in order as one change: either every operation succeeds and the project is saved, or nothing is. The same operations as a design's (the DesignOp schemas).
The operations, run in order. Items added in the batch can be targeted by later operations through their ref.
1 - 100 elementsShow child attributes
Show child attributes
The unit of every box and length in the batch. Default: the project's unit (mm for projects measured in ft). Text sizes are always in points.
mm, cm, in, pt, px The page item operations go on: a page number from 1, or a page's ref. An operation's own page wins. Default 1.
1 <= x <= 500Run the batch and report every operation's result and the resulting content, without saving anything.
Edit a submitted project (added to the cart or ordered), which changes what is printed for that order. Without it such a project answers 409 project_submitted. Not needed for a dry run.
Response
OK.
The outcome of a batch that ran on a project: every operation's result, the project as saved (unchanged on a dry run), and its content now.
"ops_result"Show child attributes
Show child attributes
A customer's saved design.
Show child attributes
Show child attributes
{
"object": "project",
"id": "project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"title": "Business Card",
"status": "submitted",
"product": { "id": "sku-123", "ref": "cart-line-7f3a" },
"userId": "customer-1001",
"userData": {
"id": "customer-1001",
"name": "Jane Doe",
"email": "jane@example.com"
},
"designId": "design_01J8Z9K2M3N4P5Q6R7S8T9V0W1",
"created": "2026-10-17T09:12:03Z",
"modified": "2026-10-17T09:20:41Z",
"pages": [
{
"index": 0,
"previewUrl": "https://d1p81tn8mwpox2.cloudfront.net/?k=s3%3A%2F%2Fapp-print-cdn%2Fcontent_a1.png&size=1000"
},
{
"index": 1,
"previewUrl": "https://d1p81tn8mwpox2.cloudfront.net/?k=s3%3A%2F%2Fapp-print-cdn%2Fcontent_b2.png&size=1000"
}
],
"exports": {
"pdf": "https://pdf.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"png": "https://png.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"jpeg": "https://jpeg.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b",
"tiff": "https://tiff.print.app/project_2b6f1c9e-8d0a-4c3e-9f57-0c1d2e3f4a5b"
}
}
What is on each page of a customer's project, measured as in DesignContent: boxes are [x, y, width, height] in unit from the top-left of the trim; text sizes are in points.
Show child attributes
Show child attributes
{
"object": "project_content",
"projectId": "project_00507c69-a75c-45c9-875c-6e29a808b4af",
"unit": "mm",
"pages": [
{
"index": 0,
"id": "page_5b1e",
"title": "Front",
"width": 85,
"height": 55,
"bleed": 3,
"safeMargin": 3,
"items": [
{
"id": "itm_7f3b",
"type": "text",
"box": [6, 22, 73, 10],
"text": "Ada Lovelace",
"font": "open sans",
"weight": 700,
"size": 14,
"align": "left",
"color": "#1f2a44",
"field": { "title": "Name" },
"lock": "field"
}
]
}
]
}