Imports products to the store using a CSV or xlsx file. The endpoint accepts a file, a Dropbox folder link for images, and an optional delete_old_products parameter to delete all previous store products upon successful import.
Request
Header Params
Authorization
stringÂ
required
The Authorization token is a unique key given to the third-party application (Partner) by Zid. It is used to authenticate the API requests made by the Partner application. The token verifies the partner's identity and ensures they have permission to access Zid's API but does not provide any specific user or store information. It should be included in the header of API requests when the partner application needs to access Zid's API.
This token is used to authenticate and access information related to the store. It is obtained through an OAuth mechanism and is required to perform operations on the store's data. The X-Manager-Token should be included in the header of API requests that require store-related information.
Preferred language for the response. Defaults to en if not specified.
Allowed values:
enar
Example:
en
Store-Id
numberÂ
required
Unique identifier of the store.
Example:
37213
Body Params application/x-www-form-urlencoded
file
fileÂ
required
The CSV or XLSX file containing product data to be imported. This file must follow the format specified in the documentation to ensure accurate product data mapping.
delete_old_products
booleanÂ
optional
If set to 'true', existing products in the database will be deleted before the new products from the file are imported. Defaults to 'false' if not specified, which preserves existing products.
response_type
stringÂ
required
Specifies the format of the response returned by the endpoint. Accepted values are typically "json" or "xml". For example, setting response_type to "json" will return a response in JSON format.