API de productos de Almacén

Get a list of your warehouse products

GET https://api.printful.com/warehouse/products

Returns a list of warehouse products from your store
Parámetros de entrada
offset integer Result set offset
limit integer Number of items per page (max 100)
Formato de respuesta:
code integer Código del estado de respuesta 200
result WarehouseProduct [ ]
id integer Product ID
name string Product name
status string Product status:
created - product request created
active - product request approved
suspended - product suspended
declined - product request declined
draft - product created as a draft
currency string Currency
image_url string Image URL of product
retail_price float Retail price of product
variants WarehouseProductVariant [ ] Array of product variants
id integer Product variant ID
name string Name of product variant
sku string SKU of product variant
image_url string Image URL of product variant
retail_price float Retail price of product variant
quantity integer Quantity of product variant in our stock
length float Length of product variant
width float Width of product variant
height float Height of product variant
weight float Weight of product variant
paging Paging Información sobre la paginación
total integer Número total de artículos disponible
offset integer Fijar resultado actual de compensación de página
limit integer Número máximo de artículos por página
Clave API
offset Result set offset
limit Number of items per page (max 100)
Ejecutar

Create a new warehouse product

POST https://api.printful.com/warehouse/products

Creates a new warehouse product and submits it for review
Parámetros de entrada
product WarehouseProduct Warehousing product data
id integer Product ID
name string Product name
status string Product status:
created - product request created
active - product request approved
suspended - product suspended
declined - product request declined
draft - product created as a draft
currency string Currency
image_url string Image URL of product
retail_price float Retail price of product
variants WarehouseProductVariant [ ] Array of product variants
id integer Product variant ID
name string Name of product variant
sku string SKU of product variant
image_url string Image URL of product variant
retail_price float Retail price of product variant
quantity integer Quantity of product variant in our stock
length float Length of product variant
width float Width of product variant
height float Height of product variant
weight float Weight of product variant
terms_accepted boolean Accepts terms of service (required if haven’t been accepted already)
Formato de respuesta:
code integer Código del estado de respuesta 200
result WarehouseProduct
id integer Product ID
name string Product name
status string Product status:
created - product request created
active - product request approved
suspended - product suspended
declined - product request declined
draft - product created as a draft
currency string Currency
image_url string Image URL of product
retail_price float Retail price of product
variants WarehouseProductVariant [ ] Array of product variants
id integer Product variant ID
name string Name of product variant
sku string SKU of product variant
image_url string Image URL of product variant
retail_price float Retail price of product variant
quantity integer Quantity of product variant in our stock
length float Length of product variant
width float Width of product variant
height float Height of product variant
weight float Weight of product variant
Clave API
product
terms_accepted
Ejecutar

Get warehouse product data

GET https://api.printful.com/warehouse/products/{id}

Returns warehouse product data by ID
Parámetros de entrada
id integer / string Product ID (integer)
Formato de respuesta:
code integer Código del estado de respuesta 200
result WarehouseProduct
id integer Product ID
name string Product name
status string Product status:
created - product request created
active - product request approved
suspended - product suspended
declined - product request declined
draft - product created as a draft
currency string Currency
image_url string Image URL of product
retail_price float Retail price of product
variants WarehouseProductVariant [ ] Array of product variants
id integer Product variant ID
name string Name of product variant
sku string SKU of product variant
image_url string Image URL of product variant
retail_price float Retail price of product variant
quantity integer Quantity of product variant in our stock
length float Length of product variant
width float Width of product variant
height float Height of product variant
weight float Weight of product variant
Clave API
id Product ID (integer)
Ejecutar

¿Listo para probar Printful?