Delete
You can use the delete catalogs API to delete the catalogs details.
Request parameters
Name | Type | Required/Optional | Description |
---|---|---|---|
catalogIds | string[] | Required | List of catalog ids |
Request Information
Category | Value |
---|---|
Http request | POST |
URL | https://bikapi.bikayi.app/integrations/bikPlatformFunctions-catalogs/delete |
Sample request
curl --location 'https://bikapi.bikayi.app/integrations/bikPlatformFunctions-catalogs/delete' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic AUTH_TOKEN' \
--data '{
"catalogIds": ["453047550251"]
}'
JSON response example:
{
"status": 200,
"success": true,
"data": {}
}
Response parameters
Name | Type | Description |
---|---|---|
status | number | Response status |
success | boolean | Is successful response or not |
Errors
Error Code | Meaning |
---|---|
400 | Invalid payload -- Your request is invalid. |
401 | Unauthorized -- User is not authenticated. |
404 | Not Found -- The specified API could not be found. |
500 | Internal Server Error -- We had a problem with our server. Try again later. |
Error response example:
{
"status": 400,
"errors": [
{
"message": "'catalogIds' is required."
}
]
}