Products
Download a product's Photo Merge renderings: realistic mockup images of the product, set up on the product in the admin.
- List the renderings for a product id (for example an order item's
product_id). Each has an id and a name such as "Front View". - Download one by its id. The response is the PNG image, sent as an attachment named after the rendering.
A product without renderings answers 404 on the list.
List a product's renderings
Authorization
basic Your API token as the username and your API key as the password.
In: header
Path Parameters
Product id (an order item's product_id).
int32Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.printnow.com/api/v2/product/0/renderings"[
{
"id": 22,
"name": "Front"
},
{
"id": 23,
"name": "Angled"
},
{
"id": 24,
"name": "ARView"
}
]The key or token is missing, does not match, or the token is inactive or deleted.
{
"Message": "Invalid key or token."
}The message names the section, e.g. Orders, Customers, Products, Storefronts, Reports or Webhooks.
{
"Message": "Your license does not include the Orders API."
}{
"Message": "Product renderings not found."
}Each license may make 100 calls per 10 seconds across all its API keys. Wait for the Retry-After header (seconds) before calling again.
{
"Message": "Rate limit exceeded: 100 calls per 10 seconds."
}Download a rendering image
Authorization
basic Your API token as the username and your API key as the password.
In: header
Path Parameters
Product id.
int32Rendering id, from the product's rendering list.
int32Response Body
image/png
application/json
application/json
application/json
application/json
curl -X GET "https://api.printnow.com/api/v2/product/0/renderings/0""string"The key or token is missing, does not match, or the token is inactive or deleted.
{
"Message": "Invalid key or token."
}The message names the section, e.g. Orders, Customers, Products, Storefronts, Reports or Webhooks.
{
"Message": "Your license does not include the Orders API."
}{
"Message": "Product rendering not found."
}Each license may make 100 calls per 10 seconds across all its API keys. Wait for the Retry-After header (seconds) before calling again.
{
"Message": "Rate limit exceeded: 100 calls per 10 seconds."
}