/
Other API methods

Other API methods

For all API calls, please use the access_token. from API authentication and authorizationarchived

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…

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…'
{ "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/v2.1/imports

Authorization: Type: Bearer Token, Token: Bearer eyJ0eXAiOiJKV1QiLCJhbG…

Headers: Accept: application/json

CURL:

curl --location --request GET 'https://pim-client.wizart.ai/api/v2.1/imports' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer <Bearer Token>'

Delete specific import by Id

You can use the following endpoint to get all imported data.

Method: DELETE

URL: https://dev-pim-client.wizart.ai/api/v2.1/imports/{importId}

Authorization: Type: Bearer Token, Token: Bearer eyJ0eXAiOiJKV1QiLCJhbG…

Headers: Accept: application/json

CURL: