Update a physical product

POST https://api.tamio.com/v2/products/physical/update/{uuid}

Path Parameters

uuid string*

Product UUID

Body Parameters

tax_category string*
languages LanguageContent*
pricing_model array of PricingModelEntry*
stock integer
unlimited_stock boolean
stock_limit_warning integer
min_units integer
max_units integer
weight number
net_weight number
dimensions object
on_sale boolean
buyable boolean
shown boolean
sample boolean
discount_allowed boolean
reviews_allowed boolean
exclude_from_feed boolean
hide_if_no_stock boolean
allow_negative_stock boolean
whitelist array of string
google_category integer
release_date string
expiry_date string
new_from string
new_to string
sku string
ean string
upc string
isbn string
gtin string
mpn string
asin string
hscode string
brand string
model string
condition string
newlike-newnew-with-tagsnew-without-tagsrefurbishedused-excellent
packaging_type string
boxpalletenvelope
country_of_origin string
related_products array of string
gallery array of string
variations object
custom_fields array of CustomFieldInput
custom_attributes array of CustomAttributeValue
stock_breakdown array of object
packs array of object

Responses

200 Product operation successful

Product operation successful

status integer
product Product
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/products/physical/update/{uuid}
1const response = await fetch("https://api.tamio.com/v2/products/physical/update/{uuid}", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 // ... request body
9 })
10});
11const data = await response.json();
Responses
{
  "status": 200,
  "product": {
    "id": "string",
    "object": "product",
    "name": "Premium Widget",
    "description": "string",
    "seo_title": "string",
    "seo_description": "string",
    "classification": "string",
    "is_moss_product": false,
    "created": 0,
    "updated_unix": 0,
    "currency": "EUR",
    "type": "physical_product",
    "pricing_model": [],
    "price": 0,
    "stock": 0,
    "has_variations": false,
    "has_notes": false
  }
}