T-SOFT/Storefront API/İade Alım Tarihleri

İade Alım Tarihleri

Bu kaynak, bir sipariş ve kargo firması için seçilebilir iade kargo alım tarihlerini döner. İade oluştururken pickDate alanı bu listeden seçilir. Kayıtlar salt okunurdur. Uç nokta storefront/account/2026-01 önekindedir ve kimliği doğrulanmış müşteri token'ı gerektirir (yalnızca okuma token'ı yetmez).

Yetki:storefront:account — müşteri token'ı zorunlu.

Listeleme

Alım tarihi seti, sipariş ve kargo firmasına göre hesaplanır; her iki filtre de sağlanmalıdır:

GET /order-return-pick-dates
curl -s 'https://<domain>/api/v3/storefront/account/2026-01/order-return-pick-dates?filter[order]=9012&filter[cargoCompany]=2' \
  -H 'Accept: application/vnd.api+json' \
  -H 'Authorization: Bearer <CUSTOMER_TOKEN>'

Örnek bir kayıt:

{
  "type": "order-return-pick-dates",
  "id": "2026-07-20",
  "attributes": {
    "date": "2026-07-20"
  }
}

Alanlar

AlanAçıklama
dateSeçilebilir kargo alım tarihi

Filtreler

FiltreÖrnekDavranış
filter[order]filter[order]=9012Sipariş id'si
filter[cargoCompany]filter[cargoCompany]=2Kargo firması id'si
Tarih seti dinamik olarak hesaplanır; sabit değere gömme, her istekte yeniden çek.