Skip to main content
PUT
/
api
/
v1
/
hub
/
shop
/
{shopId}
/
order
/
{orderId}
Update Order Status
curl --request PUT \
  --url https://api.sabivendor.com/api/v1/hub/shop/{shopId}/order/{orderId} \
  --header 'Content-Type: application/json' \
  --header 'X-Shop-API-Key: <x-shop-api-key>' \
  --data '
{
  "orderStatus": "<string>",
  "paymentStatus": "<string>"
}
'
{
  "status": "success",
  "message": "Order updated successfully",
  "data": {
    "id": 501,
    "orderStatus": "delivered",
    "paymentStatus": "paid"
  }
}
Updates the payment status, order fulfillment status, or customer delivery details.

Authorizations

X-Shop-API-Key
string
required
Your Secret API Key (sk_live_... or sk_test_...) generated from the Developer dashboard. Must be kept secret.

Path Parameters

shopId
string
required
The unique UUID of the shop.
orderId
number
required
The unique ID of the order.

Request Body (JSON)

orderStatus
string
Fulfillment status: confirmed, shipped, delivered, cancelled.
paymentStatus
string
Payment status: pending, paid, refunded.
{
  "status": "success",
  "message": "Order updated successfully",
  "data": {
    "id": 501,
    "orderStatus": "delivered",
    "paymentStatus": "paid"
  }
}