channelName
nullable string
companyName
nullable string
branding
object
insertId
string
insertPlacement.stickerId
string
stickerPlacement.insertPlacement
enum
insertId, the default insert branding will be used.PerOrderPerUnitstickerPlacement
enum
stickerId, the default sticker branding will be used.PerOrderPerUnitcreatedAt
date
Required
currency
enum
Required
ARSAUDBRLCADEURGBPHKDcustomerAddress
object
Required
city
string
Required
country
enum
Required
USADAEAFAGAIALemail
string
phone
string
company
string
name
string
Required
state
string
Required
street1
string
Required
street2
string
zipcode
string
Required
dangerouslySkipDPICheck
boolean
instructions
string
items
array of objects
Required
arteloProductId
string
id of the Artelo Product associated with the order item. If left empty, the Artelo product will be inferred from the productInfo field. If arteloProductId and productInfo are left empty, an error is thrown.orderItemId
string
Required
productInfo
Product Input
arteloProductId field. If arteloProductId and productInfo are left empty, an error is thrown.catalogProductId
enum
Required
IndividualArtPrintSetOf2ArtPrintsSetOf3ArtPrintsSetOf4ArtPrintsSetOf5ArtPrintsSetOf6ArtPrintsSetOf8ArtPrintsframeColor
nullable enum
Required
NaturalOakBlackOakWhiteOakWalnutOakWhiteMetalBlackMetalSilverMetalincludeFramingService
boolean
Required
includeHangingPins
boolean
Required
includeMats
boolean
Required
orientation
nullable enum
VerticalHorizontalpaperType
nullable enum
null for products without prints.SemiGlossPosterMattePosterSemiMatteLinenPosterGlossyPosterRagSatinPhotoGlossyPhotoLusterPhotosize
enum
Required
x4x4x5x5x6x6x8x8x10x10x12x12x14x14designs
array of Design Inputs
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
quantity
number
Required
unitPrice
number
Required
orderId
string
Required
shippingCost
number
currency.isTestOrder
boolean
true to create a test order. Test orders are created with status Ignored and are not sent to production. Use this to verify your integration end-to-end without incurring charges.tax
number
currency.total
number
Required
currency. This includes order items that are not associated with Artelo products.vat
number
currency.Order object.POST
/orders/create
curl -X POST 'https://www.artelo.io/api/open/orders/create' \
-H 'Authorization: Bearer your-token' \
-d '{
"channelName": "Walmart",
"companyName": "Custom Company LLC",
"branding": {
"insertId": "e7c7b7d7-d8d5-4f9a-a3a5-b8a8c3d3c2c1",
"stickerId": "e7c7b7d7-d8d5-4f9a-a3a5-b8a8c3d3c2c1",
"insertPlacement": "PerOrder",
"stickerPlacement": "PerOrder"
},
"createdAt": "2024-09-30T13:56:29.057Z",
"currency": "USD",
"customerAddress": {
"city": "Miami",
"country": "US",
"email": "john@doe.com",
"phone": "+15551234567",
"company": "Acme Co.",
"name": "John Doe",
"state": "Florida",
"street1": "No 1 rosbridge street",
"zipcode": "90110"
},
"items": [
{
"arteloProductId": "9019ec20-a391-4ae9-aa86-1ac2a2edd076",
"orderItemId": "test-id",
"productInfo": {
"catalogProductId": "IndividualArtPrint",
"frameColor": "BlackMetal",
"includeFramingService": false,
"includeHangingPins": false,
"includeMats": false,
"orientation": "Horizontal",
"paperType": "ArchivalMatteFineArt",
"size": "x10x10",
"designs": [
{
"fitOptions": {},
"imageId": "image-id",
"overrides": {
"height": 400,
"rotation": 30,
"width": 400,
"x": 0,
"y": 0
},
"sourceImage": {
"url": "https://sample.com/x.png"
}
}
]
},
"quantity": 1,
"unitPrice": 10
}
],
"orderId": "sample-id",
"isTestOrder": false,
"total": 10
}'{
"channelName": null,
"companyName": null,
"createdAt": "2024-09-30T13:56:29.057Z",
"customerAddress": {
"company": "Acme Inc.",
"city": "Miami",
"countryCode": "US",
"id": "address-id",
"name": "John Doe",
"email": "john@doe.com",
"phone": "+15551234567",
"state": "Florida",
"street1": "No 1 rosbridge street",
"street2": "#123",
"zipcode": "900110"
},
"details": {
"amountRefunded": 0,
"arteloShipping": 10,
"branding": 1,
"wholesaleDiscount": 0,
"gst": 1,
"hst": 1,
"productionCost": 5,
"pst": 1,
"usSalesTax": 0
},
"id": "de14efbe-daec-4e2d-b967-80ca9a5f9c17",
"insertPlacement": "PerOrder",
"insertId": "e7c7b7d7-d8d5-4f9a-a3a5-b8a8c3d3c2c1",
"instructions": "Handle it with care",
"orderId": "this-is-the-order",
"orderItems": [
{
"arteloProductId": "a63d3478-9401-4046-9057-40abdabdc8ef",
"orderItemId": "item-001",
"isPersonalizable": false,
"details": {
"amountRefunded": 0,
"arteloShipping": 10,
"branding": 1,
"wholesaleDiscount": 0,
"gst": 1,
"hst": 1,
"productionCost": 5,
"pst": 1,
"usSalesTax": 0
},
"product": {
"catalogProductId": "IndividualArtPrint",
"frameColor": "BlackMetal",
"frameStyle": "Metal",
"includeFramingService": true,
"includeHangingPins": true,
"includeMats": true,
"orientation": "Horizontal",
"paperStyle": "FineArt",
"paperType": "ArchivalMatteFineArt",
"size": "x10x10"
},
"quantity": 10
}
],
"shipments": [],
"status": "Received",
"stickerPlacement": "PerUnit",
"stickerId": "e7c7b7d7-d8d5-4f9a-a3a5-b8a8c3d3c2c1"
}