# Create Item Group Endpoint: POST /api/v1/item_groups Version: 1.0.0 ## Header parameters: - `Accept` (string) e.g. application/json Example: "application/json" - `Authorization` (string) e.g. Bearer Example: "Bearer " ## Request fields (application/json): - `id` (number) ID of the instance - `name` (string, required) Name of item variant group - `sid` (string) Sortly system ID of the item variant group - `photo_ids` (array) List of photo ids - `photos` (array) Could be one of: - `label_url` (string) QR url OR barcode value - `label_url_type` (string) QR OR barcode type. Allowed values: [ org.gs1.UPC-E, org.iso.Code39, org.iso.Code39Mod43, org.gs1.EAN-13, org.gs1.EAN-8, com.intermec.Code93, org.iso.Code128, org.iso.PDF417, org.iso.Aztec, org.iso.QRCode, org.ansi.Interleaved2of5, org.iso.DataMatrix, com.sortly.textEntry ] - `label_url_extra` (string) QR url OR barcode value - `label_url_extra_type` (string) QR OR barcode type. Allowed values: [ org.gs1.UPC-E, org.iso.Code39, org.iso.Code39Mod43, org.gs1.EAN-13, org.gs1.EAN-8, com.intermec.Code93, org.iso.Code128, org.iso.PDF417, org.iso.Aztec, org.iso.QRCode, org.ansi.Interleaved2of5, org.iso.DataMatrix, com.sortly.textEntry ] - `group_attributes` (array, required) ## Response 200 fields (application/json): - `id` (string) - `name` (string) - `sid` (string) - `label_url` (string) - `label_url_type` (string) - `label_url_extra` (any,null) - `label_url_extra_type` (any,null) - `photos` (array) - `photos.url` (string, required) - `attributes` (array) - `attributes.order` (number, required) - `attributes.options` (array, required) ## Response 400 fields (application/json): - `message` (string) ## Response 401 fields (application/json): - `message` (string)