post https://distillery.pixlee.co/api/v2/albums
Adds or Updates a product
{
// Single region product
"title": "Pixlee Tshirt",
"album_type": "product", //can also be "standard" or "category"
"product": {
"sku": "PTS5",
"product_photo": "https://cdn.dribbble.com/users/67504/screenshots/1313354/shirt.jpg",
"name": "Pixlee Tshirt",
"buy_now_link_url": "https://pixlee.com/tshirt",
"buy_now_text": "Shop Now",
"price": 234,
"stock": 12,
"currency": "USD"
}
}
{
// Multi-region product
"title": "Ines Linen Longford Chair",
"album_type": "product", //can also be "standard" or "category"
"product": {
"pixlee_product_id": 12312,
"sku": "ASH7904",
"product_photo": "https://annieselke.scene7.com/ConfettiFrenchBlueIndigoPillowcases.png",
"name": "Ines Linen Longford Chair",
"buy_now_link_url": "https://annieselke.com/Ines-Linen-Longford-Chair/p/ASH7995-CH",
"buy_now_text": "Shop Now",
"price": 234.00,
"region_code": "us-default",
"stock": 12,
"currency": "USD",
"variants_json": "{...}",
"extra_fields": "{
"product_photos": [...],
"categories": [...]
}",
"regional_info": [
{
"name": "Ines Linen Longford Chair",
"buy_now_link_url": "https://annieselke.com/Ines-Linen-Longford-Chair/p/ASH7995-CH",
"buy_now_text": "Shop Now",
"price": 234.00,
"region_code": "us-default",
"stock": 12,
"currency": "USD",
"variants_json": "{...}"
},
{
"name": "Chaise Ines Linen Longford",
"buy_now_link_url": "https://annieselke.fr/Ines-Linen-Longford-Chair/p/ASH7995-CH",
"buy_now_text": "Achetez maintenant",
"price": 45.00,
"region_code": "eur-default",
"stock": 22,
"currency": "EUR",
"variants_json": "{...}"
}
]
}
}