Create images
Bulk-creates image records and returns a presigned upload url per image. Nabbit never receives the image bytes;
the consumer PUTs the bytes directly to upload_url and the image becomes active.
When connect_to_sku, connect_to_slug or connect_to_variant_group is set, the filename is matched against
products (slug, product number, variant number) or variant groups and the image-to-item relationship is created
automatically. The image priority is parsed from a numeric or uppercase letter suffix on the filename.
/api/v2/{team_slug}/{app_slug}/dam/imagesAuthorizationBearer token · headerrequiredManagement API token, sent as Authorization: Bearer <token>.
team_slugstringrequiredapp_slugstringrequiredapplication/jsonimagesCreateImageItem[]requiredShow propertiesHide properties
CreateImageItemfilenamestringrequiredcontent_typestringrequiredsize_bytesinteger<int64>requiredtitlestringaltstringcopyrightstringcustomobjectpublicbooleancreated_with_aibooleanoverwritebooleanReplace the existing image with the same filename instead of creating a new suffixed copy. The filename must match an existing image.
folder_idUUIDparent_idUUIDconnect_to_slugbooleanMatch the filename against a product slug and create the image relationship. Priority can be set with a numeric suffix (slug_3) or an uppercase letter suffix A-Z (slug_A, where A=1 through Z=26).
connect_to_skubooleanMatch the filename against a product number or, when no product matches, a variant number and create the image relationship. Priority can be set with a numeric suffix (sku_3) or an uppercase letter suffix A-Z (sku_A, where A=1 through Z=26).
connect_to_variant_groupbooleanMatch the filename against a variant group using the format productNumber_variantGroupSlug[_priority] and create the image relationship. Priority is numeric or an uppercase letter A-Z (A=1 through Z=26). Example: 2512301_102.jpg links product 2512301 to variant group slug 102.
Created (partial success possible)
dataUploadTarget[]requiredShow propertiesHide properties
UploadTargetidUUIDrequiredpathstringrequiredupload_urlstringrequiredexpires_atinteger<int64>requiredconstraintsUploadConstraintsrequiredShow propertiesHide properties
max_size_bytesinteger<int64>requiredallowed_typesstring[]requirederrorsImageError[]requiredShow propertiesHide properties
ImageErroridUUID | nullShow propertiesHide properties
string<uuid>nullfilenamestringmessagestringrequiredRequest-level failure
errorErrorBodyrequiredShow propertiesHide properties
messagestringrequireddetailsstring[]requiredRequest-level failure
errorErrorBodyrequiredShow propertiesHide properties
messagestringrequireddetailsstring[]requiredRequest-level failure
errorErrorBodyrequiredShow propertiesHide properties
messagestringrequireddetailsstring[]requiredRequest-level failure
errorErrorBodyrequiredShow propertiesHide properties
messagestringrequireddetailsstring[]required