Skip to main content
POST
/
v3
/
orders
/
upload-change-status
Upload a CSV to change order status
curl --request POST \
  --url https://api.myscalev.com/v3/orders/upload-change-status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'tz=<string>'
{
  "data": [
    {
      "id": 123,
      "order_id": "<string>",
      "payment_status": "unpaid",
      "status": "draft"
    }
  ],
  "is_paginated": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

CSV upload

file
file
required
tz
string
required

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

Response

Status changed successfully

Non-paginated list payload for v3.

data
OrderChangeStatus · object[]
required
is_paginated
enum<boolean>
required
Available options:
false
Example:

false