Confirm an artwork upload
order_confirm_artwork_uploadStep 2 of attaching artwork: report the completed PUT to register the file.
Call after PUTting the bytes to the presigned url. object_key is the
one order_request_artwork_upload returned; size is the byte count you
PUT. The filename and content type are the ones you presigned with.
Marks the line covered, clears the payment refusal, and arms prepress,
so the order can then reach page mapping and a payment link. Refused with
ItemDesignAttachedError when the item of a multi-item order already holds
an attached design, which is what prints.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session_id": "<session_id>",
"order_id": "<order_id>",
"item_id": "<item_id>",
"size": "<size>",
"object_key": "<object_key>"
},
"name": "order_confirm_artwork_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | Yes | ||
| item_id | Yes | ||
| order_id | Yes | ||
| object_key | Yes | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |