You are viewing an old version of this page. View the current version.
Compare with Current
View Version History
« Previous
Version 4
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://dev-pim-client.wizart.ai/api/v2.1/imports
Authorization: Type: Bearer Token, Token: Bearer eyJ0eXAiOiJKV1QiLCJhbG…
Headers: Accept: application/json
Request example
CURL:
curl --location --request GET 'https://pim-client.wizart.ai/api/v2.1/imports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer <Bearer Token>'
Response example
{
"data": [
{
"type": "<string>",
"id": "<string>",
"attributes": {
"path": "<string>",
"original_name": "<string>",
"status": "<string>",
"status_message": "<string>",
"result": "<string>",
"mapping_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"timezone": "<string>"
}
},
{
"type": "<string>",
"id": "<string>",
"attributes": {
"path": "<string>",
"original_name": "<string>",
"status": "<string>",
"status_message": "<string>",
"result": "<string>",
"mapping_id": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"timezone": "<string>"
}
}
]
}