Create or update SKU-level commission rates and cost of goods values in bulk. Each SKU is upserted — if a matching SKU already exists for your shop it is updated, otherwise a new record is created.
Partial failure — some items had validation errors:
200
{ "success": false, "received": 3, "created": 1, "updated": 0, "errors": [ { "index": 1, "sku": "BAD-SKU", "error": "commissionType must be 'percentage' or 'flat'" }, { "index": 2, "sku": "", "error": "sku is required" } ]}
Validation error — request-level:
422
{ "error": "\"skus\" array is required"}
This endpoint uses upsert behavior. If a SKU already exists for your shop, the provided fields are updated. If it doesn’t exist, a new SKU record is created. Duplicate SKUs within the same request are processed in order — the last entry wins.
Commission values are applied as-is. A commissionRate of 14 means 14% (not 0.14). Do not divide by 100.