Ecommerce: Products
Create physical product
Create a published physical product with a single variant priced in the store currency.
post/api/ecommerce/v1/stores/{store_id}/products/physical
Path parameters
store_idstring required
Example:store_01J8Z5F8W9K8M4A7B3C2D1E0FG
The ID of the store to create the product in.
Request body
Example request
{
"name": "My Product",
"price": 1000,
"description": "A great product.",
"currency": "usd"
}Response
Created response
Example response
{
"product": {
"id": "prod_01J8Z5F8W9K8M4A7B3C2D1E0FG",
"title": "My Product",
"type": "physical",
"status": "published",
"price": 1000,
"currency_code": "usd"
},
"admin_url": "https://admin.example.com/store_01.../products/edit?product=prod_01..."
}