HomeGuidesAPI ReferenceChangelogSupport Request
Guides

Ürün, Stok, Fiyat İşlemleri Sonuç Entegrasyonu (Batch ID Sorgulama)

Response olarak batchId aldığınız işlemlerin sonuçlarını bu endpoint üzerinden takip edebilirsiniz.

İşlemler sonucunda dönen batchId 24 saat sonra sistemimizden silinecektir.

Örnek Request

GET

(ROOT_URL)/v1/1234/check-status?batchId=57a7229a-e345-4232-88ac-f4169b864293

Örnek Response

{
  "batchId": "57a7229a-e345-4232-88ac-f4169b864293",
  "batchType": "ProductCreate",
  "items": [
    {
      "requestItem": {
        "product": {
          "barcode": "BRCD001",
          "price": 12.99,
          "rrp": 22.0,
          "gtip": "2231317",
          "origin": "TR",
          "stock": 100,
          "composition":"95% Cotton, 5% Elastane"
        }
      },
      "status": "SUCCESS",
      "failureReasons": []
    }
  ],
  "status": "COMPLETED",
  "creationDate": 1529734317090,
  "lastModification": 1529734653403,
  "itemCount": 1
}