Arsigo Builders

Sipariş (Order)

Sipariş Detayı

Tek bir siparişi kalemleri, adresleri ve takip bilgisiyle döner.

Uç Nokta

İstek yöntemi: GET · Yetki: read (okuma)

GET/api/commerce/v1/orders/:id

Yol Parametreleri

AlanTipAçıklama
id*uuidSipariş kimliği

İstek (cURL)

cURL
curl "https://www.arsigo.com/api/commerce/v1/orders/9f1c…" \
  -H "Authorization: Bearer ark_xxxxxxxxxxxxxxxx"

Yanıt

200 OK · application/json
{
  "data": {
    "id": "9f1c…",
    "orderNumber": "1042",
    "status": "new",
    "paymentStatus": "paid",
    "subtotal": 399.90,
    "shipping": 50.00,
    "discount": 0,
    "total": 449.90,
    "currency": "TRY",
    "trackingNumber": null,
    "shippingProvider": null,
    "customer": { "name": "Ayşe Yılmaz", "email": "ayse@example.com", "phone": "+90…" },
    "shippingAddress": { "city": "İstanbul", "line1": "…" },
    "items": [
      { "id": "…", "name": "Tişört - M", "sku": "TS-M", "unitPrice": 199.95, "quantity": 2, "total": 399.90 }
    ],
    "createdAt": "2026-06-21T09:12:00Z"
  }
}