/orders/create and returns the same cost components Artelo computes when an order is placed.orderId
string
Required
currency
enum
Required
AEDAFNALLAMDANGAOAARScustomerAddress
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
tin
string
zipcode
string
Required
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.canvasDesignedFor
nullable enum
Required
ExactCutStretch0dot75Stretch1dot5canvasBorderStyle
nullable enum
Required
NoneWrapMirrorcatalogProductId
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.SatinCanvasArchivalSemiMatteCanvasSemiGlossPosterMattePosterSemiMatteLinenPosterGlossyPosterRagSatinPhotosize
enum
Required
x4x4x5x5x6x6x8x8x8dot5x8dot5x10x10x12x12designs
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
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.PerOrderPerUnitPOST
/orders/price-check
curl -X POST 'https://www.artelo.com/api/open/orders/price-check' \
-H 'Authorization: Bearer your-token' \
-d '{
"orderId": "sample-id",
"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",
"tin": "XAXX010101000",
"zipcode": "90110"
},
"items": [
{
"arteloProductId": "9019ec20-a391-4ae9-aa86-1ac2a2edd076",
"orderItemId": "test-id",
"productInfo": {
"canvasDesignedFor": "ExactCut",
"canvasBorderStyle": "None",
"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
}
],
"branding": {
"insertId": "e7c7b7d7-d8d5-4f9a-a3a5-b8a8c3d3c2c1",
"stickerId": "e7c7b7d7-d8d5-4f9a-a3a5-b8a8c3d3c2c1",
"insertPlacement": "PerOrder",
"stickerPlacement": "PerOrder"
}
}'{
"orderCosts": {
"amountRefunded": 0,
"arteloShipping": 10,
"branding": 1,
"customPricingAdjustment": 0,
"gst": 0,
"holidayFees": 0,
"hst": 0,
"productionCost": 5,
"pst": 0,
"total": 16,
"usSalesTax": 0,
"wholesaleDiscount": 0
},
"orderItemCosts": [
{
"amountRefunded": 0,
"arteloShipping": 0,
"branding": 0,
"customPricingAdjustment": 0,
"gst": 0,
"holidayFees": 0,
"hst": 0,
"orderItemId": "test-id",
"productionCost": 5,
"pst": 0,
"total": 5,
"usSalesTax": 0,
"wholesaleDiscount": 0
}
]
}