Skip to main content
POST
/
v3
/
orders
/
change-status
Change order status in bulk
curl --request POST \
  --url https://api.myscalev.com/v3/orders/change-status \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    123
  ],
  "status": "draft",
  "by": "<string>",
  "financial_entity_id": 123,
  "payment_account_holder": "<string>",
  "payment_account_number": "<string>",
  "payment_method": "va",
  "payment_status": "unpaid",
  "rtsproof_url": "<string>",
  "transfer_time": "2023-11-07T05:31:56Z",
  "transferproof_url": "<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

application/json

Status or payment status change data

ids
integer[]
required

Order primary key IDs

status
enum<string>
required

Order status

Available options:
draft,
pending,
confirmed,
in_process,
ready,
shipped,
completed,
canceled,
rts,
closed
by
string | null

Entity or user performing the status change

financial_entity_id
integer | null

Financial entity ID

payment_account_holder
string | null

Payment account holder name

payment_account_number
string | null

Payment account number

payment_method
enum<string>

Order payment method

Available options:
va,
qris,
card,
invoice,
alfamart,
indomaret,
ovo,
dana,
shopeepay,
linkaja,
gopay,
no_payment,
bank_transfer,
marketplace,
cod
payment_status
enum<string>

Order payment status

Available options:
unpaid,
paid,
conflict,
settled
rtsproof_url
string | null

Return to sender proof image URL

transfer_time
string<date-time> | null

Transfer timestamp (ISO 8601 format)

transferproof_url
string | null

Transfer proof image URL

Response

Status changed successfully

Non-paginated list payload for v3.

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

false