Orders

Upload orders from a file

Requires the order:create scope. Upload orders from CSV file. (1) Archive mode. Choose this mode if you want to import old data from another platform you've been using. You can directly create products that you made on your previous platform. Orders that are created will immediately have 'Completed' status. Download template for Archive mode here: https://app.scalev.id/example/template_archive.csv. (2) Regular mode. Choose this mode if you want to enter current data that you wish to input in bulk, not one by one via order input. It will take inventory into account if your products have inventory enabled. Successfully created orders will have 'Created', 'Pending', or 'Confirmed' status, depending on the completeness of the data. Download template for Regular mode here: https://app.scalev.id/example/template_regular.csv.

post/v3/orders/upload

Request

  • Base URL
    https://api.scalev.com
  • URL
    https://api.scalev.com/v3/orders/upload
  • Auth
    • HTTP bearer
    • or API key in header authorization

Request body multipart/form-data

create_type'archive' | 'regular' required

Choose 'archive' for Archive mode, 'regular' for Regular mode

filestring binary required
tzstring required

Timezone in IANA format, e.g., 'Asia/Jakarta'

Response

Orders uploaded successfully

Changes

No recorded changes to this operation across all 14 revisions of this API.