Checking available vendor codes
You can use the following endpoint to check available vendor codes.
Method: GET
URL: https://pim-client.wizart.ai/api/articles/available-vendor-codes?vendor_code={vendor_code}
Headers: Accept: application/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
Request example
CURL:
curl --location --request GET 'https://pim-client.wizart.ai/api/articles/available-vendor-codes?vendor_code=165198' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…'
Response example
{
"data": {
"vendor_codes": {
"165198": true
}
}
}
Getting all imported data
You can use the following endpoint to get all imported data.
Method: GET
URL: https://pim-client.wizart.ai/api/customer/imports
Headers: Accept: application/json, Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
Request example
CURL:
curl --location --request GET 'https://pim-client.wizart.ai/api/customer/imports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbG…'
{
"data": [
{
"id": 7486,
"path": null,
"original_name": "Test1.csv",
"status": "success",
"status_message": "Total rows imported: 125 out of 125",
"result": {
"total_rows": "125",
"imported_rows": "125"
},
"mapping_id": 545,
"created_at": "2021-10-26 15:34:10",
"updated_at": "2021-10-26 15:35:43",
"timezone": "UTC"
},
{
"id": 7487,
"path": null,
"original_name": "Test2.csv",
"status": "success",
"status_message": "Total rows imported: 125 out of 125",
"result": {
"total_rows": "135",
"imported_rows": "135"
},
"mapping_id": 545,
"created_at": "2021-10-26 15:37:01",
"updated_at": "2021-10-26 15:38:35",
"timezone": "UTC"
},
{
"id": 7489,
"path": null,
"original_name": "Test3.csv",
"status": "success",
"status_message": "Total rows imported: 125 out of 125",
"result": {
"total_rows": "165",
"imported_rows": "165"
},
"mapping_id": 545,
"created_at": "2021-10-27 08:04:34",
"updated_at": "2021-10-27 08:06:11",
"timezone": "UTC"
}
}