Skip to main content

Create images in bulk

POST 

/v2/media/images/bulk

Create images in bulk

Request

Header Parameters

    tenant stringrequired

Body

array

required

A list of create media image inputs

  • Array [

  • productId number

    Unique product identifier that image relates to

    source stringrequired

    External system from which image is being imported

    sourceId stringrequired

    External identifier of the image

    alt

    object[]

    required

    Image alt description that briefly explains the contents of the image.

  • Array [

  • language stringrequired

    Language to perform search for [min/max: 2]

    value stringrequired

    Value of localized string

  • ]

  • description

    object[]

    required

    Image short description.

  • Array [

  • language stringrequired

    Language to perform search for [min/max: 2]

    value stringrequired

    Value of localized string

  • ]

  • tags

    object[]

    required

    Image tags.

  • Array [

  • language stringrequired

    Language to perform search for [min/max: 2]

    values string[]required

    Value of localized string

  • ]

  • priority number

    Default value: 1000

    Image display priority [Lower value has higher priority] - default: 1000

    uploadImages

    object[]

    required

    Upload File input reference.

  • Array [

  • language string

    Default value: en

    Language specific image [Default value 'en']

    uploadType string

    Default value: URL

    Upload type. Only URL is supported for bulk import.

    urlFile

    object

    required

    url stringrequired

    The public url to the file.

    fileName stringrequired

    Name to use for storing the file

  • ]

  • ]

Responses

Bulk images successfully created

Schema

    productId number

    Unique product identifier that image relates to

    source stringrequired

    External system from which image is being imported

    sourceId stringrequired

    External identifier of the image

    alt

    object[]

    required

    Image alt description that briefly explains the contents of the image.

  • Array [

  • language stringrequired

    Language to perform search for [min/max: 2]

    value stringrequired

    Value of localized string

  • ]

  • description

    object[]

    required

    Image short description.

  • Array [

  • language stringrequired

    Language to perform search for [min/max: 2]

    value stringrequired

    Value of localized string

  • ]

  • tags

    object[]

    required

    Image tags.

  • Array [

  • language stringrequired

    Language to perform search for [min/max: 2]

    values string[]required

    Value of localized string

  • ]

  • priority number

    Default value: 1000

    Image display priority [Lower value has higher priority] - default: 1000

    uploadImages

    object[]

    required

    Upload File input reference.

  • Array [

  • language string

    Default value: en

    Language specific image [Default value 'en']

    uploadType string

    Default value: URL

    Upload type. Only URL is supported for bulk import.

    urlFile

    object

    required

    url stringrequired

    The public url to the file.

    fileName stringrequired

    Name to use for storing the file

  • ]

Loading...