Add Sku Barcodes
POST/api/skus/addbarcodes
Tier: Public — stable, supported for third-party integration.
Adds one or more additional barcodes to a SKU, and raises a SkuBarcodeCreated system event. Gated on Sku Update (not Create) because it modifies an existing SKU.
Barcode values are trimmed before validation. Duplicate barcode numbers are rejected against both the SKU's primary barcode and its existing additional barcodes.
Request
Responses
- 200
- 400
- 401
- 403
Returns the updated Skus.SkuDetailDto.
BarcodeNumbers was empty or missing, the target SKU does not exist, or a duplicate barcode was supplied (error array).
The caller is not authenticated.
The caller lacks Sku Update permission.