Tamio

Bulk update product properties

POST https://api.tamio.com/v2/products/bulk/update

Updates shared properties across up to 50 products at once — dates, visibility flags, stock adjustments, and pricing rules.

Body Parameters

products array of string*

List of product UUIDs to update in bulk

release_date string

ISO 8601 release date for products

expiry_date string

ISO 8601 expiry date for products

new_from string

ISO 8601 start date for 'new' badge

new_to string

ISO 8601 end date for 'new' badge

on_sale boolean

Mark products as on sale

buyable boolean

Enable or disable purchasing for products

discount_allowed boolean

Allow or disallow discounts

reviews_allowed boolean

Enable or disable customer reviews

exclude_from_feed boolean

Exclude or include in product feeds

unlimited_stock boolean

Set stock to unlimited

shown boolean

Show or hide products in storefront

min_units integer
max_units integer
retries integer
cancel_action string
cancelpause
cancel_behaviour string
immediateend_of_period
pricing_updates array of object
JSON
{ "pricing_updates": [ { "currency": "string", "action": "increase", "price_change_percent": 0, "price_change_fixed": 0 } ] }
currency string*
action string*
increasedecrease
price_change_percent integer
price_change_fixed integer
stock_updates object
JSON
{ "stock_updates": { "stock": 0, "action": "increase" } }
stock integer*
action string*
increasedecrease

Responses

200 Products updated successfully

Products updated successfully

status integer
ids array of string
400 Bad request. Possible `error_code` values:
401 Missing or invalid API key
/products/bulk/update
1const response = await fetch("https://api.tamio.com/v2/products/bulk/update", {
2 method: "POST",
3 headers: {
4 "Authorization": "Bearer YOUR_API_KEY",
5 "Content-Type": "application/json"
6 },
7 body: JSON.stringify({
8 "products": [
9 "666e4567-e89b-12d3-a456-426614174000"
10 ],
11 "release_date": "2024-06-01T00:00:00Z",
12 "expiry_date": "2024-12-31T23:59:59Z",
13 "new_from": "2024-06-01T00:00:00Z",
14 "new_to": "2024-09-01T00:00:00Z",
15 "on_sale": true,
16 "buyable": true,
17 "discount_allowed": true,
18 "reviews_allowed": true,
19 "exclude_from_feed": false,
20 "unlimited_stock": false,
21 "shown": true,
22 "min_units": 0,
23 "max_units": 0,
24 "retries": 0,
25 "cancel_action": "cancel",
26 "cancel_behaviour": "immediate",
27 "pricing_updates": [
28 {
29 "currency": "string",
30 "action": "increase",
31 "price_change_percent": 0,
32 "price_change_fixed": 0
33 }
34 ],
35 "stock_updates": {
36 "stock": 0,
37 "action": "increase"
38 }
39 })
40});
41const data = await response.json();
Responses
{
  "status": 200,
  "ids": []
}