Skip to main content

Delete

You can use the delete products API to delete the products details.

Request parameters

NameTypeRequired/OptionalDescription
productIdsstring[]RequiredList of product ids

Request Information

CategoryValue
Http requestPOST
URLhttps://bikapi.bikayi.app/integrations/bikPlatformFunctions-products/delete

Sample request

curl --location 'https://bikapi.bikayi.app/integrations/bikPlatformFunctions-products/delete' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic AUTH_TOKEN' \
--data '{
"productIds": ["8459368759512"]
}'

JSON response example:

{
"status": 200,
"success": true,
"data": {}
}

Response parameters

NameTypeDescription
statusnumberResponse status
successbooleanIs successful response or not

Errors

Error CodeMeaning
400Invalid payload -- Your request is invalid.
401Unauthorized -- User is not authenticated.
404Not Found -- The specified API could not be found.
500Internal Server Error -- We had a problem with our server. Try again later.

Error response example:

{
"status": 400,
"errors": [
{
"message": "'productIds' is required."
}
]
}