Parse and upload valid Items from CSV

This API is used to add items using an upload CSV file. To upload a CSV file, you have to enter an Item Name, Item Code, Item Category, Minimum Pledge, Item Description in a CSV file. This API can be accessed by event admin and super admin. We need to pass an authentication token to authorize the user and need to upload the file object.

Here is the description of response attributes, which returns to the form of JSON.

Attribute

Description

invalidItems

This is a JSON array of invalid items list included its name, description, pledge price, starting bid, and more.

validItems

This is a JSON array of valid items list included its name, description, pledge price, starting bid, and more.

Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.

Error Code

Error Description

200

OK

4030201

Not Event Host.

40600012

Upload file headers name are not correct or not in proper sequence

Language
Authentication
Header
Click Try It! to start a request and see the response here!