Order Status Update API
Sipariş operasyon durumunu günceller. Hazırlanıyor, kargoya verildi, teslim edildi gibi süreçlerde kullanılır.
Endpoint
POST/order_status_update.php
| Authentication | HMAC SHA256 required |
|---|---|
| Scope | Seller scoped |
| Permission | orders:write |
| Base URL | https://bazaardan.com/api/partner/v1 |
Required Headers
| Header | Açıklama |
|---|---|
X-BZ-CLIENT-ID | Partner uygulamasının Client ID değeri. |
X-BZ-TIMESTAMP | Unix timestamp. Örnek: 1778269200 |
X-BZ-SIGNATURE | Client Secret ile üretilen HMAC SHA256 imzası. |
Accept | application/json |
Content-Type | POST/PUT isteklerinde application/json |
Signature Standardı
İmza her zaman base URL sonrasındaki path üzerinden üretilir. Örnek: /order_status_update.php
METHOD + "\n" + PATH_WITH_QUERY + "\n" + TIMESTAMP + "\n" + RAW_BODY
Example Request Body
{
"order_item_id": 1024,
"status": "preparing",
"note": "Sipariş hazırlık sürecine alındı."
}
Example Response
{
"ok": true,
"data": {
"order_item_id": 1024,
"status": "preparing",
"updated": true
}
}