List Printify products
GET
/api/v1/printify/products
const url = 'https://digize.com/api/v1/printify/products?page=1';const options = {method: 'GET', headers: {'x-api-key': '<x-api-key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://digize.com/api/v1/printify/products?page=1' \ --header 'x-api-key: <x-api-key>'One page of the connected Printify shop’s products, 50 at a time, newest first, each with its price range and the store product it came in as, if it has.
Needs the commerce:read permission.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”page
integer
Responses
Section titled “Responses”Done
Media typeapplication/json
object
data
required
Array<object>
object
id
required
Printify’s id for the product.
string
title
required
string
image
required
Its main mockup, on Printify.
string | null
variants
required
Enabled variants.
integer
visible
required
Whether it’s published in Printify.
boolean
productId
required
The store product it came in as, or null if it hasn’t.
string | null
page
required
integer
lastPage
required
integer
total
required
integer
Example
{ "data": [ { "productStatus": "active" } ]}What was sent isn’t valid (invalid).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}No key, or one that’s unknown, off or expired.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}The key doesn’t have the permission this needs.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Nothing has that id (not_found).
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}Over the rate limit; see retry-after.
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
object
key
additional properties
any
Example
{ "error": { "code": "invalid" }}