Warehouse Products API

Get a list of your warehouse products

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

Returns a list of warehouse products from your store
Input parameters:
offset integer Result set offset
limit integer Number of items per page (max 100)
レスポンス形式:
code integer ステータスコードのレスポンス 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 Paging information
total integer 利用可能なアイテム総数
offset integer Current result set page offset
limit integer ページに表示する最大アイテム数
APIキー
offset Result set offset
limit Number of items per page (max 100)
Execute

Create a new warehouse product

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

Creates a new warehouse product and submits it for review
Input parameters:
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)
レスポンス形式:
code integer ステータスコードのレスポンス 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
APIキー
product
terms_accepted
Execute

Get warehouse product data

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

Returns warehouse product data by ID
Input parameters:
id integer / string Product ID (integer)
レスポンス形式:
code integer ステータスコードのレスポンス 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
APIキー
id Product ID (integer)
Execute

Printfulを試す準備はできましたか?