Parameter | Explanation | Data Type | Compulsory |
---|---|---|---|
page | Information on which page to fetch product information | integer | No |
size | Information on how many product information to bring in a page | integer | No |
product_id | Company's product id | string | No |
start_date | Product shipping date (starting) | Datetime (Y-m-d H:i:s) | No |
end_date | Item shipping date (end) | Datetime (Y-m-d H:i:s) | No |
barcode | Product barcode | string | No |
request_id | Tracking code given by Modanisa for successful product shipment | integer | No |
approve | Whether the products sent are approved or not | boolean | No |
product_type | The default value is "api". When "all" is submitted, other products of the supplier are listed along with the filtered products. Records with a "request_id" value of null represent other products. |
string ("api" or "all" should be sent as value) | No |
{
"page": 1,
"size": 5,
"start_date": "2020-07-01 00:00:00",
"end_date": "2020-08-30 23:59:59"
}
{
"success": true,
"data": {
"products": [
{
"request_id": 719634,
"product_id": "1234574",
"mdns_product_id": null,
"status": "CREATE_PRODUCT_ERROR",
"created_date": "2020-07-23 18:39:04",
"variants": [],
"errors": {
"variant": [
"Barkod Sistemde Mevcut. (Barkod: B34AR342)",
"Barkod Sistemde Mevcut. (Barkod: A1232313)"
]
},
"prices":[
{
99.4,
110.73
}
],
"category_id":1106
},
{
"request_id": 719635,
"product_id": "123457",
"mdns_product_id": null,
"status": "CREATE_PRODUCT_ERROR",
"created_date": "2020-07-24 11:18:04",
"variants": [],
"errors": {
"product": {
"attribute": [
"Ürün Özelliği Eşleştirilemedi. (AttributeId: 23123, AttributeValueId: 363)"
]
},
"fatal": [
"Hiçbir Ürün Özelliği Eşleştirilemedi!",
"Hiçbir Kırılım Özelliği Eşleştirilemedi!"
],
"variant": [
"Alternatif Barkod Sistemde Mevcut. (Barkod: A1256312)"
]
},
"prices":[
{
123.76,
156.67
}
],
"category_id":null
},
{
"request_id": 719636,
"product_id": "123459",
"mdns_product_id": 1644870,
"status": "CREATE_PRODUCT_SUCCESS",
"created_date": "2020-07-24 11:42:56",
"variants": [
{
"variant_id": "123",
"mdns_variant_id": 4321157,
"barcode": "B34AR343",
"quantity": 6
},
{
"variant_id": "12345",
"mdns_variant_id": 4321158,
"barcode": "A123213",
"quantity": 8
}
],
"errors": {
"variant": [
"Alternatif Barkod Sistemde Mevcut. (Barkod: A1256312)"
]
},
"prices":[],
"category_id":1269
},
{
"request_id": 719653,
"product_id": "1234435112ASASDD",
"mdns_product_id": 1644891,
"status": "CREATE_PRODUCT_SUCCESS",
"created_date": "2020-08-11 16:19:34",
"variants": [
{
"variant_id": "11232332311232312",
"mdns_variant_id": 4321174,
"barcode": "123barcode",
"quantity": 6
}
],
"errors": [],
"prices":[],
"category_id":null
}
],
"pagination": {
"page": 1,
"total_page": 8,
"count": 16,
"limit": 2
}
},
"errors": null
}
Parameter | Explanation |
---|---|
mdns_product_id | Product ID of Modanisa |
status | Item status (CREATE_PRODUCT_SUCCESS, CREATE_PRODUCT_ERROR) |
created_date | Product shipping date |
variants | Product breakdowns |
mdns_variant_id | Breakdown id of Modanisa |
errors | Product errors (fatal parameter means that the product cannot be taken into the system) |
prices | Product prices (respectively price and priceAlt) |
category_id | Product category id |