Skip to main content

Bulk Product by source id

POST 

/products/bulk/sourceId

The bulk endpoints offer an efficient way of importing/updating large amounts of products with just a single API call. When using the bulk sourceId endpoint, the products are identified by sourceId, source and language. If a product doesn't already exist, it will be created. If it does exist, the product found will be updated.

Product Bulk endpoints support bulk change of product attributes for multiple products as well. To learn more about Attributes, go here.

A single product's attributes can be modified as explained in Bulk resource attribute values by resource lookup key, but if it's needed to modify attributes for multiple products, this endpoint should be used.

Fields

NameRequired
products (array of product objects)yes
sourceIdyes
sourceyes
languageyes
namesno
skuno (recommended)
unitno
Default is 1
statusno
Default is A
priceno
Default is 0.00
priceDisplayno
Default is default
descriptionsno
shortDescriptionsno
taxCodeno
Default is H
supplierno (recommended)
supplierCodeno (recommended)
oemCodeno
eanCodeno
minimumQuantityno
Default is 1
packageDescriptionsno
notesno
attributes

Read more about attributes
no
parentno

For more details on attributes field, read this.

Directives

NameDescriptionFields
skipIfNotEmptyOn update, skip updating fields of an existing product that are not emptyarray of field names
e.g. names, descriptions, packageDescriptions etc.
skipMoveOnUpdateOn update, skip moving an existing product in the parent category providedempty array
mergeTranslationsOnUpdateOn update, delete all translation for a product that are not provided in the payloadempty array

What are directives?

Request

Responses

Bulk Product by source id - 200

Response Headers
    Alt-Svc
    Via
    alt-svc
    content-length
    date
    return-format
    server
    x-request-id