Delete Product from Wishlist
DevelopingDELETE
v1/customer/wishlist/{product_id}This endpoint allows the customer to delete a product from their wishlist.
Request
Path Params
product_id
string
required
Header Params
Accept-Language
string
optional
Preferred language for the response. Defaults to en
if not specified.
Example:
ar
Content-Type
string
optional
The Media Type of the body of the request. This is used to describe the structure of the data in the body.
Example:
application/json
Role
string
optional
Role of the user.
Example:
CUSTOMER
store-id
string
optional
Unique identifier of the store.
Example:
662
x-customer-token
string
optional
The X-CUSTOMER-TOKEN is a unique identifier generated when a customer logs in through the customer-login API. This token acts as the standard authorization mechanism, allowing the system to recognize the logged-in customer and grant them access to appropriate resources.
Example:
eyJpdiI6IjliNGQxU3JUUzBzeTljTmtwUmR1RGc9PSIsInZhbHVlIjoiaWx4b0tzVWV1RnVWcUUrUGZWSmF5SXRkZFRCdmZUQnBvcHZEWDE1cENmajJCVldENFUrVW9kSnRwaURLcWd6UGJPT0NTK09RQkEyQnRoQkY2Zk5xLzZNL1B2WUlHYUgrcjkza3h1UVJDWVVzNXJzZXN2TkFqZE1YSVBYUWZNZi9QS25aeWgxRW95U1pnVjNzblJ4OVpvSUN6c05VdHI1dXRKdi8wdDVOYTRtekcwK3NZakc4elAwRjRCaDZyOEpBIiwibWFjIjoiODY0MmI1MDY5ZDFjOTQ5ZmNkNzAyNjMyN2ZmYTllZWNkMjRiZmU1NGIxMzg2ODhlYThiMDRiY2NkZWRjMzUxYSIsInRhZyI6IiJ9
Request samples
Responses
Record Not Found(404)
HTTP Code: 404
Content Type : JSONapplication/json
Data Schema
detail
string
required
Example
{
"detail": "غير موجود."
}
Last modified: 3 months ago