Skip to main content

Delete Product Gallery Item

API operation: Open the endpoint in Scalar

Use DELETE /business/{business_id}/categories/{category_id}/products/{product_id}/gallery/{gallery_id} to delete one product gallery item. The operation documented here is ProductGallery.delete.

The final path parameter gallery_id identifies the gallery item under the specified business, category, and product.

The documented schema restricts deletion to administrators and business managers and validates that the gallery item belongs to the specified product hierarchy. Resolve every ID before sending this destructive request.

OpenAPI reference​

Operation: DELETE /business/{business_id}/categories/{category_id}/products/{product_id}/gallery/{gallery_id}

Path parameters

NameTypeRequiredDescription
business_idintegerYes—
category_idintegerYes—
product_idintegerYes—
gallery_idintegerYes—

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference