PendingFulfillmentAction.dangerouslySkipDPICheck
boolean
designs
array of Design Inputs
Required
SetOf3ArtPrints). They replace all of the item's current designs.fitOptions
object
canvas
enum
MatOpeningPaper canvas is used as a fallback.Paperstyle
enum
InsideOutsideimageId
string
overrides
object
height
number
Required
rotation
number
Required
width
number
Required
x
number
Required
y
number
Required
sourceImage
object
parentFolderId
nullable string
url
string
Required
orderId
string
Required
id of the order.orderItemId
string
Required
id of the order item.designs and the updated Order. Read the order's productionStatus to see whether it still needs action; order items have no productionStatus until production starts.POST
/orders/update-item-designs
curl -X POST 'https://www.artelo.com/api/open/orders/update-item-designs' \
-H 'Authorization: Bearer your-token' \
-d '{
"designs": [
{
"fitOptions": {},
"imageId": "image-id",
"overrides": {
"height": 400,
"rotation": 30,
"width": 400,
"x": 0,
"y": 0
},
"sourceImage": {
"url": "https://sample.com/x.png"
}
}
],
"orderId": "de14efbe-daec-4e2d-b967-80ca9a5f9c17",
"orderItemId": "5f0c2d8e-7b1a-4c3e-9d2f-6a8b1e4c7d90"
}'{
"designs": [
{
"id": "0b6f3a52-91d4-4f0e-8c7a-2e5d9b1c4f68",
"imageId": "c2a4e6f8-1b3d-4e5f-9a7c-8d6b4a2c0e1f",
"order": 0
}
],
"order": {
"createdAt": "2024-09-30T13:56:29.057Z",
"channelName": null,
"companyName": null,
"customerAddress": {
"company": "Acme Inc.",
"city": "Miami",
"countryCode": "US",
"id": "address-id",
"name": "John Doe",
"phone": "+15551234567",
"state": "Florida",
"email": "john@doe.com",
"street1": "No 1 rosbridge street",
"street2": "#123",
"tin": "",
"zipcode": "900110"
},
"details": {
"amountRefunded": 0,
"arteloShipping": 10,
"branding": 1,
"giftMessage": 1,
"wholesaleDiscount": 0,
"gst": 1,
"hst": 1,
"packaging": 0,
"productionCost": 5,
"pst": 1,
"usSalesTax": 0
},
"giftMessage": {
"font": "Script",
"message": "Congratulations on your first home! Wishing you many happy years there.\n- Sarah, Coastal Realty"
},
"id": "de14efbe-daec-4e2d-b967-80ca9a5f9c17",
"insertPlacement": "PerOrder",
"insertId": "b1e38b9-442c-41bc-a849-32929a879537",
"instructions": "Handle it with care",
"orderId": "this-is-the-order",
"orderItems": [
{
"arteloProductId": "a63d3478-9401-4046-9057-40abdabdc8ef",
"id": "5f0c2d8e-7b1a-4c3e-9d2f-6a8b1e4c7d90",
"orderItemId": "item-001",
"isPersonalizable": false,
"productionStatus": null,
"details": {
"amountRefunded": 0,
"arteloShipping": 10,
"branding": 1,
"giftMessage": 0,
"wholesaleDiscount": 0,
"gst": 1,
"hst": 1,
"packaging": 0,
"productionCost": 5,
"pst": 1,
"usSalesTax": 0
},
"product": {
"catalogProductId": "IndividualArtPrint",
"frameColor": "BlackMetal",
"frameStyle": "Metal",
"includeFramingService": true,
"includeHangingPins": true,
"includeMats": true,
"orientation": "Horizontal",
"packagingType": "Standard",
"paperStyle": "FineArt",
"paperType": "ArchivalMatteFineArt",
"size": "x10x10"
},
"quantity": 10
}
],
"productionStatus": "Pending Approval",
"shipments": [],
"shippingStatus": "Shipping Pending",
"status": "PendingFulfillmentAction",
"stickerPlacement": "PerUnit",
"stickerId": "e7e38b9-442c-41bc-a849-32929a879537"
}
}