feat: set stock and weight on Shopify product creation
- inventory_management: shopify + inventory_levels/set.json pour le stock - weight/weight_unit sur le variant pour l'expédition Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -79,6 +79,7 @@ export async function POST(req: NextRequest) {
|
||||
description: longDesc,
|
||||
price: product.priceActual || '0.00',
|
||||
stock: product.stock,
|
||||
weightKg: product.weightKg,
|
||||
status: 'active',
|
||||
})
|
||||
if (product.collectionId) await addProductToCollection(shopifyId, product.collectionId)
|
||||
|
||||
Reference in New Issue
Block a user