Import a File

post/importfile/SX/{SXCategory}/{slotId}

Uploads a CSV or XLSX file to the Seller Extensions table.
Delete the upload slot using the /uploadmanager.deleteslot/{slot_id} (Delete an Upload Slot) endpoint after the file has been uploaded.

Securitybasic or X-PriceFx-jwt
Request
path Parameters
SXCategory
required
string

The Seller Extension category (the Name from the Seller Master Extension table).

slotId
required
string

The ID that is returned by the /uploadmanager.newuploadslot (Create an Upload Slot) endpoint.

query Parameters
truncate
string

Set to false to add records from the file as new lines to the existing data. Set to true to delete all previous records in the SX table.

Request Body schema: multipart/form-data
fileName
string <binary>
Responses
202

Accepted

Request samples