Bulk update prices
POST
https://api.tamio.com/v2/products/bulk/update-pricing-models
Updates pricing for up to 10,000 products/variants.
Body Parameters
products
array of object*
JSON
{
"products": [
{
"id": "333e4567-e89b-12d3-a456-426614174000",
"variant_id": "444e4567-e89b-12d3-a456-426614174000",
"currency": "USD",
"price": 4900,
"acquisition_price": 2000,
"recommended_seller_price": 5900
}
]
}
id
string*
Product UUID
variant_id
string
Variant UUID if targeting a specific variation
currency
string
Currency code for the price format (e.g. USD)
price
integer*
New price in the smallest currency unit
acquisition_price
integer
Cost of acquiring the product
recommended_seller_price
integer
Suggested retail price
Responses
200
Operation successful
Operation successful
status
integer
400
Bad request. Possible `error_code` values:
Bad request. Possible error_code values:
| Code | Description |
|---|---|
1002 | One or more products not found |
10360 | When updating variant prices, you must also provide the main product pricing |
status
integer
error
string
error_code
integer
401
Missing or invalid API key
Missing or invalid API key
status
integer
error
string