Mal Kabul Yaratma/Güncelleme
Mal Kabul işlemleri Radium sistemine bu method yardımıyla iletilecektir.
- Method: POST
- Url: https://radium.hepsiburada.com/api/po/create
Parametre | Zorunlu | Açıklama |
---|---|---|
type | Evet | Mal Kabul tipi |
supplierName | Evet | Tedarikçi Adı |
supplierCode | Evet | Tedarikçi Kodu |
warehouseId | Evet | Depo id |
name | Evet | Mal Kabul adı |
note | Evet | Mal Kabul notu |
createdDate | Evet | SAS oluşturma tarihi |
expectedDate | Evet | Mal Kabulün beklenen tarihi. Timestamp olarak gönderilmelidir. |
dispatchOrderNumbers | Hayır | Sevkiyat sipariş numaraları |
items.sku | Hayır | Mal Kabuldeki ürünün sku'su |
items.qty | Hayır | Mal Kabuldeki ürünün adeti |
items.lineId | Hayır | Satır id |
items.unitPrice | Hayır | Satır id |
items.totalPrice | Hayır | Satır id |
items.packageNumber | Hayır | Satır sevkiyat numarası |
notes.note | Hayır | Mal Kabul yeni notu |
{
"type": "PO",
"supplierName": "TEST Firma",
"supplierCode": "21356-V",
"warehouseId": 1,
"name": "Test Mal Kabul",
"note": "Mal Kabul test notu",
"expectedDate": 2020-11-21T09:34:47,
"createdDate": 2020-11-21T09:34:47,
"dispatchOrderNumbers": ["1-S4-9999", "TK2202-25", "123456789"]
"items": [
{
"sku": "TEST",
"qty": 20,
"lineId": 434567,
"unitPrice": 5.0,
"totalPrice": 15.0,
"packageNumber": "1-S4-9999"
},
{
"sku": "TEST2",
"qty": 10,
"lineId": 434568,
"unitPrice": 5.0,
"totalPrice": 15.0,
"packageNumber": "TK2202-25"
},
{
"sku": "TEST3",
"qty": 7,
"lineId": 434569,
"unitPrice": 5.0,
"totalPrice": 15.0,
"packageNumber": "123456789"
}
],
"notes": [
{
"note": "Note 1"
},
{
"note": "Note 2"
}
]
}